unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Ivan Shmakov <ivan@siamics.net>
To: emacs-devel@gnu.org, 19109@debbugs.gnu.org
Subject: bug#19109: EWW buffers
Date: Thu, 20 Nov 2014 06:47:57 +0000	[thread overview]
Message-ID: <87sihe1i76.fsf__12533.6773846813$1416466161$gmane$org@violet.siamics.net> (raw)
In-Reply-To: <jwvmw7mesj9.fsf-monnier+emacs@gnu.org> (Stefan Monnier's message of "Wed, 19 Nov 2014 17:27:30 -0500")

>>>>> Stefan Monnier <monnier@IRO.UMontreal.CA> 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





      parent reply	other threads:[~2014-11-20  6:47 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <m3zjbqouyk.fsf@stories.gnus.org>
     [not found] ` <m3sihgfnq8.fsf@stories.gnus.org>
     [not found]   ` <87a93oh180.fsf@lifelogs.com>
     [not found]     ` <m3389gfmf9.fsf@stories.gnus.org>
     [not found]       ` <83h9xw9zg3.fsf@gnu.org>
     [not found]         ` <m37fyse6mz.fsf@stories.gnus.org>
     [not found]           ` <83d28k9yb9.fsf@gnu.org>
     [not found]             ` <m3egt0cr6m.fsf@stories.gnus.org>
     [not found]               ` <m3a93ocqys.fsf@stories.gnus.org>
     [not found]                 ` <m3389gcqhd.fsf@stories.gnus.org>
     [not found]                   ` <jwvd28ki6uj.fsf-monnier+emacs@gnu.org>
     [not found]                     ` <m3d28kuta6.fsf@stories.gnus.org>
     [not found]                       ` <jwvmw7ogcyw.fsf-monnier+emacs@gnu.org>
     [not found]                         ` <83ppcj9740.fsf@gnu.org>
     [not found]                           ` <jwvtx1vfgyh.fsf-monnier+emacs@gnu.org>
     [not found]                             ` <871toze1tl.fsf@lifelogs.com>
     [not found]                               ` <m3vbmbckpr.fsf@stories.gnus.org>
     [not found]                                 ` <87wq6rcidx.fsf@lifelogs.com>
     [not found]                                   ` <m3sihfp4yo.fsf@stories.gnus.org>
     [not found]                                     ` <87wq6r41b2.fsf_-_@violet.siamics.net>
     [not found]                                       ` <m34mtvtbak.fsf@stories.gnus.org>
2014-11-19 17:10                                         ` bug#19109: eww-setup-buffer: use set-buffer instead of switch-to-buffer Ivan Shmakov
     [not found]                                         ` <87lhn73ymt.fsf_-_@violet.siamics.net>
2014-11-19 17:33                                           ` Lars Magne Ingebrigtsen
2014-11-19 18:45                                             ` Ivan Shmakov
2014-11-23 18:55                                             ` bug#19109: eww.el: do not switch buffers asynchronously Ivan Shmakov
2014-11-23 19:28                                               ` Glenn Morris
2014-11-23 19:35                                                 ` bug#19109: mailing control@, but requesting that no replies be sent there Ivan Shmakov
     [not found]                                                 ` <87fvd9u2v3.fsf_-_@violet.siamics.net>
2014-11-24  5:00                                                   ` Stephen J. Turnbull
     [not found]                                       ` <jwvmw7mesj9.fsf-monnier+emacs@gnu.org>
2014-11-20  6:47                                         ` Ivan Shmakov [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='87sihe1i76.fsf__12533.6773846813$1416466161$gmane$org@violet.siamics.net' \
    --to=ivan@siamics.net \
    --cc=19109@debbugs.gnu.org \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).