GNU bug report logs - #42400
26.3; doc of `kill-emacs' optional ARG

Previous Next

Package: emacs;

Reported by: Drew Adams <drew.adams <at> oracle.com>

Date: Thu, 16 Jul 2020 15:27:01 UTC

Severity: minor

Found in version 26.3

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#42400: closed (26.3; doc of `kill-emacs' optional ARG)
Date: Fri, 17 Jul 2020 14:56:02 +0000
[Message part 1 (text/plain, inline)]
Your message dated Fri, 17 Jul 2020 17:55:17 +0300
with message-id <83pn8ui42y.fsf <at> gnu.org>
and subject line Re: bug#42400: 26.3; doc of `kill-emacs' optional ARG
has caused the debbugs.gnu.org bug report #42400,
regarding 26.3; doc of `kill-emacs' optional ARG
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
42400: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=42400
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Drew Adams <drew.adams <at> oracle.com>
To: bug-gnu-emacs <at> gnu.org
Subject: 26.3; doc of `kill-emacs' optional ARG
Date: Thu, 16 Jul 2020 08:25:55 -0700 (PDT)
Both the Emacs and Elisp manuals describe the behavior of ARG as an
integer or a string.  But what about anything else?

In `startup.el', `edt-mapper.el', and `tpu-edt.el', for example, we find
(kill-emacs t).  How is someone to understand this code?

In GNU Emacs 26.3 (build 1, x86_64-w64-mingw32)
 of 2019-08-29
Repository revision: 96dd0196c28bc36779584e47fffcca433c9309cd
Windowing system distributor `Microsoft Corp.', version 10.0.18362
Configured using:
 `configure --without-dbus --host=x86_64-w64-mingw32
 --without-compress-install 'CFLAGS=-O2 -static -g3''


[Message part 3 (message/rfc822, inline)]
From: Eli Zaretskii <eliz <at> gnu.org>
To: Robert Pluim <rpluim <at> gmail.com>
Cc: 42400-done <at> debbugs.gnu.org, drew.adams <at> oracle.com
Subject: Re: bug#42400: 26.3; doc of `kill-emacs' optional ARG
Date: Fri, 17 Jul 2020 17:55:17 +0300
> From: Robert Pluim <rpluim <at> gmail.com>
> Date: Thu, 16 Jul 2020 19:34:40 +0200
> Cc: 42400 <at> debbugs.gnu.org
> 
> >>>>> On Thu, 16 Jul 2020 08:25:55 -0700 (PDT), Drew Adams <drew.adams <at> oracle.com> said:
> 
>     Drew> Both the Emacs and Elisp manuals describe the behavior of ARG as an
>     Drew> integer or a string.  But what about anything else?
> 
>     Drew> In `startup.el', `edt-mapper.el', and `tpu-edt.el', for example, we find
>     Drew> (kill-emacs t).  How is someone to understand this code?
> 
> Itʼs equivalent to exit'ing with EXIT_SUCCESS, without having to worry
> about the value of '0' on your platform :-) Not sure how weʼd express
> that in the docstring.

I've documented it now, thanks.


This bug report was last modified 4 years and 362 days ago.

Previous Next


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