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#54826: 29.0.50; Prevent duplicate prompts when reconnecting in ERC Date: Sun, 10 Apr 2022 14:36:31 +0200 Message-ID: <8735ilqfn4.fsf__34687.7293007978$1649594243$gmane$org@gnus.org> References: <87pmlqgfvg.fsf@neverwas.me> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="38256"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) Cc: 54826@debbugs.gnu.org, emacs-erc@gnu.org To: "J.P." Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Apr 10 14:37:16 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 1ndWoe-0009nd-8N for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 10 Apr 2022 14:37:16 +0200 Original-Received: from localhost ([::1]:56056 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ndWoc-0002jz-RA for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 10 Apr 2022 08:37:14 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:59914) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ndWoQ-0002jT-Kt for bug-gnu-emacs@gnu.org; Sun, 10 Apr 2022 08:37:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:45797) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ndWoQ-0001Qa-Ap for bug-gnu-emacs@gnu.org; Sun, 10 Apr 2022 08:37:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ndWoQ-0005XX-88 for bug-gnu-emacs@gnu.org; Sun, 10 Apr 2022 08:37: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: Sun, 10 Apr 2022 12:37:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 54826 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 54826-submit@debbugs.gnu.org id=B54826.164959420421252 (code B ref 54826); Sun, 10 Apr 2022 12:37:02 +0000 Original-Received: (at 54826) by debbugs.gnu.org; 10 Apr 2022 12:36:44 +0000 Original-Received: from localhost ([127.0.0.1]:39688 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ndWo7-0005Wi-R5 for submit@debbugs.gnu.org; Sun, 10 Apr 2022 08:36:44 -0400 Original-Received: from quimby.gnus.org ([95.216.78.240]:52442) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ndWo6-0005WQ-PW for 54826@debbugs.gnu.org; Sun, 10 Apr 2022 08:36:43 -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:In-Reply-To:Date: References: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=xRWb9RCii9TPfoTPjr/m9OuJlC0jgGLYOy1I6fiB+2s=; b=LL289xcX4iTkzPQDEl0vFtck5x EjOZgChv0uNIQ1aSFlpDx9crlEvQ2pMKye9y+kQcLHFOozkNTj2WMUepaqwDJ3becByHO/cOStmdA 1C/frqbGPCyn/RMkC3Z/+BKeAA95ez+mX/5AwqMQIjKC4MEk3SvK7mHkkRScTglB3jxY=; Original-Received: from [84.212.220.105] (helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ndWnx-0006Vj-Sq; Sun, 10 Apr 2022 14:36:36 +0200 X-Now-Playing: Arto Lindsay's _Cuidado Madame_: "Tangles" In-Reply-To: <87pmlqgfvg.fsf@neverwas.me> (J. P.'s message of "Sat, 09 Apr 2022 13:29:23 -0700") 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:229655 Archived-At: "J.P." writes: > The proposed patch leverages a long abandoned option called > `erc-hide-prompt' to help address both these concerns. Makes sense to me. > 1. Currently, channels and queries are lumped together as 'target'. What > about changing the shape of the option to a set of {'server', > 'channel', 'query'} in a union with t for "all of the above" (to > preserve compatibility)? Sure. > Is overloading the "prompt hidden" indicator with multiple meanings > too distracting? (Currently, it means both "disconnected" and > "physically connected but possibly not resumable".) Should we instead > just reveal the prompt for all queries upon reconnecting, even though > it may not be possible to continue certain conversations? Would it be > worth accommodating both behaviors via yet another knob (or perhaps > different 'query' variants, when going with 1, above)? I think a new knob would be probably be preferable. > 2. Right now, the prompt looks like this when hidden: > > n-1 | *** ERC finished *** [04:30] > n | >_ > > Where _ is the cursor at point max. Should we leave a space after the > ">"? I think having a space there would be good. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no