all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#25174: C-h v some keymap now gives some numbers instead of the familiar bindings
@ 2016-12-11 18:17 積丹尼 Dan Jacobson
  2016-12-13  4:03 ` npostavs
  2016-12-13  5:58 ` 積丹尼 Dan Jacobson
  0 siblings, 2 replies; 9+ messages in thread
From: 積丹尼 Dan Jacobson @ 2016-12-11 18:17 UTC (permalink / raw)
  To: 25174

C-h v some keymap now gives some numbers instead of the familiar bindings.

flyspell-mode-map is a variable defined in ‘flyspell.el’.
Its value is (keymap
 (3 keymap
    (36 . flyspell-correct-word-before-point))
 (67108910 . flyspell-auto-correct-word)
 (67108908 . flyspell-goto-next-error)
 (67108923 . flyspell-auto-correct-previous-word)
 (27 keymap
     (9 . flyspell-auto-correct-word)))


  This variable may be risky if used as a file-local variable.

Documentation:
Minor mode keymap for Flyspell mode--for the whole buffer.

emacs-version "25.1.1"





^ permalink raw reply	[flat|nested] 9+ messages in thread

* bug#25174: C-h v some keymap now gives some numbers instead of the familiar bindings
  2016-12-11 18:17 bug#25174: C-h v some keymap now gives some numbers instead of the familiar bindings 積丹尼 Dan Jacobson
@ 2016-12-13  4:03 ` npostavs
  2016-12-13  5:58 ` 積丹尼 Dan Jacobson
  1 sibling, 0 replies; 9+ messages in thread
From: npostavs @ 2016-12-13  4:03 UTC (permalink / raw)
  To: 積丹尼 Dan Jacobson; +Cc: 25174

積丹尼 Dan Jacobson <jidanni@jidanni.org> writes:

> C-h v some keymap now gives some numbers instead of the familiar
> bindings.

What do you mean by "now"?  It seems to be consistent to as far back as
23.4.





^ permalink raw reply	[flat|nested] 9+ messages in thread

* bug#25174: C-h v some keymap now gives some numbers instead of the familiar bindings
  2016-12-11 18:17 bug#25174: C-h v some keymap now gives some numbers instead of the familiar bindings 積丹尼 Dan Jacobson
  2016-12-13  4:03 ` npostavs
@ 2016-12-13  5:58 ` 積丹尼 Dan Jacobson
  2019-10-14 19:42   ` Lars Ingebrigtsen
  1 sibling, 1 reply; 9+ messages in thread
From: 積丹尼 Dan Jacobson @ 2016-12-13  5:58 UTC (permalink / raw)
  To: npostavs; +Cc: 25174

Well it's bad.





^ permalink raw reply	[flat|nested] 9+ messages in thread

* bug#25174: C-h v some keymap now gives some numbers instead of the familiar bindings
  2016-12-13  5:58 ` 積丹尼 Dan Jacobson
@ 2019-10-14 19:42   ` Lars Ingebrigtsen
  2019-10-14 20:09     ` Michael Heerdegen
  0 siblings, 1 reply; 9+ messages in thread
From: Lars Ingebrigtsen @ 2019-10-14 19:42 UTC (permalink / raw)
  To: 積丹尼 Dan Jacobson; +Cc: 25174, npostavs

積丹尼 Dan Jacobson <jidanni@jidanni.org> writes:

> Well it's bad.

That's the value of the keymap variable, so I don't see anything to fix here.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





^ permalink raw reply	[flat|nested] 9+ messages in thread

* bug#25174: C-h v some keymap now gives some numbers instead of the familiar bindings
  2019-10-14 19:42   ` Lars Ingebrigtsen
@ 2019-10-14 20:09     ` Michael Heerdegen
  2019-10-14 20:12       ` Lars Ingebrigtsen
  0 siblings, 1 reply; 9+ messages in thread
From: Michael Heerdegen @ 2019-10-14 20:09 UTC (permalink / raw)
  To: Lars Ingebrigtsen; +Cc: 積丹尼 Dan Jacobson, 25174, npostavs

Lars Ingebrigtsen <larsi@gnus.org> writes:

> That's the value of the keymap variable, so I don't see anything to
> fix here.

But I think the report is about how this value is being printed.
67108908 is not that...informative.

I guess one could teach cl-print to produce a more human readable syntax
for keymaps.  That could also be useful for M-:.

Michael.





^ permalink raw reply	[flat|nested] 9+ messages in thread

* bug#25174: C-h v some keymap now gives some numbers instead of the familiar bindings
  2019-10-14 20:09     ` Michael Heerdegen
@ 2019-10-14 20:12       ` Lars Ingebrigtsen
  2019-10-15  8:31         ` Michael Heerdegen
  0 siblings, 1 reply; 9+ messages in thread
From: Lars Ingebrigtsen @ 2019-10-14 20:12 UTC (permalink / raw)
  To: Michael Heerdegen; +Cc: 積丹尼 Dan Jacobson, 25174, npostavs

Michael Heerdegen <michael_heerdegen@web.de> writes:

> Lars Ingebrigtsen <larsi@gnus.org> writes:
>
>> That's the value of the keymap variable, so I don't see anything to
>> fix here.
>
> But I think the report is about how this value is being printed.
> 67108908 is not that...informative.
>
> I guess one could teach cl-print to produce a more human readable syntax
> for keymaps.  That could also be useful for M-:.

A keymap is just a list (or vector); C-h v should display it as is.

If a user wants a readable output, there's `C-h b' etc.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





^ permalink raw reply	[flat|nested] 9+ messages in thread

* bug#25174: C-h v some keymap now gives some numbers instead of the familiar bindings
  2019-10-14 20:12       ` Lars Ingebrigtsen
@ 2019-10-15  8:31         ` Michael Heerdegen
  2019-10-16  1:31           ` Lars Ingebrigtsen
  0 siblings, 1 reply; 9+ messages in thread
From: Michael Heerdegen @ 2019-10-15  8:31 UTC (permalink / raw)
  To: Lars Ingebrigtsen; +Cc: 積丹尼 Dan Jacobson, 25174, npostavs

Lars Ingebrigtsen <larsi@gnus.org> writes:

> A keymap is just a list (or vector); C-h v should display it as is.

It would display it "as is", it would just use a syntax like e.g. ?t
instead of 166.  How would that be problematic?

Michael.





^ permalink raw reply	[flat|nested] 9+ messages in thread

* bug#25174: C-h v some keymap now gives some numbers instead of the familiar bindings
  2019-10-15  8:31         ` Michael Heerdegen
@ 2019-10-16  1:31           ` Lars Ingebrigtsen
  2019-10-16  8:56             ` Michael Heerdegen
  0 siblings, 1 reply; 9+ messages in thread
From: Lars Ingebrigtsen @ 2019-10-16  1:31 UTC (permalink / raw)
  To: Michael Heerdegen; +Cc: 積丹尼 Dan Jacobson, 25174, npostavs

Michael Heerdegen <michael_heerdegen@web.de> writes:

> Lars Ingebrigtsen <larsi@gnus.org> writes:
>
>> A keymap is just a list (or vector); C-h v should display it as is.
>
> It would display it "as is", it would just use a syntax like e.g. ?t
> instead of 166.  How would that be problematic?

I think it just sounds a bit confusing.  Would users believe that ?t is
something else than 166 just in a keymap context?  And no matter how you
display the keymap in `C-h v', it's going to be pretty incomprehensible.

But there's also a parallel bug report about adding a describe-keymap
command that'll display the keymap in a more sensible fashion (not as a
list/vector at all), and that's probably going to be merged.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





^ permalink raw reply	[flat|nested] 9+ messages in thread

* bug#25174: C-h v some keymap now gives some numbers instead of the familiar bindings
  2019-10-16  1:31           ` Lars Ingebrigtsen
@ 2019-10-16  8:56             ` Michael Heerdegen
  0 siblings, 0 replies; 9+ messages in thread
From: Michael Heerdegen @ 2019-10-16  8:56 UTC (permalink / raw)
  To: Lars Ingebrigtsen; +Cc: 積丹尼 Dan Jacobson, 25174, npostavs

Lars Ingebrigtsen <larsi@gnus.org> writes:

> Michael Heerdegen <michael_heerdegen@web.de> writes:
>
> > Lars Ingebrigtsen <larsi@gnus.org> writes:
> >
> >> A keymap is just a list (or vector); C-h v should display it as is.
> >
> > It would display it "as is", it would just use a syntax like e.g. ?t
> > instead of 166.  How would that be problematic?
>
> I think it just sounds a bit confusing.  Would users believe that ?t is
> something else than 166 just in a keymap context?

Why would they?  This char syntax is widely used.

> And no matter how you display the keymap in `C-h v', it's going to be
> pretty incomprehensible.

We have just very different opinions here I think.

Michael.





^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2019-10-16  8:56 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-12-11 18:17 bug#25174: C-h v some keymap now gives some numbers instead of the familiar bindings 積丹尼 Dan Jacobson
2016-12-13  4:03 ` npostavs
2016-12-13  5:58 ` 積丹尼 Dan Jacobson
2019-10-14 19:42   ` Lars Ingebrigtsen
2019-10-14 20:09     ` Michael Heerdegen
2019-10-14 20:12       ` Lars Ingebrigtsen
2019-10-15  8:31         ` Michael Heerdegen
2019-10-16  1:31           ` Lars Ingebrigtsen
2019-10-16  8:56             ` Michael Heerdegen

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.