From: "B. T. Raven" <nihil@nihilo.net>
To: help-gnu-emacs@gnu.org
Subject: Re: abbreviations for Unicode
Date: Mon, 23 Feb 2009 00:56:10 -0600 [thread overview]
Message-ID: <1N2dnTV90r0a1T_UnZ2dnUVZ_u-dnZ2d@sysmatrix.net> (raw)
In-Reply-To: <b63dd04e-4ea7-40cd-a7b7-6bb7a9248dfe@e18g2000yqo.googlegroups.com>
Dale Gerdemann wrote:
> I've been editing files with lots of Unicode characters and I thought
> I might save time by using abbreviations for certain hard to type
> characters (I'm using Mule input methods for the easier stuff).
> Everything works okay when I edit the .abbrev_defs file myself, but
> the character encoding gets all screwed up when I let Emacs do the
> editing. That is, if I use C-x a g to interactively define an
> abbreviation, then this will work only for the current session. When I
> quit, I'm prompted with the question whether I want to save
> the .abbrev_defs file and if I say 'yes', then all the definitions I
> have are destroyed.
>
> I'm using GNU Emacs 22.2.1 on Ubuntu 8.10 with LANG=en_US.UTF-8
>
> And btw, I'm mostly very happy with Unicode support in Emacs. My
> problem here is really in the category of minor annoyances. But I
> would like to fix it.
>
After you have all the abbrevs set up the way you want them go into the
*Abbrevs* buffer and run:
C-x ret f utf-8
This should cause ;;-*-coding: emacs-mule;-*- to be prepended to the
.abbrev_defs file when you do:
M-x write-abbrev-file
You can call your abbrevs file something else if you want; .abbrev_defs
is the default or you could have many abbrev files if you needed them
for some reason.
Ed
prev parent reply other threads:[~2009-02-23 6:56 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-02-22 20:17 abbreviations for Unicode Dale Gerdemann
2009-02-23 6:56 ` B. T. Raven [this message]
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=1N2dnTV90r0a1T_UnZ2dnUVZ_u-dnZ2d@sysmatrix.net \
--to=nihil@nihilo.net \
--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.