GNU bug report logs - #45
23.0.60; Can't paste from files with .arc extensions

Previous Next

Package: emacs;

Reported by: Brian Adkins <info <at> lojic.com>

Date: Sun, 9 Mar 2008 13:15:03 UTC

Severity: normal

Done: Chong Yidong <cyd <at> stupidchicken.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (Emacs bug Tracking System)
To: Chong Yidong <cyd <at> stupidchicken.com>
Subject: bug#45: marked as done (23.0.60; Can't paste from files with .arc
 extensions)
[Message part 1 (text/plain, inline)]
Your message dated Sun, 20 Apr 2008 22:02:34 -0400
with message-id <87hcdw6k3p.fsf <at> stupidchicken.com>
and subject line Re: bug#45: 23.0.60; Can't paste from files with .arc extensions
has caused the Emacs bug report #45,
regarding 23.0.60; Can't paste from files with .arc extensions
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact don <at> donarmstrong.com
immediately.)


-- 
45: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=45
Emacs Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Brian Adkins <info <at> lojic.com>
To: emacs-pretest-bug <at> gnu.org
Subject: 23.0.60; Can't paste from files with .arc extensions
Date: Sat, 08 Mar 2008 19:14:27 -0500
I discovered that I could not select text with the mouse and paste via 
middle-button click into a non-emacs window when the file in question 
had a .arc extension. Paul Graham's new Arc language uses .arc as an 
extension and this extension is associated with no-conversion in the 
auto-coding-alist variable as follows:

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))

I am able to fix the problem by removing arc from the auto-coding-alist, 
but someone on gnu.emacs.help suggested I should file a bug report 
regarding this behavior.

Thanks,
Brian Adkins


In GNU Emacs 23.0.60.2 (i686-pc-linux-gnu, GTK+ Version 2.12.0)
 of 2008-02-06 on airstream
Windowing system distributor `The X.Org Foundation', version 11.0.10300000
configured using `configure  '--enable-font-backend' '--with-gif=no''

Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: en_US.UTF-8
  value of $XMODIFIERS: nil
  locale-coding-system: utf-8-unix
  default-enable-multibyte-characters: t



[Message part 3 (message/rfc822, inline)]
From: Chong Yidong <cyd <at> stupidchicken.com>
To: Kenichi Handa <handa <at> m17n.org>
Cc: monnier <at> iro.umontreal.ca, 45-done <at> debbugs.gnu.org
Subject: Re: bug#45: 23.0.60; Can't paste from files with .arc extensions
Date: Sun, 20 Apr 2008 22:02:34 -0400
> I think the attached patch will solve the problem.  It does
> this:
>
> If TEXT is requested, selecte C_STRING for unibyte
> buffer/string.  If an application doesn't like C_STRING, it
> will request again with STRING or COMPOUND_TEXT.  In such a
> case, follow what requested.

I checked in the patch.  Thanks.


This bug report was last modified 15 years and 176 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.