unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* ediff problem with longlines-show-hard-newlines
@ 2007-07-05 14:14 Andreas Amann
  0 siblings, 0 replies; only message in thread
From: Andreas Amann @ 2007-07-05 14:14 UTC (permalink / raw)
  To: bug-gnu-emacs


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
A C

>cat testcase_ediff2.txt
A B C

>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

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

only message in thread, other threads:[~2007-07-05 14:14 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-07-05 14:14 ediff problem with longlines-show-hard-newlines Andreas Amann

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