all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Copying preserves font-lock-face
@ 2006-09-23  0:43 Nick Roberts
  2006-09-23 16:12 ` martin rudalics
  2006-09-23 18:01 ` Richard Stallman
  0 siblings, 2 replies; 15+ messages in thread
From: Nick Roberts @ 2006-09-23  0:43 UTC (permalink / raw)



My jargon might be a bit wrong but here goes:

If I copy text with a face into a fontified buffer it gets a face according
to it's context e.g a word in a comment in c-mode to a keyword location
(face goes from font-lock-comment-face to font-lock-keyword-face)

If I copy text with a font-lock-face it keeps that property and doesn't acquire
the face appropriate to it's new location e.g text from the grep buffer with
font-lock-face `match' looks the same after being copied into a C file.  I
realise that I can remove font-lock-face with facemenu-remove-all but I don't
see why I should need to.

Is there a reason why font-lock-face should be preserved on copying?

-- 
Nick                                           http://www.inet.net.nz/~nickrob

^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2006-10-02  4:04 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-09-23  0:43 Copying preserves font-lock-face Nick Roberts
2006-09-23 16:12 ` martin rudalics
2006-09-24  6:13   ` Nick Roberts
2006-09-24  9:43     ` martin rudalics
2006-09-24 21:07       ` Nick Roberts
2006-09-25  2:22       ` Miles Bader
2006-09-25  3:17       ` Richard Stallman
2006-09-25 22:02         ` Chong Yidong
2006-09-26 15:41           ` Richard Stallman
2006-09-26 17:02             ` Stefan Monnier
2006-09-26 22:10               ` Richard Stallman
2006-09-23 18:01 ` Richard Stallman
2006-09-25 22:32   ` Kevin Rodgers
2006-09-26 15:41     ` Richard Stallman
2006-10-02  4:04       ` Richard Stallman

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.