🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.emacs.bug
Article #87168

Incorrect defvar in tex-mode.el

#87168
From: Bruno.Verlyck
Date: Tue, 11 Oct 1994 16:31
31 lines
1883 bytes
tex-mode redefines compare-windows-whitespace to nil.  This is (at least)
annoying, since it defeats the real defvar in compare-w.el.  Worse, you have
serious chances to find a .tex file before comparing it to another.

I propose to suppress the setting of compare-windows-whitespace in
tex-mode.el, but not the declaration.  Here's a patch:

In GNU Emacs 19.27.2 (sparc-sunos4shr) of Thu Sep 29 1994 on waco

diff -ac /usr/local/lib/emacs/19.27/lisp/tex-mode.el\~ /usr/local/lib/emacs/19.27/lisp/tex-mode.el
*** /usr/local/lib/emacs/19.27/lisp/tex-mode.el~	Wed Aug 17 22:29:25 1994
--- /usr/local/lib/emacs/19.27/lisp/tex-mode.el		Tue Oct 11 16:01:35 1994
***************
*** 239,245 ****
    "Keymap for the TeX shell.
  Inherits `comint-mode-map' with a few additions.")
  
! (defvar compare-windows-whitespace nil)	; Pacify the byte-compiler
  
  ;;; This would be a lot simpler if we just used a regexp search,
  ;;; but then it would be too slow.
--- 239,245 ----
    "Keymap for the TeX shell.
  Inherits `comint-mode-map' with a few additions.")
  
! (defvar compare-windows-whitespace)	; Pacify the byte-compiler
  
  ;;; This would be a lot simpler if we just used a regexp search,
  ;;; but then it would be too slow.

Bruno.
Technical Details
Message-ID: <199410111625.RAA12232@waco.inria.fr>
Path: arc1-ca.pugleaf.net!bga.com!news.sprintlink.net!howland.reston.ans.net!math.ohio-state.edu!cis.ohio-state.edu!inria.FR!Bruno.Verlyck

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: fb2f1,8d2457c3d119cad4,start
X-Google-Attributes: gidfb2f1,public
X-Google-ArrivalTime: 1994-10-11 22:41:09 PST
Path: arc1-ca.pugleaf.net!bga.com!news.sprintlink.net!howland.reston.ans.net!math.ohio-state.edu!cis.ohio-state.edu!inria.FR!Bruno.Verlyck
From: Bruno.Verlyck@inria.FR
Newsgroups: gnu.emacs.bug
Subject: Incorrect defvar in tex-mode.el
Date: 11 Oct 1994 12:31:33 -0400
Organization: GNUs Not Usenet
Lines: 31
Sender: daemon@cis.ohio-state.edu
Approved: bug-gnu-emacs@prep.ai.mit.edu
Distribution: gnu
Message-ID: <199410111625.RAA12232@waco.inria.fr>