unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Andrea Crotti <andrea.crotti.0@gmail.com>
To: "B. T. Raven" <nihil@nihilo.net>
Cc: help-gnu-emacs@gnu.org
Subject: Re: Change C-d binding from delete-char to backward-delete-char-untabify
Date: Thu, 07 Apr 2011 11:19:06 +0200	[thread overview]
Message-ID: <sa0pqoyiflh.fsf@gmail.com> (raw)
In-Reply-To: <EeadnfZWQe3pYwHQnZ2dnUVZ_sWdnZ2d@sysmatrix.net>

"B. T. Raven" <nihil@nihilo.net> writes:

> I notice that I use both of these functions in my .emacs:
>
> global-set-key
> define-key global-map
>
> Is it enough to make the new binding with either of these or does the
> default binding have to be unbound first? What is the difference between
> using those two methods? Can I then use the same method to bind
> [backspace] to delete-char?

I always use global-set-key, I'm not sure what could be the difference
between the two methods anyway.

Bu yes you don't need to unbound anything before, and just use
global-set-key after everything else is loaded and you'll be fine.

-- 
GNU Emacs 24.0.50.1 (x86_64-unknown-linux-gnu, GTK+ Version 2.22.0)
 of 2011-03-04 on plaetekopp



  reply	other threads:[~2011-04-07  9:19 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-04-06 23:59 Change C-d binding from delete-char to backward-delete-char-untabify B. T. Raven
2011-04-07  9:19 ` Andrea Crotti [this message]
2011-04-07 10:10 ` Deniz Dogan
     [not found] ` <mailman.3.1302171076.24221.help-gnu-emacs@gnu.org>
2011-04-07 17:25   ` B. T. Raven
2011-04-10  2:59     ` Stefan Monnier

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=sa0pqoyiflh.fsf@gmail.com \
    --to=andrea.crotti.0@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    --cc=nihil@nihilo.net \
    /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).