[Top][All Lists]

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

ediff problem with longlines-show-hard-newlines

From: Andreas Amann
Subject: ediff problem with longlines-show-hard-newlines
Date: Thu, 5 Jul 2007 15:14:16 +0100

entering ediff-buffers and leaving it immediately sets the modified
flags of the visited buffers, even if no editing was done. This only
happens if longlines-show-hard-newlines is set to true.

Minimal test case:
>cat ~/.emacs
(require 'longlines)
(add-hook 'text-mode-hook (lambda () (longlines-mode 1)))
(setq longlines-show-hard-newlines t)

>cat testcase_ediff.txt

>cat testcase_ediff2.txt

>emacs -no-site-file testcase_ediff.txt testcase_ediff2.txt
"M-x ediff-buffers" and select the two loaded buffers
"q" to quit ediff ("yes" to confirm)

now the modified flags "**" are set for both buffers although no
editing was done.  

In GNU Emacs 22.1.1 (x86_64-unknown-linux-gnu, GTK+ Version 2.6.10) of
2007-07-04 on lnx0015f2465eb1 Windowing system distributor `The X.Org
Foundation', version 11.0.60802000 configured using `configure
'--with-gtk' '--prefix=/home/aamann/linux-local'' 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_IE
locale-coding-system: iso-8859-1 default-enable-multibyte-characters:
t Major mode: Text Minor modes in effect: longlines-mode: t
tooltip-mode: t tool-bar-mode: t mouse-wheel-mode: t
use-hard-newlines: t menu-bar-mode: t file-name-shadow-mode: t
global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t
unify-8859-on-encoding-mode: t utf-translate-cjk-mode: t
auto-compression-mode: t line-number-mode: t Recent input: M-x e d i f
f - b u f <tab> <return> <return> <return> q y C-_ C-_ M-x r e p <tab>
<backspace> <backspace> <backspace> b u <tab> <backspace> <backspace>
r e p <tab> <tab> <backspace> <tab> p <tab> o r t <tab> <return>
Recent messages: Buffer B: Processing difference region 0 of 1
Processing difference regions ... done Quit this Ediff session? (y or
n) Undo! [2 times] Making completion list... Loading help-mode...done
Making completion list... [4 times] Loading emacsbug... Loading
regexp-opt...done Loading emacsbug...done

reply via email to

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