Received: (at 79792) by debbugs.gnu.org; 10 Nov 2025 07:25:07 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Mon Nov 10 02:25:07 2025 Received: from localhost ([127.0.0.1]:36494 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1vIMGw-0002sW-LJ for submit <at> debbugs.gnu.org; Mon, 10 Nov 2025 02:25:06 -0500 Received: from mout-p-202.mailbox.org ([80.241.56.172]:36790) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <juri@HIDDEN>) id 1vIMGt-0002s1-Ho for 79792 <at> debbugs.gnu.org; Mon, 10 Nov 2025 02:25:05 -0500 Received: from smtp202.mailbox.org (smtp202.mailbox.org [IPv6:2001:67c:2050:b231:465::202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-202.mailbox.org (Postfix) with ESMTPS id 4d4h534hYqz9tTZ; Mon, 10 Nov 2025 08:24:55 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linkov.net; s=MBO0001; t=1762759495; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=+sBBLcpfkfkFHwnlbiX+y6oTHakqJPfyY/LLNgjBoEo=; b=u0ua3OmIqA9digaO2PTxSdUqrNsfUrDFvN1GhEzyZxbC3LFBXyqwVA0WA5T4OhprQ9C2hx /KL/F/Wn4OhzEYO133XQtLtR96RbhMQgqUsSZrmdbkEz8Fi3gzu9N/TsrkqVx+RY0sPU4Q CcZfNVBejTPJ+ot00YYy6tXmW7bUF4ClYLf3NViYSo/OgDiNZvzDL32M1AHYNZ/Ir7Ev1H NmUkEmxJTbjdZ+/QMhVQsnn+RKX+PjvQBIv0S06rEkPwmnTdpoxAAVsevhwWX10bgZNUaG XVW58XXlfiIYxzav4Iun6tsAmSjJV/3ukQKe7OPOakKbb3f7DW65tqMLQXgnlA== Authentication-Results: outgoing_mbo_mout; dkim=none; spf=pass (outgoing_mbo_mout: domain of juri@HIDDEN designates 2001:67c:2050:b231:465::202 as permitted sender) smtp.mailfrom=juri@HIDDEN From: Juri Linkov <juri@HIDDEN> To: Eli Zaretskii <eliz@HIDDEN> Subject: Re: bug#79792: 31.0.50; elisp--company-doc-buffer replaces existing *Help* buffer In-Reply-To: <86h5v24lgf.fsf@HIDDEN> Organization: LINKOV.NET References: <87v7jkgvlq.fsf@HIDDEN> <87pl9r4t9n.fsf@HIDDEN> <874ir36509.fsf@HIDDEN> <87ms4vgixp.fsf@HIDDEN> <86jyzz3v23.fsf@HIDDEN> <878qgfghsf.fsf@HIDDEN> <86ikfj3u71.fsf@HIDDEN> <87h5v3f1p9.fsf@HIDDEN> <86h5v24lgf.fsf@HIDDEN> Date: Mon, 10 Nov 2025 09:20:13 +0200 Message-ID: <87zf8ul8le.fsf@HIDDEN> MIME-Version: 1.0 Content-Type: text/plain X-Rspamd-Queue-Id: 4d4h534hYqz9tTZ X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 79792 Cc: mail@HIDDEN, 79792 <at> debbugs.gnu.org, dmitry@HIDDEN X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.7 (-) >> >> >> >> We could add a new variable: >> >> >> >> >> >> >> >> (defvar help-buffer-name "*Help*") >> >> >> >> >> >> >> >> Then it will be possible to let-bind it. >> >> >> > >> >> >> > Yes, this sounds like a good approach. Also if users want to open >> >> >> > additional separate *Help* buffers by wrapping `describe-*' commands. >> >> >> >> >> >> So here is the patch that should fix this problem: >> >> > >> >> > Is this really enough? We have gobs of literal "*Help*" references in >> >> > Lisp sources. >> >> >> >> The remaining 100+ occurrences could be replaced later one by one >> >> as the need arises. >> > >> > No, I think we should replace them together with this change. A >> > situation where some of Emacs use the variable, the rest use a literal >> > string is not a good one: how can an arbitrary Lisp program know which >> > one will be used? >> > >> > Are there any significant problems in replacing this all over? (We >> > should also announce this in NEWS, so that package authors know.) >> >> Changing all matches blindly is a very dangerous change, because >> many occurrences use this buffer name without loading help-mode.el. > > I didn't say "blindly". And we could autoload the function if needed. Not the function, but the variable. But it's still a huge task to replace all 100+ occurrences.
bug-gnu-emacs@HIDDEN:bug#79792; Package emacs.
Full text available.Received: (at 79792) by debbugs.gnu.org; 10 Nov 2025 03:26:36 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sun Nov 09 22:26:36 2025 Received: from localhost ([127.0.0.1]:34927 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1vIIY7-0004go-TR for submit <at> debbugs.gnu.org; Sun, 09 Nov 2025 22:26:36 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:49312) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1vIIY5-0004gc-Ij for 79792 <at> debbugs.gnu.org; Sun, 09 Nov 2025 22:26:34 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <eliz@HIDDEN>) id 1vIIXz-0008Ou-H3; Sun, 09 Nov 2025 22:26:27 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=RCSupso++ULkjLQ0dIeAAfEyD1h040jBDrSQuxPlv3A=; b=ICwh317+WYKf iAGF3vA34GZxVs8XnV6AqUs/OZrmAE6XJOBnzrKQeRk0Dpc+Xv5YRQ8SzMQnbtSUht6Srj2ler0/9 YMod3XReqdZXl12OpXTIBfvbHQnJ1CADujTHxWkneecNTVsnWcUXOhlFvgEp/TorY7G2H9Htk+5Nr ksY4n3DaO+ewTQT1FD2zVX2VZa4dOY4PiZVmAj0MnQ+Rbb0nLkSHaR2Gb/adQ0w7Lt74lLGI27TG5 Xeja/IxKpGtXRlRDCwUwPyCEJTyQB+YNp0JuI5RCt1eMN/n2DJDz2g1Be3nxr9o51TxRLkxIohdad zz9SoLFu6y6Ws964QFRgxg==; Date: Mon, 10 Nov 2025 05:26:24 +0200 Message-Id: <86h5v24lgf.fsf@HIDDEN> From: Eli Zaretskii <eliz@HIDDEN> To: Juri Linkov <juri@HIDDEN> In-Reply-To: <87h5v3f1p9.fsf@HIDDEN> (message from Juri Linkov on Sun, 09 Nov 2025 21:25:22 +0200) Subject: Re: bug#79792: 31.0.50; elisp--company-doc-buffer replaces existing *Help* buffer References: <87v7jkgvlq.fsf@HIDDEN> <87pl9r4t9n.fsf@HIDDEN> <874ir36509.fsf@HIDDEN> <87ms4vgixp.fsf@HIDDEN> <86jyzz3v23.fsf@HIDDEN> <878qgfghsf.fsf@HIDDEN> <86ikfj3u71.fsf@HIDDEN> <87h5v3f1p9.fsf@HIDDEN> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 79792 Cc: mail@HIDDEN, 79792 <at> debbugs.gnu.org, dmitry@HIDDEN X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) > From: Juri Linkov <juri@HIDDEN> > Cc: mail@HIDDEN, dmitry@HIDDEN, 79792 <at> debbugs.gnu.org > Date: Sun, 09 Nov 2025 21:25:22 +0200 > > >> >> >> We could add a new variable: > >> >> >> > >> >> >> (defvar help-buffer-name "*Help*") > >> >> >> > >> >> >> Then it will be possible to let-bind it. > >> >> > > >> >> > Yes, this sounds like a good approach. Also if users want to open > >> >> > additional separate *Help* buffers by wrapping `describe-*' commands. > >> >> > >> >> So here is the patch that should fix this problem: > >> > > >> > Is this really enough? We have gobs of literal "*Help*" references in > >> > Lisp sources. > >> > >> The remaining 100+ occurrences could be replaced later one by one > >> as the need arises. > > > > No, I think we should replace them together with this change. A > > situation where some of Emacs use the variable, the rest use a literal > > string is not a good one: how can an arbitrary Lisp program know which > > one will be used? > > > > Are there any significant problems in replacing this all over? (We > > should also announce this in NEWS, so that package authors know.) > > Changing all matches blindly is a very dangerous change, because > many occurrences use this buffer name without loading help-mode.el. I didn't say "blindly". And we could autoload the function if needed.
bug-gnu-emacs@HIDDEN:bug#79792; Package emacs.
Full text available.Received: (at 79792) by debbugs.gnu.org; 9 Nov 2025 20:47:52 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sun Nov 09 15:47:52 2025 Received: from localhost ([127.0.0.1]:60997 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1vICKG-0004Cr-2C for submit <at> debbugs.gnu.org; Sun, 09 Nov 2025 15:47:52 -0500 Received: from server.qxqx.de ([2a01:4f8:c012:9177::1]:46607 helo=mail.qxqx.de) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <mail@HIDDEN>) id 1vICKC-0004C9-LX for 79792 <at> debbugs.gnu.org; Sun, 09 Nov 2025 15:47:50 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=daniel-mendler.de; s=key; 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=PC+lci/YOd285C0uTte6GCO4YSey5chE+gAG/cRFZ28=; b=jsy6fcIWMF2G3stK3NrsQuQX73 3hlClNA26LhK1O/K09HE155a3Dj2WiaqRp62SjvV365aG+HxStTwm0Nx6+j9H+2HXPUo4wPxBXR5q QTBIfZ3EBDW5YETD8/DlnuT21y+GLXqtITJ5z1SnnmVZvqzWPAp3mJgoAikQyH9u7H94=; From: Daniel Mendler <mail@HIDDEN> To: Juri Linkov <juri@HIDDEN> Subject: Re: bug#79792: 31.0.50; elisp--company-doc-buffer replaces existing *Help* buffer In-Reply-To: <87h5v3f1p9.fsf@HIDDEN> References: <87v7jkgvlq.fsf@HIDDEN> <87pl9r4t9n.fsf@HIDDEN> <874ir36509.fsf@HIDDEN> <87ms4vgixp.fsf@HIDDEN> <86jyzz3v23.fsf@HIDDEN> <878qgfghsf.fsf@HIDDEN> <86ikfj3u71.fsf@HIDDEN> <87h5v3f1p9.fsf@HIDDEN> Date: Sun, 09 Nov 2025 21:47:41 +0100 Message-ID: <87seenx79u.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 79792 Cc: dmitry@HIDDEN, Eli Zaretskii <eliz@HIDDEN>, 79792 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) Juri Linkov <juri@HIDDEN> writes: >>> >> >> We could add a new variable: >>> >> >> >>> >> >> (defvar help-buffer-name "*Help*") >>> >> >> >>> >> >> Then it will be possible to let-bind it. >>> >> > >>> >> > Yes, this sounds like a good approach. Also if users want to open >>> >> > additional separate *Help* buffers by wrapping `describe-*' commands. >>> >> >>> >> So here is the patch that should fix this problem: >>> > >>> > Is this really enough? We have gobs of literal "*Help*" references in >>> > Lisp sources. >>> >>> The remaining 100+ occurrences could be replaced later one by one >>> as the need arises. >> >> No, I think we should replace them together with this change. A >> situation where some of Emacs use the variable, the rest use a literal >> string is not a good one: how can an arbitrary Lisp program know which >> one will be used? >> >> Are there any significant problems in replacing this all over? (We >> should also announce this in NEWS, so that package authors know.) > > Changing all matches blindly is a very dangerous change, because > many occurrences use this buffer name without loading help-mode.el. Could we preload help-buffer-name or add an autoload cookie?
bug-gnu-emacs@HIDDEN:bug#79792; Package emacs.
Full text available.Received: (at 79792) by debbugs.gnu.org; 9 Nov 2025 19:27:23 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sun Nov 09 14:27:23 2025 Received: from localhost ([127.0.0.1]:60582 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1vIB4N-0000sH-5t for submit <at> debbugs.gnu.org; Sun, 09 Nov 2025 14:27:23 -0500 Received: from mout-p-201.mailbox.org ([80.241.56.171]:48510) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <juri@HIDDEN>) id 1vIB4K-0000sB-Qv for 79792 <at> debbugs.gnu.org; Sun, 09 Nov 2025 14:27:21 -0500 Received: from smtp102.mailbox.org (smtp102.mailbox.org [IPv6:2001:67c:2050:b231:465::102]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-201.mailbox.org (Postfix) with ESMTPS id 4d4N8x0vpjz9srm; Sun, 9 Nov 2025 20:27:13 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linkov.net; s=MBO0001; t=1762716433; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=L78+oEeEdC9u4Z/CT0+NI4gqUkqkMdQSnRbxCJwGmE0=; b=bATZ2L2K3N37GU/CKEjU7SM4gPtOkNO0c7ZC0xcnjdJbDTLs6fgOWiR5ezqfKe4PU2izdL 1GwKT6mFDDICUREQXp51yqL+xwz8U1UsxH+oboNtUWug78oZ+GPRchaMhJWYhJD1OZIP+l iJj1Qh+oTPyo3a89IzgDE7poUz3OJwrrz1dWfMWq4Gre1nJSnU5lcDtJ1RCmzkYlwEk73b N/ZyGI5JJTnZTrycj3L2lVkrgfw1LsIFc2Woi5GN3VNXCSmaQ0ZMuT8YE5xXmIIO72ssN5 qkvIjQOLaKYvuHGN06cqBISggqvwBvr3ZBT3rvft6QZOu4D3jH1Izy0btbPI7g== Authentication-Results: outgoing_mbo_mout; dkim=none; spf=pass (outgoing_mbo_mout: domain of juri@HIDDEN designates 2001:67c:2050:b231:465::102 as permitted sender) smtp.mailfrom=juri@HIDDEN From: Juri Linkov <juri@HIDDEN> To: Eli Zaretskii <eliz@HIDDEN> Subject: Re: bug#79792: 31.0.50; elisp--company-doc-buffer replaces existing *Help* buffer In-Reply-To: <86ikfj3u71.fsf@HIDDEN> Organization: LINKOV.NET References: <87v7jkgvlq.fsf@HIDDEN> <87pl9r4t9n.fsf@HIDDEN> <874ir36509.fsf@HIDDEN> <87ms4vgixp.fsf@HIDDEN> <86jyzz3v23.fsf@HIDDEN> <878qgfghsf.fsf@HIDDEN> <86ikfj3u71.fsf@HIDDEN> Date: Sun, 09 Nov 2025 21:25:22 +0200 Message-ID: <87h5v3f1p9.fsf@HIDDEN> MIME-Version: 1.0 Content-Type: text/plain X-Rspamd-Queue-Id: 4d4N8x0vpjz9srm X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 79792 Cc: mail@HIDDEN, 79792 <at> debbugs.gnu.org, dmitry@HIDDEN X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.7 (-) >> >> >> We could add a new variable: >> >> >> >> >> >> (defvar help-buffer-name "*Help*") >> >> >> >> >> >> Then it will be possible to let-bind it. >> >> > >> >> > Yes, this sounds like a good approach. Also if users want to open >> >> > additional separate *Help* buffers by wrapping `describe-*' commands. >> >> >> >> So here is the patch that should fix this problem: >> > >> > Is this really enough? We have gobs of literal "*Help*" references in >> > Lisp sources. >> >> The remaining 100+ occurrences could be replaced later one by one >> as the need arises. > > No, I think we should replace them together with this change. A > situation where some of Emacs use the variable, the rest use a literal > string is not a good one: how can an arbitrary Lisp program know which > one will be used? > > Are there any significant problems in replacing this all over? (We > should also announce this in NEWS, so that package authors know.) Changing all matches blindly is a very dangerous change, because many occurrences use this buffer name without loading help-mode.el.
bug-gnu-emacs@HIDDEN:bug#79792; Package emacs.
Full text available.Received: (at 79792) by debbugs.gnu.org; 9 Nov 2025 19:03:09 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sun Nov 09 14:03:09 2025 Received: from localhost ([127.0.0.1]:60463 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1vIAgu-00005I-Sa for submit <at> debbugs.gnu.org; Sun, 09 Nov 2025 14:03:09 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:47322) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1vIAgs-0008WT-DQ for 79792 <at> debbugs.gnu.org; Sun, 09 Nov 2025 14:03:07 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <eliz@HIDDEN>) id 1vIAgm-00060I-Bv; Sun, 09 Nov 2025 14:03:00 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=+GSRTILK3kpguQZJYentzky3OOQ9l/Eh9Cs4F5VdFuw=; b=itrylJ2B8rYy HBppCx0aSnkO7/8SeZ6260OSBcqjePRL/AQ65Ey45JrK3jGO0F83G1WKQk0OXJCw3C7auZyUDEJqh ObbZeZ6fxuWHvei3B8S6cCY2Oj73SOYnDjKnRtHrKt3HklK6Bb5tQy4L1/yByJbOiPaBjJDtxCEru iqIoSQVZD+BSv+nmw1Jy2plgY3kQpNVj3x9aLZEwQiSVin320H11AE4YarA8Iru0adsMZeEogNgua MzUUip99jdeNwQeTKWyZF07IGa7rH+nH7MdnRWDFS+xfZ8zWrqR8zm080zyihHynyLzllcJE13RhD +0+NtSYmAfNiLPyzN9hhcA==; Date: Sun, 09 Nov 2025 21:02:58 +0200 Message-Id: <86ikfj3u71.fsf@HIDDEN> From: Eli Zaretskii <eliz@HIDDEN> To: Juri Linkov <juri@HIDDEN> In-Reply-To: <878qgfghsf.fsf@HIDDEN> (message from Juri Linkov on Sun, 09 Nov 2025 20:52:32 +0200) Subject: Re: bug#79792: 31.0.50; elisp--company-doc-buffer replaces existing *Help* buffer References: <87v7jkgvlq.fsf@HIDDEN> <87pl9r4t9n.fsf@HIDDEN> <874ir36509.fsf@HIDDEN> <87ms4vgixp.fsf@HIDDEN> <86jyzz3v23.fsf@HIDDEN> <878qgfghsf.fsf@HIDDEN> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 79792 Cc: mail@HIDDEN, 79792 <at> debbugs.gnu.org, dmitry@HIDDEN X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) > From: Juri Linkov <juri@HIDDEN> > Cc: mail@HIDDEN, dmitry@HIDDEN, 79792 <at> debbugs.gnu.org > Date: Sun, 09 Nov 2025 20:52:32 +0200 > > >> >> We could add a new variable: > >> >> > >> >> (defvar help-buffer-name "*Help*") > >> >> > >> >> Then it will be possible to let-bind it. > >> > > >> > Yes, this sounds like a good approach. Also if users want to open > >> > additional separate *Help* buffers by wrapping `describe-*' commands. > >> > >> So here is the patch that should fix this problem: > > > > Is this really enough? We have gobs of literal "*Help*" references in > > Lisp sources. > > The remaining 100+ occurrences could be replaced later one by one > as the need arises. No, I think we should replace them together with this change. A situation where some of Emacs use the variable, the rest use a literal string is not a good one: how can an arbitrary Lisp program know which one will be used? Are there any significant problems in replacing this all over? (We should also announce this in NEWS, so that package authors know.)
bug-gnu-emacs@HIDDEN:bug#79792; Package emacs.
Full text available.Received: (at 79792) by debbugs.gnu.org; 9 Nov 2025 18:53:04 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sun Nov 09 13:53:04 2025 Received: from localhost ([127.0.0.1]:60415 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1vIAXA-0005Ks-A5 for submit <at> debbugs.gnu.org; Sun, 09 Nov 2025 13:53:04 -0500 Received: from mout-p-101.mailbox.org ([80.241.56.151]:51826) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <juri@HIDDEN>) id 1vIAX8-0005KE-MF for 79792 <at> debbugs.gnu.org; Sun, 09 Nov 2025 13:53:03 -0500 Received: from smtp102.mailbox.org (smtp102.mailbox.org [10.196.197.102]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-101.mailbox.org (Postfix) with ESMTPS id 4d4MPL0rWPz9t8V; Sun, 9 Nov 2025 19:52:54 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linkov.net; s=MBO0001; t=1762714374; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=jj07BgC3CeZZfYIP/bALN9dIKOlnyXMWChLDEjUTlDk=; b=bdsRB0NSnmGJvtil2sSlxMWRSi/ls1L8aMTEJpIB9vL/76noEs6MRO+qOGEM4grZqp13K7 0t1NSfuKwoqDstc9GXQO8uYsUcPcPWoW/xrzNYaiNnHYVowdsYzEgpSj2XmqMJJboclqcK QnEiOWB1OgFk6LgJGjLjuc+fnuneOrxEDLYtz5jA1VvIACS3BbkgIj3pdvbEbh5Sii7aIi sxOYI6D1rnyqNSR+hZ1ylJCIR7xBHTqy5GuRuk4q9Y4HcvrKxeDzptqQfV7f2ei9YSPz/x ZXNeAq7vXa+Qh08SewvqZYuZGr36SvWlKm8XfUrGR2ozPF3mCHFDlSwpiFaPrA== From: Juri Linkov <juri@HIDDEN> To: Eli Zaretskii <eliz@HIDDEN> Subject: Re: bug#79792: 31.0.50; elisp--company-doc-buffer replaces existing *Help* buffer In-Reply-To: <86jyzz3v23.fsf@HIDDEN> Organization: LINKOV.NET References: <87v7jkgvlq.fsf@HIDDEN> <87pl9r4t9n.fsf@HIDDEN> <874ir36509.fsf@HIDDEN> <87ms4vgixp.fsf@HIDDEN> <86jyzz3v23.fsf@HIDDEN> Date: Sun, 09 Nov 2025 20:52:32 +0200 Message-ID: <878qgfghsf.fsf@HIDDEN> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 79792 Cc: mail@HIDDEN, 79792 <at> debbugs.gnu.org, dmitry@HIDDEN X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.7 (-) >> >> We could add a new variable: >> >> >> >> (defvar help-buffer-name "*Help*") >> >> >> >> Then it will be possible to let-bind it. >> > >> > Yes, this sounds like a good approach. Also if users want to open >> > additional separate *Help* buffers by wrapping `describe-*' commands. >> >> So here is the patch that should fix this problem: > > Is this really enough? We have gobs of literal "*Help*" references in > Lisp sources. The remaining 100+ occurrences could be replaced later one by one as the need arises.
bug-gnu-emacs@HIDDEN:bug#79792; Package emacs.
Full text available.Received: (at 79792) by debbugs.gnu.org; 9 Nov 2025 18:47:42 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sun Nov 09 13:47:42 2025 Received: from localhost ([127.0.0.1]:60378 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1vIARy-000558-FC for submit <at> debbugs.gnu.org; Sun, 09 Nov 2025 13:47:42 -0500 Received: from server.qxqx.de ([2a01:4f8:c012:9177::1]:52229 helo=mail.qxqx.de) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <mail@HIDDEN>) id 1vIARv-00054u-Kq for 79792 <at> debbugs.gnu.org; Sun, 09 Nov 2025 13:47:40 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=daniel-mendler.de; s=key; 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=FMW+Acq8IfCu/7FKs8pYhL8iHtmCJxlrlqkzd8Lk0dQ=; b=qBauUmqGXC/3Vyz4MZNLXZubh5 tnikAygaUqL1JWR2ltDfs17JBK8rz5JbP0j+rI6s59zuBnmCn2mzTqFGURHoYOaKMePPUFMPaPOYe 8kzUlCFgXwEylnVbD3lF3h88DuPO3JQGcgkskBgHV/8eppeFSr85VOCNz+2vS0WxQtkE=; From: Daniel Mendler <mail@HIDDEN> To: Eli Zaretskii <eliz@HIDDEN> Subject: Re: bug#79792: 31.0.50; elisp--company-doc-buffer replaces existing *Help* buffer In-Reply-To: <86jyzz3v23.fsf@HIDDEN> References: <87v7jkgvlq.fsf@HIDDEN> <87pl9r4t9n.fsf@HIDDEN> <874ir36509.fsf@HIDDEN> <87ms4vgixp.fsf@HIDDEN> <86jyzz3v23.fsf@HIDDEN> Date: Sun, 09 Nov 2025 19:47:32 +0100 Message-ID: <874ir36o1n.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 79792 Cc: dmitry@HIDDEN, 79792 <at> debbugs.gnu.org, Juri Linkov <juri@HIDDEN> X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) Eli Zaretskii <eliz@HIDDEN> writes: >> Cc: dmitry@HIDDEN, 79792 <at> debbugs.gnu.org >> From: Juri Linkov <juri@HIDDEN> >> Date: Sun, 09 Nov 2025 20:27:46 +0200 >> >> >> We could add a new variable: >> >> >> >> (defvar help-buffer-name "*Help*") >> >> >> >> Then it will be possible to let-bind it. >> > >> > Yes, this sounds like a good approach. Also if users want to open >> > additional separate *Help* buffers by wrapping `describe-*' commands. >> >> So here is the patch that should fix this problem: > > Is this really enough? We have gobs of literal "*Help*" references in > Lisp sources. For this particular bug this is enough as a fix. In addition, all literal occurrences of "*Help*" in the source code be replaced `help-buffer-name'. Daniel
bug-gnu-emacs@HIDDEN:bug#79792; Package emacs.
Full text available.Received: (at 79792) by debbugs.gnu.org; 9 Nov 2025 18:44:34 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sun Nov 09 13:44:34 2025 Received: from localhost ([127.0.0.1]:60358 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1vIAOv-0004uQ-LQ for submit <at> debbugs.gnu.org; Sun, 09 Nov 2025 13:44:33 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:40498) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1vIAOs-0004u5-HK for 79792 <at> debbugs.gnu.org; Sun, 09 Nov 2025 13:44:31 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <eliz@HIDDEN>) id 1vIAOk-0003g3-5u; Sun, 09 Nov 2025 13:44:22 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=goqcyEkFg3GRK2LmtNvuxGAGgDICVQt5iqpb0Th1F5I=; b=ilRibZGxlWWb 9DH2+xqBS3iYqogEFg6S4SLiqGH3HLBYX+5JgKYaIAgQIojkPInQKBhGMBXEQ7uxNn1J+XTI19Hp/ s2Cxl+hgowI53Oec3MDlym/HIo+e10ooG1zc1ovcr8dqRxMkwIEkKgwXk7/nP9cbKTIwzkEpPT5FS GxJbSnWYHzshVG0/OdqCVgR7wQQOtW0O22ytxMxDQzhdirqrzOQPooKOAKER5GFSKZO2qzBkH1DTo dEQpjdtGSwjS24YM9K9mVmseiOaY3pkgnvsbcfR9zbxX3a7iIf3FCX5F4RRwI+G1ruwBwvpAp7U3+ 2iVhuTQ9NLoOnXbG+1AXDw==; Date: Sun, 09 Nov 2025 20:44:20 +0200 Message-Id: <86jyzz3v23.fsf@HIDDEN> From: Eli Zaretskii <eliz@HIDDEN> To: Juri Linkov <juri@HIDDEN> In-Reply-To: <87ms4vgixp.fsf@HIDDEN> (message from Juri Linkov on Sun, 09 Nov 2025 20:27:46 +0200) Subject: Re: bug#79792: 31.0.50; elisp--company-doc-buffer replaces existing *Help* buffer References: <87v7jkgvlq.fsf@HIDDEN> <87pl9r4t9n.fsf@HIDDEN> <874ir36509.fsf@HIDDEN> <87ms4vgixp.fsf@HIDDEN> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 79792 Cc: mail@HIDDEN, 79792 <at> debbugs.gnu.org, dmitry@HIDDEN X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) > Cc: dmitry@HIDDEN, 79792 <at> debbugs.gnu.org > From: Juri Linkov <juri@HIDDEN> > Date: Sun, 09 Nov 2025 20:27:46 +0200 > > >> We could add a new variable: > >> > >> (defvar help-buffer-name "*Help*") > >> > >> Then it will be possible to let-bind it. > > > > Yes, this sounds like a good approach. Also if users want to open > > additional separate *Help* buffers by wrapping `describe-*' commands. > > So here is the patch that should fix this problem: Is this really enough? We have gobs of literal "*Help*" references in Lisp sources.
bug-gnu-emacs@HIDDEN:bug#79792; Package emacs.
Full text available.
Received: (at 79792) by debbugs.gnu.org; 9 Nov 2025 18:29:34 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Nov 09 13:29:34 2025
Received: from localhost ([127.0.0.1]:60285 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
id 1vIAAP-0004Hw-QQ
for submit <at> debbugs.gnu.org; Sun, 09 Nov 2025 13:29:34 -0500
Received: from mout-p-202.mailbox.org ([80.241.56.172]:52950)
by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
(Exim 4.84_2) (envelope-from <juri@HIDDEN>) id 1vIAAN-0004Hg-6s
for 79792 <at> debbugs.gnu.org; Sun, 09 Nov 2025 13:29:32 -0500
Received: from smtp2.mailbox.org (smtp2.mailbox.org [10.196.197.2])
(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256)
(No client certificate requested)
by mout-p-202.mailbox.org (Postfix) with ESMTPS id 4d4LtB5YHxz9t9s;
Sun, 9 Nov 2025 19:29:22 +0100 (CET)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linkov.net; s=MBO0001;
t=1762712962;
h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
to:to:cc:cc:mime-version:mime-version:content-type:content-type:
in-reply-to:in-reply-to:references:references;
bh=LHsVu/WonMNBhI1AyhNGisgydVVIU0mxaMTexQDTQsQ=;
b=iBBsDCesGkAwSVchcGJOuO7mQ6okYWy7/2L1tRGEboUZW/ovd9RJMI4gKnbrovNu4ZYoAf
K9HcaJc5O6LpA/gZ/D7zg0TPTJsptAUwcQbN8acpmGHrALMKrzfOGa1wvOEf55ma7ibps9
pb6zwTXATPHc4amgq5ldD+K+ZVwEfJC2MBdyWQc+/5Ty8aIG41MbTm/PwJ7JU2mgeG4Pya
+/1ig61oyeSMZyqb2jZMaC3OuPOfsLplrx2eAdk6wCb5JwyQJ18pz5J0UlsBKwJKB59OUW
RNHErhUsIJLcxbthBA0LjLNM89FyoC0IZXdxik7aZs/5dWJOzo/nikUGhvCDvg==
From: Juri Linkov <juri@HIDDEN>
To: Daniel Mendler <mail@HIDDEN>
Subject: Re: bug#79792: 31.0.50; elisp--company-doc-buffer replaces existing
*Help* buffer
In-Reply-To: <874ir36509.fsf@HIDDEN>
Organization: LINKOV.NET
References: <87v7jkgvlq.fsf@HIDDEN>
<87pl9r4t9n.fsf@HIDDEN> <874ir36509.fsf@HIDDEN>
Date: Sun, 09 Nov 2025 20:27:46 +0200
Message-ID: <87ms4vgixp.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="=-=-="
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 79792
Cc: dmitry@HIDDEN, 79792 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)
--=-=-=
Content-Type: text/plain
>> We could add a new variable:
>>
>> (defvar help-buffer-name "*Help*")
>>
>> Then it will be possible to let-bind it.
>
> Yes, this sounds like a good approach. Also if users want to open
> additional separate *Help* buffers by wrapping `describe-*' commands.
So here is the patch that should fix this problem:
--=-=-=
Content-Type: text/x-diff
Content-Disposition: inline; filename=help-buffer-name.patch
diff --git a/lisp/help-mode.el b/lisp/help-mode.el
index a8c0b1da818..8fe15ae5bac 100644
--- a/lisp/help-mode.el
+++ b/lisp/help-mode.el
@@ -519,6 +519,9 @@ help-setup-xref
(defvar help-xref-following nil
"Non-nil when following a help cross-reference.")
+(defvar help-buffer-name "*Help*"
+ "Name of the help buffer.")
+
;;;###autoload
(defun help-buffer ()
"Return the name of a buffer for inserting help.
@@ -531,7 +534,7 @@ help-buffer
(if (and help-xref-following
(derived-mode-p 'help-mode))
(current-buffer)
- (get-buffer-create "*Help*"))))
+ (get-buffer-create help-buffer-name))))
(defvar describe-symbol-backends
`((nil ,#'fboundp ,(lambda (s _b _f) (describe-function s)))
diff --git a/lisp/progmodes/elisp-mode.el b/lisp/progmodes/elisp-mode.el
index da8302953d1..5da410975b1 100644
--- a/lisp/progmodes/elisp-mode.el
+++ b/lisp/progmodes/elisp-mode.el
@@ -969,7 +969,8 @@ elisp--company-doc-buffer
;; Make sure we don't display it in another frame, otherwise
;; save-window-excursion won't be able to undo it.
(let ((display-buffer-overriding-action
- '(nil . ((inhibit-switch-frame . t)))))
+ '(nil . ((inhibit-switch-frame . t))))
+ (help-buffer-name " *elisp-doc-buffer*"))
(ignore-errors
(cond
((fboundp symbol) (describe-function symbol))
--=-=-=--
bug-gnu-emacs@HIDDEN:bug#79792; Package emacs.
Full text available.Received: (at 79792) by debbugs.gnu.org; 9 Nov 2025 07:26:40 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sun Nov 09 02:26:40 2025 Received: from localhost ([127.0.0.1]:57115 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1vHzou-00048r-0C for submit <at> debbugs.gnu.org; Sun, 09 Nov 2025 02:26:40 -0500 Received: from server.qxqx.de ([2a01:4f8:c012:9177::1]:36893 helo=mail.qxqx.de) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <mail@HIDDEN>) id 1vHzor-00048j-CV for 79792 <at> debbugs.gnu.org; Sun, 09 Nov 2025 02:26:38 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=daniel-mendler.de; s=key; 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=88Ax4y/BotRrpATdMnuzki+iaKcK+1JwGy62mxYed/w=; b=hW4wo3/Gr+YbiF0+LTZkgXUZlx eb0DKeaLQ+QIUMllmtHpU7gmdfcqp4nf+OT7uMxkHk5yeNLlxbOzzcKTVdqBOD/I1pdPExrFhAtjZ jcB3dZIC81Xu13q4nW8NCQxsLC2F48aCIzK92/BrQECOnCg0xWYd6u0AVongoHlrhZSo=; From: Daniel Mendler <mail@HIDDEN> To: Juri Linkov <juri@HIDDEN> Subject: Re: bug#79792: 31.0.50; elisp--company-doc-buffer replaces existing *Help* buffer In-Reply-To: <87pl9r4t9n.fsf@HIDDEN> References: <87v7jkgvlq.fsf@HIDDEN> <87pl9r4t9n.fsf@HIDDEN> Date: Sun, 09 Nov 2025 08:26:30 +0100 Message-ID: <874ir36509.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 79792 Cc: Dmitry Gutov <dmitry@HIDDEN>, "Daniel Mendler via Bug reports for GNU Emacs, the Swiss army knife of text editors" <bug-gnu-emacs@HIDDEN>, 79792 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) Juri Linkov <juri@HIDDEN> writes: >> A possible workaround is the following: >> >> (advice-add #'elisp--company-doc-buffer >> :around >> (lambda (&rest app) >> (cl-letf (((symbol-function #'help-buffer) >> (lambda () (get-buffer-create " *elisp-doc-buffer*")))) >> (apply app)))) > > We could add a new variable: > > (defvar help-buffer-name "*Help*") > > Then it will be possible to let-bind it. Yes, this sounds like a good approach. Also if users want to open additional separate *Help* buffers by wrapping `describe-*' commands. Daniel
bug-gnu-emacs@HIDDEN:bug#79792; Package emacs.
Full text available.Received: (at submit) by debbugs.gnu.org; 9 Nov 2025 07:26:53 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sun Nov 09 02:26:53 2025 Received: from localhost ([127.0.0.1]:57119 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1vHzp7-000498-B3 for submit <at> debbugs.gnu.org; Sun, 09 Nov 2025 02:26:53 -0500 Received: from lists.gnu.org ([2001:470:142::17]:49750) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <mail@HIDDEN>) id 1vHzp5-00048y-JK for submit <at> debbugs.gnu.org; Sun, 09 Nov 2025 02:26:52 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <mail@HIDDEN>) id 1vHzos-0004gv-2b for bug-gnu-emacs@HIDDEN; Sun, 09 Nov 2025 02:26:38 -0500 Received: from server.qxqx.de ([2a01:4f8:c012:9177::1] helo=mail.qxqx.de) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <mail@HIDDEN>) id 1vHzop-0003Km-Pe for bug-gnu-emacs@HIDDEN; Sun, 09 Nov 2025 02:26:37 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=daniel-mendler.de; s=key; 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=88Ax4y/BotRrpATdMnuzki+iaKcK+1JwGy62mxYed/w=; b=hW4wo3/Gr+YbiF0+LTZkgXUZlx eb0DKeaLQ+QIUMllmtHpU7gmdfcqp4nf+OT7uMxkHk5yeNLlxbOzzcKTVdqBOD/I1pdPExrFhAtjZ jcB3dZIC81Xu13q4nW8NCQxsLC2F48aCIzK92/BrQECOnCg0xWYd6u0AVongoHlrhZSo=; From: Daniel Mendler <mail@HIDDEN> To: Juri Linkov <juri@HIDDEN> Subject: Re: bug#79792: 31.0.50; elisp--company-doc-buffer replaces existing *Help* buffer In-Reply-To: <87pl9r4t9n.fsf@HIDDEN> References: <87v7jkgvlq.fsf@HIDDEN> <87pl9r4t9n.fsf@HIDDEN> Date: Sun, 09 Nov 2025 08:26:30 +0100 Message-ID: <874ir36509.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2a01:4f8:c012:9177::1; envelope-from=mail@HIDDEN; helo=mail.qxqx.de X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 0.9 (/) X-Debbugs-Envelope-To: submit Cc: Dmitry Gutov <dmitry@HIDDEN>, "Daniel Mendler via Bug reports for GNU Emacs, the Swiss army knife of text editors" <bug-gnu-emacs@HIDDEN>, 79792 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -0.1 (/) Juri Linkov <juri@HIDDEN> writes: >> A possible workaround is the following: >> >> (advice-add #'elisp--company-doc-buffer >> :around >> (lambda (&rest app) >> (cl-letf (((symbol-function #'help-buffer) >> (lambda () (get-buffer-create " *elisp-doc-buffer*")))) >> (apply app)))) > > We could add a new variable: > > (defvar help-buffer-name "*Help*") > > Then it will be possible to let-bind it. Yes, this sounds like a good approach. Also if users want to open additional separate *Help* buffers by wrapping `describe-*' commands. Daniel
bug-gnu-emacs@HIDDEN:bug#79792; Package emacs.
Full text available.Received: (at submit) by debbugs.gnu.org; 9 Nov 2025 07:19:03 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sun Nov 09 02:19:03 2025 Received: from localhost ([127.0.0.1]:57070 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1vHzhW-0003pG-Oz for submit <at> debbugs.gnu.org; Sun, 09 Nov 2025 02:19:03 -0500 Received: from lists.gnu.org ([2001:470:142::17]:38904) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <juri@HIDDEN>) id 1vHzhU-0003o9-1U for submit <at> debbugs.gnu.org; Sun, 09 Nov 2025 02:19:00 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <juri@HIDDEN>) id 1vHzhK-0008Sx-6p for bug-gnu-emacs@HIDDEN; Sun, 09 Nov 2025 02:18:50 -0500 Received: from mout-p-103.mailbox.org ([2001:67c:2050:0:465::103]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_CHACHA20_POLY1305:256) (Exim 4.90_1) (envelope-from <juri@HIDDEN>) id 1vHzhI-00011f-0z for bug-gnu-emacs@HIDDEN; Sun, 09 Nov 2025 02:18:49 -0500 Received: from smtp1.mailbox.org (smtp1.mailbox.org [IPv6:2001:67c:2050:b231:465::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-103.mailbox.org (Postfix) with ESMTPS id 4d440L3hQ3z9tlq; Sun, 9 Nov 2025 08:18:42 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linkov.net; s=MBO0001; t=1762672722; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=5MhoZCzNYmEZbGPWRz++/cdiM0uvmZF6OTq5o+EStLg=; b=A3AeSPFSO+DS61ixDT8OTvk0KrB90kXVIeitgPzepPBvCIzUqn2yvLRr/p4geMasWivz6w 6cm7pYmHWvhksCk1M+panYCZuFBfHAwfoihG+ZGTTCxx1511aImKmkhXom8Ss7Ic6QmqqO UdNH+VbSAjf4ygPAOiowtlRE5EWR/PU3c1UdRm2ZO8y5JU1Ly4rQDftbIbT1Xjxd4YfbfQ Y7NisoQxNb8qnYZWlZ7eW0ihLzfRkfKAd/xZikMoHlxfGRW8scekqXVorhdqzigUOTg7mN //8iDdxhUPexvP6eKS99oD3xOyPI7/skIFjSSGxxyt61GmQyYXWPJd8ELBXeXA== Authentication-Results: outgoing_mbo_mout; dkim=none; spf=pass (outgoing_mbo_mout: domain of juri@HIDDEN designates 2001:67c:2050:b231:465::1 as permitted sender) smtp.mailfrom=juri@HIDDEN From: Juri Linkov <juri@HIDDEN> To: Daniel Mendler via "Bug reports for GNU Emacs, the Swiss army knife of text editors" <bug-gnu-emacs@HIDDEN> Subject: Re: bug#79792: 31.0.50; elisp--company-doc-buffer replaces existing *Help* buffer In-Reply-To: <87v7jkgvlq.fsf@HIDDEN> Organization: LINKOV.NET References: <87v7jkgvlq.fsf@HIDDEN> Date: Sun, 09 Nov 2025 09:10:24 +0200 Message-ID: <87pl9r4t9n.fsf@HIDDEN> MIME-Version: 1.0 Content-Type: text/plain X-Rspamd-Queue-Id: 4d440L3hQ3z9tlq Received-SPF: pass client-ip=2001:67c:2050:0:465::103; envelope-from=juri@HIDDEN; helo=mout-p-103.mailbox.org X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: submit Cc: Daniel Mendler <mail@HIDDEN>, 79792 <at> debbugs.gnu.org, Dmitry Gutov <dmitry@HIDDEN> X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -0.0 (/) > A possible workaround is the following: > > (advice-add #'elisp--company-doc-buffer > :around > (lambda (&rest app) > (cl-letf (((symbol-function #'help-buffer) > (lambda () (get-buffer-create " *elisp-doc-buffer*")))) > (apply app)))) We could add a new variable: (defvar help-buffer-name "*Help*") Then it will be possible to let-bind it.
bug-gnu-emacs@HIDDEN:bug#79792; Package emacs.
Full text available.Received: (at 79792) by debbugs.gnu.org; 9 Nov 2025 07:18:54 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sun Nov 09 02:18:54 2025 Received: from localhost ([127.0.0.1]:57057 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1vHzhN-0003oL-Qy for submit <at> debbugs.gnu.org; Sun, 09 Nov 2025 02:18:54 -0500 Received: from mout-p-103.mailbox.org ([80.241.56.161]:33334) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <juri@HIDDEN>) id 1vHzhK-0003nl-0s for 79792 <at> debbugs.gnu.org; Sun, 09 Nov 2025 02:18:50 -0500 Received: from smtp1.mailbox.org (smtp1.mailbox.org [IPv6:2001:67c:2050:b231:465::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-103.mailbox.org (Postfix) with ESMTPS id 4d440L3hQ3z9tlq; Sun, 9 Nov 2025 08:18:42 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linkov.net; s=MBO0001; t=1762672722; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=5MhoZCzNYmEZbGPWRz++/cdiM0uvmZF6OTq5o+EStLg=; b=A3AeSPFSO+DS61ixDT8OTvk0KrB90kXVIeitgPzepPBvCIzUqn2yvLRr/p4geMasWivz6w 6cm7pYmHWvhksCk1M+panYCZuFBfHAwfoihG+ZGTTCxx1511aImKmkhXom8Ss7Ic6QmqqO UdNH+VbSAjf4ygPAOiowtlRE5EWR/PU3c1UdRm2ZO8y5JU1Ly4rQDftbIbT1Xjxd4YfbfQ Y7NisoQxNb8qnYZWlZ7eW0ihLzfRkfKAd/xZikMoHlxfGRW8scekqXVorhdqzigUOTg7mN //8iDdxhUPexvP6eKS99oD3xOyPI7/skIFjSSGxxyt61GmQyYXWPJd8ELBXeXA== Authentication-Results: outgoing_mbo_mout; dkim=none; spf=pass (outgoing_mbo_mout: domain of juri@HIDDEN designates 2001:67c:2050:b231:465::1 as permitted sender) smtp.mailfrom=juri@HIDDEN From: Juri Linkov <juri@HIDDEN> To: Daniel Mendler via "Bug reports for GNU Emacs, the Swiss army knife of text editors" <bug-gnu-emacs@HIDDEN> Subject: Re: bug#79792: 31.0.50; elisp--company-doc-buffer replaces existing *Help* buffer In-Reply-To: <87v7jkgvlq.fsf@HIDDEN> Organization: LINKOV.NET References: <87v7jkgvlq.fsf@HIDDEN> Date: Sun, 09 Nov 2025 09:10:24 +0200 Message-ID: <87pl9r4t9n.fsf@HIDDEN> MIME-Version: 1.0 Content-Type: text/plain X-Rspamd-Queue-Id: 4d440L3hQ3z9tlq X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 79792 Cc: Daniel Mendler <mail@HIDDEN>, 79792 <at> debbugs.gnu.org, Dmitry Gutov <dmitry@HIDDEN> X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.7 (-) > A possible workaround is the following: > > (advice-add #'elisp--company-doc-buffer > :around > (lambda (&rest app) > (cl-letf (((symbol-function #'help-buffer) > (lambda () (get-buffer-create " *elisp-doc-buffer*")))) > (apply app)))) We could add a new variable: (defvar help-buffer-name "*Help*") Then it will be possible to let-bind it.
bug-gnu-emacs@HIDDEN:bug#79792; Package emacs.
Full text available.
Received: (at submit) by debbugs.gnu.org; 8 Nov 2025 19:42:37 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Nov 08 14:42:37 2025
Received: from localhost ([127.0.0.1]:53432 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
id 1vHopY-0000bB-Ox
for submit <at> debbugs.gnu.org; Sat, 08 Nov 2025 14:42:37 -0500
Received: from lists.gnu.org ([2001:470:142::17]:40046)
by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
(Exim 4.84_2) (envelope-from <mail@HIDDEN>)
id 1vHopT-0000ax-1g
for submit <at> debbugs.gnu.org; Sat, 08 Nov 2025 14:42:34 -0500
Received: from eggs.gnu.org ([2001:470:142:3::10])
by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
(Exim 4.90_1) (envelope-from <mail@HIDDEN>)
id 1vHopE-000619-OZ
for bug-gnu-emacs@HIDDEN; Sat, 08 Nov 2025 14:42:21 -0500
Received: from server.qxqx.de ([2a01:4f8:c012:9177::1] helo=mail.qxqx.de)
by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
(Exim 4.90_1) (envelope-from <mail@HIDDEN>)
id 1vHopC-0007KC-2V
for bug-gnu-emacs@HIDDEN; Sat, 08 Nov 2025 14:42:16 -0500
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed;
d=daniel-mendler.de; s=key; h=Content-Type:MIME-Version:Message-ID:Date:
Subject:To:From:Sender:Reply-To:Cc:Content-Transfer-Encoding:Content-ID:
Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc
:Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe:
List-Subscribe:List-Post:List-Owner:List-Archive;
bh=i19Zhr30Q9oVnEH6VCW1im2ZVCMk/tr0rdiHK6rGL88=; b=o2mIEkrDTaPU7GDyc6MItJkvBa
nmO57hd/GnwjW2uK9U9w2Yxj3Yy3cr+7rGulu2ZXHiLfWJbaTVqhDWsmOMZJrk4s2IlBMl67NSG82
PNfsm2Sk07FO5t1wM7yQWKQ8uvPfuylnk7p13DGiC5+MeTmMfmja4kjlYzKVyexFLR1U=;
From: Daniel Mendler <mail@HIDDEN>
To: bug-gnu-emacs@HIDDEN
Subject: 31.0.50; elisp--company-doc-buffer replaces existing *Help* buffer
X-Debbugs-Cc: Dmitry Gutov <dmitry@HIDDEN>
Date: Sat, 08 Nov 2025 20:41:53 +0100
Message-ID: <87v7jkgvlq.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
Received-SPF: pass client-ip=2a01:4f8:c012:9177::1;
envelope-from=mail@HIDDEN; helo=mail.qxqx.de
X-Spam_score_int: -20
X-Spam_score: -2.1
X-Spam_bar: --
X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_PASS=-0.001,
SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: 0.9 (/)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.1 (/)
The function `elisp--company-doc-buffer' is provided by
`elisp-completion-at-point' as `:company-doc-buffer' metadata function.
The function looks up the documentation of a completion candidate and
returns the buffer with the documentation.
`elisp--company-doc-buffer' calls `describe-function',
`describe-variable' and similar functions to obtain the documentation.
The problem is that the *Help* buffer is reused for each of these calls.
If there is already a *Help* window open it will be replaced
unexpectedly if Corfu or Company requests completion candidate
documentation via the `:company-doc-buffer' function. This matters in
particular if the documentation is displayed in a popup
(`corfu-popupinfo-mode' or similar in Company).
A possible workaround is the following:
(advice-add #'elisp--company-doc-buffer
:around
(lambda (&rest app)
(cl-letf (((symbol-function #'help-buffer)
(lambda () (get-buffer-create " *elisp-doc-buffer*"))))
(apply app))))
In GNU Emacs 31.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version
3.24.49, cairo version 1.18.4) of 2025-11-08
Windowing system distributor 'The X.Org Foundation', version 11.0.12101016
System Description: Debian GNU/Linux 13 (trixie)
Configured using:
'configure --prefix=$HOME/.local/share/emacs
--without-compress-install --with-tree-sitter --with-native-compilation
--with-dbus --without-selinux --without-threads --disable-gc-mark-trace
--without-gsettings --without-gpm --with-cairo --with-cairo-xcb
--with-xinput2 --with-x-toolkit=gtk3 --without-toolkit-scroll-bars
'CFLAGS=-O3 -mtune=native -march=native''
Configured features:
CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS HARFBUZZ JPEG LIBOTF LIBSYSTEMD
LIBXML2 MODULES NATIVE_COMP NOTIFY INOTIFY PDUMPER PNG RSVG SECCOMP
SOUND SQLITE3 TIFF TREE_SITTER WEBP X11 XDBE XIM XINERAMA XINPUT2 XPM
XRANDR GTK3 ZLIB
Daniel Mendler <mail@HIDDEN>:dmitry@HIDDEN, bug-gnu-emacs@HIDDEN.
Full text available.dmitry@HIDDEN, bug-gnu-emacs@HIDDEN:bug#79792; Package emacs.
Full text available.
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.