Menu

#255 Can't "q" after "Fu"

mh-e-8.2
open
nobody
None
5
2019-10-09
2011-05-21
minshall
No

if i "emacs -q" (no init file), then "Fr" (to give me a message to play
with), then "o" (to move that message to a folder), then (THIS IS KEY)
"Fu" and reply "yes" (to undo all pending changes in the current
folder),

then, if i say "q", i get "mh-quit: Wrong type argument: consp, nil"
(after colon in minibuffer; full message in *Messages*).

Discussion

  • minshall

    minshall - 2011-05-21
    • priority: 5 --> 3
     
  • minshall

    minshall - 2011-05-21

    here's (what i assume to be) a backtrace:
    ----
    Debugger entered--Lisp error: (wrong-type-argument consp nil)
    mh-update-sequences()
    mh-quit()
    call-interactively(mh-quit)
    mh-show-quit()
    call-interactively(mh-show-quit nil nil)
    ----

     
  • minshall

    minshall - 2011-05-21

    more random:

    1. the bug seems to apply only to the folder in which "Fu" was done.
    2. the bug seems to go away if you "Fr" the folder in which "Fu" was done.

     
  • Bill Wohler

    Bill Wohler - 2011-05-21
    • summary: can't "q" after "Fu" --> Can't "q" after mh-undo-folder
    • milestone: --> mh-e-8.2
    • status: open --> open-accepted
     
  • Bill Wohler

    Bill Wohler - 2011-05-21
    • summary: Can't "q" after mh-undo-folder --> Can't "q" after "Fu"
     
  • Bill Wohler

    Bill Wohler - 2011-05-21

    No need to lower the priority on this. If someone else hits this bug, we should definitely bump up the priority.

     
  • Bill Wohler

    Bill Wohler - 2011-05-21
    • priority: 3 --> 5
     
  • Bill Wohler

    Bill Wohler - 2013-02-23
    • labels: General -->
     
  • Bill Wohler

    Bill Wohler - 2013-02-23
    • Status: open-accepted --> open
     
  • minshall

    minshall - 2019-10-09

    well, i ran into this again today (and, searching the bugs, found this forgotten bit!:). not that i'm lobbying to have the priority increased, especially as it doesn't seem to have happened to anyone else.

    if i do "F u" (mh-undo-folder) in +outbox, the "q", i get an error
    (wrong-type-argument consp nil)
    in (mh-update-sequences). i think this is because
    (mh-find-seq 'cur)
    returns nil, which is then used (in variable seq-entry) as the target
    of a setcdr, which, i assume, generates the error.

    to reproduce: take a random folder, say "F u", then ":e (mh-find-seq 'cur)", and i wager the answer will be nil.

    also, (mh-show-msg) invokes (mh-update-sequences), so fails while the folder is in this state. ("F r" resets 'cur).

     

Log in to post a comment.

MongoDB Logo MongoDB