emacs-pretest-bug
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: No refresh of buffer before popup-menu


From: martin rudalics
Subject: Re: No refresh of buffer before popup-menu
Date: Fri, 23 Feb 2007 08:27:48 +0100
User-agent: Mozilla Thunderbird 1.0 (Windows/20041206)

> How do you continue to interact with the menu after toggling the menu item?

I lied: The toggle is specified in a function `speck-menu-tail' as

    ...
    "---"
    ["Query-replace" 'query
     :style toggle :selected speck-replace-query
     :help "Replace this and query for further occurrences."]
    "---"
    ...

called in the following loop which I don't leave as long as I'm toggling

                ...
                (while (eq replace 'query)
                  (setq speck-replace-query (not speck-replace-query))
                  (setq replace (popup-menu
                                 (append (list word)
                                          ...
                                         (speck-menu-tail
                                          ...))
                                 posn)))

where "(list word)" is the menu title.  Hence, I obviously replace one
menu with another and do pretty much the same as Lennart.

Anyway, I can confirm that your patch fixes it.  Thanks a lot (I didn't
delve into this earlier because I considered my behavior w98 specific).





reply via email to

[Prev in Thread] Current Thread [Next in Thread]