From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Emanuel Berg via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs,gmane.emacs.erc.general Subject: bug#46339: 28.0.50; ERC likely bug with `erc-previous-command' Date: Sat, 20 Feb 2021 03:35:44 +0100 Message-ID: <87zgzzlb3z.fsf@zoho.eu> References: <87im75u2cu.fsf@zoho.eu> <87wnvivmva.fsf@neverwas.me> Reply-To: Emanuel Berg Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="15865"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: emacs-erc@gnu.org To: 46339@debbugs.gnu.org Cancel-Lock: sha1:n5KeEHxUL/xG7ls/j76oNUquHKs= Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Feb 20 03:37:09 2021 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 1lDI8r-00040O-Py for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 20 Feb 2021 03:37:09 +0100 Original-Received: from localhost ([::1]:34882 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lDI8q-0003cz-I1 for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 19 Feb 2021 21:37:08 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:35028) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lDI8k-0003cg-M4 for bug-gnu-emacs@gnu.org; Fri, 19 Feb 2021 21:37:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:39167) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lDI8k-0003AL-EU for bug-gnu-emacs@gnu.org; Fri, 19 Feb 2021 21:37:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lDI8k-0005mu-9G for bug-gnu-emacs@gnu.org; Fri, 19 Feb 2021 21:37:02 -0500 X-Loop: help-debbugs@gnu.org In-Reply-To: <87im75u2cu.fsf@zoho.eu> Resent-From: Emanuel Berg Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 20 Feb 2021 02:37:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 46339 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.161378856622184 (code B ref -1); Sat, 20 Feb 2021 02:37:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 20 Feb 2021 02:36:06 +0000 Original-Received: from localhost ([127.0.0.1]:50713 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lDI7p-0005lj-SE for submit@debbugs.gnu.org; Fri, 19 Feb 2021 21:36:06 -0500 Original-Received: from lists.gnu.org ([209.51.188.17]:36492) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lDI7m-0005la-DZ for submit@debbugs.gnu.org; Fri, 19 Feb 2021 21:36:05 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:34928) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lDI7m-0003ak-6W for bug-gnu-emacs@gnu.org; Fri, 19 Feb 2021 21:36:02 -0500 Original-Received: from ciao.gmane.io ([116.202.254.214]:55358) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lDI7k-0002cT-Ig for bug-gnu-emacs@gnu.org; Fri, 19 Feb 2021 21:36:01 -0500 Original-Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1lDI7h-0002m8-80 for bug-gnu-emacs@gnu.org; Sat, 20 Feb 2021 03:35:57 +0100 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: bug-gnu-emacs@gnu.org Original-Followup-To: gmane.emacs.bugs,gmane.emacs.erc.general Mail-Copies-To: never Received-SPF: pass client-ip=116.202.254.214; envelope-from=geb-bug-gnu-emacs@m.gmane-mx.org; helo=ciao.gmane.io X-Spam_score_int: -16 X-Spam_score: -1.7 X-Spam_bar: - X-Spam_report: (-1.7 / 5.0 requ) BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.249, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action 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:200391 gmane.emacs.erc.general:1506 Archived-At: J.P. wrote: >> what does that mean? `erc-next-command' works so a bug is >> perhaps likely. > > I think it's expecting an erc-input struct object, as passed > by the hook erc-pre-send-functions. > > Would something like the following work? Sorry for the delay. I didn't know how to apply the patch. Got help from #erc [last] And it works! Bug gone! Great job General Purpose! (Jeep :)) J.P. My #3 ERC bug - I'm rolling. Now when I know how to apply patches, ikr? the sky is the limit :) So, accept the patch already :P [how to apply a patch] Emacs source root: $ patch -p1 < PATCH Then byte-compile: $ emacs --batch -f batch-byte-compile FILES -- underground experts united http://user.it.uu.se/~embe8573 https://dataswamp.org/~incal