GNU bug report logs - #1464
wikipedia-mode-map (was: Document/implement local-unset-map)

Previous Next

Package: emacs;

Reported by: Uwe Brauer <oub <at> mat.ucm.es>

Date: Mon, 1 Dec 2008 18:20:02 UTC

Severity: wishlist

Tags: wontfix

Merged with 1462, 1463, 1465

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #5 received at submit <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Uwe Brauer <oub <at> mat.ucm.es>
To: jidanni <at> jidanni.org
Cc: bug-gnu-emacs <at> gnu.org, cyd <at> stupidchicken.com
Subject: wikipedia-mode-map (was: Document/implement local-unset-map)
Date: Mon, 01 Dec 2008 19:12:49 +0100
Hello

I almost missed your mail, could you please use a more specific subject:
   > (info "(emacs)Local Keymaps") and (info "(emacs)Rebinding") at the
   > most talk about `M-x local-unset-key <RET> KEY'
   > But e.g., I very much want to unset the whole wikipedia-mode-map. It
   > should say how to do that. I.e., how to make it like we never knew
   > about any wikipedia-mode-map (that dares to tinker with basic emacs
   > keys like "\M-u" etc.).


Well is you really want to do that, why not just commenting out the
keybinding re-byte compiling it and restart (X)emacs?

Usually you would want to change certain keybindings by using 
local-set-key in the appropriate hook like

(add-hook 'wikipedia-mode-hook 'my-wikipededia-keys)

(defun my-wikipededia-keys ()
 (local-set-key [(control f3)]   'server-edit)) 
etc

Uwe Brauer 






This bug report was last modified 14 years and 143 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.