help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Brian Adkins
Subject: Re: Can't paste from files with .arc extension
Date: Sat, 8 Mar 2008 07:27:32 -0800 (PST)
User-agent: G2/1.0

On Mar 8, 8:04 am, Eli Zaretskii <e...@gnu.org> wrote:
> > From: Brian Adkins <lojicdot...@gmail.com>
> > Date: Fri, 7 Mar 2008 09:43:57 -0800 (PST)
>
> > On Mar 7, 12:40 pm, Brian Adkins <lojicdot...@gmail.com> 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-de...@gnu.org, 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

I thought that inclusion of the .arc extension in the auto-coding-
alist meant that emacs considered the file to be binary and thus would
not paste contents into another application. Are you saying that the
expected behavior is for emacs to paste anyway?


reply via email to

[Prev in Thread] Current Thread [Next in Thread]