[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: EWW buffers
From: |
Ivan Shmakov |
Subject: |
Re: EWW buffers |
Date: |
Thu, 20 Nov 2014 06:47:57 +0000 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) |
>>>>> Stefan Monnier <address@hidden> writes:
>> It’s also perfectly possible to create that buffer but do /not/
>> switch to it until it’s ready.
> Actually changing the displayed buffer from a process filter
> (i. e. asynchronously) is a bad idea, just like prompting the user.
Yet, this is exactly what EWW currently does. Specifically,
eww-setup-buffer is called asynchronously when the download
completes (from the eww-display- functions, which in turn get
called from eww-render, which is used as the ‘url-retrieve’
callback by EWW), /and/ eww-setup-buffer uses switch-to-buffer.
I have filed a bug (#19109) for the issue, which was promptly
tagged ‘notabug’ and closed. Could someone please check if it
really is a proper resolution?
Personally, I’ve replaced switch-to-buffer there with
set-buffer, and use that for I guess around a year now, –
without any apparent issues.
> So yes, the *eww* buffer should be created and displayed right away
> (empty at first). Iceweasel does the same, FWIW, so I don't think
> it's a problem.
(Neither do I.)
--
FSF associate member #7257 http://boycottsystemd.org/ … 3013 B6A0 230E 334A
- Re: Network security manager, (continued)
- Re: Network security manager, Lars Magne Ingebrigtsen, 2014/11/19
- Re: Network security manager, Lars Magne Ingebrigtsen, 2014/11/19
- Re: Network security manager, Ted Zlatanov, 2014/11/19
- Re: Network security manager, Lars Magne Ingebrigtsen, 2014/11/19
- Re: Network security manager, Ted Zlatanov, 2014/11/19
- Re: Network security manager, Lars Magne Ingebrigtsen, 2014/11/19
- EWW buffers, Ivan Shmakov, 2014/11/19
- Re: EWW buffers, Lars Magne Ingebrigtsen, 2014/11/19
- bug#19109: eww-setup-buffer: use set-buffer instead of switch-to-buffer, Ivan Shmakov, 2014/11/19
- Re: EWW buffers, Stefan Monnier, 2014/11/19
- Re: EWW buffers,
Ivan Shmakov <=
- Re: EWW buffers, Lars Magne Ingebrigtsen, 2014/11/21
- Re: Network security manager, Eli Zaretskii, 2014/11/19
- Re: Network security manager, Stefan Monnier, 2014/11/19
- Re: Network security manager, Eli Zaretskii, 2014/11/20
- Re: Network security manager, Stefan Monnier, 2014/11/20
- Re: Network security manager, Eli Zaretskii, 2014/11/21
- Re: Network security manager, Lars Magne Ingebrigtsen, 2014/11/21
- Re: Network security manager, Eli Zaretskii, 2014/11/21
- Re: Network security manager, Lars Magne Ingebrigtsen, 2014/11/21
- Re: Network security manager, Andreas Schwab, 2014/11/21