help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

abbrevs in Aquamacs


From: Dan Dougherty
Subject: abbrevs in Aquamacs
Date: Sat, 7 Jun 2008 22:50:59 -0400

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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]