From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Kaushal Modi Newsgroups: gmane.emacs.devel Subject: Re: Disappearance of hi-lock bindings from global key map. Date: Fri, 5 Feb 2016 07:50:00 -0500 Message-ID: References: <20160205103744.GA7727@acm.fritz.box> <83bn7vv1zi.fsf@gnu.org> <20160205113635.GB7727@acm.fritz.box> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a113db6e6111674052b054ae7 X-Trace: ger.gmane.org 1454676633 8374 80.91.229.3 (5 Feb 2016 12:50:33 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 5 Feb 2016 12:50:33 +0000 (UTC) Cc: Eli Zaretskii , Emacs developers To: Alan Mackenzie Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Feb 05 13:50:27 2016 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1aRfqC-0001Ju-Fg for ged-emacs-devel@m.gmane.org; Fri, 05 Feb 2016 13:50:24 +0100 Original-Received: from localhost ([::1]:47901 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aRfqB-0001tc-Ou for ged-emacs-devel@m.gmane.org; Fri, 05 Feb 2016 07:50:23 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:37718) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aRfpw-0001ry-3W for emacs-devel@gnu.org; Fri, 05 Feb 2016 07:50:09 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aRfpu-0003FY-Ol for emacs-devel@gnu.org; Fri, 05 Feb 2016 07:50:08 -0500 Original-Received: from mail-oi0-x22b.google.com ([2607:f8b0:4003:c06::22b]:32966) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aRfpp-0003Bc-Q1; Fri, 05 Feb 2016 07:50:01 -0500 Original-Received: by mail-oi0-x22b.google.com with SMTP id j125so40230727oih.0; Fri, 05 Feb 2016 04:50:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=lG155TfhxBmE1xXZcaNNzHvX6z+3gw0ablK+2RYN9uk=; b=aMjPRRsqcncv/Ayk5LOxGUINvU2xAJ9he0i8nwNxECK2tDzFVOyaw1s/6+Z5UsXrWT GmGjtGt24hkPEplCVts12VoiqkwvcF4M0mfNREu4ojlwSkufBuakC91Q8QBXZy1Gtodt cPjqtbza0qFRhF7YGboe7nXfvdtOmLe6RWpL5pU04fTUngv8ke5lDWc8R7aS8boEkPKs ziplR7zVAVPdM+8VQAxrzVNk3zyE/xcaHJLg5G5YkwrpwDajZLLljkvs2zNyw6BDl+6D FGxBXSWhOB1koigGH5nbxlc05RqMvORcnw1WPGptu7Cm0GgLKdVkM1tFr6X0Ku/MLift KzvA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=lG155TfhxBmE1xXZcaNNzHvX6z+3gw0ablK+2RYN9uk=; b=mvcG8brzUJbnXliNk0L/LKKTamFV6a1OVzNPeKc5IaQqupXZHFiIeDxsXZq8BUQujT U1QKhPfduXuOdzGDgXZVKCtM3CwiFL1FVuFOzjXzH2FKHTdiPTvGVeK8hXug2kZZxcJW NrvrQWZdPbfi15nb4AzXPqc5VpKQzRHncGtPoCmeUrBv4zznJObDrgljxPrFmpnyakcX 3uz8VEO5juBcpoE69faM2NqT/miHsh3t9Bam4lfgshqtoiYCwNjUFQ8qJ3APlnFJr/nD trSs9f2j92A2kOJsC2/jCQjoNJaZwcngGNA5Nd1XJeXgHkJLohWybHpgeC5/YTB3NXDQ CMWw== X-Gm-Message-State: AG10YOTZZSzxCu/HfEeR2XwgRRPfsm3lScM+7b/oSIFucYiW5AEWf4kFOSVlfW7wM/XRmOqiuMMX8Wy7atirGw== X-Received: by 10.202.94.8 with SMTP id s8mr7988605oib.2.1454676601015; Fri, 05 Feb 2016 04:50:01 -0800 (PST) Original-Received: by 10.202.201.73 with HTTP; Fri, 5 Feb 2016 04:50:00 -0800 (PST) Original-Received: by 10.202.201.73 with HTTP; Fri, 5 Feb 2016 04:50:00 -0800 (PST) In-Reply-To: <20160205113635.GB7727@acm.fritz.box> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2607:f8b0:4003:c06::22b X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:199378 Archived-At: --001a113db6e6111674052b054ae7 Content-Type: text/plain; charset=UTF-8 I might not be understanding this correctly.... But based on the below code, wouldn't we first need to do (require 'hi-lock) for the C-x w bindings to work? http://git.savannah.gnu.org/cgit/emacs.git/tree/lisp/hi-lock.el?h=emacs-25 Coincidentally, currently a parallel discussion is going on in another emacs-devel thread if we should remove the C-x w prefix map associated to hi-lock. Please check out that thread for the reasoning behind it. -- Kaushal Modi On Feb 5, 2016 6:34 AM, "Alan Mackenzie" wrote: > Hello, Eli. > > On Fri, Feb 05, 2016 at 01:19:13PM +0200, Eli Zaretskii wrote: > > > Date: Fri, 5 Feb 2016 10:37:44 +0000 > > > From: Alan Mackenzie > > > > > > 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*. > > That led me to believe the C-x h bindings had been removed. It would > appear there's a difference between how the C-x w bindings are set and > how the M-s h bindings are set. > > -- > Alan Mackenzie (Nuremberg, Germany). > > --001a113db6e6111674052b054ae7 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable

I might not be understanding this correctly.... But based on= the below code, wouldn't we first need to do (require 'hi-lock) fo= r the C-x w bindings to work?

http://git.savannah.gnu.org/cgit/emacs.git/tre= e/lisp/hi-lock.el?h=3Demacs-25

Coincidentally, currently a parallel discussion is going on = in another emacs-devel thread if we should remove the C-x w prefix map asso= ciated to hi-lock. Please check out that thread for the reasoning behind it= .

--
Kaushal Modi

On Feb 5, 2016 6:34 AM, "Alan Mackenzie&quo= t; <acm@muc.de> wrote:
Hello, Eli.

On Fri, Feb 05, 2016 at 01:19:13PM +0200, Eli Zaretskii wrote:
> > Date: Fri, 5 Feb 2016 10:37:44 +0000
> > 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.=C2=A0 They have been re= placed 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=C2=A0 (intending C-x w C-h) responds "C-x w is undefined".<= br>
On the other hand,
M-s h C-h displays the bindings in *Help*.

That led me to believe the C-x h bindings had been removed.=C2=A0 It would<= br> appear there's a difference between how the C-x w bindings are set and<= br> how the M-s h bindings are set.

--
Alan Mackenzie (Nuremberg, Germany).

--001a113db6e6111674052b054ae7--