[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] Make `C-x {' and `C-x }' repeatable

From: Juri Linkov
Subject: Re: [PATCH] Make `C-x {' and `C-x }' repeatable
Date: Wed, 22 May 2013 21:55:38 +0300
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (x86_64-pc-linux-gnu)

> With Juri's suggestion you can make the first use of a command use
> a step size of 6, but repeating it puts you back to a step size of 1.
> Perhaps there is a simple fix to make Juri's suggestion behave better
> in this respect.

I don't know why a prefix arg exits temporary-overlay-map.  Trying to

  (define-key window-size-adjust-keymap [?\C-u] 'universal-argument)

doesn't help to fix this.  `C-u' still terminates the key sequence
`C-x } } } } C-u }'.

> I want to have a repeatable command bound to a key on `isearch-mode-map'.

In bug#10654 I proposed a patch that implements repeatable keys for Isearch
e.g. `M-s C-f C-f M-f C-f ...'

Maybe a better implementation would be with the help of
`set-temporary-overlay-map'.  I'll try to do this for Isearch.
But it seems repeat.el can't be used if there are different commands
in the key sequence.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]