emacs-devel
[Top][All Lists]
Advanced

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

Re: Advicing select-windows, shr rendering, and per-buffer-theme package


From: raman
Subject: Re: Advicing select-windows, shr rendering, and per-buffer-theme package
Date: Fri, 18 Mar 2016 15:48:31 -0700
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.91 (gnu/linux)

Iñigo Serna <address@hidden> writes:

In emacs 25, EWW renders buffers asynchronously so that emacs doesn't
lock up while a web page is opening. That necessarily causes a lot of
context switches.> Hello,
>
> raman <address@hidden> writes:
>
>> Yes, the idle-timer solution worked surprisingly well which at least to
>> me was counter-intuitive --- guess I dont understand Emacs' internals
>> well enough. So what is it that led folk like yourself and John to
>> intuitively suggest idle timers for this case?
>
> I've been experimenting with idle-timer and I must agree, it is very
> easy to implement and works *surprisingly* well.
> Even so, that I've left it as the default method to check buffer and
> theme in my package.
>
>> Places where the afore-mentioned hook fires where you wouldn't expect it
>> to bsed on the doc-string:
>>
>> A. While transitioning through the minibuffer 
>>
>> B. When you have completions come and go as you interact with the
>> minibuffer 
>>
>> C. shr/eww as the earlier poster pointed out 
>>
>> D. and many more cases that will fit this margin.
>
> In my case, C was the main headache when switching to eww/shr-based
> buffers. Looks like 25.x shr use lots of temporary buffers for its
> rendering tasks.
>
> Then A and B (using helm here) causes some "flickering" with
> select-window advicing method too.
> As I've mentioned in other email, perspective package also aggravated
> what I saw.
>
> Thanks again to all for your help and suggestions,
> Iñigo Serna

-- 



reply via email to

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