> From: Brian Adkins <[email protected]>
> Date: Fri, 7 Mar 2008 09:43:57 -0800 (PST)
> On Mar 7, 12:40 pm, Brian Adkins <lojicdot...@xxxxxxxxx> wrote:
> > Thanks to Peter, I kept poking around auto-mode-alist and it pointed
> > me to auto-coding-alist:
> > auto-coding-alist is a variable defined in `mule.el'.
> > Its value is
> > (("\\.\\(arc\\|zip\\|lzh\\|lha\\|zoo\\|[jew]ar\\|xpi\\|exe\\|rar\\|ARC\
> > \|ZIP\\|LZH\\|LHA\\|ZOO\\|[JEW]AR\\|XPI\\|EXE\\|RAR\\)\\'" . no-
> > conversion)
> > ("\\.\\(sx[dmicw]\\|odt\\|tar\\|tgz\\)\\'" . no-conversion)
> > ("\\.\\(gz\\|Z\\|bz\\|bz2\\|gpg\\)\\'" . no-conversion)
> > ("\\.\\(jpe?g\\|png\\|gif\\|tiff?\\|p[bpgn]m\\)\\'" . no-conversion)
> > ("\\.pdf\\'" . no-conversion)
> > ("/#[^/]+#\\'" . emacs-mule))
> > Documentation:
> > Alist of filename patterns vs corresponding coding systems.
> > Each element looks like (REGEXP . CODING-SYSTEM).
> > A file whose name matches REGEXP is decoded by CODING-SYSTEM on
> > reading.
> > The settings in this alist take priority over `coding:' tags
> > in the file (see the function `set-auto-coding')
> > and the contents of `file-coding-system-alist'.
> > You can customize this variable.
> Yep, that did the trick! I clicked on the customize link in the help
> (ya gotta love how integrated code, variables, help, etc. is in emacs)
> and removed arc from the 'no-conversion' association.
> Thanks for your time in pointing me down the right road Peter.
It sounds like you found a bug in Emacs, because pasting into other
applications should not require any changes to `auto-coding-alist'.
Could you please submit a bug report (using "M-x report-emacs-bug") to
[email protected], so that the developers could investigate the
problem and find a solution for it for the upcoming release 22.2 of
In your report, please show the exact sequence of commands, starting
from "emacs -Q", to reproduce the problem.