From unknown Sat Aug 16 15:58:46 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#38514 <38514@debbugs.gnu.org> To: bug#38514 <38514@debbugs.gnu.org> Subject: Status: Confusion about where 1value, noreturn are defined Reply-To: bug#38514 <38514@debbugs.gnu.org> Date: Sat, 16 Aug 2025 22:58:46 +0000 retitle 38514 Confusion about where 1value, noreturn are defined reassign 38514 emacs submitter 38514 Braun G=C3=A1bor severity 38514 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Fri Dec 06 16:57:59 2019 Received: (at submit) by debbugs.gnu.org; 6 Dec 2019 21:57:59 +0000 Received: from localhost ([127.0.0.1]:47119 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1idLbq-0005HV-Pj for submit@debbugs.gnu.org; Fri, 06 Dec 2019 16:57:59 -0500 Received: from lists.gnu.org ([209.51.188.17]:59851) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1idLbp-0005HL-1J for submit@debbugs.gnu.org; Fri, 06 Dec 2019 16:57:57 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:36699) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1idLbn-0005Xl-7h for bug-gnu-emacs@gnu.org; Fri, 06 Dec 2019 16:57:56 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: * X-Spam-Status: No, score=1.1 required=5.0 tests=BAYES_50, FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,URIBL_BLOCKED autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1idLbl-0000c0-HH for bug-gnu-emacs@gnu.org; Fri, 06 Dec 2019 16:57:54 -0500 Received: from mail-wr1-x435.google.com ([2a00:1450:4864:20::435]:41053) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1idLbl-0000Vf-93 for bug-gnu-emacs@gnu.org; Fri, 06 Dec 2019 16:57:53 -0500 Received: by mail-wr1-x435.google.com with SMTP id c9so9360293wrw.8 for ; Fri, 06 Dec 2019 13:57:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id:mime-version :content-transfer-encoding; bh=7Ar0LHKKX/DTCSUEWBGkqNAVo/e3yNmLU4CTcFLYSpc=; b=e4sitdAPVEl50T+vMDkUAqBVAPMYOJ4FZ/J8rGkydPM/N+3H8BG2liGR9J+x4UpG9K vJaLYb4lD+juBs0B8J6f/ju512WMF44BAx6pgY6hW1KdhLIscu3chTQ5z+EiljgNoBR7 hz3jHXYu2FRvU/81qbzKGf7SlQbVa6LrS72rMHpgC0WWA7vLWj5xuYOXZUNulpzfTz/f UUdZ9F/Y0Tk9z4XEzgcj5opwJqWtIzNT3C5lubqHBvd4x9W0JPGCJFe/9M2cPt3rx2L4 s1fJlNMpjRJUfHGtL3RGA3q6MY6MboI9z/oVCnwV4KRqGxlHuoxRELnN0ubKDNaeUrFo 7Yhg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:mime-version :content-transfer-encoding; bh=7Ar0LHKKX/DTCSUEWBGkqNAVo/e3yNmLU4CTcFLYSpc=; b=N5X52B3NEZATCGFJcAI146z3OFd0nzqOkDabSvOo8TRxeRpq3CbQ+Tm6tPu7xG4PMs BODDjxtozWTnA6MbP+0Rhb3IC48XpzdXTWEfbYXlp356HdBXLzr852MXAYjOLxr/cg4P +iJkx7zICZPUMZH8sfP2ksCFqFVNp8/fYbMjH5iBWTt7TOzcrOPFiuyvpo4SyXs5Uz8o WEKYMW2siSE/3GmdBbpNcV0SihumT1lyJevKaQsJVDiAlsC1exZStA1dkqL2/k0i0NNT HNEFAt6gGQzBe4S1v/pUlgnhWJo9eN7QECtyw5E0NMMWwuu6n+/bZ1sOcaClmzjjlkAy CatA== X-Gm-Message-State: APjAAAXuL2UOcdrLNWhMdtTyOvyNoMLJzuRHPHVXfE9m+CBFLOFfAwm3 eaiuWzTSPkdlWna8Zs+27UGvL5cZ X-Google-Smtp-Source: APXvYqyGAYRVTUocx8pZ/qgAwGCg7Tif1DBlqfMeSTBewRPFgBDe4tb/dSYbaGxILIcqZMNwGorb6A== X-Received: by 2002:adf:dc06:: with SMTP id t6mr18125996wri.378.1575669471496; Fri, 06 Dec 2019 13:57:51 -0800 (PST) Received: from gabor.localnet (254C1F03.nat.pool.telekom.hu. [37.76.31.3]) by smtp.gmail.com with ESMTPSA id t8sm17485580wrp.69.2019.12.06.13.57.50 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 06 Dec 2019 13:57:50 -0800 (PST) From: Braun =?ISO-8859-1?Q?G=E1bor?= To: bug-gnu-emacs@gnu.org Subject: Confusion about where 1value, noreturn are defined Date: Fri, 06 Dec 2019 22:57:49 +0100 Message-ID: <5950995.LlS0bncbJ4@gabor> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::435 X-Spam-Score: 0.9 (/) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.1 (--) Hi, After `emacs -Q' execute 'M-x find-function RET 1value RET' and then 'C-h f 1value RET'; I have done it via the following keystrokes (copied from the output of `C-h l'): M-x [execute-extended-command] f [self-insert-command] i [self-insert-command] n [self-insert-command] d [self-insert-command] - [self-insert-command] f [self-insert-command] u [self-insert-command] n [self-insert-command] [minibuffer-complete] [minibuffer-complete-and-exit] 1 [self-insert-command] v [self-insert-command] a [self-insert-command] l [self-insert-command] u [self-insert-command] e [self-insert-command] [minibuffer-complete-and-exit] C-h f [describe-function] [previous-line-or-history-element] [minibuffer-complete-and-exit] =20 At this point Emacs displays two windows: in the top window there is Lisp code defining macro `1value' and the modeline displays `subr.el.gz' as buffer name. The bottom window display the *Help* buffer with the first line being: 1value is a Lisp macro in =E2=80=98ses.el=E2=80=99. Clcking with the mouse on `ses.el' changes the top window to display another definition of `1value' with modeline now showing `ses.el.gz' as buffer name. So Emacs is inconsistent on where 1value is defined: it claims both=20 subr.el and ses.el. The case is similar for macro `noreturn'. IMHO, ses.el should redefine neither 1value nor noreturn, to adhere to=20 the following tip from the Elisp manual: QUOTE: Redefining or advising an Emacs primitive is a bad idea. It may do the right thing for a particular program, but there is no telling what other programs might break as a result. ENDQUOTE Best wishes, G=C3=A1bor In GNU Emacs 26.1 (build 2, x86_64-pc-linux-gnu, GTK+ Version 3.24.5) of 2019-09-23, modified by Debian built on x86-grnet-01 Windowing system distributor 'The X.Org Foundation', version=20 11.0.12004000 System Description: Debian GNU/Linux 10 (buster) Recent messages: =46or information about GNU Emacs and the GNU system, type C-h C-a. uncompressing subr.el.gz...done Note: file is write protected Type C-x 1 to delete the help window. Making completion list... Configured using: 'configure --build x86_64-linux-gnu --prefix=3D/usr --sharedstatedir=3D/var/lib --libexecdir=3D/usr/lib --localstatedir=3D/var/lib --infodir=3D/usr/share/info --mandir=3D/usr/share/man --enable-libsystemd --with-pop=3Dyes --enable-locallisppath=3D/etc/emacs:/usr/local/share/emacs/26.1/site- lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/26.1/site-lisp:/ usr/share/emacs/site-lisp --with-sound=3Dalsa --without-gconf --with-mailutils --build x86_64-linux-gnu --prefix=3D/usr --sharedstatedir=3D/var/lib --libexecdir=3D/usr/lib --localstatedir=3D/var/lib --infodir=3D/usr/share/info --mandir=3D/usr/share/man --enable-libsystemd --with-pop=3Dyes --enable-locallisppath=3D/etc/emacs:/usr/local/share/emacs/26.1/site- lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/26.1/site-lisp:/ usr/share/emacs/site-lisp --with-sound=3Dalsa --without-gconf --with-mailutils --with-x=3Dyes --with-x-toolkit=3Dgtk3 --with-toolkit-scroll-bars 'CFLAGS=3D-g -O2 -fdebug-prefix-map=3D/build/emacs-StqULU/emacs-26.1+1=3D. -fstack- protector-strong -Wformat -Werror=3Dformat-security -Wall' 'CPPFLAGS=3D-Wdate-time -D_FORTIFY_SOURCE=3D2' LDFLAGS=3D-Wl,-z,relro' Configured features: XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND GPM DBUS GSETTINGS NOTIFY ACL LIBSELINUX GNUTLS LIBXML2 FREETYPE M17N_FLT LIBOTF XFT ZLIB TOOLKIT_SCROLL_BARS GTK3 X11 THREADS LIBSYSTEMD LCMS2 Important settings: value of $LANG: hu_HU.UTF-8 locale-coding-system: utf-8-unix Major mode: Emacs-Lisp Minor modes in effect: tooltip-mode: t global-eldoc-mode: t eldoc-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t buffer-read-only: t line-number-mode: t transient-mark-mode: t Load-path shadows: None found. =46eatures: (shadow sort mail-extr emacsbug message rmc puny seq gv dired dired-loaddefs format-spec rfc822 mml mml-sec password-cache epa derived epg epg-config gnus-util rmail rmail-loaddefs mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils ses byte-opt bytecomp byte-compile cconv unsafep help-fns radix-tree help-mode easymenu cl-loaddefs cl-lib jka-compr thingatpt find-func elec-pair time-date mule-util tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel term/x-win x-win term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode elisp-mode lisp-mode prog-mode register page menu-bar rfn-eshadow isearch timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core term/tty-colors frame cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese composite charscript charprop case-table epa-hook jka-cmpr-hook help simple abbrev obarray minibuffer cl-preloaded nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote dbusbind inotify lcms2 dynamic-setting system-font-setting font-render-setting move-toolbar gtk x-toolkit x multi-tty make-network-process emacs) Memory information: ((conses 16 104995 9175) (symbols 48 20912 1) (miscs 40 59 129) (strings 32 31904 1204) (string-bytes 1 811459) (vectors 16 15581) (vector-slots 8 506680 8152) (floats 8 63 192) (intervals 56 338 3) (buffers 992 14)) From debbugs-submit-bounces@debbugs.gnu.org Sat Dec 07 22:01:24 2019 Received: (at 38514-done) by debbugs.gnu.org; 8 Dec 2019 03:01:24 +0000 Received: from localhost ([127.0.0.1]:50100 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1idmp1-0001Gb-Rb for submit@debbugs.gnu.org; Sat, 07 Dec 2019 22:01:24 -0500 Received: from eggs.gnu.org ([209.51.188.92]:55196) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1idmp0-0001BS-5Q for 38514-done@debbugs.gnu.org; Sat, 07 Dec 2019 22:01:22 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:59182) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1idUWL-0008NO-3x; Sat, 07 Dec 2019 02:28:53 -0500 Received: from [176.228.60.248] (port=3922 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1idUWK-0000Z3-3t; Sat, 07 Dec 2019 02:28:52 -0500 Date: Sat, 07 Dec 2019 09:28:43 +0200 Message-Id: <83r21gfvbo.fsf@gnu.org> From: Eli Zaretskii To: Braun =?utf-8?Q?G=C3=A1bor?= In-reply-to: <5950995.LlS0bncbJ4@gabor> (message from Braun =?utf-8?Q?G?= =?utf-8?Q?=C3=A1bor?= on Fri, 06 Dec 2019 22:57:49 +0100) Subject: Re: bug#38514: Confusion about where 1value, noreturn are defined References: <5950995.LlS0bncbJ4@gabor> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 38514-done Cc: 38514-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: Braun Gábor > Date: Fri, 06 Dec 2019 22:57:49 +0100 > > IMHO, ses.el should redefine neither 1value nor noreturn, to adhere to > the following tip from the Elisp manual: Thanks, fixed by removing the macros from ses.el. From unknown Sat Aug 16 15:58:46 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sun, 05 Jan 2020 12:24:05 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator