← Back to team overview

vm team mailing list archive

[Bug 317862] Re: After deleting mime attachment, cursor jumps to beginning of buffer

 

Looks like somebody noticed this problem before and inserted a hack:
remember the "deleted" label that will replace the MIME object and
position the cursor at the label again.  That is an easy work around,
except that it doesn't work if the user changes the format of the MIME
buttons.  Then we can't "guess" the label any more.  It all seems to be
a mess.  A cleaner solution  is needed.

-- 
After deleting mime attachment, cursor jumps to beginning of buffer
https://bugs.launchpad.net/bugs/317862
You received this bug notification because you are a member of VM
development team, which is the registrant for VM (defunct).

Status in VM - Goto http://launchpad.net/vm for active development: Confirmed
Status in VM (View Mail) for Emacs: Confirmed

Bug description:
I think the summary line says it all.  This behavior has been introduced some time summer 2008, as far as I remember.  Before, the cursor would stay on the deleted attachment.

The new behavior is very inconvenient when deleting several attachment from a long email.  

Of course, it would be very nice if there was a command for saving and deleting multiple attachments, then this would not be so much of an issue.  I notice that there is already some code in the bug tracker which might be nice to integrate:

https://bugs.launchpad.net/bugs/179735