GNU bug report logs -
#3553
23.0.60; smerge-mode: Remove trailing space in `smerge-base-re'
Previous Next
Reported by: Nelson Elhage <nelhage <at> MIT.EDU>
Date: Sat, 13 Jun 2009 17:30:03 UTC
Severity: normal
Tags: wontfix
Done: Lars Ingebrigtsen <larsi <at> gnus.org>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 3553 in the body.
You can then email your comments to 3553 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>
:
bug#3553
; Package
emacs
.
(Sat, 13 Jun 2009 17:30:03 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Nelson Elhage <nelhage <at> MIT.EDU>
:
New bug report received and forwarded. Copy sent to
Emacs Bugs <bug-gnu-emacs <at> gnu.org>
.
(Sat, 13 Jun 2009 17:30:04 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> emacsbugs.donarmstrong.com (full text, mbox):
With merge.conflictstyle=diff3, 'git' generates diff3-style conflict
markers, with mine/base/other sections, but for the 'base' marker, it
only outputs "|||||||\n", with no comment after it. This causes smerge
to miss the base marker, since smerge assumes a comment, and defines:
(defconst smerge-base-re "^||||||| .*\n")
Simply replacing that with
(defconst smerge-base-re "^|||||||.*\n")
Should allow smerge-mode to handle git conflicts, and I can't imagine
it should cause any false-positives otherwise.
- Nelson Elhage
In GNU Emacs 23.0.60.1 (i686-pc-linux-gnu, GTK+ Version 2.14.4)
of 2009-01-21 on phanatique
Windowing system distributor `The X.Org Foundation', version 11.0.10600000
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_US.UTF-8
value of $XMODIFIERS: nil
locale-coding-system: utf-8-unix
default-enable-multibyte-characters: t
Major mode: Emacs-Lisp
Minor modes in effect:
diff-auto-refine-mode: t
iswitchb-mode: t
shell-dirtrack-mode: t
display-battery-mode: t
display-time-mode: t
window-number-mode: t
tooltip-mode: t
mouse-wheel-mode: t
file-name-shadow-mode: t
global-font-lock-mode: t
font-lock-mode: t
blink-cursor-mode: t
global-auto-composition-mode: t
auto-composition-mode: t
auto-encryption-mode: t
auto-compression-mode: t
column-number-mode: t
line-number-mode: t
Recent input:
C-x C-s C-c 1 C-n M-n C-n C-n C-n M-x d i f f SPC t
e <tab> <return> l <tab> <return> M-p <M-backspace>
<M-backspace> H <tab> s <tab> <return> C-c C-a C-c
2 C-x C-s C-x V s y d y g m m m a y g C-x b * b <return>
M-r c o n <return> <return> C-x C-c C-x V s <return>
y e s <return> M-x s m e m o <tab> <backspace> <backspace>
e <tab> <backspace> <tab> m o <tab> <return> M-< C-c
M-x M-p M-x M-p <return> C-c ^ n <tab> C-/ C-n C-n
C-n C-n M-f C-p C-f C-f C-b C-x 4 b s m e <return>
C-x 4 b s c <return> ( s e t q SPC s m e r g e - b
a s e - r e <tab> SPC C-x b <return> C-x b <return>
" " C-b C-c 1 C-b C-b C-b C-b C-b C-b C-b C-b C-b C-b
C-b C-b C-b C-b C-b C-b C-SPC C-M-f M-w C-x o <backspace>
C-d C-y C-b C-b C-b C-b C-b C-b C-d C-e C-j C-x b <return>
M-x C-g M-< M-x s m e <tab> m o <tab> <return> M-x
M-p <return> C-c ^ b C-c ^ n M-x r e p o r t <tab>
<return> e <backspace> s e <backspace> m e r g e SPC
m o d e SPC - - SPC r e m o v e SPC t t r <backspace>
<backspace> r a i l i n g SPC ' SPC ' SPC i n SPC s
m e r g C-g C-c 1 M-< C-x C-x C-c 2 M-x M-p <return>
M-p <return> C-x k <return> C-c 1 C-x b <return> M-x
r e p o r <tab> <return>
Recent messages:
Smerge mode enabled
Undo!
Mark set [2 times]
Quit
Mark set
Smerge mode disabled
Smerge mode enabled
smerge-match-conflict: Point not in conflict region
Quit
Mark set
Information forwarded
to
bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>
:
bug#3553
; Package
emacs
.
(Sat, 27 Jun 2009 00:30:09 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Stefan Monnier <monnier <at> iro.umontreal.ca>
:
Extra info received and forwarded to list. Copy sent to
Emacs Bugs <bug-gnu-emacs <at> gnu.org>
.
(Sat, 27 Jun 2009 00:30:09 GMT)
Full text and
rfc822 format available.
Message #10 received at 3553 <at> emacsbugs.donarmstrong.com (full text, mbox):
> With merge.conflictstyle=diff3, 'git' generates diff3-style conflict
> markers, with mine/base/other sections, but for the 'base' marker, it
> only outputs "|||||||\n", with no comment after it. This causes smerge
> to miss the base marker, since smerge assumes a comment, and defines:
> (defconst smerge-base-re "^||||||| .*\n")
> Simply replacing that with
> (defconst smerge-base-re "^|||||||.*\n")
> Should allow smerge-mode to handle git conflicts, and I can't imagine
> it should cause any false-positives otherwise.
I'd rather fix Git so it uses the standard format.
Stefan
Tags added: wontfix
Request was from
Glenn Morris <rgm <at> gnu.org>
to
control <at> emacsbugs.donarmstrong.com
.
(Wed, 01 Jul 2009 01:00:06 GMT)
Full text and
rfc822 format available.
bug closed, send any further explanations to
3553 <at> debbugs.gnu.org and Nelson Elhage <nelhage <at> MIT.EDU>
Request was from
Lars Ingebrigtsen <larsi <at> gnus.org>
to
control <at> debbugs.gnu.org
.
(Tue, 29 Dec 2015 13:19:02 GMT)
Full text and
rfc822 format available.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Wed, 27 Jan 2016 12:24:03 GMT)
Full text and
rfc822 format available.
This bug report was last modified 9 years and 150 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.