unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Andreas Politz <politza@fh-trier.de>
To: help-gnu-emacs@gnu.org
Subject: Re: Unwanted highlighting after cross-buffer paste
Date: Thu, 25 Dec 2008 05:13:22 +0100	[thread overview]
Message-ID: <1230178467.934601@arno.fh-trier.de> (raw)
In-Reply-To: <gitshb$si6$1@reader1.panix.com>

kj wrote:
> When I do a cross-buffer cut-and-paste from a buffer with syntax
> highlighting to one that doesn't have any highlighting I find that
> the highlighting from the source buffer is preserved, which I don't
> want.
> 
> I have not been able to find a way to get rid of this "imported"
> highlighting, other than killing the buffer and revisiting the
> file, which is pretty annoying.  E.g. "M-x fundamental-mode" won't
> do it.
> 
> Is there a simpler way of getting rid of this unwanted highlighting
> (or of avoiding it in the first place)?
> 

(add-to-list 'yank-excluded-properties 'face)

-ap
> TIA!
> 
> Kynn


  parent reply	other threads:[~2008-12-25  4:13 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
2008-12-25  4:24   ` Samuel Wales
2008-12-25 18:03   ` Barry Margolin
2008-12-25  4:13 ` Andreas Politz [this message]
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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1230178467.934601@arno.fh-trier.de \
    --to=politza@fh-trier.de \
    --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.
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).