From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Dan Dougherty" Newsgroups: gmane.emacs.help Subject: abbrevs in Aquamacs Date: Sat, 7 Jun 2008 22:50:59 -0400 Message-ID: <576db2310806071950k19b04c3dk24a19e93fe74e7f@mail.gmail.com> Reply-To: dd@cs.wpi.edu NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1212903365 20204 80.91.229.12 (8 Jun 2008 05:36:05 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 8 Jun 2008 05:36:05 +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 08 07:36:47 2008 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 1K5DaA-0003uK-Kz for geh-help-gnu-emacs@m.gmane.org; Sun, 08 Jun 2008 07:36:46 +0200 Original-Received: from localhost ([127.0.0.1]:53814 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K5DZN-0008MI-HI for geh-help-gnu-emacs@m.gmane.org; Sun, 08 Jun 2008 01:35:57 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1K5Azp-0006p3-FE for help-gnu-emacs@gnu.org; Sat, 07 Jun 2008 22:51:05 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1K5Azl-0006mA-RD for help-gnu-emacs@gnu.org; Sat, 07 Jun 2008 22:51:04 -0400 Original-Received: from [199.232.76.173] (port=45477 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K5Azl-0006lx-EK for help-gnu-emacs@gnu.org; Sat, 07 Jun 2008 22:51:01 -0400 Original-Received: from wf-out-1314.google.com ([209.85.200.169]:17641) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1K5Azl-0005az-Q7 for help-gnu-emacs@gnu.org; Sat, 07 Jun 2008 22:51:01 -0400 Original-Received: by wf-out-1314.google.com with SMTP id 28so1595258wfc.24 for ; Sat, 07 Jun 2008 19:50:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:reply-to :sender:to:subject:mime-version:content-type :content-transfer-encoding:content-disposition:x-google-sender-auth; bh=AiRpJ4rZQVDg7zOej6xoRb++stbni/gkboYasKuXCyg=; b=XaLVr7KCUSgyd1+lR20mZqkR4DZ4IWh2vnCU91DLAOD8vgK9iWJYNn2cm+MfY4HPPc uaHZgdzWb7Ew0ZxJ2Ux7bi+ot/c5Y7EDwALXOe/jkNd4uK12to8u9tIXLRBeK51hEkyy HrPGiq5orC8Ceevtwh4HspB63EYQvMz3LpYpo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:reply-to:sender:to:subject:mime-version :content-type:content-transfer-encoding:content-disposition :x-google-sender-auth; b=RXSrxwzuQvTp6xKUI4tAEnHu7Nw2p2yrMQqmrcrXJy26MPOI6z209Ni4V/MxJrIq4m wxxL4d1L5fpyn+oO1Nt7HmOU/vu3EDL0gZTniwu6yqAaMQ/UkGc1qysh61XPvhJdQJkr xH5lNkpqPPFmpiQNyRXzBSIFZxf6d5FfTrudQ= Original-Received: by 10.142.199.16 with SMTP id w16mr760873wff.206.1212893459096; Sat, 07 Jun 2008 19:50:59 -0700 (PDT) Original-Received: by 10.143.123.4 with HTTP; Sat, 7 Jun 2008 19:50:59 -0700 (PDT) Content-Disposition: inline X-Google-Sender-Auth: 31def92f65022d07 X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 2) X-Mailman-Approved-At: Sun, 08 Jun 2008 01:31:42 -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:54605 Archived-At: The following isn't working for me (in Aquamacs) (define-abbrev-table 'text-mode-abbrev-table '( ("\\a" "\\alpha" nil 0) ; want \a to abbreviate \alpha ("\\b" "\\beta" nil 0) ... )) I don't have an issue with abbrevs in general, there's just some funny business with the abbrev involving a "\". For example this works: (define-abbrev-table 'text-mode-abbrev-table '( ("qa" "\\alpha" nil 0) ("qb" "\\beta" nil 0) )) ...but is inelegant. Shouldn't I be able to define an abbrev that expands things like \a , \b, etc? I've seen examples from other people, so maybe this is an Aquamacs-specific issue? GNU Emacs 22.1.91.2 (powerpc-apple-darwin7.9.0, Carbon Version 1.6.0) of 2008-02-23 on applecore.inf.ed.ac.uk - Aquamacs Distribution 1.3b thanks in advance, Dan -- Dan Dougherty Department of Computer Science Worcester Polytechnic Institute Worcester MA 01609 USA http://www.cs.wpi.edu/~dd