From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Brian Adkins Newsgroups: gmane.emacs.help Subject: Re: Can't paste from files with .arc extension Date: Sat, 8 Mar 2008 07:27:32 -0800 (PST) Organization: http://groups.google.com Message-ID: <72d00b40-1966-4828-9821-f833dea47b40@h11g2000prf.googlegroups.com> References: <397b3f92-b993-4ea0-9f01-582b96e269dd@34g2000hsz.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1204990862 31448 80.91.229.12 (8 Mar 2008 15:41:02 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 8 Mar 2008 15:41:02 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Mar 08 16:41:29 2008 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1JY1Ah-0002XP-TC for geh-help-gnu-emacs@m.gmane.org; Sat, 08 Mar 2008 16:41:16 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JY1A9-0007KE-Sk for geh-help-gnu-emacs@m.gmane.org; Sat, 08 Mar 2008 10:40:41 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!postnews.google.com!h11g2000prf.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 53 Original-NNTP-Posting-Host: 71.6.194.229 Original-X-Trace: posting.google.com 1204990052 986 127.0.0.1 (8 Mar 2008 15:27:32 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Sat, 8 Mar 2008 15:27:32 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: h11g2000prf.googlegroups.com; posting-host=71.6.194.229; posting-account=Uust-woAAAAfaTc8iUxK0_NIe578kqTZ User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.12) Gecko/20080207 Ubuntu/7.10 (gutsy) Firefox/2.0.0.12, gzip(gfe), gzip(gfe) Original-Xref: shelby.stanford.edu gnu.emacs.help:156789 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:52161 Archived-At: On Mar 8, 8:04 am, Eli Zaretskii wrote: > > From: Brian Adkins > > Date: Fri, 7 Mar 2008 09:43:57 -0800 (PST) > > > On Mar 7, 12:40 pm, Brian Adkins 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?