From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/76606 Path: news.gmane.org!not-for-mail From: Eric Abrahamsen Newsgroups: gmane.emacs.gnus.general Subject: Re: gnus-summary-save-parts enhancement Date: Sun, 13 Feb 2011 00:25:51 +0800 Message-ID: <871v3d8bjk.fsf@ericabrahamsen.net> References: <87wrl7dhel.fsf@gmail.com> <87hbcbq2i1.fsf@keller.adm.naquadah.org> <878vxm9cc7.fsf@ericabrahamsen.net> <87k4h5wnmb.fsf@gmail.com> <87ipwp8oec.fsf@ericabrahamsen.net> <87aai1sb7c.fsf@gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: dough.gmane.org 1297528015 13916 80.91.229.12 (12 Feb 2011 16:26:55 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 12 Feb 2011 16:26:55 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M24949@lists.math.uh.edu Sat Feb 12 17:26:50 2011 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PoIJ7-0008IT-To for ding-account@gmane.org; Sat, 12 Feb 2011 17:26:50 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1PoIIZ-0005rs-4A; Sat, 12 Feb 2011 10:26:15 -0600 Original-Received: from mx1.math.uh.edu ([129.7.128.32]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1PoIIX-0005ra-L1 for ding@lists.math.uh.edu; Sat, 12 Feb 2011 10:26:13 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtp (Exim 4.72) (envelope-from ) id 1PoIIU-00077b-UN for ding@lists.math.uh.edu; Sat, 12 Feb 2011 10:26:12 -0600 Original-Received: from lo.gmane.org ([80.91.229.12]) by quimby.gnus.org with esmtp (Exim 4.72) (envelope-from ) id 1PoIIR-0001iD-WA for ding@gnus.org; Sat, 12 Feb 2011 17:26:08 +0100 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1PoIIR-0007yY-UW for ding@gnus.org; Sat, 12 Feb 2011 17:26:07 +0100 Original-Received: from 123.121.195.205 ([123.121.195.205]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 12 Feb 2011 17:26:07 +0100 Original-Received: from eric by 123.121.195.205 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 12 Feb 2011 17:26:07 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 29 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: 123.121.195.205 User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.2 (gnu/linux) Cancel-Lock: sha1:TLU62Vu+qT/J4nX679/0p6/QUfU= X-Spam-Score: -0.7 (/) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:76606 Archived-At: On Sat, Feb 12 2011, Antoine Levitt wrote: > 12/02/11 12:48, Eric Abrahamsen >>>> When I try to save or delete-and-save an attachment the same >>>> thing happens that used to happen: it finds a file instead of a >>>> directory, and I need to cancel out of ido mode altogether with C-f in >>>> order to save to a directory. Anything else that needs to be done to >>>> make this work? >>> >>> I can't think of a reason why this would not work. Can you find out >>> where the prompt is coming from? M-x toggle-debug-on-quit and C-g inside >>> the prompt should do the trick. >> >> This is after going into a summary buffer and hitting "K o" on a message >> with an attachment. That's bound to gnus-article-save-part, so I guess >> the reason it's not working is because it's not calling >> gnus-summary-save-parts at all! What should be getting called here? > > Ah, then it's normal. You've got X m, which is gnus-summary-save-parts, > and saves multiple files (therefore expects a directory), and K o which > is gnus-article-save-part, and saves just one part (therefore expects a > file). Using read-directory-name for gnus-article-save-part would break > autocompletion in case you want to save to an existing file. I see the problem… I can't be bothered to hack anything (and deal with the results), so I guess I'll live with the current behavior! Thanks, Eric