From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stephen Berman Newsgroups: gmane.emacs.bugs Subject: bug#49043: 27.1: ibuffer-toggle-filter-group [BUGFIX] Date: Sat, 19 Jun 2021 23:41:39 +0200 Message-ID: <877dipedm4.fsf@gmx.net> References: <20210615155231.75wevy3wtzu4vx7l@E15-2016.optimum.net> <87k0mvrto4.fsf@gnus.org> <20210615201851.jwnjx23qptp3agp7@E15-2016.optimum.net> <878s3aql10.fsf@gnus.org> <871r8zi7pj.fsf@gmx.net> <87bl81j1av.fsf@gmx.de> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="25963"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: Lars Ingebrigtsen , Boruch Baum , 49043@debbugs.gnu.org To: Michael Albinus Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Jun 19 23:42:11 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 1luijC-0006YQ-B9 for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 19 Jun 2021 23:42:10 +0200 Original-Received: from localhost ([::1]:47728 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1luijA-0001uy-SO for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 19 Jun 2021 17:42:08 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:55310) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1luij5-0001uX-45 for bug-gnu-emacs@gnu.org; Sat, 19 Jun 2021 17:42:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:49364) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1luij4-0000jo-TC for bug-gnu-emacs@gnu.org; Sat, 19 Jun 2021 17:42:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1luij4-0005JM-Db for bug-gnu-emacs@gnu.org; Sat, 19 Jun 2021 17:42:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stephen Berman Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 19 Jun 2021 21:42:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 49043 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 49043-submit@debbugs.gnu.org id=B49043.162413890820387 (code B ref 49043); Sat, 19 Jun 2021 21:42:02 +0000 Original-Received: (at 49043) by debbugs.gnu.org; 19 Jun 2021 21:41:48 +0000 Original-Received: from localhost ([127.0.0.1]:60910 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1luiiq-0005Ik-GG for submit@debbugs.gnu.org; Sat, 19 Jun 2021 17:41:48 -0400 Original-Received: from mout.gmx.net ([212.227.17.22]:55075) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1luiio-0005IT-HX for 49043@debbugs.gnu.org; Sat, 19 Jun 2021 17:41:47 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1624138900; bh=ZTDgNINnjBPr1YgDcnm6+xVe+bNdsUjAYfK5a2V8KU0=; h=X-UI-Sender-Class:From:To:Cc:Subject:References:Date:In-Reply-To; b=BUNfzIi0AG1Esl8MabUPfx272Ro7/iMXM4585sU/ov3i1XtJqhZ2cr6skVf5Ukvmx fal2XRgvJU5QDMWM2ypMbIdIyd167YV9cwH9SMbdR+qLDGzHRpcrKivBqvCVb7k72V cKtzVrbEOObYPoNTQ8RZSx1zWzVN28GSM4CwGwYA= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Original-Received: from strobelfs ([84.61.242.50]) by mail.gmx.net (mrgmx104 [212.227.17.168]) with ESMTPSA (Nemesis) id 1MVvPJ-1lkzRJ0cuz-00RmQi; Sat, 19 Jun 2021 23:41:40 +0200 In-Reply-To: <87bl81j1av.fsf@gmx.de> (Michael Albinus's message of "Sat, 19 Jun 2021 17:56:24 +0200") X-Provags-ID: V03:K1:jqIy7JbGJ2A5ZwDkTJAoW9AZ9guTMLxN6Pxz5gttIczmIEAHBNo rbAVnaPStEjoN7Gv2CoewstLL2i08rDxRw0D4miw1mW+YrWF3yXUoRsABjBTvFyuBef1k6X JNuhODHF1p9hQ0CaL45gNYBGVX5I+Gjz5l2CYyVyqPP84vbNseSR9uZTYtyKOh2tnggfyyB QK3DqB8PZf8OeWbiwF4ag== X-UI-Out-Filterresults: notjunk:1;V03:K0:AMkZl+ZjMUU=:4k6kLjLQP/ypclkkeb8+ng CvF8xZAEP47mElS1kegqwWkukWjaCFWIj8qu2jeznKHanxtTLpVfvyiW7cKwpANhEelNBwQWv KKQXM5vLKJvVUcvKu5VdEA+HSyV+DyHrL7DS+3l+NkL7/pg1jN19bvv82EN4GTyQdrT5WORVf Gd41At//FPOMzv+ZX2MUUBLdaBxdhq6OfiPVQ6KlINFortW7zffpPrtuStFHK2vR97GwJJyb2 QRYj6dBAPS8K7gBt8TQloY15dfm+OtC68eEkBxNQbVNM1rz/HEo6O4OZh43f2V1c5jrTRDygg 9+f/fRpO/yDUduFq+ipXIwGqcB/e8TR7rZR5zV6YGxSj7iSFN20+dcX4f6YXP5hNRnlmGJ8rq fvTaAZ2hKj1UtdsdeatErsMkV2S0N99+F9wQIuHCH0cWYL47fjqFWeVhIoEYRgi0/tqxoSqIQ 3LMRFxZv56hsaEGJt7xcEzmdob3j4QCIaacJTkF3nXxOOzyohScZUDbyNUm6x7il7E97nfZm1 61wxjGq1+PIVqL6Q9dxLOX9hgBwGr7waiqgDRQFroFqy5Rw08JLVumHwKHxnfcpp/N0xW+C87 9x2yOQGPxUfZfB+6GEljQLEPvezgI9NDQlqtMwO5N12Jpceqv1neU4LIqBnyN8vw5p+olRfBx Dedxxk6Mn0AA0I4motdHPnF8Htu1cXAB2R5T+wzzFMqzAPkOsJ0zljJeYZ019PrYR0RHkP1r5 gGRPie3KURBmMqzrNg+Ijo2bSt4eCCZxJviLP98Z90tdMZQZJvDmFpmW/AkAGckHfWdahep3 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:208772 Archived-At: On Sat, 19 Jun 2021 17:56:24 +0200 Michael Albinus = wrote: > Stephen Berman writes: > > Hi Steve, > >> I do. It's the result of an error being raised in Tramp. Here's the >> recipe (reliably reproducible on >> >> GNU Emacs 28.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.29, >> cairo version 1.17.4) of 2021-06-06 built on strobelfs=20 >> Repository revision: 218d2d1509673d8bc67014558a31f5d0da1be5c6 >> Repository branch: master >> Windowing system distributor 'The X.Org Foundation', version 11.0.120110= 00 >> Configured using: 'configure --with-native-compilation 'CFLAGS=3D-Og -g3= '' >> Configured features: ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS >> GSETTINGS HARFBUZZ JPEG LCMS2 LIBSYSTEMD LIBXML2 MODULES NATIVE_COMP >> NOTIFY INOTIFY PDUMPER PNG RSVG SECCOMP SOUND THREADS TIFF >> TOOLKIT_SCROLL_BARS X11 XDBE XIM XPM GTK3 ZLIB >> ): >> >> 0. emacs -Q >> 1. Create a nonempty ZIP file test.zip (content is irrelevant). >> 2. Visit the directory containing test.zip in Dired. >> 3. Type `M-x load-library RET dired-x RET'. >> 4. With point on the Dired line containing test.zip type `M-!', which >> prompts with "! on test.zip {3 guesses} [unzip]:" and type RET to >> execute unzip (this of course requires having the unzip program). >> 5. With point still on the test.zip line type `D' and at the prompt `y' >> to delete the ZIP file. >> =3D> This raises a file-error (see below), but the ZIP file is deleted. >> 6. Type `M-x ibuffer'. >> =3D> This raises the error "tramp-error: Method =E2=80=98archive=E2=80= =99 is not known." >> 7. In the *Ibuffer* buffer type `g'. >> =3D> This raises the error "ibuffer-current-state-list: Args out of rang= e: >> #, 280, 332".=20 > > Thanks for this. Apparently, it is the same error as bug#49030, I'll > merge both. A fix will follow soon, pls check whether it works for you. I rebuilt with your patch, and confirm it fixes the error in step 5 above, and hence the subsequent errors do not occur. Thanks! Since essentially my recipe was previously reported in bug#49030, I think that bug can be closed. But before closing bug#49043, perhaps Boruch Baum should chime in, since he only reported the problem in Ibuffer. I showed this can be triggered by the Tramp bug, but perhaps there are other triggers too, and if so some additional safeguard in Ibuffer such as what Lars suggested may be appropriate. Steve Berman