all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Dan Dougherty" <dd@cs.wpi.edu>
To: help-gnu-emacs@gnu.org
Subject: abbrevs in Aquamacs
Date: Sat, 7 Jun 2008 22:50:59 -0400	[thread overview]
Message-ID: <576db2310806071950k19b04c3dk24a19e93fe74e7f@mail.gmail.com> (raw)

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	other threads:[~2008-06-08  2:50 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-06-08  2:50 Dan Dougherty [this message]
2008-06-08  9:38 ` abbrevs in Aquamacs Nikolaj Schumacher

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=576db2310806071950k19b04c3dk24a19e93fe74e7f@mail.gmail.com \
    --to=dd@cs.wpi.edu \
    --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.