VM

wishlist: save-all-attachments with only one file and specifying file name

Bug #611855 reported by mere user
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
VM
Fix Released
Wishlist
Uday Reddy

Bug Description

this may be silly, so please feel free to ignore... suppose I am reading a message with a single attachment, and I want to save it under some name. I hit C-C C-S and am asked for the attachment directory. I then specify the directory as well as a new file name I want this to be saved under, as opposed to be actual file name of the attachment. VM interprets this as a directory name and creates it, saving the attachment in that directory under its actual name. I was wondering if in a case like this, with only a single attachment, it might make sense to save under the specified name rather than create a new directory. I realize there are commands for just saving a single attachment under a name ($s), but C-CC-S is convenient... cheers, E

Tags: mime

Related branches

Revision history for this message
Uday Reddy (reddyuday) wrote : Re: [Bug 611855] [NEW] wishlist: save-all-attachments with only one file and specifying file name

I can understand that it is convenient. $s is a pain to use...

But the non-uniformity between single attachment and multiple
attachments is quite undesirable.

How about prompting for file names for all attachments? Or, make
another command that prompts for file names?

Cheers,
Uday

Changed in vm:
status: New → Confirmed
importance: Undecided → Wishlist
tags: added: mime
Changed in vm:
milestone: none → 8.1.93a
Revision history for this message
mere user (emacs-user) wrote : RE: [Bug 611855] Re: wishlist: save-all-attachments with only one file and specifying file name

perhaps an option that allows for this behavior, which the user can activate?  I feel like a spoiled child suggesting this...  :)  E

----------------------------------------
> Date: Fri, 30 Jul 2010 22:27:38 +0000
> From: <email address hidden>
> To: <email address hidden>
> Subject: [Bug 611855] Re: wishlist: save-all-attachments with only one file and specifying file name
>
> I can understand that it is convenient. $s is a pain to use...
>
> But the non-uniformity between single attachment and multiple
> attachments is quite undesirable.
>
> How about prompting for file names for all attachments? Or, make
> another command that prompts for file names?
>
> Cheers,
> Uday
>
> ** Changed in: vm
> Status: New => Confirmed
>
> ** Changed in: vm
> Importance: Undecided => Wishlist
>
> ** Tags added: mime
>
> ** Changed in: vm
> Milestone: None => 8.1.93a
>
> --
> wishlist: save-all-attachments with only one file and specifying file name
> https://bugs.launchpad.net/bugs/611855
> You received this bug notification because you are a direct subscriber
> of the bug.
>
> Status in VM (View Mail) for Emacs: Confirmed
>
> Bug description:
> this may be silly, so please feel free to ignore... suppose I am reading a message with a single attachment, and I want to save it under some name. I hit C-C C-S and am asked for the attachment directory. I then specify the directory as well as a new file name I want this to be saved under, as opposed to be actual file name of the attachment. VM interprets this as a directory name and creates it, saving the attachment in that directory under its actual name. I was wondering if in a case like this, with only a single attachment, it might make sense to save under the specified name rather than create a new directory. I realize there are commands for just saving a single attachment under a name ($s), but C-CC-S is convenient... cheers, E
>
> To unsubscribe from this bug, go to:
> https://bugs.launchpad.net/vm/+bug/611855/+subscribe

Revision history for this message
John Hein (xpqheqdvq4) wrote :

In the spirit of other non-default behavior in emacs: C-u C-C C-S?

Revision history for this message
mere user (emacs-user) wrote :

nice idea, perhaps a question in case the attachment directory does not exist "directory does not exist, create it?"

> From: xpqheqdv...
>
> In the spirit of other non-default behavior in emacs: C-u C-C C-S?
>
> --
> wishlist: save-all-attachments with only one file and specifying file name
> https://bugs.launchpad.net/bugs/611855

Revision history for this message
Uday Reddy (reddyuday) wrote : RE: [Bug 611855] Re: wishlist: save-all-attachments with only one file and specifying file name

Ok, good suggestions:

- The directory creation is confirmed with the user.

- Adding a C-u prefix asks for file names instead of using the
original file names of attachments.

Did I get it right?

Cheers,
Uday

Revision history for this message
mere user (emacs-user) wrote : RE: [Bug 611855] Re: wishlist: save-all-attachments with only one file and specifying file name

sounds almost too good to be true to me....  thanks!  it's getting hard to come up with ideas for improvements at this stage, VM is just too perfect. :) E

----------------------------------------
> Date: Sat, 31 Jul 2010 14:39:34 +0000
> From: <email address hidden>
> To: <email address hidden>
> Subject: RE: [Bug 611855] Re: wishlist: save-all-attachments with only one file and specifying file name
>
> Ok, good suggestions:
>
> - The directory creation is confirmed with the user.
>
> - Adding a C-u prefix asks for file names instead of using the
> original file names of attachments.
>
> Did I get it right?
>
> Cheers,
> Uday
>
> --
> wishlist: save-all-attachments with only one file and specifying file name
> https://bugs.launchpad.net/bugs/611855
> You received this bug notification because you are a direct subscriber
> of the bug.
>
> Status in VM (View Mail) for Emacs: Confirmed
>
> Bug description:
> this may be silly, so please feel free to ignore... suppose I am reading a message with a single attachment, and I want to save it under some name. I hit C-C C-S and am asked for the attachment directory. I then specify the directory as well as a new file name I want this to be saved under, as opposed to be actual file name of the attachment. VM interprets this as a directory name and creates it, saving the attachment in that directory under its actual name. I was wondering if in a case like this, with only a single attachment, it might make sense to save under the specified name rather than create a new directory. I realize there are commands for just saving a single attachment under a name ($s), but C-CC-S is convenient... cheers, E
>
> To unsubscribe from this bug, go to:
> https://bugs.launchpad.net/vm/+bug/611855/+subscribe

Revision history for this message
Uday Reddy (reddyuday) wrote : RE: [Bug 611855] Re: wishlist: save-all-attachments with only one file and specifying file name

mere user writes:

>
> sounds almost too good to be true to me....  thanks!  it's getting
> hard to come up with ideas for improvements at this stage, VM is
> just too perfect. :) E

Oh, don't thank me yet. It is still to be implemented. I was just
checking what the fix involves... But it shouldn't be too hard.

Cheers,
Uday

Uday Reddy (reddyuday)
Changed in vm:
assignee: nobody → Uday Reddy (reddyuday)
Revision history for this message
Uday Reddy (reddyuday) wrote :

Eli, I added a new command `vm-save-attachments' which does what you want. You can bind it to C-c C-s, if you would like. Please let me know if it works all right.

It wasn't possible to add a C-u argument to the older command because it already uses a numeric count argument.

Changed in vm:
status: Confirmed → Fix Committed
Revision history for this message
mere user (emacs-user) wrote : RE: [Bug 611855] Re: wishlist: save-all-attachments with only one file and specifying file name

thanks, I am trying it now... Eli

> Date: Tue, 10 Aug 2010 23:07:49 +0000
> From: <email address hidden>
> To: <email address hidden>
> Subject: [Bug 611855] Re: wishlist: save-all-attachments with only one file and specifying file name
>
> Eli, I added a new command `vm-save-attachments' which does what you
> want. You can bind it to C-c C-s, if you would like. Please let me
> know if it works all right.
>
> It wasn't possible to add a C-u argument to the older command because it
> already uses a numeric count argument.
>
> --
> wishlist: save-all-attachments with only one file and specifying file name
> https://bugs.launchpad.net/bugs/611855
> You received this bug notification because you are a direct subscriber
> of the bug.
>
> Status in VM (View Mail) for Emacs: Fix Committed
>
> Bug description:
> this may be silly, so please feel free to ignore... suppose I am reading a message with a single attachment, and I want to save it under some name. I hit C-C C-S and am asked for the attachment directory. I then specify the directory as well as a new file name I want this to be saved under, as opposed to be actual file name of the attachment. VM interprets this as a directory name and creates it, saving the attachment in that directory under its actual name. I was wondering if in a case like this, with only a single attachment, it might make sense to save under the specified name rather than create a new directory. I realize there are commands for just saving a single attachment under a name ($s), but C-CC-S is convenient... cheers, E
>
> To unsubscribe from this bug, go to:
> https://bugs.launchpad.net/vm/+bug/611855/+subscribe

Uday Reddy (reddyuday)
Changed in vm:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.