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

Re: half disfunctional (?), annoying popup instead of sweet old-school Emacs prompt



In [emacs-w3m : No.12387]
	On Sat, 06 Dec 2014 22:30:10 +0100, Emanuel Berg wrote:
> Now, instead of the old "you are leaving a secure
> page" (pseudo-quote) in the metabuffer, I get a red
> popup in the middle of the screen.

Try: (setq use-dialog-box nil)

It seems to default to t.  The docstring of `y-or-n-p', that
issues the `you are leaving...' prompt in w3m.el, says:

,----
| Under a windowing system a dialog box will be used if
| `last-nonmenu-event' is nil and `use-dialog-box' is non-nil.
`----

The value of `last-nonmenu-event' is the last keyboard code of
a command, or nil if a command is invoked from a mouse menu.
So, if you invoke a w3m command by a mouse menu (I don't know
what it is, though), you should have gotten a dialog box.