🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.emacs.bug
Article #100067

18.55 dispnew.c clobbers window-system-version

#100067
From: Jonathan I. Kamens
Date: Thu, 15 Feb 1990 06:39
34 lines
2081 bytes
  For some reason, the function syms_of_display() in the file
dispnew.c in the sources to emacs 18.55 clobbers the value of
Vwindow_system_version directly after assigning a pointer to it to the
window-system-version lisp variable.

  I discovered this because when the build procedure tried to load
x-mouse.elc, x-mouse tried to do "(= window-system-version 10)" and
failed because it was trying to use a NULL as a number.

  The fix to this is simply to remove the line that clobbers the
value.  Frankly, I'm really confused about why it was there in the
first place.  Perhaps I'm just missing something (If I am, please let
me know :-).

  Patch follows this message.

Jonathan Kamens			              USnail:
MIT Project Athena				11 Ashford Terrace
jik@Athena.MIT.EDU				Allston, MA  02134
Office: 617-253-8495			      Home: 617-782-0710

*** /tmp/,RCSt1022851	Thu Feb 15 01:38:52 1990
--- dispnew.c	Thu Feb 15 01:31:32 1990
***************
*** 1480,1486 ****
  \(such as `x'), or nil if emacs is running on an ordinary terminal.");
    DEFVAR_LISP ("window-system-version", &Vwindow_system_version,
      "Version number of the window system Emacs is running under.");
-   Vwindow_system_version = Qnil;
    DEFVAR_BOOL ("cursor-in-echo-area", &cursor_in_echo_area,
      "Non-nil means put cursor in minibuffer after any message displayed there.");
  
--- 1480,1485 ----
Technical Details
Message-ID: <9002150639.AA22856@pit-manager.MIT.EDU>
Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!bu.edu!lll-winken!brutus.cs.uiuc.edu!zaphod.mps.ohio-state.edu!tut.cis.ohio-state.edu!PIT-MANAGER.MIT.EDU!jik

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: fb2f1,e00bc0feb0f744f3,start
X-Google-Attributes: gidfb2f1,public
X-Google-ArrivalTime: 1990-02-15 15:31:56 PST
Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!bu.edu!lll-winken!brutus.cs.uiuc.edu!zaphod.mps.ohio-state.edu!tut.cis.ohio-state.edu!PIT-MANAGER.MIT.EDU!jik
From: jik@PIT-MANAGER.MIT.EDU (Jonathan I. Kamens)
Newsgroups: gnu.emacs.bug
Subject: 18.55 dispnew.c clobbers window-system-version
Message-ID: <9002150639.AA22856@pit-manager.MIT.EDU>
Date: 15 Feb 90 06:39:13 GMT
Sender: daemon@tut.cis.ohio-state.edu
Distribution: gnu
Organization: GNUs Not Usenet
Lines: 34
Posted: Thu Feb 15 07:39:13 1990