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#38647: 26.3; image-next-file does not consider archived images Date: Tue, 04 Aug 2020 10:05:45 +0200 Message-ID: <87zh7au97q.fsf@gnus.org> References: <86pngno22c.fsf@gmail.com> <83d0cm53g0.fsf@gnu.org> <87d049js2w.fsf@gnus.org> <87d047cjzv.fsf@mail.linkov.net> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="25768"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: 38647@debbugs.gnu.org, ynyaaa@gmail.com To: Juri Linkov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Aug 04 10:06:12 2020 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 1k2rxc-0006by-1c for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 04 Aug 2020 10:06:12 +0200 Original-Received: from localhost ([::1]:36318 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1k2rxb-0001W1-2U for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 04 Aug 2020 04:06:11 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:48730) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k2rxS-0001Tp-WF for bug-gnu-emacs@gnu.org; Tue, 04 Aug 2020 04:06:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:35163) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1k2rxS-0005in-MO for bug-gnu-emacs@gnu.org; Tue, 04 Aug 2020 04:06:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1k2rxS-0005nd-Hj for bug-gnu-emacs@gnu.org; Tue, 04 Aug 2020 04:06: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: Tue, 04 Aug 2020 08:06:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 38647 X-GNU-PR-Package: emacs Original-Received: via spool by 38647-submit@debbugs.gnu.org id=B38647.159652835822282 (code B ref 38647); Tue, 04 Aug 2020 08:06:02 +0000 Original-Received: (at 38647) by debbugs.gnu.org; 4 Aug 2020 08:05:58 +0000 Original-Received: from localhost ([127.0.0.1]:46709 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k2rxO-0005nK-4O for submit@debbugs.gnu.org; Tue, 04 Aug 2020 04:05:58 -0400 Original-Received: from quimby.gnus.org ([95.216.78.240]:53112) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k2rxM-0005n4-NP for 38647@debbugs.gnu.org; Tue, 04 Aug 2020 04:05:57 -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=cEA0OsNew5Teo6sdBrkNjzaaIzTgMJZMmqN5Puz4eYI=; b=u9682sFZh+KJjXz7sfzhVVUf+b f/tv0G0ZzOtWJAZ4+yuQ3w2ZZvtCvx66TTg1zHSkw7uswv/Lr9CJVq01jOo5pzAup5+OmACbXZqlb nfVSbYzogsdbb4YjW0lR7UDYbHaw9Hp+c5WNzoTtGLQ7J75QgNftG2KOkntLYAIDKdvM=; Original-Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo) by quimby with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1k2rxD-0005XB-8C; Tue, 04 Aug 2020 10:05:50 +0200 In-Reply-To: <87d047cjzv.fsf@mail.linkov.net> (Juri Linkov's message of "Tue, 04 Aug 2020 02:50:12 +0300") 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:183969 Archived-At: Juri Linkov writes: > All this indicates that instead of using 'directory-files', > 'image-next-file' should rely on 'archive-next-line' if the file > is opened from an archive, and on 'dired-next-line' otherwise. `archive-next-line' isn't used in tar mode buffers -- that's the problem: There's no unified interface across the different archive modes. (Although perhaps there's just two? arc-mode and tar-mode? > When using 'dired-next-line' the image navigation order will be > exactly the same as the file sorting order in the dired buffer, > thus allowing the users to change the image order from dired. Yeah, that would be nice. > Also this means that if there is no corresponding dired buffer > already visited, then 'image-next-file' should create an internal > dired buffer just for the sake of file image navigation. Hm. I think that makes sense... but it would perhaps be a bit surprising? -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no