From: Brian Adkins <lojicdotcom@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: Can't paste from files with .arc extension
Date: Fri, 7 Mar 2008 09:27:47 -0800 (PST) [thread overview]
Message-ID: <8873058e-5dda-4421-aa69-2ba6b1412174@34g2000hsz.googlegroups.com> (raw)
In-Reply-To: mailman.8514.1204909345.18990.help-gnu-emacs@gnu.org
On Mar 7, 12:02 pm, Peter Dyballa <Peter_Dyba...@Web.DE> wrote:
> Am 07.03.2008 um 17:18 schrieb Brian Adkins:
>
> > Given that I'm running without a .emacs file, I would think this would
> > be easy to duplicate. Just load a text file with a .arc extension and
> > try and select test in emacs and middle-button paste in a non-emacs
> > window. When I do that, I get nothing.
>
> In that case you might run into an error: auto-mode-alist will have
>
> ("\\.\\(arc\\|zip\\|lzh\\|lha\\|zoo\\|[jew]ar\\|xpi\\|rar\\|ARC\\|
> ZIP\\|LZH\\|LHA\\|ZOO\\|[JEW]AR\\|XPI\\|RAR\\)\\'" . archive-mode)
I can set the file to whatever mode I want after loading and it
exhibits the same "can't paste to non-emacs window" problem.
> Copying a text file to name.arc and opening it in 'emacs -Q' gives me
> a Fundamental View and no problems with copy and paste. Problems
> start when the "ARC" file contains control characters or characters
> that cannot be displayed in the buffer's encoding and therefore are
> printed as \<some octal codes>.
>
> Having set LC_CTYPE to <country>_<COUNTRY>.UTF-8 I don't get
> autocomposed characters ...
As I mentioned before, I can rename any file to have a .arc extension
and I get this problem, so it's not a character encoding issue.
Just to confirm what you're saying about "no problems", are you:
1) running emacs in X windows as opposed to a terminal window
2) selecting text with the mouse AND
3) middle-button pasting into a *non-emacs* window such as a shell
If so, I'm dumbfounded. When I explained what I was doing clearly,
another person on the Arc forum was able to see the same results with
emacs v23, so it's not unique to my particular environment.
I can copy/paste from/to emacs windows without difficulty, it's only
when selecting and middle-button pasting into a non-emacs window where
the difficulty arises.
Hmm.. I just tried renaming to temp.zip and had the same paste
problem, so the auto-mode-alist does seem related. However, when I re-
add the code I had originally to set the mode properly, I no longer
get the error message, but I still have trouble with pasting outside
of emacs, so it appears either there is something other than the auto-
mode-alist causing the problem, or that adding a valid arc-mode isn't
sufficient and I need to remove the existing entries from the auto-
mode-alist variable. I would think that once a match is found, the
other entries wouldn't be considered, but maybe that's a wrong
assumption.
next prev parent reply other threads:[~2008-03-07 17:27 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-03-07 14:00 Can't paste from files with .arc extension Brian Adkins
2008-03-07 14:07 ` Brian Adkins
2008-03-07 14:26 ` Brian Adkins
2008-03-07 15:10 ` Peter Dyballa
[not found] ` <mailman.8503.1204902612.18990.help-gnu-emacs@gnu.org>
2008-03-07 15:32 ` Brian Adkins
2008-03-07 16:05 ` Peter Dyballa
[not found] ` <mailman.8510.1204905941.18990.help-gnu-emacs@gnu.org>
2008-03-07 16:18 ` Brian Adkins
2008-03-07 16:22 ` Brian Adkins
2008-03-07 17:02 ` Peter Dyballa
[not found] ` <mailman.8514.1204909345.18990.help-gnu-emacs@gnu.org>
2008-03-07 17:27 ` Brian Adkins [this message]
2008-03-07 17:40 ` Brian Adkins
2008-03-07 17:43 ` Brian Adkins
2008-03-08 13:04 ` Eli Zaretskii
[not found] ` <mailman.8550.1204981470.18990.help-gnu-emacs@gnu.org>
2008-03-08 15:27 ` Brian Adkins
2008-03-08 20:31 ` Eli Zaretskii
2008-03-08 21:21 ` Stefan Monnier
2008-03-08 22:45 ` Peter Dyballa
2008-03-09 4:15 ` Eli Zaretskii
2008-03-09 9:26 ` Peter Dyballa
2008-03-09 22:06 ` Eli Zaretskii
2008-03-09 22:14 ` Peter Dyballa
2008-03-09 22:41 ` Eli Zaretskii
2008-03-09 22:55 ` Peter Dyballa
[not found] ` <mailman.8569.1205008330.18990.help-gnu-emacs@gnu.org>
2008-03-09 0:16 ` Brian Adkins
2008-03-09 4:21 ` Eli Zaretskii
2008-03-07 18:59 ` Peter Dyballa
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=8873058e-5dda-4421-aa69-2ba6b1412174@34g2000hsz.googlegroups.com \
--to=lojicdotcom@gmail.com \
--cc=help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.