all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Dieter Wilhelm <dieter@duenenhof-wilhelm.de>
To: "Alex Wei" <swei@arrayinc.com>
Cc: help-gnu-emacs@gnu.org
Subject: Re: How to rebind keys "C-j" to join-line
Date: Mon, 06 Aug 2007 23:00:25 +0200	[thread overview]
Message-ID: <87ejigjs46.fsf@debby.local.net> (raw)
In-Reply-To: <FC68AE0C01604715AEB44A0BE8483BCE@array8f42e753d> (Alex Wei's message of "Mon\, 6 Aug 2007 10\:17\:04 +0800")

"Alex Wei" <swei@arrayinc.com> writes:

> Thanks    H. Dieter Wilhelm
>  
> I don't need the original C-j keybinding, the "M-^" needs to press 3 keys at

I see, (I, personally, count M+SHIFT as one key, pressed at the same time ;-)

> same time, so I want to rebind the C-j to join-line. I am just wondering how to
> rebind the key or how can I find the hook.
>  
> After opening the Emacs, I type  (local-set-key (kbd "C-j") 'join-line)  and
> then Cx Ce, It works!!

Have you tried (global-set-key)?  Maybe local-set-key works only in
the *scratch* buffer at start-up?  Sorry I'm not sure.

-- 
    Best wishes

    H. Dieter Wilhelm
    Darmstadt, Germany

  parent reply	other threads:[~2007-08-06 21:00 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-08-03  5:18 How to rebind keys "C-j" to join-line Alex Wei
2007-08-04  2:59 ` Dieter Wilhelm
2007-08-06  2:17   ` Alex Wei
2007-08-06 14:37     ` Nikolaj Schumacher
2007-08-07  2:15       ` Alex Wei
2007-08-08  4:46         ` Kevin Rodgers
2007-08-06 21:00     ` Dieter Wilhelm [this message]
2007-08-07  2:25       ` Alex Wei
2007-08-07  8:03       ` How to rebind keys "C-j" to join-line -- SOLVED! Alex Wei
2007-08-07 20:36         ` Dieter Wilhelm
2007-08-08  2:27           ` Alex Wei
     [not found]       ` <mailman.4479.1186473818.32220.help-gnu-emacs@gnu.org>
2007-08-07 11:30         ` Daniel Jensen
     [not found] <mailman.4283.1186118330.32220.help-gnu-emacs@gnu.org>
2007-08-03 11:57 ` How to rebind keys "C-j" to join-line Daniel Jensen

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=87ejigjs46.fsf@debby.local.net \
    --to=dieter@duenenhof-wilhelm.de \
    --cc=help-gnu-emacs@gnu.org \
    --cc=swei@arrayinc.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.