all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Kaushal Modi <kaushal.modi@gmail.com>
To: Juri Linkov <juri@linkov.net>
Cc: emacs-devel@gnu.org
Subject: Re: Suggestion to have highlight related bindings consistent between search-map and hi-lock-map
Date: Tue, 02 Feb 2016 20:45:19 +0000	[thread overview]
Message-ID: <CAFyQvY1KWeMHE1EJhsKz6Og9LmnhsYKJ+MNLaTjg7XtTZFbzKA@mail.gmail.com> (raw)
In-Reply-To: <CAFyQvY3bkbGRtrr6z_mYOPd902r0PnA2B+0=cXsRd+E493oL0w@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 1535 bytes --]

Hi Juri,

Thanks for mentioning that this bindings topic still needs to be resolved
in the other debbugs thread (
http://debbugs.gnu.org/cgi/bugreport.cgi?bug=22520 ).

Here are my reasons to remove the "C-x w" map:
- The bindings are inconsistent between the "M-s h" and "C-s w" maps.
- In addition to confusion, the bindings are also duplicated in two prefix
maps.
- Also if we remove this prefix map today, we will have lesser number of
disappointed users than when and if it is removed in the future.

Here is the piece from earlier in this thread where I compared the
inconsistent bindings (the line numbers can be ignored as they might not be
the same today):

hi-lock.el 277: (define-key map "\C-xwi" 'hi-lock-find-patterns)
bindings.el 935: (define-key search-map "hf" 'hi-lock-find-patterns)

hi-lock.el 282: (define-key map "\C-xwr" 'unhighlight-regexp)
bindings.el 934: (define-key search-map "hu" 'unhighlight-regexp)

hi-lock.el 280: (define-key map "\C-xwh" 'highlight-regexp)
bindings.el 930: (define-key search-map "hr" 'highlight-regexp)

hi-lock.el 283: (define-key map "\C-xwb"
'hi-lock-write-interactive-patterns)
bindings.el 936: (define-key search-map "hw"
'hi-lock-write-interactive-patterns)

The source of this discussion is because I kept getting confused if I need
to do "M-s h r" or "C-x w r" to highlight a regexp. So after a point, I
bound C-x w to nil to solve the problem.

That made me think that this topic should also be brought up in this thread
and have this fixed directly in the source.

Kaushal

[-- Attachment #2: Type: text/html, Size: 1960 bytes --]

  reply	other threads:[~2016-02-02 20:45 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-07-10 19:02 Suggestion to have highlight related bindings consistent between search-map and hi-lock-map Kaushal
2015-07-11 18:50 ` Kaushal
2015-07-11 19:48   ` Juri Linkov
2015-07-11 19:51     ` Kaushal
2015-07-12  7:07     ` Vaidheeswaran C
2015-07-12 13:21       ` Kaushal
2015-07-12 14:48         ` Vaidheeswaran C
2015-07-12 14:48         ` Vaidheeswaran C
2015-07-12 15:15           ` Eli Zaretskii
2015-07-12 15:33             ` Vaidheeswaran C
2015-07-12 16:25               ` Eli Zaretskii
2015-07-12 16:41                 ` Kaushal
2015-07-19  7:59                 ` Vaidheeswaran C
2015-07-29  2:00                   ` Kaushal
2015-07-29 22:31                     ` Juri Linkov
2015-07-30 22:48                       ` Stefan Monnier
2015-07-31  1:32                         ` Kaushal
2015-08-18 16:22                           ` Kaushal
2015-08-19 22:23                             ` Juri Linkov
2015-08-20  1:09                               ` Kaushal
2016-02-02 20:45                                 ` Kaushal Modi [this message]
2016-02-05  0:54                                   ` Juri Linkov
2016-02-05  1:48                                     ` John Wiegley
2016-02-05 17:00                                       ` Kaushal Modi
2016-02-07 17:57                                         ` John Wiegley
2016-02-07 19:23                                           ` Alan Mackenzie
2015-07-15 15:44 ` David Koppelman

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

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

  git send-email \
    --in-reply-to=CAFyQvY1KWeMHE1EJhsKz6Og9LmnhsYKJ+MNLaTjg7XtTZFbzKA@mail.gmail.com \
    --to=kaushal.modi@gmail.com \
    --cc=emacs-devel@gnu.org \
    --cc=juri@linkov.net \
    /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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.