emacs-pretest-bug
[Top][All Lists]
Advanced

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

ediff and longlines-mode


From: Roland Winkler
Subject: ediff and longlines-mode
Date: Fri, 10 Jun 2005 16:20:28 +0200

Symptoms:

I wanted to compare two versions of a file, an old version with
lines broken according to `fill-column' and a new version using long
lines so that I had enabled longlines-mode for the new version of
the file. Unfortunately, it seems to me that ediff and
longlines-mode do not like each other.

Here is a simple example (tested with emacs --no-init-file)

cat > foo <<EOF
foo bar baz foo bar baz foo bar baz foo bar baz foo bar baz foo bar baz foo bar 
baz foo bar baz
EOF

cat > bar <<EOF
foo bar baz foo bar baz foo bar baz foo bar baz foo bar baz foo bar
baz foo bar baz foo bar baz
EOF

Visit the files foo and bar. Enable longlines-mode for buffer foo.
Then apply ediff-buffers.

Roland


PS: longlines-auto-wrap is a command and a variable.
Shouldn't the second paragraph of the docstring of longlines-mode begin

   If the variable `longlines-auto-wrap' is non-nil, ...

Same with the last sentence of the docstring of longlines-mode
refering to the variable longlines-show-hard-newlines.


In GNU Emacs 22.0.50.1 (i686-pc-linux-gnu, X toolkit, Xaw3d scroll bars)
 of 2005-06-04 on tfkp07
Distributor `The XFree86 Project, Inc', version 11.0.40300001
configured using `configure '--prefix=/nfs/tfkp07/winkler/emacs/NEW' 
'--with-gcc' '--with-pop' '--with-x' '--with-x-toolkit=athena' 
'--x-libraries=/usr/X11R6/lib' '--x-includes=/usr/X11R6/include''

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
  locale-coding-system: iso-latin-1
  default-enable-multibyte-characters: nil

Major mode: LaTeX

Minor modes in effect:
  reftex-mode: t
  auto-compression-mode: t
  show-paren-mode: t
  display-time-mode: t
  mouse-wheel-mode: t
  tooltip-mode: t
  use-hard-newlines: t
  menu-bar-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  unify-8859-on-encoding-mode: t
  line-number-mode: 1
  transient-mark-mode: t
  next-error-follow-minor-mode:  Fol
  abbrev-mode: t





reply via email to

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