all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "積丹尼 Dan Jacobson" <jidanni@jidanni.org>
To: Eli Zaretskii <eliz@gnu.org>
Cc: 30659@debbugs.gnu.org
Subject: bug#30659: Only local map define-key examples
Date: Wed, 07 Mar 2018 04:48:46 +0800	[thread overview]
Message-ID: <87h8pt0w29.fsf@jidanni.org> (raw)
In-Reply-To: <87po4o3mar.fsf@jidanni.org>

(info "(emacs) Init Examples")
only has
          (global-unset-key "\C-x\C-v")
example.

(info "(emacs) Rebinding") mentions
‘M-x global-unset-key <RET> KEY’
     Make KEY undefined in the global map.
‘M-x local-unset-key <RET> KEY’
     Make KEY undefined locally (in the major mode now in effect).


However they all lack proper local map .emacs undefine key examples.

An undefine local key example needs to be wrapped in the proper hook,
else, unlike a global undefine key example, it will not work.

And, without such proper tested working example in the manual, I cannot
proceed in unbinding local keys. Thank you.





  reply	other threads:[~2018-03-06 20:48 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-02-28 20:13 bug#30659: Only local map define-key examples 積丹尼 Dan Jacobson
2018-03-01 15:36 ` Eli Zaretskii
2018-03-03  6:26   ` 積丹尼 Dan Jacobson
2018-03-03  8:34     ` Eli Zaretskii
2018-03-03  6:29   ` 積丹尼 Dan Jacobson
2018-03-03  8:36     ` Eli Zaretskii
2018-03-06 20:48       ` 積丹尼 Dan Jacobson [this message]
2019-10-14 20:24       ` Lars Ingebrigtsen

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=87h8pt0w29.fsf@jidanni.org \
    --to=jidanni@jidanni.org \
    --cc=30659@debbugs.gnu.org \
    --cc=eliz@gnu.org \
    /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.