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 ...
In GNU Emacs 22.0.98.2 (i586-pc-linux-gnu, GTK+ Version 2.8.20)
of 2007-04-18 on blah
configured using `configure 'CFLAGS=-O' '--prefix=/down/emacs/b/inst'
'--with-x-toolkit=gtk''
Important settings:
value of $LC_ALL: nil
value of $LC_COLLATE: nil
value of $LC_CTYPE: nil
value of $LC_MESSAGES: nil
value of $LC_MONETARY: nil
value of $LC_NUMERIC: nil
value of $LC_TIME: nil
value of $LANG: en_AU
locale-coding-system: iso-8859-1
default-enable-multibyte-characters: t
Major mode: C/l
Minor modes in effect:
encoded-kbd-mode: t
menu-bar-mode: t
file-name-shadow-mode: t
global-font-lock-mode: t
font-lock-mode: t
unify-8859-on-encoding-mode: t
utf-translate-cjk-mode: t
auto-compression-mode: t
line-number-mode: t
abbrev-mode: t
/* hello */
int
main ()
{
return 0;
}
/*
Local Variables:
c-file-style: "gnu"
End:
*/
_______________________________________________
emacs-pretest-bug mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug