all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Joe Casadonte" <jcasadonte@northbound-train.com>
To: help-gnu-emacs@gnu.org
Subject: Re: Unwanted highlighting after cross-buffer paste
Date: Wed, 24 Dec 2008 22:18:47 -0500	[thread overview]
Message-ID: <ur63xrlgo.fsf@terrapin.northbound-train.com> (raw)
In-Reply-To: gitshb$si6$1@reader1.panix.com

On 24 Dec 2008, kj wrote:

> Is there a simpler way of getting rid of this unwanted highlighting

`font-lock-fontify-buffer' should re-fontify the whole buffer,
stripping out the unneeded bits.

> (or of avoiding it in the first place)?

Take a look at what it is that's killing the text in the first place;
if it's `copy-region-as-kill', you may want to re-write it to use
buffer-string-no-properties instead of buffer-string (or use some
around advice that temporarily fsets buffer-string to be
buffer-string-no-properties, but I'm not sure how to un-fset it).

--
Regards,


joe
Joe Casadonte
jcasadonte@northbound-train.com

------------------------------------------------------------------------------
         Llama Fresh Farms => http://www.northbound-train.com
    Ramblings of a Gay Man => http://www.northbound-train.com/ramblings
               Emacs Stuff => http://www.northbound-train.com/emacs.html
          Music CD Trading => http://www.northbound-train.com/cdr.html
------------------------------------------------------------------------------
                       Live Free, that's the message!
------------------------------------------------------------------------------


  reply	other threads:[~2008-12-25  3:18 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-12-24 17:46 Unwanted highlighting after cross-buffer paste kj
2008-12-25  3:18 ` Joe Casadonte [this message]
2008-12-25  4:24   ` Samuel Wales
2008-12-25 18:03   ` Barry Margolin
2008-12-25  4:13 ` Andreas Politz
2009-01-04 16:37   ` kj

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=ur63xrlgo.fsf@terrapin.northbound-train.com \
    --to=jcasadonte@northbound-train.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.