From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Guido Van Hoecke Newsgroups: gmane.emacs.help Subject: =?UTF-8?Q?Re=3A_How_can_I_avoid_mapping_of_=C2=A7_by_sgml=2Dmode=2Eel=3F?= Date: Tue, 12 Nov 2013 08:46:00 +0100 Message-ID: References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1384242398 11729 80.91.229.3 (12 Nov 2013 07:46:38 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 12 Nov 2013 07:46:38 +0000 (UTC) Cc: "help-gnu-emacs@gnu.org" To: Kevin Rodgers Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Nov 12 08:46:44 2013 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Vg8gN-0006f2-Pg for geh-help-gnu-emacs@m.gmane.org; Tue, 12 Nov 2013 08:46:43 +0100 Original-Received: from localhost ([::1]:41422 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vg8gN-0000S8-G7 for geh-help-gnu-emacs@m.gmane.org; Tue, 12 Nov 2013 02:46:43 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:49747) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vg8gD-0000S2-Du for help-gnu-emacs@gnu.org; Tue, 12 Nov 2013 02:46:34 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Vg8gB-0004iQ-B3 for help-gnu-emacs@gnu.org; Tue, 12 Nov 2013 02:46:33 -0500 Original-Received: from mail-ve0-x236.google.com ([2607:f8b0:400c:c01::236]:61881) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vg8gB-0004iK-6P for help-gnu-emacs@gnu.org; Tue, 12 Nov 2013 02:46:31 -0500 Original-Received: by mail-ve0-f182.google.com with SMTP id pa12so1527257veb.13 for ; Mon, 11 Nov 2013 23:46:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; bh=DWEyaLVWnz18k7L3J5nAFeN33bOmRtp6+KYbyC7lJMI=; b=MdHHSR+P62oiasVlqmlhV6fILnm9JsGdIiXCBdPJrqnz3e9vmyQms1u6Fxls2FoAqf CgqhHeYPG/lY8tcgMwCr7XKcXo+1u6PrlJw4rlUL65gjUCcKj8kDCVqDs4anpRpC8spi OW5aSTKL/mv5I/F858WywZh2k4YaeHx88oPkkFJqGlp9tUsKWfMq1bjhuKepIY8Zw4jy MvEtQzJNkMuMBWKFFTMqwqcHLy8ZHSyvDWHbK1toAFUaQ50134mh0jYLlWCRqvOXD7ia TkU9wl5HK7u7YSdektGKwJmJ9MS9CVXjH4a6cqWQDnkugk1v/58gaeMB+SRx7falo4jW ISHg== X-Received: by 10.52.64.143 with SMTP id o15mr23893745vds.16.1384242390734; Mon, 11 Nov 2013 23:46:30 -0800 (PST) Original-Received: by 10.52.73.129 with HTTP; Mon, 11 Nov 2013 23:46:00 -0800 (PST) In-Reply-To: X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2607:f8b0:400c:c01::236 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:94466 Archived-At: Thanks Kevin! Works like a charm :) On 12 November 2013 06:32, Kevin Rodgers wrote: > On 11/11/13 8:04 AM, Guido Van Hoecke wrote: >> >> Fellow Emacs users, >> >> I use and abuse a private keymap using the =C2=A7 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: >> >> =C2=A7 runs the command sgml-maybe-name-self, which is an interacti= ve >> 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 "=C2=A7"))) > > -- > Kevin Rodgers > Denver, Colorado, USA > >