From: "Alan E. Davis" <lngndvs@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Unknown character encodings in .emacs
Date: Sat, 7 Jun 2008 23:32:32 +1000 [thread overview]
Message-ID: <7bef1f890806070632y347af376g3e7796ee907c78b1@mail.gmail.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 1917 bytes --]
I have stumbled on a problem in my ~/.emacs.el . I am at a loss to even
explain it. It seems to me like it might be related to character encoding.
For a number of months, or even years, I have been encountering messages
asking what encoding I wish to use to save files. I have gotten into the
habit of saying "utf-8" because it gets me out of there, but I haven't a
clue what this might do or mean.
Now, my .emacs has gotten buggered. I pasted some snippets from a web
site. Later one, those snippets, it seems, have gotten expressed as garbage
characters. I'be been poking around, but don't have a clue where to start.
I never did understand encoding---I mean, what it does, what parts of the
sysem are involved. I cannot even get to first base debugging this.
As an example, I have an abbreviation table that has been in my init file
for 15 years, and now reads as gibberish.
(define-abbrev-table 'global-abbrev-table '(
("%`" "\°" nil 0)
("a`" "á" nil 1)
("A`" "ÃÂ" nil 1)
("o`" "ó" nil 2)
("O`" "ÃÂ"" nil 1)
("u`" "ú" nil 2)
("U`" "ÃÂ" nil 1)
("n`" "ñ" nil 0)
("e`" "ÃÂ(c)" nil 4)
("E`" "ÃÂ" nil 1)
("m`" "õ" nil 0)
("p`" "ö" nil 0)
("s`" "ç" nil 0)
("y`" "\245" nil 0) ;; ÃÂ¥
("?`" "ÿ" nil 0)
("!`" "á" nil 0)
(":`" "÷" nil 0)
("<`" "ë" nil 0)
(">`" "\273" nil 0)
("/`" "\370" nil 0) ;; ø
("!`" "\241" nil 0) ;; á
("b`" "\337" nil 0) ;; ÃÂ
("c`" "\242" nil 0) ;; â
))
Can someone point me to an explanation of why this happened, and how to fix
it?
Thank you very much,
Alan
--
Alan Davis : lngndvs@gmail.com
"It's never a matter of liking or disliking ..."
---Santa Ynez Chumash Medicine Man
"We have no art. We do everything as well as we can." ---Balinese saying
[-- Attachment #2: Type: text/html, Size: 3150 bytes --]
next reply other threads:[~2008-06-07 13:32 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-06-07 13:32 Alan E. Davis [this message]
2008-06-07 18:34 ` Unknown character encodings in .emacs Peter Dyballa
2008-06-07 18:38 ` Nikolaj Schumacher
2008-06-07 22:36 ` Alan E. Davis
2008-06-08 0:35 ` Alan E. Davis
[not found] <mailman.12844.1212845557.18990.help-gnu-emacs@gnu.org>
2008-06-07 14:04 ` Giorgos Keramidas
2008-06-07 23:09 ` Alan
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=7bef1f890806070632y347af376g3e7796ee907c78b1@mail.gmail.com \
--to=lngndvs@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.