From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Monnier via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#53910: [External] : bug#53910: 29.0.50; context-menu-mode breaks help in read-only buffers Date: Sat, 19 Feb 2022 09:38:40 -0500 Message-ID: References: <20220210001600.vjiuqzoiuuzzj54c.ref@Ergus> <20220210001600.vjiuqzoiuuzzj54c@Ergus> <87mtizdwrv.fsf@gnus.org> <86y22jxfsq.fsf@mail.linkov.net> <87o83f7y3x.fsf@gnus.org> <86iltmpn0a.fsf@mail.linkov.net> <86wni13ifi.fsf@mail.linkov.net> <86pmns10kw.fsf@mail.linkov.net> <5d2c2af9-d011-583b-e9c1-985bbc2378c2@gmx.at> <861r06vbos.fsf@mail.linkov.net> <868ru9jnp6.fsf@mail.linkov.net> <41b85df6-305f-fe6b-f575-0ff9db616eb9@gmx.at> Reply-To: Stefan Monnier Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="35599"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) Cc: "53910@debbugs.gnu.org" <53910@debbugs.gnu.org>, Lars Ingebrigtsen , Ergus , Drew Adams , Juri Linkov To: martin rudalics Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Feb 19 15:39:17 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 1nLQtH-00091d-Vf for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 19 Feb 2022 15:39:16 +0100 Original-Received: from localhost ([::1]:47798 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nLQtG-0001ya-2s for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 19 Feb 2022 09:39:14 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:56550) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nLQt4-0001y0-V8 for bug-gnu-emacs@gnu.org; Sat, 19 Feb 2022 09:39:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:35059) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nLQt4-0003Mu-LW for bug-gnu-emacs@gnu.org; Sat, 19 Feb 2022 09:39:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nLQt4-0006vn-ID for bug-gnu-emacs@gnu.org; Sat, 19 Feb 2022 09:39:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 19 Feb 2022 14:39:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 53910 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: confirmed Original-Received: via spool by 53910-submit@debbugs.gnu.org id=B53910.164528153226622 (code B ref 53910); Sat, 19 Feb 2022 14:39:02 +0000 Original-Received: (at 53910) by debbugs.gnu.org; 19 Feb 2022 14:38:52 +0000 Original-Received: from localhost ([127.0.0.1]:57189 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nLQsu-0006vK-Cl for submit@debbugs.gnu.org; Sat, 19 Feb 2022 09:38:52 -0500 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:41148) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nLQsr-0006v6-Uc for 53910@debbugs.gnu.org; Sat, 19 Feb 2022 09:38:50 -0500 Original-Received: from pmg3.iro.umontreal.ca (localhost [127.0.0.1]) by pmg3.iro.umontreal.ca (Proxmox) with ESMTP id CD51C4409D0; Sat, 19 Feb 2022 09:38:43 -0500 (EST) Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg3.iro.umontreal.ca (Proxmox) with ESMTP id 679494409E2; Sat, 19 Feb 2022 09:38:42 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1645281522; bh=pRFcRhggjvzfMcedE89nE8WaIOWn4hNdsXgkvEwEttk=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=eB6yFGnbM4fKu3GDv+fa6qWr9SkdDl3DHk410LM2Wy5p09Jfx1LLvilC9ErMMMPaX p4IvF1QPc7NfrmfgqA5Vzq71cS3Nnb4g0hpzzp91m22Cf/dSNrtmZVMmy/WZDcJcxf v1MMO2ba3PCFT9nrKeAnzU5oFv29tm3pkXAW5mtCpCG72ZHkqQYOoiRgTX/eSxyPzg Jp9pvnyIKCzl52yUQWw8vOyNdmnK/PkWDSmIlBocUKI6hFoArCrfbxZ3u3BKBEbINH KjmodWQnf9EBmLs7DBZ3Ts+wf9jAqxkrQPSwNZfAiKQp+bcGb0O7EY7b9JnRyXhPyt LSA0UXrsCvOVA== Original-Received: from pastel (unknown [45.72.237.157]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 1EBAB120B1B; Sat, 19 Feb 2022 09:38:42 -0500 (EST) In-Reply-To: <41b85df6-305f-fe6b-f575-0ff9db616eb9@gmx.at> (martin rudalics's message of "Sat, 19 Feb 2022 10:41:09 +0100") 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:227195 Archived-At: > I recommend against calling 'bury-buffer' in Lisp code: A function that > does > > If BUFFER-OR-NAME is nil or omitted, bury the > current buffer. Also, if BUFFER-OR-NAME is nil or omitted, > remove the current buffer from the selected window if it is > displayed there. > > is clearly intended for interactive use only. I think I understand why you say that but the interactive spec only allows passing nil as argument, so maybe calling `bury-buffer` with a nil argument should not be done from Elisp, but if calling `bury-buffer` *in general* should not be done for Elisp, then we can simplify the docstring ;-) Stefan