GNU bug report logs - #47688
28.0.50; repeat-mode: Make rectangle commands repeatable. Also some misc. queries, comments

Previous Next

Package: emacs;

Reported by: Ramesh Nedunchezian <rameshnedunchezian <at> outlook.com>

Date: Sat, 10 Apr 2021 08:24:02 UTC

Severity: normal

Found in version 28.0.50

Done: Juri Linkov <juri <at> linkov.net>

Bug is archived. No further changes may be made.

Full log


Message #31 received at 47688 <at> debbugs.gnu.org (full text, mbox):

From: Ramesh Nedunchezian <rameshnedunchezian <at> outlook.com>
To: 47688 <at> debbugs.gnu.org
Subject: Re: bug#47688: closed (Re: bug#47688: 28.0.50; repeat-mode: Make
 rectangle commands repeatable. Also some misc. queries, comments)
Date: Tue, 4 May 2021 09:49:21 +0530

On 14/04/21 11:46 pm, GNU bug Tracking System wrote:
> Thanks for the suggestions.  'C-x SPC' activates 'rectangle-mark-mode'
> that already supports short key sequences similar to 'repeat-mode':
> 
>   (defvar rectangle-mark-mode-map
>     (let ((map (make-sparse-keymap)))
>       (define-key map [?\C-o] 'open-rectangle)
>       (define-key map [?\C-t] 'string-rectangle)
>       (define-key map [remap exchange-point-and-mark]
>         'rectangle-exchange-point-and-mark)
>       (dolist (cmd '(right-char left-char forward-char backward-char
>                      next-line previous-line))
>         (define-key map (vector 'remap cmd)
>           (intern (format "rectangle-%s" cmd))))
> 
> There are already single keys to edit the rectangle.

C-o, C-t are not single keys. There is a difference between: (a) There
exists single keys (b) All keys are single keys.

I will not chase down this request further.  I can achieve what I want
in my `.emacs'.  Thanks for addressing the C-x C-x part which I
wouldn't have been able to take care of in my .emacs.






This bug report was last modified 4 years and 15 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.