* copy/paste change font color
@ 2005-08-06 21:36 Baloff
2005-08-06 22:05 ` Christian Plate
[not found] ` <mailman.2798.1123367949.20277.help-gnu-emacs@gnu.org>
0 siblings, 2 replies; 4+ messages in thread
From: Baloff @ 2005-08-06 21:36 UTC (permalink / raw)
Hello
when I copy using the mouse, from a c++ mode frame to text-mode frame,
it keeps the same font color of the text I am pasting, how can I make
it to change the text color to that which is the default for the frame
it is being pasted into.
thanks
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: copy/paste change font color
2005-08-06 21:36 copy/paste change font color Baloff
@ 2005-08-06 22:05 ` Christian Plate
[not found] ` <mailman.2798.1123367949.20277.help-gnu-emacs@gnu.org>
1 sibling, 0 replies; 4+ messages in thread
From: Christian Plate @ 2005-08-06 22:05 UTC (permalink / raw)
Baloff <washdc@wash.edu> writes:
> when I copy using the mouse, from a c++ mode frame to text-mode frame,
> it keeps the same font color of the text I am pasting, how can I make
> it to change the text color to that which is the default for the frame
> it is being pasted into.
You could customize "yank-excluded-properties" so that the face is not
copied. To do this, "M-x customize-option RET yank-excluded-properties"
click on the last INS to insert a new value and fill into the new field
"face".
This way the copied text won't get colored.
Regards, Christian
^ permalink raw reply [flat|nested] 4+ messages in thread
[parent not found: <mailman.2798.1123367949.20277.help-gnu-emacs@gnu.org>]
* Re: copy/paste change font color
[not found] ` <mailman.2798.1123367949.20277.help-gnu-emacs@gnu.org>
@ 2005-08-07 16:08 ` Baloff
2005-08-07 9:29 ` Christian Plate
0 siblings, 1 reply; 4+ messages in thread
From: Baloff @ 2005-08-07 16:08 UTC (permalink / raw)
Christian Plate wrote:
> Baloff <washdc@wash.edu> writes:
>
>>when I copy using the mouse, from a c++ mode frame to text-mode frame,
>>it keeps the same font color of the text I am pasting, how can I make
>>it to change the text color to that which is the default for the frame
>>it is being pasted into.
>
>
> You could customize "yank-excluded-properties" so that the face is not
> copied. To do this, "M-x customize-option RET yank-excluded-properties"
> click on the last INS to insert a new value and fill into the new field
> "face".
>
> This way the copied text won't get colored.
>
> Regards, Christian
>
>
on my system
M-x customize-option RET yank<tab> yields yank-menu-length
humm
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: copy/paste change font color
2005-08-07 16:08 ` Baloff
@ 2005-08-07 9:29 ` Christian Plate
0 siblings, 0 replies; 4+ messages in thread
From: Christian Plate @ 2005-08-07 9:29 UTC (permalink / raw)
Baloff <vddr2u@bi.edu.gr> writes:
> on my system
> M-x customize-option RET yank<tab> yields yank-menu-length
> humm
Oh, sorry. I'm using Emacs from CVS. I just checked, in the latest
stable release this option is not there.
But you could do "M-g d" on your text.
,----[ M-g d ]
| M-g d runs the command facemenu-set-default
| which is an interactive Lisp function.
| (facemenu-set-default)
|
| Select face `default' for subsequent insertion.
`----
This works in my 21.3 and sets the default face for the region.
Regards, Christian
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2005-08-07 16:08 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-08-06 21:36 copy/paste change font color Baloff
2005-08-06 22:05 ` Christian Plate
[not found] ` <mailman.2798.1123367949.20277.help-gnu-emacs@gnu.org>
2005-08-07 16:08 ` Baloff
2005-08-07 9:29 ` Christian Plate
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).