unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* global-set-key not global?
@ 2004-02-05 17:54 Emory Smith
  0 siblings, 0 replies; 6+ messages in thread
From: Emory Smith @ 2004-02-05 17:54 UTC (permalink / raw)


im using the following in my .emacs:

(global-set-key "\C-j"  'bs-cycle-next)
(global-set-key "\M-j"  'bs-cycle-previous)

but a number of major modes still seem to have C-j bound to 
insert-newline.
it works fine if i use local-set-key inside the add-hook for every 
mode, but seems like i shouldnt have to do this.


also, how can i use the semicolon in a keybinding. obviously, the 
following doesnt work:

(global-set-key "\C-;"  'indent-for-comment)

how can i escape the ";" character so that it doesnt look like a 
comment to elisp?

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2004-02-12 14:00 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <mailman.1967.1076003924.928.help-gnu-emacs@gnu.org>
2004-02-05 19:35 ` global-set-key not global? Stefan Monnier
     [not found]   ` <AB8C2728-59BF-11D8-ABDD-000A958A3AF4@mac.com>
2004-02-07 22:50     ` Emory Smith
     [not found]     ` <mailman.2070.1076194243.928.help-gnu-emacs@gnu.org>
2004-02-08 13:29       ` Kai Grossjohann
2004-02-09 19:18         ` Kevin Rodgers
2004-02-12 14:00           ` Kai Grossjohann
2004-02-05 17:54 Emory Smith

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).