unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: waterloo <waterloo2005@gmail.com>
To: help-gnu-emacs@gnu.org, bastienguerry@googlemail.com
Subject: Re: when rebind a key with global-set-key , if I need to use  global-unset-key on that key ?
Date: Mon, 27 Jul 2009 16:07:26 +0800	[thread overview]
Message-ID: <907065090907270107s220e431do740e56f78d4ce13b@mail.gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 378 bytes --]

In `16.9 Loading Files' of Intro to Emacs Lisp  under emacs23.0.96.1 .
==================
To replace the key binding for the default
`split-window-vertically', you must also unset that key and bind the
keys to `split-window-quietly', like this:

     (global-unset-key "\C-x2")
     (global-set-key "\C-x2" 'split-window-quietly)

Please note "must" in above paragraph.

Thanks

[-- Attachment #2: Type: text/html, Size: 466 bytes --]

             reply	other threads:[~2009-07-27  8:07 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-07-27  8:07 waterloo [this message]
2009-07-27  9:12 ` when rebind a key with global-set-key , if I need to use global-unset-key on that key ? Bastien
  -- strict thread matches above, loose matches on Subject: below --
2009-07-27  6:13 waterloo
2009-07-27  6:44 ` Bastien

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=907065090907270107s220e431do740e56f78d4ce13b@mail.gmail.com \
    --to=waterloo2005@gmail.com \
    --cc=bastienguerry@googlemail.com \
    --cc=help-gnu-emacs@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.
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).