* macintosh OSX emacs: copy/paste
@ 2003-01-24 16:03 Greg Trafton
2003-01-24 18:27 ` Hugo Wolf
` (2 more replies)
0 siblings, 3 replies; 10+ messages in thread
From: Greg Trafton @ 2003-01-24 16:03 UTC (permalink / raw)
Hi, All. I'm using emacs on a macintosh running OS 10.2.3. one
problem I have is that when I want to copy something from a mac
application (like mozilla or word) into emacs, I copy it to the
clipboard, but apple-v / paste does not work. (the reverse is true
also: I can't copy stuff from emacs into a separate document or
application) instead, the apple key seems to be a control key, so
emacs is essentially not using the macintosh copy/paste properly.
when I was running (x)emacs on a linux box, I had a 3 button mouse
and could copy/paste with selection/second mouse key. If this is the
preferred method of dealing with this problem i can get a 3 button
mouse ;-)
A second thing I would like to know how to do is in Oort Gnus v0.12,
drag and drop an attachment into a mac folder. I'll post in the gnus
newsgroup a bit later about this if no one in this group knows how to
do this.
here is the emacs-version info:
GNU Emacs 21.3.50.4 (powerpc-apple-darwin6.3) of 2002-12-21 on
cabledoc126.frazmtn.com
thanks in advance!
greg
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: macintosh OSX emacs: copy/paste
2003-01-24 16:03 macintosh OSX emacs: copy/paste Greg Trafton
@ 2003-01-24 18:27 ` Hugo Wolf
2003-01-24 19:06 ` Greg Trafton
2003-01-24 18:55 ` Piet van Oostrum
2003-01-24 19:12 ` Kai Großjohann
2 siblings, 1 reply; 10+ messages in thread
From: Hugo Wolf @ 2003-01-24 18:27 UTC (permalink / raw)
In <m2adhq1qmt.fsf@resume.itd.nrl.navy.mil> Greg Trafton wrote:
> I copy it to the
> clipboard, but apple-v / paste does not work.
The command (apple) key is treated by emacs either as alt or as meta,
depending on your configuration. In general it doesn't work like a
command key in the MacOS sense (except for cmd-H).
For paste into emacs use mouse-middle or emacs' Edit menu.
> (the reverse is true
> also: I can't copy stuff from emacs into a separate document or
> application)
Any text you mark in emacs is effectively "copied". So just mark it in
emacs and hit cmd-V in other OSX apps.
> instead, the apple key seems to be a control key
By default it's meta, and option is alt. You can swap these via
(setq mac-command-key-is-meta nil)
> emacs is essentially not using the macintosh copy/paste properly.
It's doing what window'd emacs has always done.
> when I was running (x)emacs on a linux box, I had a 3 button mouse
> and could copy/paste with selection/second mouse key. If this is the
> preferred method of dealing with this problem i can get a 3 button
> mouse ;-)
You should get a 2-button+wheel mouse anyway (the wheel can be clicked
for mouse-middle) . They're really cheap and they're useful not only in
carbon emacs but also in Aqua in general (Cocoa apps in particular) and
in X11.
> A second thing I would like to know how to do is in Oort Gnus v0.12,
> drag and drop an attachment into a mac folder.
There isn't much drag&drop support in this version of emacs. You can
drag files from the Finder into emacs and it will open a buffer for them,
but afaik that's about it. I don't know about gnus specifically, since I
never use it (too slow).
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: macintosh OSX emacs: copy/paste
2003-01-24 18:27 ` Hugo Wolf
@ 2003-01-24 19:06 ` Greg Trafton
2003-01-24 19:36 ` Hugo Wolf
0 siblings, 1 reply; 10+ messages in thread
From: Greg Trafton @ 2003-01-24 19:06 UTC (permalink / raw)
Hugo Wolf <hwolf@deutsches.lieder.net> writes:
> In <m2adhq1qmt.fsf@resume.itd.nrl.navy.mil> Greg Trafton wrote:
>> I copy it to the
>> clipboard, but apple-v / paste does not work.
>
> The command (apple) key is treated by emacs either as alt or as meta,
> depending on your configuration. In general it doesn't work like a
> command key in the MacOS sense (except for cmd-H).
>
> For paste into emacs use mouse-middle or emacs' Edit menu.
emacs' Edit menu doesn't seem to work in my case; I copy something in
mozilla (or word) and the "select and paste" in Edit doesn't show
what I copied. but I'll get a 2 button with wheel and hope that will
fix it.
>> (the reverse is true
>> also: I can't copy stuff from emacs into a separate document or
>> application)
>
> Any text you mark in emacs is effectively "copied". So just mark it in
> emacs and hit cmd-V in other OSX apps.
yes! that worked, great, thanks! (duh on my part ;-)
thanks!
greg
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: macintosh OSX emacs: copy/paste
2003-01-24 19:06 ` Greg Trafton
@ 2003-01-24 19:36 ` Hugo Wolf
0 siblings, 0 replies; 10+ messages in thread
From: Hugo Wolf @ 2003-01-24 19:36 UTC (permalink / raw)
In <m2d6mme5ab.fsf@resume.itd.nrl.navy.mil> Greg Trafton wrote:
>> For paste into emacs use mouse-middle or emacs' Edit menu.
>
> emacs' Edit menu doesn't seem to work
Oops, you're right, it doesn't. Ctl-y should work though.
It _is_ possible to a limited extent to get Mac-like behavior with the
command key. You can do this by making command be alt (and option be
meta), and then binding cut&paste functions to alt-v, alt-x, alt-c etc.
But this is in some ways worse than nothing, since it behaves a little
like MacOS but not that much. Better just to put your emacs hat on when
you run emacs and forget about the underlying platform altogether...
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: macintosh OSX emacs: copy/paste
2003-01-24 16:03 macintosh OSX emacs: copy/paste Greg Trafton
2003-01-24 18:27 ` Hugo Wolf
@ 2003-01-24 18:55 ` Piet van Oostrum
2003-01-24 19:12 ` Kai Großjohann
2 siblings, 0 replies; 10+ messages in thread
From: Piet van Oostrum @ 2003-01-24 18:55 UTC (permalink / raw)
>>>>> Greg Trafton <trafton@itd.nrl.navy.mil> (GT) writes:
GT> Hi, All. I'm using emacs on a macintosh running OS 10.2.3. one
GT> problem I have is that when I want to copy something from a mac
GT> application (like mozilla or word) into emacs, I copy it to the
GT> clipboard, but apple-v / paste does not work. (the reverse is true
GT> also: I can't copy stuff from emacs into a separate document or
GT> application) instead, the apple key seems to be a control key, so
GT> emacs is essentially not using the macintosh copy/paste properly.
GT> when I was running (x)emacs on a linux box, I had a 3 button mouse
GT> and could copy/paste with selection/second mouse key. If this is the
GT> preferred method of dealing with this problem i can get a 3 button
GT> mouse ;-)
GT> A second thing I would like to know how to do is in Oort Gnus v0.12,
GT> drag and drop an attachment into a mac folder. I'll post in the gnus
GT> newsgroup a bit later about this if no one in this group knows how to
GT> do this.
GT> here is the emacs-version info:
GT> GNU Emacs 21.3.50.4 (powerpc-apple-darwin6.3) of 2002-12-21 on
GT> cabledoc126.frazmtn.com
IS this emacs running in a Terminal window or The GUI (Carbon) Emacs?
I don't have any problems with the latter, only with the standard
keybinding Copy is M-w and Paste is C-y. The 3 button mouse also works,
but you may have to put some incantations in your .emacs file.
--
Piet van Oostrum <piet@cs.uu.nl>
URL: http://www.cs.uu.nl/~piet [PGP]
Private email: P.van.Oostrum@hccnet.nl
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: macintosh OSX emacs: copy/paste
2003-01-24 16:03 macintosh OSX emacs: copy/paste Greg Trafton
2003-01-24 18:27 ` Hugo Wolf
2003-01-24 18:55 ` Piet van Oostrum
@ 2003-01-24 19:12 ` Kai Großjohann
2003-01-24 21:38 ` Greg Trafton
2 siblings, 1 reply; 10+ messages in thread
From: Kai Großjohann @ 2003-01-24 19:12 UTC (permalink / raw)
Greg Trafton <trafton@itd.nrl.navy.mil> writes:
> Hi, All. I'm using emacs on a macintosh running OS 10.2.3. one
> problem I have is that when I want to copy something from a mac
> application (like mozilla or word) into emacs, I copy it to the
> clipboard, but apple-v / paste does not work.
Does C-y work to paste it in Emacs?
Maybe S-<insert> also works?
--
Ambibibentists unite!
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: macintosh OSX emacs: copy/paste
2003-01-24 19:12 ` Kai Großjohann
@ 2003-01-24 21:38 ` Greg Trafton
2003-01-27 11:54 ` Kester Clegg
0 siblings, 1 reply; 10+ messages in thread
From: Greg Trafton @ 2003-01-24 21:38 UTC (permalink / raw)
kai.grossjohann@uni-duisburg.de (Kai Großjohann) writes:
> Greg Trafton <trafton@itd.nrl.navy.mil> writes:
>
>> Hi, All. I'm using emacs on a macintosh running OS 10.2.3. one
>> problem I have is that when I want to copy something from a mac
>> application (like mozilla or word) into emacs, I copy it to the
>> clipboard, but apple-v / paste does not work.
>
> Does C-y work to paste it in Emacs?
Yikes! C-y DOES work. I didn't even think to try it since I "knew"
it wouldn't work.
thanks!
greg
(only been using emacs for about a decade ;-)
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: macintosh OSX emacs: copy/paste
2003-01-24 21:38 ` Greg Trafton
@ 2003-01-27 11:54 ` Kester Clegg
2003-01-27 14:07 ` Kai Großjohann
0 siblings, 1 reply; 10+ messages in thread
From: Kester Clegg @ 2003-01-27 11:54 UTC (permalink / raw)
Greg Trafton <trafton@itd.nrl.navy.mil> writes:
> kai.grossjohann@uni-duisburg.de (Kai Großjohann) writes:
>
> > Greg Trafton <trafton@itd.nrl.navy.mil> writes:
> >
> >> Hi, All. I'm using emacs on a macintosh running OS 10.2.3. one
> >> problem I have is that when I want to copy something from a mac
> >> application (like mozilla or word) into emacs, I copy it to the
> >> clipboard, but apple-v / paste does not work.
> >
> > Does C-y work to paste it in Emacs?
>
> Yikes! C-y DOES work. I didn't even think to try it since I "knew"
> it wouldn't work.
I must confess I have the below in mine too, for ever so slightly
different reasons...
(global-set-key "\C-v" 'yank) ; paste clipboard like M$
--
************************************************************************
Kester Clegg Dept. of Computer Science,
Research Assistant (UTC) University of York,
Tel (01904) 43 27 49 email: kester at cs.york.ac.uk
************************************************************************
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: macintosh OSX emacs: copy/paste
2003-01-27 11:54 ` Kester Clegg
@ 2003-01-27 14:07 ` Kai Großjohann
2003-01-27 14:58 ` Kester Clegg
0 siblings, 1 reply; 10+ messages in thread
From: Kai Großjohann @ 2003-01-27 14:07 UTC (permalink / raw)
Kester Clegg <kester@cs.york.ac.uk> writes:
> I must confess I have the below in mine too, for ever so slightly
> different reasons...
>
> (global-set-key "\C-v" 'yank) ; paste clipboard like M$
I've started to use CUA mode, and I love it.
--
Ambibibentists unite!
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: macintosh OSX emacs: copy/paste
2003-01-27 14:07 ` Kai Großjohann
@ 2003-01-27 14:58 ` Kester Clegg
0 siblings, 0 replies; 10+ messages in thread
From: Kester Clegg @ 2003-01-27 14:58 UTC (permalink / raw)
kai.grossjohann@uni-duisburg.de (Kai Großjohann) writes:
> I've started to use CUA mode, and I love it.
Thanks for that, it seems nice. Meant I had to remap the keys for
flicking through buffers, but CUA-mode seems worth it. :-)
--
************************************************************************
Kester Clegg Dept. of Computer Science,
Research Assistant (UTC) University of York,
Tel (01904) 43 27 49 email: kester at cs.york.ac.uk
************************************************************************
^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2003-01-27 14:58 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-01-24 16:03 macintosh OSX emacs: copy/paste Greg Trafton
2003-01-24 18:27 ` Hugo Wolf
2003-01-24 19:06 ` Greg Trafton
2003-01-24 19:36 ` Hugo Wolf
2003-01-24 18:55 ` Piet van Oostrum
2003-01-24 19:12 ` Kai Großjohann
2003-01-24 21:38 ` Greg Trafton
2003-01-27 11:54 ` Kester Clegg
2003-01-27 14:07 ` Kai Großjohann
2003-01-27 14:58 ` Kester Clegg
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).