emacs-pretest-bug
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: visiting certain .c file adds to kill ring


From: Chong Yidong
Subject: Re: visiting certain .c file adds to kill ring
Date: Fri, 20 Apr 2007 23:37:22 -0400
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.98 (gnu/linux)

Kevin Ryde <address@hidden> writes:

> With my recent cvs build or the debian snapshot, and starting from
> "emacs -Q", visiting the file foo.c below with
>
>       C-x C-f foo.c
>
> leaves the first line in the kill ring,
>
>       C-y
>       => inserts "/* hello */
>
> where I hoped it would leave the kill ring alone.  (In particular it's
> not good to have the kill changed when you're doing a cut and paste
> from another file into that one.)
>
> I suspect c-remove-any-local-eval-or-mode-variables in cc-mode.el
> shouldn't be using kill-line, but cc-mode is hellishly complicated ...

I can't reproduce this.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]