🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Menu problems with RobF's version of VM

#536
From: Piet van Oostrum
Date: Thu, 04 Jan 2007 11:49
26 lines
2346 bytes
I am using the VM version as patched by Robert Widhopf-Fenk on FSF Emacs
(22.0.92) and I am having a couple of problems with menus.

First on an incoming message with a Mime attachment Mouse button 3 gives
the wrong menu (Fiddle with attachment instead of Take Action on MIME
body). I found the cause for this in vm-mime.el (vm-mime-insert-button):

      (put-text-property (overlay-start e) 
			 (overlay-end e) 
			 'vm-mime-object t)

In vm-menu.el (vm-menu-popup-context-menu) the vm-mime-object text-property
is used to decide to display the 'Fiddle..' menu. In the original VM this
property is only used for outgoing Mime attachments.

The second problem is that sometimes the main menu entries while reading a
mailbox are doubled. For example, the 'Folder' menu will contain two menu
items, each named 'Folder' and each having the original Folder menu as a
submenu. This problem can come and go away in the same Emacs session. I
don't know what causes it, but I have sometimes noticed that it occurred
when I switched manually to a VM Presentation buffer, and disappeared when
I switched using the vm command.
-- 
Piet van Oostrum <piet@cs.uu.nl>
URL: http://www.cs.uu.nl/~piet [PGP 8DAE142BE17999C4]
Private email: piet@vanoostrum.org
Technical Details
Message-ID: <m27iw3gggc.fsf@ordesa.cs.uu.nl>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx01.iad01.newshosting.com!newshosting.com!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.freenet.de!feeder.news-service.com!tudelft.nl!txtfeed1.tudelft.nl!ruu.nl!cs.uu.nl!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: f6829,f1c7d7f30fca66fb,start
X-Google-Attributes: gidf6829,public
X-Google-Language: ENGLISH,ASCII-7-bit
Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx01.iad01.newshosting.com!newshosting.com!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.freenet.de!feeder.news-service.com!tudelft.nl!txtfeed1.tudelft.nl!ruu.nl!cs.uu.nl!not-for-mail
From: Piet van Oostrum <piet@cs.uu.nl>
Newsgroups: gnu.emacs.vm.bug
Subject: Menu problems with RobF's version of VM
Date: Thu, 04 Jan 2007 12:49:07 +0100
Organization: Dept of Computer Science, Utrecht University, The Netherlands
Lines: 26
Message-ID: <m27iw3gggc.fsf@ordesa.cs.uu.nl>
NNTP-Posting-Host: modena.cs.uu.nl
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Trace: prometheus.cs.uu.nl 1167911346 3390 131.211.80.35 (4 Jan 2007 11:49:06 GMT)
X-Complaints-To: news@cs.uu.nl
NNTP-Posting-Date: Thu, 4 Jan 2007 11:49:06 +0000 (UTC)
User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.92 (darwin)
Cancel-Lock: sha1:Fvlm3x2VQv10cEgu2mwHEbFH8xw=