gnu.emacs.help
[Top] [All Lists]

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

Subject: Re: Can't paste from files with .arc extension
From: Brian Adkins
Date: Fri, 7 Mar 2008 07:32:25 -0800 PST
Newsgroups: gnu.emacs.help
On Mar 7, 10:10 am, Peter Dyballa <Peter_Dyba...@xxxxxx> wrote:
> Am 07.03.2008 um 15:26 schrieb Brian Adkins:
>
> > "File mode specification error: (error "Autoloading failed to define
> > function archive-mode")
>
> You'll need to adjust auto-mode-alist.

Thanks, but I think the error message is a red herring as far as the
copy/paste problem is concerned. I had turned off the Arc code major
mode to eliminate it as a factor. I just did the following to
eliminate the above error:

(add-to-list 'auto-mode-alist '("\\.arc$" . ruby-mode))

The file loads fine w/o errors now, but I still can't paste into a non-
emacs window. I don't fully understand the X windows copy/paste
mechanism, but I think the source app is involved when pasting into a
destination app, so apparently emacs is doing something different when
the file has a .arc extension regardless of the major mode in effect.

<Prev in Thread] Current Thread [Next in Thread>