unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Amit Shah <shahamit@gmx.net>
Subject: diff-mode bug
Date: Sat, 16 Nov 2002 20:53:17 +0530	[thread overview]
Message-ID: <20021116205317.3ffbe342.shahamit@gmx.net> (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/

                 reply	other threads:[~2002-11-16 15:23 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20021116205317.3ffbe342.shahamit@gmx.net \
    --to=shahamit@gmx.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).