all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "積丹尼 Dan Jacobson" <jidanni@jidanni.org>
To: Noam Postavsky <npostavs@gmail.com>
Cc: 39802@debbugs.gnu.org
Subject: bug#39802: (info "(emacs) Init Rebinding") needs to say it is impossible to unbind local keys
Date: Thu, 27 Feb 2020 07:22:10 +0800	[thread overview]
Message-ID: <871rqh0w9p.5.fsf@jidanni.org> (raw)
In-Reply-To: <87blplic2s.5.fsf@jidanni.org>

OK!
Please add this patch (i.e., fix the source file) to
(info "(emacs) Init Rebinding")

    For example, Texinfo mode runs the hook ‘texinfo-mode-hook’.  Here’s
-how you can use the hook to add local bindings for ‘C-c n’ and ‘C-c p’
-in Texinfo mode:
+how you can use the hook to add local bindings for ‘C-c n’ and ‘C-c p’,
+and remove one for C-c C-c x, in Texinfo mode:
 
      (add-hook 'texinfo-mode-hook
                (lambda ()
                  (define-key texinfo-mode-map "\C-cp"
                              'backward-paragraph)
                  (define-key texinfo-mode-map "\C-cn"
-                             'forward-paragraph)))
-
+                             'forward-paragraph)
+                 (define-key texinfo-mode-map "\C-c\C-cx"
+                             nil)))





  reply	other threads:[~2020-02-26 23:22 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-02-26 15:48 bug#39802: (info "(emacs) Init Rebinding") needs to say it is impossible to unbind local keys 積丹尼 Dan Jacobson
2020-02-26 16:17 ` Noam Postavsky
2020-02-26 16:31   ` 積丹尼 Dan Jacobson
2020-02-26 17:04     ` Noam Postavsky
2020-02-26 23:22       ` 積丹尼 Dan Jacobson [this message]
2020-02-27 13:14         ` Noam Postavsky
2020-02-27 13:26           ` Robert Pluim
2020-02-28  7:52           ` Eli Zaretskii
2020-02-28  8:48             ` Phil Sainty
2020-02-28 12:30               ` 積丹尼 Dan Jacobson
2020-02-28 10:04             ` Noam Postavsky
2020-02-28 12:56               ` Eli Zaretskii
2020-03-04  3:13                 ` Noam Postavsky

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=871rqh0w9p.5.fsf@jidanni.org \
    --to=jidanni@jidanni.org \
    --cc=39802@debbugs.gnu.org \
    --cc=npostavs@gmail.com \
    /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.