Article View: gnu.emacs.vm.bug
Article #229vm-reply-include-presentation present as variable in vm-reply but defined only in rf-addons
From: 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))
Technical Details
Message-ID:
<m2vdffzphf.fsf@consult.pretender>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!proxad.net!feeder1-2.proxad.net!feeder.erje.net!feeder.eternal-september.org!eternal-september.org!.POSTED!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Thread: a16957f451,454d7fb2f9c30afc,start X-Google-Attributes: gida16957f451,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII-7-bit Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!proxad.net!feeder1-2.proxad.net!feeder.erje.net!feeder.eternal-september.org!eternal-september.org!.POSTED!not-for-mail From: blueman <NOSPAM@nospam.com> Newsgroups: gnu.emacs.vm.bug Subject: vm-reply-include-presentation present as variable in vm-reply but defined only in rf-addons Date: Wed, 06 Jan 2010 02:01:16 -0500 Organization: A noiseless patient Spider Lines: 36 Message-ID: <m2vdffzphf.fsf@consult.pretender> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Injection-Date: Wed, 6 Jan 2010 07:01:16 +0000 (UTC) Injection-Info: feeder.eternal-september.org; posting-host="o0xooYC/dlyFpPxuXQpbEw"; logging-data="30322"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+ji3LxVApEBcgOCO1rjaiXjkWa4I5DeQI=" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) Cancel-Lock: sha1:xUp8OGLL3E+5Y6pCkhZ9kx0f8ms= sha1:yGN2Z64EYtZNSPdoM7829XS0Te8=