all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#19086: 25.0.50; eww: re-render page
@ 2014-11-17 19:01 Mark Oteiza
  2014-11-23 17:12 ` Lars Magne Ingebrigtsen
  2014-12-07 19:50 ` Lars Magne Ingebrigtsen
  0 siblings, 2 replies; 5+ messages in thread
From: Mark Oteiza @ 2014-11-17 19:01 UTC (permalink / raw)
  To: 19086



There doesn't appear to be any function to redisplay the web
page, only to retrieve it again.  For instance, if I make the emacs
frame/window size smaller, it would be convenient to just "redisplay" so
the text will be refilled properly, instead of having to ask to retrieve
the web page again.

This functionality exists in at least one other text browser, such as
the :rerender command on elinks, though it is almost never needed
since elinks can just respond to SIGWINCH.




In GNU Emacs 25.0.50.1 (x86_64-unknown-linux-gnu, X toolkit, Xaw scroll bars)
 of 2014-11-16 on logos
Repository revision: 058f56d24f776bdc25bcac86fe1f8969a78374e9
Configured using:
 `configure --prefix=/usr --sysconfdir=/etc --libexecdir=/usr/lib
 --localstatedir=/var --without-gconf --with-x-toolkit=lucid
 'CFLAGS=-march=x86-64 -mtune=generic -O3 -pipe -fstack-protector-strong
 --param=ssp-buffer-size=4' CPPFLAGS=-D_FORTIFY_SOURCE=2
 LDFLAGS=-Wl,-O1,--sort-common,--as-needed,-z,relro'

Configured features:
XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND GPM DBUS GSETTINGS NOTIFY
ACL GNUTLS LIBXML2 FREETYPE M17N_FLT LIBOTF XFT ZLIB

Important settings:
  value of $LC_COLLATE: C
  value of $LANG: en_US.UTF-8
  locale-coding-system: utf-8-unix

Major mode: Text

Minor modes in effect:
  diff-auto-refine-mode: t
  show-paren-mode: t
  savehist-mode: t
  winner-mode: t
  url-handler-mode: t
  tooltip-mode: t
  global-eldoc-mode: t
  electric-indent-mode: t
  mouse-wheel-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  size-indication-mode: t
  column-number-mode: t
  line-number-mode: t

Recent messages:
scroll-up-command: End of buffer
Mark set [3 times]
Send this bug report to the Emacs maintainers? (y or n) y
Sending...
Mark set [2 times]
Sending via mail...
Opening STARTTLS connection to `smtp.gmail.com:587'...done
Sending email 
Sending email done
Sending...done

Load-path shadows:
/usr/share/emacs/25.0.50/lisp/loaddefs hides /home/mvo/.emacs.d/site-lisp/loaddefs
/usr/share/emacs/25.0.50/lisp/env hides /home/mvo/.emacs.d/site-lisp/expand-region/features/support/env

Features:
(network-stream starttls tls mailalias smtpmail vc-git diff-mode
easy-mmode dabbrev misearch multi-isearch jka-compr thingatpt pp shadow
sort mail-extr emacsbug message idna dired format-spec rfc822 mml
mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev
gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mail-utils
xterm flycheck find-func help-mode rx easymenu subr-x pcase dash
company-files company-oddmuse company-keywords company-etags etags
company-gtags company-dabbrev-code company-dabbrev company-capf
company-cmake company-ropemacs company-xcode company-clang
company-semantic company-eclim company-template company-css company-nxml
company-bbdb company package epg-config windmove edmacro kmacro
saveplace paren savehist winner ring url-handlers url-parse auth-source
cl-macs gv eieio byte-opt bytecomp byte-compile cl-extra cconv
eieio-core cl-loaddefs cl-lib gnus-util time-date mm-util help-fns
mail-prsvr password-cache url-vars zenburn-theme tooltip eldoc electric
uniquify ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd tool-bar
dnd fontset image regexp-opt fringe tabulated-list newcomment elisp-mode
lisp-mode prog-mode register page menu-bar rfn-eshadow timer select
scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cham
georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao
korean japanese hebrew greek romanian slovak czech european ethiopic
indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple
abbrev minibuffer nadvice loaddefs button faces cus-face macroexp files
text-properties overlay sha1 md5 base64 format env code-pages mule
custom widget hashtable-print-readable backquote make-network-process
dbusbind gfilenotify dynamic-setting system-font-setting
font-render-setting x-toolkit x multi-tty emacs)

Memory information:
((conses 16 142639 28737)
 (symbols 48 23610 0)
 (miscs 40 192 873)
 (strings 32 31853 5192)
 (string-bytes 1 874274)
 (vectors 16 20963)
 (vector-slots 8 1164829 188162)
 (floats 8 114 1084)
 (intervals 56 1389 0)
 (buffers 976 16)
 (heap 1024 31324 1377))





^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#19086: 25.0.50; eww: re-render page
  2014-11-17 19:01 bug#19086: 25.0.50; eww: re-render page Mark Oteiza
@ 2014-11-23 17:12 ` Lars Magne Ingebrigtsen
  2014-11-23 17:35   ` Mark Oteiza
  2014-11-23 17:54   ` Ivan Shmakov
  2014-12-07 19:50 ` Lars Magne Ingebrigtsen
  1 sibling, 2 replies; 5+ messages in thread
From: Lars Magne Ingebrigtsen @ 2014-11-23 17:12 UTC (permalink / raw)
  To: Mark Oteiza; +Cc: 19086

Mark Oteiza <mvoteiza@udel.edu> writes:

> There doesn't appear to be any function to redisplay the web
> page, only to retrieve it again.  For instance, if I make the emacs
> frame/window size smaller, it would be convenient to just "redisplay" so
> the text will be refilled properly, instead of having to ask to retrieve
> the web page again.

Hm...  I'm not sure I think that sounds generally very useful.  Do you
resize the frame a lot?  And is reloading the page from the web in those
instances so painful?

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#19086: 25.0.50; eww: re-render page
  2014-11-23 17:12 ` Lars Magne Ingebrigtsen
@ 2014-11-23 17:35   ` Mark Oteiza
  2014-11-23 17:54   ` Ivan Shmakov
  1 sibling, 0 replies; 5+ messages in thread
From: Mark Oteiza @ 2014-11-23 17:35 UTC (permalink / raw)
  To: 19086

Lars Magne Ingebrigtsen <larsi@gnus.org> writes:

> Mark Oteiza <mvoteiza@udel.edu> writes:
>
>> There doesn't appear to be any function to redisplay the web
>> page, only to retrieve it again.  For instance, if I make the emacs
>> frame/window size smaller, it would be convenient to just "redisplay" so
>> the text will be refilled properly, instead of having to ask to retrieve
>> the web page again.
>
> Hm...  I'm not sure I think that sounds generally very useful.  Do you
> resize the frame a lot?

Sure.  Between deciding to make more windows in a frame, or switching to
eww in a different window or frame, or the emacs frame changing size due
to things happening with the window manager or tmux, there are plenty of
ways this happens.

> And is reloading the page from the web in those
> instances so painful?

Sometimes, though I don't know what takes longer, downloading the page
again, or re-rendering it.  It certainly becomes more painful with a
slower network connection.





^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#19086: 25.0.50; eww: re-render page
  2014-11-23 17:12 ` Lars Magne Ingebrigtsen
  2014-11-23 17:35   ` Mark Oteiza
@ 2014-11-23 17:54   ` Ivan Shmakov
  1 sibling, 0 replies; 5+ messages in thread
From: Ivan Shmakov @ 2014-11-23 17:54 UTC (permalink / raw)
  To: 19086

>>>>> Lars Magne Ingebrigtsen <larsi@gnus.org> writes:
>>>>> Mark Oteiza <mvoteiza@udel.edu> writes:

 >> There doesn't appear to be any function to redisplay the web page,
 >> only to retrieve it again.  For instance, if I make the emacs
 >> frame/window size smaller,

	(Presumably, it’d be the same if it’s the font that gets
	resized, as per #17414.)

 >> it would be convenient to just "redisplay" so the text will be
 >> refilled properly, instead of having to ask to retrieve the web page
 >> again.

 > Hm...  I'm not sure I think that sounds generally very useful.  Do
 > you resize the frame a lot?  And is reloading the page from the web
 > in those instances so painful?

	FWIW, I was about to suggest such a feature myself, even though
	I never use EWW in non-80-column windows at all.

	For me, one of the uses would be redisplaying HTML documents
	after tweaking the renderer’s own code, especially where such
	documents are actually dynamic, and reloading them is bound to
	produce different results every time.

	Besides, this change looks like one step towards solving #17414.

-- 
FSF associate member #7257  http://boycottsystemd.org/  … 3013 B6A0 230E 334A





^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#19086: 25.0.50; eww: re-render page
  2014-11-17 19:01 bug#19086: 25.0.50; eww: re-render page Mark Oteiza
  2014-11-23 17:12 ` Lars Magne Ingebrigtsen
@ 2014-12-07 19:50 ` Lars Magne Ingebrigtsen
  1 sibling, 0 replies; 5+ messages in thread
From: Lars Magne Ingebrigtsen @ 2014-12-07 19:50 UTC (permalink / raw)
  To: Mark Oteiza; +Cc: 19086

Mark Oteiza <mvoteiza@udel.edu> writes:

> There doesn't appear to be any function to redisplay the web
> page, only to retrieve it again.  For instance, if I make the emacs
> frame/window size smaller, it would be convenient to just "redisplay" so
> the text will be refilled properly, instead of having to ask to retrieve
> the web page again.

Added now as a prefix to `g'.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2014-12-07 19:50 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-11-17 19:01 bug#19086: 25.0.50; eww: re-render page Mark Oteiza
2014-11-23 17:12 ` Lars Magne Ingebrigtsen
2014-11-23 17:35   ` Mark Oteiza
2014-11-23 17:54   ` Ivan Shmakov
2014-12-07 19:50 ` Lars Magne Ingebrigtsen

Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.