unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* abbrevs in Aquamacs
@ 2008-06-08  2:50 Dan Dougherty
  2008-06-08  9:38 ` Nikolaj Schumacher
  0 siblings, 1 reply; 2+ messages in thread
From: Dan Dougherty @ 2008-06-08  2:50 UTC (permalink / raw)
  To: help-gnu-emacs

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




^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: abbrevs in Aquamacs
  2008-06-08  2:50 abbrevs in Aquamacs Dan Dougherty
@ 2008-06-08  9:38 ` Nikolaj Schumacher
  0 siblings, 0 replies; 2+ messages in thread
From: Nikolaj Schumacher @ 2008-06-08  9:38 UTC (permalink / raw)
  To: dd; +Cc: help-gnu-emacs

"Dan Dougherty" <dd@cs.wpi.edu> wrote:

> Shouldn't I be able to define an abbrev that expands
> things like \a , \b, etc?

Should?  Yes.
Can?  No.

> I've seen examples from other people, so maybe this is an
> Aquamacs-specific issue?

I think XEmacs supports this.


regards,
Nikolaj Schumacher




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-06-08  9:38 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-06-08  2:50 abbrevs in Aquamacs Dan Dougherty
2008-06-08  9:38 ` Nikolaj Schumacher

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).