all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Unknown character encodings in .emacs
@ 2008-06-07 13:32 Alan E. Davis
  2008-06-07 18:34 ` Peter Dyballa
  2008-06-07 18:38 ` Nikolaj Schumacher
  0 siblings, 2 replies; 7+ messages in thread
From: Alan E. Davis @ 2008-06-07 13:32 UTC (permalink / raw)
  To: help-gnu-emacs

[-- 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 --]

^ permalink raw reply	[flat|nested] 7+ messages in thread
[parent not found: <mailman.12844.1212845557.18990.help-gnu-emacs@gnu.org>]

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

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-06-07 13:32 Unknown character encodings in .emacs Alan E. Davis
2008-06-07 18:34 ` 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

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.