all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Kevin Rodgers <kevin.d.rodgers@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: How can I avoid mapping of § by sgml-mode.el?
Date: Mon, 11 Nov 2013 22:32:07 -0700	[thread overview]
Message-ID: <l5sedv$nu0$1@ger.gmane.org> (raw)
In-Reply-To: <m24n7jhteg.fsf@gmail.com>

On 11/11/13 8:04 AM, Guido Van Hoecke wrote:
> Fellow Emacs users,
>
> I use and abuse a private keymap using the § key as prefix-command. It
> is conveniently located under the ESC key on my iMac keyboard,
> and not used by me for any other purpose. This works fine in all
> modes except in sgml mode. There the key is bound to
> sgml-maybe-name-self:
>
>      § runs the command sgml-maybe-name-self, which is an interactive
>      compiled Lisp function in `sgml-mode.el'.
>
> I have looked into sgml-mode.el but my lisp does not suffice to
> find a way to avoid this mapping.
>
> Can some more knowledgeable person give me a recipe to avoid this
> mapping by sgml-mode?

(add-hook 'sgml-mode-hook
	  (lambda () (local-unset-key "§")))

-- 
Kevin Rodgers
Denver, Colorado, USA




  parent reply	other threads:[~2013-11-12  5:32 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-11-11 15:04 How can I avoid mapping of § by sgml-mode.el? Guido Van Hoecke
2013-11-12  0:57 ` Eric Abrahamsen
2013-11-12  5:32 ` Kevin Rodgers [this message]
2013-11-12  7:46   ` Guido Van Hoecke

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='l5sedv$nu0$1@ger.gmane.org' \
    --to=kevin.d.rodgers@gmail.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.
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.