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: Fri, 7 Mar 2008 09:43:57 -0800 (PST)
User-agent: G2/1.0

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.


reply via email to

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