[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: `isearch-allow-scroll' - a misnomer and a bad design
From: |
Juri Linkov |
Subject: |
Re: `isearch-allow-scroll' - a misnomer and a bad design |
Date: |
Sat, 10 Sep 2011 14:47:08 +0300 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (x86_64-pc-linux-gnu) |
> Maybe what you want is a new option `isearch-pass-through-categories',
> which would be a list of symbol properties, so any command who has
> a non-nil value for one of those properties is allowed to run without
> exiting isearch.
>
> Then `scroll-command' becomes one possible element of
> isearch-pass-through-categories.
I think this would be the best thing to do. And to add
a new property that doesn't exit Isearch regardless of the value of
`isearch-allow-scroll'. And put it on all universal argument commands
`universal-argument', `negative-argument', `digit-argument', i.e.:
;; Universal argument commands
(put 'universal-argument 'isearch-inhibit-exit t)
(put 'negative-argument 'isearch-inhibit-exit t)
(put 'digit-argument 'isearch-inhibit-exit t)
that will do TRT by default for commands unrelated to scrolling.
- `isearch-allow-scroll' - a misnomer and a bad design, Drew Adams, 2011/09/09
- RE: `isearch-allow-scroll' - a misnomer and a bad design, Stephen J. Turnbull, 2011/09/09
- Re: `isearch-allow-scroll' - a misnomer and a bad design, Alan Mackenzie, 2011/09/10
- RE: `isearch-allow-scroll' - a misnomer and a bad design, Drew Adams, 2011/09/10
- Re: `isearch-allow-scroll' - a misnomer and a bad design, Alan Mackenzie, 2011/09/10
- Re: `isearch-allow-scroll' - a misnomer and a bad design, PJ Weisberg, 2011/09/10
- Re: `isearch-allow-scroll' - a misnomer and a bad design, Stephen J. Turnbull, 2011/09/10
- RE: `isearch-allow-scroll' - a misnomer and a bad design, Drew Adams, 2011/09/10
- Re: `isearch-allow-scroll' - a misnomer and a bad design, Alan Mackenzie, 2011/09/11
- RE: `isearch-allow-scroll' - a misnomer and a bad design, Drew Adams, 2011/09/11