From: TomSW <tom.weissmann@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: Are abbrevs for this?
Date: Thu, 11 Jun 2009 00:53:07 -0700 (PDT) [thread overview]
Message-ID: <21f4fcb3-2935-4034-8508-9d1dcc128487@m19g2000yqk.googlegroups.com> (raw)
In-Reply-To: 183b9113-69f1-45a2-8bec-a3fbdae5e92f@d38g2000prn.googlegroups.com
On Jun 11, 1:53 am, Xah Lee <xah...@gmail.com> wrote:
> On Jun 10, 6:53 am, "Paulo J. Matos" <pocma...@gmail.com> wrote:
>
> > Hi all,
>
> > I am developing a new major mode for a new specification language
> > which uses a lot of unicode symbols but it also has an ascii notation.
> > Like some scheme modes convert the lambda keyword into the greek
> > lambda letter, I have a table of keywords that would like them to be
> > changed into unicode symbols.
If the scheme modes are anything like pretty-haskell, they don't
actually convert the text, they use font-lock to disguise "lambda" as
the greek letter - the source code itself doesn't change.
> > Can I use abbrevs for this?
Yes, if you want to replace the ascii notation with the unicode
symbols in the source code. If that is the case then the notation
sounds more like a set of conventional abbreviations than a part of
the language, in which case it would be nice to permit users to
customise the abbreviations; if in fact the ascii notation is part of
the language then the font-lock approach might work.
regards,
Tom SW
next prev parent reply other threads:[~2009-06-11 7:53 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <mailman.368.1244642017.2239.help-gnu-emacs@gnu.org>
2009-06-10 23:53 ` Are abbrevs for this? Xah Lee
2009-06-11 7:53 ` TomSW [this message]
2009-06-11 11:42 ` Paulo J. Matos
[not found] ` <mailman.451.1244720587.2239.help-gnu-emacs@gnu.org>
2009-06-11 11:55 ` TomSW
2009-06-13 8:14 ` harven
2009-06-10 13:53 Paulo J. Matos
2009-06-11 1:13 ` Maurizio Vitale
2009-06-11 11:43 ` Paulo J. Matos
2009-06-11 12:18 ` Maurizio Vitale
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=21f4fcb3-2935-4034-8508-9d1dcc128487@m19g2000yqk.googlegroups.com \
--to=tom.weissmann@gmail.com \
--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.