unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* diff-mode bug
@ 2002-11-16 15:23 Amit Shah
  0 siblings, 0 replies; only message in thread
From: Amit Shah @ 2002-11-16 15:23 UTC (permalink / raw)



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/

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2002-11-16 15:23 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-11-16 15:23 diff-mode bug Amit Shah

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