unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Alan Mackenzie <acm@muc.de>
To: emacs-devel@gnu.org
Subject: M-w, then C-y.  C-y inserts text properties that aren't on original.
Date: Thu, 18 Feb 2010 20:29:02 +0000	[thread overview]
Message-ID: <20100218202902.GE2671@muc.de> (raw)

In a C++ Mode buffer, I create a region containing a template-opener <,
M-w it, then C-y it.

The C-y puts a syntax-table property on the (copy of) the <, but this
property didn't exist on the original.

What _was_ on the original was a category property whose symbol had a
syntax-table property.

This is the root cause of bug 5570 (indentation messed up in C++).

Would somebody please suggest the part of Emacs I should be looking at
to debug this problem.

Thanks!

-- 
Alan Mackenzie (Nuremberg, Germany).




             reply	other threads:[~2010-02-18 20:29 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-02-18 20:29 Alan Mackenzie [this message]
2010-02-19  4:47 ` M-w, then C-y. C-y inserts text properties that aren't on original Stefan Monnier
2010-02-19  9:22 ` Eli Zaretskii
2010-02-19 12:24   ` Alan Mackenzie
2010-02-19 14:35     ` Alan Mackenzie
2010-02-20  9:02       ` Eli Zaretskii
2010-02-20  9:25         ` Eli Zaretskii
     [not found]           ` <20100221215951.GD4407@muc.de>
2010-02-22  4:12             ` Eli Zaretskii
2010-02-22 12:56               ` Alan Mackenzie
2010-02-22 22:11                 ` Daniel Colascione
2010-02-23  4:43           ` Stefan Monnier
  -- strict thread matches above, loose matches on Subject: below --
2010-02-22 20:30 MON KEY

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=20100218202902.GE2671@muc.de \
    --to=acm@muc.de \
    --cc=emacs-devel@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 public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

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).