From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.bugs Subject: bug#5270: 23.1.90; `image-dired-dired-insert-marked-thumbs' doesn't toggle thumbs visibility Date: Mon, 28 Dec 2009 12:35:21 +0200 Organization: JURTA Message-ID: <87hbrbv3ty.fsf@mail.jurta.org> References: <87hbrfh18h.fsf@tux.homenetwork> Reply-To: Juri Linkov , 5270@debbugs.gnu.org NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1261998491 1683 80.91.229.12 (28 Dec 2009 11:08:11 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 28 Dec 2009 11:08:11 +0000 (UTC) Cc: 5270@debbugs.gnu.org To: Thierry Volpiatto Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Dec 28 12:08:03 2009 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1NPDSF-0003Ak-0z for geb-bug-gnu-emacs@m.gmane.org; Mon, 28 Dec 2009 12:08:03 +0100 Original-Received: from localhost ([127.0.0.1]:46386 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NPDSF-0001II-8s for geb-bug-gnu-emacs@m.gmane.org; Mon, 28 Dec 2009 06:08:03 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NPDS9-0001I7-NB for bug-gnu-emacs@gnu.org; Mon, 28 Dec 2009 06:07:57 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NPDRz-0001Gs-HF for bug-gnu-emacs@gnu.org; Mon, 28 Dec 2009 06:07:56 -0500 Original-Received: from [199.232.76.173] (port=57390 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NPDRz-0001Gp-DE for bug-gnu-emacs@gnu.org; Mon, 28 Dec 2009 06:07:47 -0500 Original-Received: from [140.186.70.43] (port=38453 helo=debbugs.gnu.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1NPDRz-0003EU-A9 for bug-gnu-emacs@gnu.org; Mon, 28 Dec 2009 06:07:47 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1NPDKY-0001nP-PP; Mon, 28 Dec 2009 06:00:06 -0500 X-Loop: bug-gnu-emacs@gnu.org Mail-Followup-To: Juri Linkov , 5270@debbugs.gnu.org Resent-From: Juri Linkov Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 28 Dec 2009 11:00:06 +0000 Resent-Message-ID: Resent-Sender: bug-gnu-emacs@gnu.org X-Emacs-PR-Message: followup 5270 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by 5270-submit@debbugs.gnu.org id=B5270.12619979806861 (code B ref 5270); Mon, 28 Dec 2009 11:00:06 +0000 Original-Received: (at 5270) by debbugs.gnu.org; 28 Dec 2009 10:59:40 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NPDK7-0001mc-PW for submit@debbugs.gnu.org; Mon, 28 Dec 2009 05:59:39 -0500 Original-Received: from smtp-out3.starman.ee ([85.253.0.5] helo=mx1.starman.ee) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NPDK5-0001mW-HS for 5270@debbugs.gnu.org; Mon, 28 Dec 2009 05:59:38 -0500 X-Virus-Scanned: by Amavisd-New at mx1.starman.ee Original-Received: from mail.starman.ee (82.131.30.98.cable.starman.ee [82.131.30.98]) by mx1.starman.ee (Postfix) with ESMTP id CB0673F40B0; Mon, 28 Dec 2009 12:59:27 +0200 (EET) In-Reply-To: <87hbrfh18h.fsf@tux.homenetwork> (Thierry Volpiatto's message of "Fri, 25 Dec 2009 10:06:06 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.90 (x86_64-pc-linux-gnu) X-Spam-Score: -3.6 (---) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list X-Spam-Score: -3.6 (---) Resent-Date: Mon, 28 Dec 2009 06:00:06 -0500 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) 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: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:33791 Archived-At: > Hi, when hitting C-t t in dired `image-dired-dired-insert-marked-thumbs' > doesnt toggle visibility of thumbs. > To do that, once thumbs are visible we have to kill the dired buffer and > reopen it again. The command `image-dired-dired-insert-marked-thumbs' was designed only to insert thumbnails. I agree it would be nice to improve it to allow also to remove thumbnails with a change like you propose. However, currently I'm not sure what would be the best user interface for this. You propose that `C-t C-t' will toggle thumbnails for marked files. Another option would be to synchronize thumbnails with marks, i.e. typing `C-t C-t' will add thumbnails to marked files, and remove thumbnails from unmarked files. That's for my typical workflow of using this command: I usually mark some files and type `C-t C-t' to display thumbnails. Later I mark more files and type `C-t C-t' again to display more thumbnails, and so on. Toggling like you proposed would hide previous thumbnails on marked files that is undesirable. But OTOH I could unmark all files before adding more thumbnails. -- Juri Linkov http://www.jurta.org/emacs/