Quoth Mark Walters on Jan 18 at 10:46 am:
>
> > > +(defun notmuch-show-view-part (message-id nth filename
> > > content-type )
> > > + (notmuch-with-temp-part-buffer message-id nth
> > > +;; set mm-inlined-types to nil to force an external viewer
> > > +(let ((handle (mm-make-handle
> > +(defun notmuch-show-view-part (message-id nth filename
> > content-type )
> > + (notmuch-with-temp-part-buffer message-id nth
> > +;; set mm-inlined-types to nil to force an external viewer
> > +(let ((handle (mm-make-handle (current-buffer) (list content-type)))
> > +
On Tue, 17 Jan 2012 23:44:46 +, Mark Walters
wrote:
> Define a keymap for attachment buttons to allow multiple actions.
> Define 3 possible actions:
> save attachment: exactly as currently,
> view attachment: uses mailcap entry,
> view attachment with user chosen program
>
>
> Oof, sorry. Two more tweaks that I really should have caught in the
> previous version. After that this gets my automatic +1.
Both fixed. I have also fixed the bug I mentioned (missing filename when
"view" falls back on save); I couldn't make it work with the
"no-default" option. However
+(defun notmuch-show-view-part (message-id nth optional filename
content-type )
+ (notmuch-with-temp-part-buffer message-id nth
+;; set mm-inlined-types to nil to force an external viewer
+(let ((handle (mm-make-handle (current-buffer) (list content-type)))
+
Quoth Mark Walters on Jan 18 at 10:46 am:
+(defun notmuch-show-view-part (message-id nth optional filename
content-type )
+ (notmuch-with-temp-part-buffer message-id nth
+;; set mm-inlined-types to nil to force an external viewer
+(let ((handle (mm-make-handle
Define a keymap for attachment buttons to allow multiple actions.
Define 3 possible actions:
save attachment: exactly as currently,
view attachment: uses mailcap entry,
view attachment with user chosen program
Keymap on a button is: s for save, v for view and o for view with
other
Quoth Mark Walters on Jan 18 at 12:40 am:
>
> > Oof, sorry. Two more tweaks that I really should have caught in the
> > previous version. After that this gets my automatic +1.
>
> Both fixed. I have also fixed the bug I mentioned (missing filename when
> "view" falls back on save); I couldn't
Quoth Mark Walters on Jan 17 at 11:44 pm:
> Define a keymap for attachment buttons to allow multiple actions.
> Define 3 possible actions:
> save attachment: exactly as currently,
> view attachment: uses mailcap entry,
> view attachment with user chosen program
>
> Keymap on a button
Define a keymap for attachment buttons to allow multiple actions.
Define 3 possible actions:
save attachment: exactly as currently,
view attachment: uses mailcap entry,
view attachment with user chosen program
Keymap on a button is: s for save, v for view and o for view with
other
Quoth Mark Walters on Jan 17 at 11:44 pm:
Define a keymap for attachment buttons to allow multiple actions.
Define 3 possible actions:
save attachment: exactly as currently,
view attachment: uses mailcap entry,
view attachment with user chosen program
Keymap on a button is: s
Oof, sorry. Two more tweaks that I really should have caught in the
previous version. After that this gets my automatic +1.
Both fixed. I have also fixed the bug I mentioned (missing filename when
view falls back on save); I couldn't make it work with the
no-default option. However
Quoth Mark Walters on Jan 18 at 12:40 am:
Oof, sorry. Two more tweaks that I really should have caught in the
previous version. After that this gets my automatic +1.
Both fixed. I have also fixed the bug I mentioned (missing filename when
view falls back on save); I couldn't make it
13 matches
Mail list logo