emacs-devel
[Top][All Lists]
Advanced

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

Re: Exposing Isearch toggleable options


From: Oleh Krehel
Subject: Re: Exposing Isearch toggleable options
Date: Fri, 30 Oct 2015 15:29:32 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux)

Artur Malabarba <address@hidden> writes:

> 2. On the right-edge of the minibuffer (if there's enough space),
> display “[M-s] Options”. Hitting this key would then bring up a hydra
> with all defined options under M-s (preferably something dynamically
> generated, and not hardcoded, though this is just a detail).
>    This would be the prettiest option. Hydras also support delaying
> the display for a second or so, so people who know what they want
> wouldn't have to see it.

It just occurred to me that Ediff does it in the exact same way as the
Hydra approach.

Initially, it only says "Type ? for help". The "?" key is a toggle, just
like "C-o" is in my previous proposition.  Pressing the actual keys that
are described in the doc popup doesn't close the doc popup, which could
be replicated with `:exit nil'.

And the docstring of Ediff is actually customizable through
e.g. `ediff-long-help-message-word-mode', although it's not
automatically synced with the keymap, like Hydra does it.

I suggest that you look at the Ediff interface if you're not yet
familiar with it. Just don't forget to:

(setq ediff-window-setup-function 'ediff-setup-windows-plain)

or you'll get the horrible multi-frame default setting.



reply via email to

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