unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Stefan Monnier via Users list for the GNU Emacs text editor <help-gnu-emacs@gnu.org>
To: help-gnu-emacs@gnu.org
Subject: Re: Calling universal-argument with overriding-local-map
Date: Wed, 05 Jan 2022 13:46:32 -0500	[thread overview]
Message-ID: <jwviluyqb5y.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: MsfHD8E--3-2@tutanota.de

> And they seem to behave that way.  Should I send this contradiction in
> manual as a bug?  Has this always been the behavior or when did it
> change?  I presume it used to be that both could be active, otherwise
> the site from the link and manual has always been wrong.

The code says:

    if (!NILP (olp)
        /* The doc said that overriding-terminal-local-map should
           override overriding-local-map.  The code used them both,
           but it seems clearer to use just one.  rms, jan 2005.  */
        && NILP (KVAR (current_kboard, Voverriding_terminal_local_map))
        && !NILP (Voverriding_local_map))
      keymaps = Fcons (Voverriding_local_map, keymaps);

It seems the doc isn't clear cut and there's not much more info to
accompany this commit d64cdc59724b7caca47913d5beb2b4a54f7b7c91.
I you want to change this behavior (or fix/improve the doc)
I recommend you `M-x report-emacs-bug`.


        Stefan




  reply	other threads:[~2022-01-05 18:46 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-01-05 17:39 Calling universal-argument with overriding-local-map xenodasein--- via Users list for the GNU Emacs text editor
2022-01-05 18:46 ` Stefan Monnier via Users list for the GNU Emacs text editor [this message]
  -- strict thread matches above, loose matches on Subject: below --
2022-01-05 12:06 xenodasein--- via Users list for the GNU Emacs text editor
2022-01-05 16:48 ` Stefan Monnier via Users list for the GNU Emacs text editor

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=jwviluyqb5y.fsf-monnier+emacs@gnu.org \
    --to=help-gnu-emacs@gnu.org \
    --cc=monnier@iro.umontreal.ca \
    /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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).