all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#24672: 26.0.50; viper-mode + c-mode: "ce" fails in cpp-continued stmt
@ 2016-10-12  3:59 Jim Meyering
  2016-10-26  5:09 ` bug#24672: writing a test for Bug#24672 (viper mode malfunction while inserting a paren in continued cpp directive) Jim Meyering
  2016-10-26  5:09 ` Jim Meyering
  0 siblings, 2 replies; 9+ messages in thread
From: Jim Meyering @ 2016-10-12  3:59 UTC (permalink / raw)
  To: 24672

This is with an emacs binary I built from "master" yesterday.

Reproduce with this:

  printf '%s\n' '#define abcde \\' x > k.c; emacs -q -f viper-mode k.c

Then, hit "n" at the viperize prompt and you'll see this
on the first line:

  #define abcde \

Hit "W" to move the cursor to the "a". Then type "ce(" to
change the 5-byte "abcde" to a "(".  I was surprised to see
the "abcde" still there, and an additional backslash appended:

  #define (abcde \                                \

I expected to see this:

  #define ( \

In GNU Emacs 26.0.50.1 (x86_64-unknown-linux-gnu)
 of 2016-10-10 built on hx.meyering.net
 Repository revision: 8b1be820ce02379c9ebd124703e04eee65779662

Configured using:
 'configure --prefix=/p/p/emacs-2016-10-10.08h35 --without-gpm
  --without-x --with-x-toolkit=no --with-png=no --with-jpeg=no
   --with-sound=no'





^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2016-10-26 15:37 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-10-12  3:59 bug#24672: 26.0.50; viper-mode + c-mode: "ce" fails in cpp-continued stmt Jim Meyering
2016-10-26  5:09 ` bug#24672: writing a test for Bug#24672 (viper mode malfunction while inserting a paren in continued cpp directive) Jim Meyering
2016-10-26  5:09 ` Jim Meyering
2016-10-26 11:51   ` bug#24672: " Eli Zaretskii
2016-10-26 14:33     ` Jim Meyering
2016-10-26 15:02       ` Eli Zaretskii
2016-10-26 11:52   ` Eli Zaretskii
2016-10-26 15:03   ` Eli Zaretskii
2016-10-26 15:37     ` Jim Meyering

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.