From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#58513: describe-function should say that defconst variables are constant Date: Fri, 14 Oct 2022 14:23:51 +0200 Message-ID: <87zgdy8ug8.fsf@gnus.org> References: Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="34399"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: 58513@debbugs.gnu.org To: Stefan Kangas Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Oct 14 14:25:31 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ojJkp-0008kj-8h for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 14 Oct 2022 14:25:31 +0200 Original-Received: from localhost ([::1]:51660 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ojJkn-0007SZ-Qr for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 14 Oct 2022 08:25:29 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:36496) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ojJkN-0007S8-4c for bug-gnu-emacs@gnu.org; Fri, 14 Oct 2022 08:25:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:37036) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ojJkM-0002sU-SO for bug-gnu-emacs@gnu.org; Fri, 14 Oct 2022 08:25:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ojJkM-0001Nf-J5 for bug-gnu-emacs@gnu.org; Fri, 14 Oct 2022 08:25:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 14 Oct 2022 12:25:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 58513 X-GNU-PR-Package: emacs Original-Received: via spool by 58513-submit@debbugs.gnu.org id=B58513.16657502435219 (code B ref 58513); Fri, 14 Oct 2022 12:25:02 +0000 Original-Received: (at 58513) by debbugs.gnu.org; 14 Oct 2022 12:24:03 +0000 Original-Received: from localhost ([127.0.0.1]:36114 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ojJjO-0001M6-NE for submit@debbugs.gnu.org; Fri, 14 Oct 2022 08:24:02 -0400 Original-Received: from quimby.gnus.org ([95.216.78.240]:46052) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ojJjM-0001Lc-O3 for 58513@debbugs.gnu.org; Fri, 14 Oct 2022 08:24:01 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:Date:References: In-Reply-To:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=EsHCven5NO6jjX2gMvGdoWda6bTVjtVqaJ5Qs9BIFHc=; b=FkM0zlMguVkws+maO+ZiBw31pU nt79b1AQmxXCpK+VVHksyZ18Dhjz9c6KxYdN1mmJbjt2Ma27S2WnfFxkN8trzdSm+VX9hTnmCEWhq Jnji2RGm36DFlXdWlxPcyPQbNe193ObsebWqHZEF52F/PwM6/5yICLM7f0etKesdvMqE=; Original-Received: from [84.212.220.105] (helo=downe) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ojJjE-0005qy-3a; Fri, 14 Oct 2022 14:23:54 +0200 In-Reply-To: (Stefan Kangas's message of "Fri, 14 Oct 2022 14:04:09 +0200") Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwAgMAAAAqbBEUAAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAADFBMVEWHX0hULyM/KiX/ //9fL2cNAAAAAWJLR0QDEQxM8gAAAAd0SU1FB+YKDgsSKZC1OvMAAAHESURBVCjPRZFNi5MxEMen sivsbYU+4vbuwX6KIj4Fe9otm2DmpmyCM59CRBfsaZ/SBJNbpRM28ylND+LcfmTm/0IA/s8MzONm nM1nZ7iAITlrvM0PNwPCUMg8+Rgnf8uwcGQmN6Xt7Z3C8I5k8my3Zl3gta1fxePaxssN3CSKzafk 4p2FNyEcZDABx3kCw07MwihfzRFqRrd0vtDVYIHEOjbE7t5byPRwcsao+yQdrDSDVVO87JDijZ7n 0G9aOQwrMNpyf2kmv1wB6KnYDm9zWcEL1Zgs1LCPH/BYxEeEFEP8qR3QFhDTbNKqz2osPPv25aws 3BNEz6EQa0XCbkoa6VWpFBCapSptpjqGLsCjNr1m3mq/kaTarlGOaLtPZG23qNLjiFJRPW7USYBW nQh3eKQEUjf5sDyOumva11B+L08jIyNEJfq1fPKMFkEKmh8A5zwLUKz4DYbu5RYwZSLu4oq8hgmR XGu12B6nN9Srmu9abAtoEgUrOefdFvQjH4P6EvJ9gobGf871e2oX56CJQ+Y9y/o9TFR53cpeZAwQ T5HSWPY72fRfyNnI2iZWDJAbpt42yAEZel2XQkB3jwh/dKf/5i+i6AE30+DuCQAAACV0RVh0ZGF0 ZTpjcmVhdGUAMjAyMi0xMC0xNFQxMToxODo0MSswMDowMKTBsXkAAAAldEVYdGRhdGU6bW9kaWZ5 ADIwMjItMTAtMTRUMTE6MTg6NDErMDA6MDDVnAnFAAAAAElFTkSuQmCC X-Now-Playing: EQ WHY's _L'Esprit de Nyege 2020_: "Ride" X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:245422 Archived-At: Stefan Kangas writes: > Evaluate this: > > (prog1 (defconst foo "bar" "help") (describe-variable 'foo)) > > How about adding a note to the help page of variables declared with > defconst saying that they are constants, or something to that effect? I don't think we know that it's supposed to be constant? Or do we, somehow? I thought it was just syntactic sugar, saying what our intentions for the variable is. But it doesn't really... do anything, so we'd have to start to keep track of which variables are really "constants". Which would then be confusing, because you can change values to these as with any other variable.