* compare-windows wrong about whitespace
@ 2002-03-25 22:16 Michael Ernst
0 siblings, 0 replies; only message in thread
From: Michael Ernst @ 2002-03-25 22:16 UTC (permalink / raw)
In Emacs 21.2, `compare-windows' does not consider \r, \240, etc. to be
whitespace. That causes it to report spurious differences when instructed
to ignore whitespace. The below patch corrects the problem.
2002-03-24 Michael Ernst <mernst@alum.mit.edu>
* compare-w.el (compare-windows-whitespace): Respect all
whitespace.
*** /usr/local/share/emacs/21.2/lisp/compare-w.el Sun Jul 15 12:15:34 2001
--- - Sun Mar 24 00:03:01 2002
***************
*** 36,40 ****
:group 'tools)
! (defcustom compare-windows-whitespace "[ \t\n]+"
"*Regexp that defines whitespace sequences for \\[compare-windows].
Changes in whitespace are optionally ignored.
--- 36,40 ----
:group 'tools)
! (defcustom compare-windows-whitespace "\\s-+"
"*Regexp that defines whitespace sequences for \\[compare-windows].
Changes in whitespace are optionally ignored.
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2002-03-25 22:16 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-03-25 22:16 compare-windows wrong about whitespace Michael Ernst
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).