bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#22334: 25.1.50; Better sorting of blocks in describe-bindings


From: Eric Abrahamsen
Subject: bug#22334: 25.1.50; Better sorting of blocks in describe-bindings
Date: Sun, 10 Jan 2016 09:16:16 +0800
User-agent: Gnus/5.130014 (Ma Gnus v0.14) Emacs/25.1.50 (gnu/linux)

On 01/09/16 14:42 PM, Eli Zaretskii wrote:
> [Please keep the bug address on the CC list.]

Whoops, sorry.

>> From: Eric Abrahamsen <eric@ericabrahamsen.net>
>> Date: Sat, 09 Jan 2016 19:07:24 +0800
>> 
>> 
>> On 01/09/16 09:41 AM, Eli Zaretskii wrote:
>> >> From: Eric Abrahamsen <eric@ericabrahamsen.net>
>> >> Date: Sat, 09 Jan 2016 11:31:03 +0800
>> >> 
>> >> When using `describe-bindings' to see the current key bindings in
>> >> effect, I'd like the major mode bindings to be sorted to the top of the
>> >> buffer, followed by the minor modes.
>> >
>> > That's what I see we do now: the major mode is first, followed by the
>> > minor modes.  There's a part with links to minor modes, in case the
>> > user knows which minor mode she wants to read about.

[...]

> Please try figuring out how come what you see is so much different
> from what I see here.  Or maybe someone else can

Poking around a little more, it looks like the minor modes *always* come
first. I'm talking about `describe-bindings' (C-h b), not
`describe-mode', see below.

>> >> While we're at it, minor modes with no bindings in effect could just
>> >> as well be omitted.
>> >
>> > It only takes a line or two; omitting that would be losing
>> > information, IMO.
>> 
>> Not a big deal at all.
>
> I'm not sure I agree.

I meant this didn't matter much to me -- having the extra two lines in
there isn't a big deal.

[...]

On 01/09/16 18:15 PM, Eli Zaretskii wrote:
>> From: Andreas Schwab <schwab@linux-m68k.org>
>> Cc: Eric Abrahamsen <eric@ericabrahamsen.net>,  22334@debbugs.gnu.org
>> Date: Sat, 09 Jan 2016 14:05:54 +0100
>> 
>> >> A-3               Prefix Command
>> >> 
>> >> I don't even know what "A" represents. There's a mile and half of these.
>> >
>> > They represent the Alt modifier.  I have no idea where these come
>> > from, I don't have them here.
>> 
>> They come from iso-transl, but only once it's loaded.
>
> Thanks.  Is iso-transl supposed to be automatically loaded at
> "emacs -Q" session's beginning?  Eric seemed to say that he sees
> this in "emacs -Q" as well.

Yup, it definitely happens in emacs -Q. I looked at the C source of
`describe-buffer-bindings', and while I don't speak C it looks like it's
hard-coded to show keyboard translations at the very top. If that's
correct, then that's the subject of this bug report -- I'd like that to
be at the bottom!

> Anyway, FWIW, I don't see these bindings in "C-h m" even after
> loading iso-transl and typing "C-x 8 a".  What am I missing?

I was talking about `describe-bindings' -- C-h b -- not `describe-mode'.
`describe-mode' works great.

Thanks





reply via email to

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