unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Drew Adams <drew.adams@oracle.com>
To: Juri Linkov <juri@linkov.net>, Richard Stallman <rms@gnu.org>
Cc: casouri@gmail.com, dim1212k@gmail.com, yantar92@gmail.com,
	emacs-devel@gnu.org, adam@alphapapa.net, eliz@gnu.org
Subject: RE: Request for pointers and advice: displaying several buffers inside a single window
Date: Sun, 12 Apr 2020 22:23:29 -0700 (PDT)	[thread overview]
Message-ID: <cf84b951-76c8-4f1a-b67e-c3a5e9c32d83@default> (raw)
In-Reply-To: <871roscl16.fsf@mail.linkov.net>

> >   > v - isearchp-toggle-anti-zones-invisible
> >   > V - isearchp-toggle-zones-invisible
> >   > ~ - isearchp-toggle-complementing-domain
> >   > d - isearchp-toggle-dimming-outside-search-area
> >
> > Can anyone come up with a simpler interface for this?
> > One that reduces the amount that a user needs to memorize
> > before using the feature?
> 
> Isearch keybindings could be on the M-s prefix key.

Kind of you to worry about this.  But the library
that defines those toggle commands, isearch-prop.el,
already binds the two non-zone ones to keys in
`isearch-mode-map':

(define-key isearch-mode-map (kbd "C-M-~")
            'isearchp-toggle-complementing-domain)
(define-key isearch-mode-map (kbd "C-M-S-d")
            'isearchp-toggle-dimming-outside-search-area)

Those two commands are not only for zones.  They apply
also to search, so they deserve `isearch-mode-map' keys.

I gave them bindings in the zones toggle keymap because
they're also useful for zones, not just for searching.
Both sets of bindings are useful.

(Dimming the areas outside zones and dimming the areas
not being searched have the same behavior.  I defined
it first for searching, which is why its toggle command
still has the name `...outside-search-area'.  Maybe I
should rename it.)

Yes, I'm the one who decided which of the zones.el and
isearch-prop.el commands deserve keys, and in which maps.



  reply	other threads:[~2020-04-13  5:23 UTC|newest]

Thread overview: 41+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-04-03 11:54 Request for pointers and advice: displaying several buffers inside a single window Dmitrii Korobeinikov
2020-04-03 13:07 ` Eli Zaretskii
2020-04-04 22:44   ` Dmitrii Korobeinikov
2020-04-05 14:08     ` Adam Porter
2020-04-05 22:55   ` Dmitrii Korobeinikov
2020-04-10 14:45     ` Yuan Fu
2020-04-10 15:35       ` Ihor Radchenko
2020-04-10 16:43         ` Eli Zaretskii
2020-04-10 17:46           ` Ihor Radchenko
2020-04-10 18:07             ` Eli Zaretskii
2020-04-10 18:37               ` Ihor Radchenko
2020-04-10 19:01                 ` Drew Adams
2020-04-10 19:19                   ` Ihor Radchenko
2020-04-10 20:29                     ` Drew Adams
2020-04-11  8:11                       ` Ihor Radchenko
2020-04-11 17:23                         ` Drew Adams
2020-04-12  2:42                           ` Richard Stallman
2020-04-12  5:09                             ` Drew Adams
2020-04-12  5:15                               ` Drew Adams
2020-04-13  2:21                               ` Richard Stallman
2020-04-13  5:23                                 ` Drew Adams
2020-04-12 23:54                             ` Juri Linkov
2020-04-13  5:23                               ` Drew Adams [this message]
2020-04-12 14:25                           ` Ihor Radchenko
2020-04-12 16:38                             ` Drew Adams
2020-04-10 19:12                 ` Eli Zaretskii
2020-04-10 19:25                   ` Ihor Radchenko
2020-04-10 19:34                   ` Ihor Radchenko
2020-04-11  7:34                     ` Eli Zaretskii
2020-04-11  8:35                       ` Ihor Radchenko
2020-04-11  9:25                         ` Eli Zaretskii
2020-04-10 19:09         ` Dmitrii Korobeinikov
2020-04-11  0:05           ` chad
2020-04-11  8:22             ` Eli Zaretskii
2020-04-11  7:30           ` Eli Zaretskii
2020-04-11  7:56             ` Dmitrii Korobeinikov
2020-04-11  8:26               ` Eli Zaretskii
2020-04-11 10:01                 ` Dmitrii Korobeinikov
2020-04-03 18:30 ` [SPAM UNSURE] " Stephen Leake
2020-04-05 13:18   ` Robert Pluim
2020-04-05 20:35     ` Dmitrii Korobeinikov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=cf84b951-76c8-4f1a-b67e-c3a5e9c32d83@default \
    --to=drew.adams@oracle.com \
    --cc=adam@alphapapa.net \
    --cc=casouri@gmail.com \
    --cc=dim1212k@gmail.com \
    --cc=eliz@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=juri@linkov.net \
    --cc=rms@gnu.org \
    --cc=yantar92@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).