Thread View: gnu.emacs.vm.bug
3 messages
3 total messages
Started by blueman
Wed, 06 Jan 2010 07:01
vm-reply-include-presentation present as variable in vm-reply but defined only in rf-addons
Author: blueman
Date: Wed, 06 Jan 2010 07:01
Date: Wed, 06 Jan 2010 07:01
36 lines
2449 bytes
2449 bytes
It seems that Robert (or others) only partially transferred his very
helpful code to extend yanking to allow yanking the presentation buffer.
The following code (and at a minimum the defvar) should be copied over
to core:
Note the line:
This does only work with my modified VM, i.e. a hacked `vm-yank-message'."
Can be removed since the modified vm-yank-message is now part of
vm-reply
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
(defvar vm-reply-include-presentation nil)
;;;###autoload
(defun vm-reply-include-presentation (count &optional to-all)
"Include presentation instead of text.
This does only work with my modified VM, i.e. a hacked `vm-yank-message'."
(interactive "p")
(vm-follow-summary-cursor)
(vm-select-folder-buffer)
(vm-check-for-killed-summary)
(vm-error-if-folder-empty)
(if (null vm-presentation-buffer)
(if to-all
(vm-followup-include-text count)
(vm-reply-include-text count))
(let ((vm-reply-include-presentation t))
(vm-do-reply to-all t count))))
;;;###autoload
(defun vm-followup-include-presentation (count)
"Include presentation instead of text.
This does not work when replying to multiple messages."
(interactive "p")
(vm-reply-include-presentation count t))
Re: vm-reply-include-presentation present as variable in vm-reply but defined only in rf-addons
Author: Uday S Reddy
Date: Wed, 06 Jan 2010 11:51
Date: Wed, 06 Jan 2010 11:51
17 lines
1826 bytes
1826 bytes
blueman wrote: > It seems that Robert (or others) only partially transferred his very > helpful code to extend yanking to allow yanking the presentation buffer. > > The following code (and at a minimum the defvar) should be copied over > to core: People have reported that Robert's code was including more than the current message, even the entire mail box, in the yanked text. This is a potential *security flaw* because confidential information can be leaked. I am advising people to leave vm-reply-include-presentation at its default value of nil. Or, if you change it, be very watchful! Cheers, Uday
Re: vm-reply-include-presentation present as variable in vm-reply but defined only in rf-addons
Author: Uday S Reddy
Date: Wed, 06 Jan 2010 12:01
Date: Wed, 06 Jan 2010 12:01
5 lines
1303 bytes
1303 bytes
The release 8.1.1 will have my code for including presentation text, which I will take responsibility for. Cheers, Uday
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads