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

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

diff-mode bug


From: Amit Shah
Subject: diff-mode bug
Date: Sat, 16 Nov 2002 20:53:17 +0530

In GNU Emacs 21.2.1 (i386-debian-linux-gnu, X toolkit, Xaw3d scroll bars)
 of 2002-03-22 on raven, modified by Debian
configured using `configure  i386-debian-linux-gnu --prefix=/usr
--sharedstatedir=/var/lib --libexecdir=/usr/lib --localstatedir=/var/lib
--infodir=/usr/share/info --mandir=/usr/share/man --with-pop=yes --with-x=yes
--with-x-toolkit=athena --without-gif' 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: C
  locale-coding-system: nil
  default-enable-multibyte-characters: t

Please describe exactly what actions triggered the bug
and the precise symptoms of the bug:

in the 'diff-mode', pressing 'R' should convert:

--- xxx
+++ yyy

to

--- yyy
+++ xxx

but this only works for the 1st hunk.

The other hunks are marked as

-++
+--

or

--+
+--

or some other patterns. It is not a fixed pattern...
I produced the diff file by the 'cvs diff -u' command, and
removed the RCS: lines.


Recent input:
<up> R <down> R <down> R <kp-add> <kp-add> <kp-add> 
<kp-add> R <down> <down> <down> <down> <down> <down> 
<down> <down> <down> <down> <down> <down> <down> R 
R <down> R R R R R R R R R R R R R R <prior> R <next> 
<prior> <prior> <prior> <up> <up> <up> <up> <up> <up> 
<up> <up> <up> <up> <up> <up> <up> <up> <up> <up> <up> 
<up> <up> <up> <up> <up> R R R R R R R R R R R R R 
R R R R <C-end> <help-echo> <help-echo> <help-echo> 
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo> 
<help-echo> <help-echo> <menu-bar> <help-menu> <re
port-emacs-bug>

Recent messages:
Loading cc-mode...done
Hunk already applied
Hunk not yet applied
Hunk text not found
Hunk already applied
Buffer is read-only: #<buffer newpatches> [4 times]
Auto-saving...done
call-interactively: Beginning of buffer
Mark set
Loading emacsbug...done

--- 
If you don't strike oil in twenty minutes, stop boring.

Amit Shah
http://amitshah.nav.to/




reply via email to

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