GNU bug report logs - #36649
27.0.50; pure space and pdumper

Previous Next

Package: emacs;

Reported by: Pip Cet <pipcet <at> gmail.com>

Date: Sun, 14 Jul 2019 14:27:01 UTC

Severity: wishlist

Tags: patch

Found in version 27.0.50

Done: Pip Cet <pipcet <at> protonmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: martin rudalics <rudalics <at> gmx.at>
To: Eli Zaretskii <eliz <at> gnu.org>, Robert Pluim <rpluim <at> gmail.com>
Cc: eggert <at> cs.ucla.edu, schwab <at> linux-m68k.org, stefankangas <at> gmail.com, pipcet <at> gmail.com, 36649 <at> debbugs.gnu.org, larsi <at> gnus.org, akrl <at> sdf.org
Subject: bug#36649: 27.0.50; pure space and pdumper
Date: Thu, 4 Mar 2021 17:53:14 +0100
>> I think Emacs already assumes Qnil == 0, since there are places that
>> use ! to check for Qnil rather than using NILP.
>
> Those are bugs that need to be fixed.  Fast.

Here this would get me

../../src/window.c: In function ‘select_window’:
../../src/window.c:535:7: error: wrong type argument to unary exclamation mark
   if (!norecord || EQ (norecord, Qmark_for_redisplay))
       ^

or

  CC       window.o
../../src/window.c: In function ‘select_window’:
../../src/window.c:535:17: error: invalid operands to binary == (have ‘Lisp_Object’ {aka ‘struct Lisp_Object’} and ‘int’)
   if ((norecord == false) || EQ (norecord, Qmark_for_redisplay))
                 ^~

so I cannot imagine that we really had such bugs.  Unless you mean Lisp
variables explicitly defined via DEFVAR_BOOL.

martin





This bug report was last modified 199 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.