🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.emacs.vm.bug
Article #613

Re: MIME object commands in presentation buffer not documented

#613
From: Kevin Rodgers
Date: Thu, 06 May 2004 17:06
69 lines
3572 bytes
In message <3FAA9EFB.90504@yahoo.com> I wrote:
 > Of the 9 `$ KEY' sequences bound in vm-mime-reader-map to vm-mime-*
 > commands, only 2 have doc strings and only 6 are listed under "$ -
 > prefix for MIME commands" in the doc string for vm-presentation-mode.
 >
 > I think all 9 vm-mime-* commands (plus vm-mime-run-display-function-
 > at-point, bound to `RET') should have doc strings and be listed in a
 > sensible order by `C-h m' (just like by <mouse-3>).  Here's a patch:

Here's an additional patch to add the one command missing from the
<mouse-3> popup menu (it also changes a few menu items to match the
underlying VM commands more closely):


*** vm-7.18/vm-menu.el.orig	Tue May 27 21:18:32 2003
--- vm-7.18/vm-menu.el	Thu May  6 10:47:19 2004
***************
*** 376,382 ****
   			 "---")
   		 (list "Take Action on MIME body ..."))))
       `(,@title
!       ["Display as Text using Default Face"
          (vm-mime-run-display-function-at-point
   	'vm-mime-display-body-as-text) t]
         ["Display using External Viewer"
--- 376,382 ----
   			 "---")
   		 (list "Take Action on MIME body ..."))))
       `(,@title
!       ["Display as Text (in default face)"
          (vm-mime-run-display-function-at-point
   	'vm-mime-display-body-as-text) t]
         ["Display using External Viewer"
***************
*** 410,422 ****
   		 
	    (car (vm-mm-layout-type layout))))))]
         ["Send to Printer" (vm-mime-run-display-function-at-point
   			  'vm-mime-send-body-to-printer) t]
!       ["Feed to Shell Pipeline (display output)"
          (vm-mime-run-display-function-at-point
   	'vm-mime-pipe-body-to-queried-command) t]
!       ["Feed to Shell Pipeline (discard output)"
          (vm-mime-run-display-function-at-point
   	'vm-mime-pipe-body-to-queried-command-discard-output) t]
!       ["Delete object" vm-delete-mime-object t])))

   (defvar vm-menu-url-browser-menu
     (let ((title (if (vm-menu-fsfemacs19-menus-p)
--- 410,424 ----
   		 
	    (car (vm-mm-layout-type layout))))))]
         ["Send to Printer" (vm-mime-run-display-function-at-point
   			  'vm-mime-send-body-to-printer) t]
!       ["Pipe to Shell Command (display output)"
          (vm-mime-run-display-function-at-point
   	'vm-mime-pipe-body-to-queried-command) t]
!       ["Pipe to Shell Command (discard output)"
          (vm-mime-run-display-function-at-point
   	'vm-mime-pipe-body-to-queried-command-discard-output) t]
!       ["Attach to Message Composition Buffer"
!        vm-mime-attach-object-from-message t]
!       ["Delete" vm-delete-mime-object t])))

   (defvar vm-menu-url-browser-menu
     (let ((title (if (vm-menu-fsfemacs19-menus-p)

-- 
Kevin Rodgers
Technical Details
Message-ID: <409A7096.9090601@yahoo.com>
Path: arc1-ca.pugleaf.net!controlnews3.google.com!news2.google.com!fu-berlin.de!uni-berlin.de!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f6829,9c67d49e259758ac,start
X-Google-Attributes: gidf6829,public
Path: arc1-ca.pugleaf.net!controlnews3.google.com!news2.google.com!fu-berlin.de!uni-berlin.de!not-for-mail
From: Kevin Rodgers <ihs_4664@yahoo.com>
Newsgroups: gnu.emacs.vm.bug
Subject: Re: MIME object commands in presentation buffer not documented
Date: Thu, 06 May 2004 11:06:30 -0600
Lines: 70
Message-ID: <409A7096.9090601@yahoo.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
X-Complaints-To: http://news.individual.net/abuse.html
X-Trace: news.uni-berlin.de L2U+JGGdw7LcrRecZ5wU5QdhHfV6x6z2VGuF5fmXXzL2gr7Q0=
User-Agent: Mozilla/5.0 (X11; U; SunOS i86pc; en-US; rv:0.9.4.1) Gecko/20020406 Netscape6/6.2.2
X-Accept-Language: en-us