gnu.emacs.help
[Top] [All Lists]

Re: Can't paste from files with .arc extension

Subject: Re: Can't paste from files with .arc extension
From: Eli Zaretskii
Date: Sat, 08 Mar 2008 15:04:24 +0200
Newsgroups: gnu.emacs.help

> From: Brian Adkins <lojicdotcom@xxxxxxxxx>
> 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
emacs-devel@xxxxxxx, so that the developers could investigate the
problem and find a solution for it for the upcoming release 22.2 of
Emacs?

In your report, please show the exact sequence of commands, starting
from "emacs -Q", to reproduce the problem.

TIA



<Prev in Thread] Current Thread [Next in Thread>