From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Fabrizio Sidoli Newsgroups: gmane.emacs.help Subject: emacs abbreviation mode Date: Sun, 10 Jun 2007 17:02:07 +0100 (BST) Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Trace: sea.gmane.org 1181508522 16976 80.91.229.12 (10 Jun 2007 20:48:42 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 10 Jun 2007 20:48:42 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Jun 10 22:48:41 2007 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1HxUL0-00079A-9k for geh-help-gnu-emacs@m.gmane.org; Sun, 10 Jun 2007 22:48:38 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HxUKz-0004wL-Rr for geh-help-gnu-emacs@m.gmane.org; Sun, 10 Jun 2007 16:48:37 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HxPs2-0001wu-75 for help-gnu-emacs@gnu.org; Sun, 10 Jun 2007 12:02:26 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HxPs1-0001uv-Gq for help-gnu-emacs@gnu.org; Sun, 10 Jun 2007 12:02:25 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HxPs1-0001uV-7o for help-gnu-emacs@gnu.org; Sun, 10 Jun 2007 12:02:25 -0400 Original-Received: from vscano-d.ucl.ac.uk ([128.40.105.162]) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA1:24) (Exim 4.60) (envelope-from ) id 1HxPs0-00069l-P3 for help-gnu-emacs@gnu.org; Sun, 10 Jun 2007 12:02:24 -0400 Original-Received: from zuserver2.star.ucl.ac.uk ([128.40.1.3]) by vscano-d.ucl.ac.uk with esmtp (Exim 4.60) (envelope-from ) id 1HxPrs-0001IO-AQ for help-gnu-emacs@gnu.org; Sun, 10 Jun 2007 17:02:16 +0100 Original-Received: from zuserver1.star.ucl.ac.uk (zuserver1.star.ucl.ac.uk [128.40.1.2]) by zuserver2.star.ucl.ac.uk (8.13.1/8.13.1) with ESMTP id l5AG2Com001076 for ; Sun, 10 Jun 2007 17:02:16 +0100 Original-Received: from zuserver1.star.ucl.ac.uk (localhost.localdomain [127.0.0.1]) by zuserver1.star.ucl.ac.uk (8.12.11.20060308/8.12.11) with ESMTP id l5AG2BT0029827 for ; Sun, 10 Jun 2007 17:02:11 +0100 Original-Received: from localhost (fs@localhost) by zuserver1.star.ucl.ac.uk (8.12.11.20060308/8.12.11/Submit) with ESMTP id l5AG27vM029823 for ; Sun, 10 Jun 2007 17:02:11 +0100 X-Authentication-Warning: zuserver1.star.ucl.ac.uk: fs owned process doing -bs X-UCL-MailScanner-Information: Please contact the UCL Helpdesk, helpdesk@ucl.ac.uk for more information X-UCL-MailScanner: Found to be clean X-UCL-MailScanner-From: fs@star.ucl.ac.uk X-detected-kernel: Solaris 10 (beta) X-Mailman-Approved-At: Sun, 10 Jun 2007 16:47:59 -0400 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:44850 Archived-At: Hi there, I'm not sure if this is the correct address to be sending this request to so please forgive me if it is not. I was wondering if you could tell me why the following abbreviation for LaTex works under XEmacs but not under Emacs. (define-abbrev-table 'tex-mode-abbrev-table '( ("\\ha" "{\\H$\\alpha$} " nil 0) . . . )) In XEmacs, if I typed '\ha' I would get in return '{\H$\alpha$}', this does not seem to work in Emacs. Emacs appears not to like the abbreviation to have the special character '\'. In Emacs, the following does work however. ("ha" "{\\H$\\alpha$} " nil 0) Note the absence of the first two '\'. I Many thanks, Fabrizio