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

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

RE: Bug in y-or-n-p?


From: Drew Adams
Subject: RE: Bug in y-or-n-p?
Date: Tue, 5 Jul 2005 17:12:27 -0700

Hi,

Just want to make sure this doesn't get lost. I still see this bug in a
Windows binary built on 6/26.

I also notice the following bug, which might be related (?). I don't know if
it was present previously.

I add a menu item to Info:

(easy-menu-define
     Info-mode-menu Info-mode-map
     "Menu for info files."
     '("Info"
       ... <same old stuff>

       ["Merge Subnodes" Info-merge-subnodes
        :help "Integrate current node with nodes referred to in its Menu"]

       ... <more same old stuff>))

The command Info-merge-subnodes starts this way:

  (when (interactive-p)
    (unless (y-or-n-p "Do you really want to integrate this node with its \
subnodes (outside Info)? ")
      (error (substitute-command-keys
              "OK.  If you are not sure what this command is about, type \
`\\[describe-function] Info-merge-subnodes'."))))

When I activate the menu item from the menu-bar Info menu, it works
correctly. When I activate it from the C-mouse-2 popup menu, I never see the
y-or-n-p question. I see directly the error question, as if I had been asked
y-or-n-p and had responded "n".

Thanks,

  Drew


    -----Original Message-----
    From: address@hidden
    [mailto:address@hidden Behalf Of
    Drew Adams
    Sent: Thursday, June 23, 2005 7:20 AM
    To: Juanma Barranquero
    Cc: address@hidden
    Subject: RE: Bug in y-or-n-p?


        > Great, then it's fixed. Thanks.
        >
        > In my (April 2005) version, foo gets asked via popup menu,
        > but bar gets asked via the minibuffer.

        I don't think it is fixed. You were testing on Windows,
        weren't you? I see the same problem with MinGW and MSVC
        on today's CVS.

    Yes, I'm on Windows. Thanks for checking the bug.






reply via email to

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