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

Re: w3m-popup-buffer problem

In [emacs-w3m:12809]
On Mon, 25 Sep 2017 23:04:03 -0400, Boruch Baum wrote:
> Getting technical, when looking at function `w3m-popup-buffer' in file
> w3m-util.el, I found that local variable `pop-up-frames' was being set
> (line 583),

Funny.  It's set to nil in my case, and I couldn't found a way
to set it to non-nil.  So, the line 617 should never be executed
and a hidden w3m buffer simply appears by M-x w3m RET.

> What has fixed the situation for me was to change line 617:
> - (pop-to-buffer buffer))
> + (pop-to-buffer-same-window buffer))

What do things between the line 584 and 605 do?

> Values of some
> of the other possibly relevant local variable were:
> `window'=#<window 1 on *w3m*<3>>;
> `frame'=#<frame F1 0xc3c680; and `oframe'=#<frame F46 0x152011e8>

What a lot of frames you have in a -nw Emacs.  Or is it a child
that emacsclient launches?  I couldn't reproduce the problem in
such a condition either, though.