all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Alan Mackenzie <acm@muc.de>
To: Eli Zaretskii <eliz@gnu.org>
Cc: emacs-devel@gnu.org
Subject: Re: Disappearance of hi-lock bindings from global key map.
Date: Fri, 5 Feb 2016 14:47:07 +0000	[thread overview]
Message-ID: <20160205144707.GD7727@acm.fritz.box> (raw)
In-Reply-To: <838u2zut8s.fsf@gnu.org>

Hello, Eli.

On Fri, Feb 05, 2016 at 04:28:03PM +0200, Eli Zaretskii wrote:
> > Date: Fri, 5 Feb 2016 11:36:35 +0000
> > Cc: emacs-devel@gnu.org
> > From: Alan Mackenzie <acm@muc.de>

> > > > The traditional key bindings for hi-lock commands, beginning C-x w, have
> > > > disappeared from the 25.1 global key map.  They have been replaced by
> > > > bindings beginning M-s h.

> > > That's not what I see here: when I turn on hi-lock-mode, the "C-x w"
> > > bindings are shown in the output of "C-h b".

> > > What exactly do you see that led you to the above conclusion?

> > emacs -Q

> > C-x w  (intending C-x w C-h) responds "C-x w is undefined".

> > On the other hand,
> > M-s h C-h displays the bindings in *Help*.

> I don't think you should expect the bindings of hi-lock-mode be in
> effect before you turned on that mode, don't you agree?

I'm not sure whether I agree or not.  ;-)  But I would expect them either
to be in effect, or not to be in effect.  At the moment, half of them are
in effect before the minor mode is enabled.  This is self-evidently
confusing, at least for me.

More exactly, hi-lock-mode had changed in my mental model from being
something requiring being enabled, to a fundamental feature, always
present.  This false model is what caused my original misunderstanding.

The question remaining is why the M-s h bindings are available without
turning on the mode.  Probably this isn't an important thing to resolve.

Experimentation shows that M-s h r enables hi-lock-mode, making all the
bindings available, whereas C-x w h remains unbound until such
enablement.  This is untidy.

-- 
Alan Mackenzie (Nuremberg, Germany).



  reply	other threads:[~2016-02-05 14:47 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-02-05 10:37 Disappearance of hi-lock bindings from global key map Alan Mackenzie
2016-02-05 11:19 ` Eli Zaretskii
2016-02-05 11:36   ` Alan Mackenzie
2016-02-05 12:50     ` Kaushal Modi
2016-02-05 14:28     ` Eli Zaretskii
2016-02-05 14:47       ` Alan Mackenzie [this message]
2016-02-07 17:49         ` John Wiegley
2016-02-08 13:54     ` Stefan Monnier
2016-02-08 16:01       ` John Wiegley
2016-02-08 17:37       ` Eli Zaretskii
2016-02-13  3:33         ` Stefan Monnier
2016-02-13  9:04           ` Eli Zaretskii

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=20160205144707.GD7727@acm.fritz.box \
    --to=acm@muc.de \
    --cc=eliz@gnu.org \
    --cc=emacs-devel@gnu.org \
    /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.