VM

MIME button menu not working

Bug #730428 reported by Tim Cross
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
VM
Fix Released
Critical
Uday Reddy

Bug Description

Clicking on the mime button to select what action to perform on an attachment (in this case, save to file) produces the following backtrace in VM (revno 1131)

Debugger entered--Lisp error: (void-variable e)
  (vm-mime-get-button-layout e)
  (vm-mm-layout-type (vm-mime-get-button-layout e))
  (car (vm-mm-layout-type (vm-mime-get-button-layout e)))
  (vm-menu-can-convert-to-text/plain (car (vm-mm-layout-type (vm-mime-get-button-layout e))))
  x-popup-menu((down-mouse-3 (#<window 48 on *Backtrace*> 7708 (1116 . 61) 19666277 nil 7708 (56 . 1) nil (7 . 22) (19 . 43))) (keymap "Take Action on MIME body ..." (Display\ as\ Text\ \(in\ default\ face\) menu-item "Display as Text (in default face)" menu-function-118 :key-sequence nil) (Display\ using\ External\ Viewer menu-item "Display using External Viewer" menu-function-119 :key-sequence nil) (Convert\ to\ Text\ and\ Display menu-item "Convert to Text and Display" menu-function-120 :key-sequence nil :enable (vm-menu-can-convert-to-text/plain (car (vm-mm-layout-type (vm-mime-get-button-layout e))))) (nil menu-item "---") (Undo menu-item "Undo" vm-undo) (nil-5 menu-item "---") (Save\ to\ File menu-item "Save to File" vm-mime-reader-map-save-file) (Save\ to\ Folder menu-item "Save to Folder" vm-mime-reader-map-save-message :enable (let ((layout (vm-mime-run-display-function-at-point (function (lambda ... ...))))) (if (null layout) nil (or (vm-mime-types-match "message/rfc822" (car (vm-mm-layout-type layout))) (vm-mime-types-match "message/news" (car (vm-mm-layout-type layout))))))) (Send\ to\ Printer menu-item "Send to Printer" menu-function-121 :key-sequence nil) (Pipe\ to\ Shell\ Command\ \(display\ output\) menu-item "Pipe to Shell Command (display output)" menu-function-122 :key-sequence nil) (Pipe\ to\ Shell\ Command\ \(discard\ output\) menu-item "Pipe to Shell Command (discard output)" menu-function-123 :key-sequence nil) (Attach\ to\ Message\ Composition\ Buffer menu-item "Attach to Message Composition Buffer" vm-mime-attach-object-from-message) (Delete menu-item "Delete" vm-delete-mime-object)))
  vm-menu-popup-fsfemacs-menu((down-mouse-3 (#<window 48 on *Backtrace*> 7708 (1116 . 61) 19666277 nil 7708 (56 . 1) nil (7 . 22) (19 . 43))) (keymap "Take Action on MIME body ..." (Display\ as\ Text\ \(in\ default\ face\) menu-item "Display as Text (in default face)" menu-function-118 :key-sequence nil) (Display\ using\ External\ Viewer menu-item "Display using External Viewer" menu-function-119 :key-sequence nil) (Convert\ to\ Text\ and\ Display menu-item "Convert to Text and Display" menu-function-120 :key-sequence nil :enable (vm-menu-can-convert-to-text/plain (car (vm-mm-layout-type (vm-mime-get-button-layout e))))) (nil menu-item "---") (Undo menu-item "Undo" vm-undo) (nil-5 menu-item "---") (Save\ to\ File menu-item "Save to File" vm-mime-reader-map-save-file) (Save\ to\ Folder menu-item "Save to Folder" vm-mime-reader-map-save-message :enable (let ((layout (vm-mime-run-display-function-at-point (function (lambda ... ...))))) (if (null layout) nil (or (vm-mime-types-match "message/rfc822" (car (vm-mm-layout-type layout))) (vm-mime-types-match "message/news" (car (vm-mm-layout-type layout))))))) (Send\ to\ Printer menu-item "Send to Printer" menu-function-121 :key-sequence nil) (Pipe\ to\ Shell\ Command\ \(display\ output\) menu-item "Pipe to Shell Command (display output)" menu-function-122 :key-sequence nil) (Pipe\ to\ Shell\ Command\ \(discard\ output\) menu-item "Pipe to Shell Command (discard output)" menu-function-123 :key-sequence nil) (Attach\ to\ Message\ Composition\ Buffer menu-item "Attach to Message Composition Buffer" vm-mime-attach-object-from-message) (Delete menu-item "Delete" vm-delete-mime-object)))
  vm-menu-popup-mime-dispose-menu((down-mouse-3 (#<window 48 on *Backtrace*> 7708 (1116 . 61) 19666277 nil 7708 (56 . 1) nil (7 . 22) (19 . 43))))
  vm-menu-popup-context-menu((down-mouse-3 (#<window 48 on *Backtrace*> 7708 (1116 . 61) 19666277 nil 7708 (56 . 1) nil (7 . 22) (19 . 43))))
  vm-mouse-button-3((down-mouse-3 (#<window 48 on *Backtrace*> 7708 (1116 . 61) 19666277 nil 7708 (56 . 1) nil (7 . 22) (19 . 43))))
  call-interactively(vm-mouse-button-3 nil nil)

Tags: new ui

Related branches

Uday Reddy (reddyuday)
Changed in vm:
status: New → Triaged
importance: Undecided → Critical
assignee: nobody → Uday Reddy (reddyuday)
milestone: none → 8.2.0b
Revision history for this message
Uday Reddy (reddyuday) wrote : Re: [Bug 730428] [NEW] MIME button menu not working

Funny, this bug has been there since version 7.19, and it never got
fired (at least for me). Anyway, the variable was redundant and I got
rid of it.

Cheers,
Uday

Changed in vm:
status: Triaged → Fix Committed
Uday Reddy (reddyuday)
tags: added: new ui
Uday Reddy (reddyuday)
Changed in vm:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.