all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* EWW: Should props :source and :dom be cleaned up when page is done rendering?
@ 2022-10-16 19:38 T.V Raman
  2022-10-16 20:55 ` Andreas Schwab
  2022-10-16 20:57 ` Andreas Schwab
  0 siblings, 2 replies; 4+ messages in thread
From: T.V Raman @ 2022-10-16 19:38 UTC (permalink / raw)
  To: emacs-devel

I noticed while debugging something else that EWW stores both the
document source and the parsed dom as properties :source and :dom in
eww-data. Should these be perhaps set to nil once the page is done
rendering --- might help emacs GC a lot of data that is likely not
used after.

-- 

Thanks,

--Raman(I Search, I Find, I Misplace, I Research)
♉ Id: kg:/m/0285kf1  🦮

-- 

Thanks,

--Raman(I Search, I Find, I Misplace, I Research)
♉ Id: kg:/m/0285kf1  🦮



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

* Re: EWW: Should props :source and :dom be cleaned up when page is done rendering?
  2022-10-16 19:38 EWW: Should props :source and :dom be cleaned up when page is done rendering? T.V Raman
@ 2022-10-16 20:55 ` Andreas Schwab
  2022-10-16 20:57 ` Andreas Schwab
  1 sibling, 0 replies; 4+ messages in thread
From: Andreas Schwab @ 2022-10-16 20:55 UTC (permalink / raw)
  To: T.V Raman; +Cc: emacs-devel

The :source value is used by eww-view-source.

-- 
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510  2552 DF73 E780 A9DA AEC1
"And now for something completely different."



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

* Re: EWW: Should props :source and :dom be cleaned up when page is done rendering?
  2022-10-16 19:38 EWW: Should props :source and :dom be cleaned up when page is done rendering? T.V Raman
  2022-10-16 20:55 ` Andreas Schwab
@ 2022-10-16 20:57 ` Andreas Schwab
  2022-10-17  1:06   ` T.V Raman
  1 sibling, 1 reply; 4+ messages in thread
From: Andreas Schwab @ 2022-10-16 20:57 UTC (permalink / raw)
  To: T.V Raman; +Cc: emacs-devel

And the :dom value is used by eww-reload.

-- 
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510  2552 DF73 E780 A9DA AEC1
"And now for something completely different."



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

* Re: EWW: Should props :source and :dom be cleaned up when page is done rendering?
  2022-10-16 20:57 ` Andreas Schwab
@ 2022-10-17  1:06   ` T.V Raman
  0 siblings, 0 replies; 4+ messages in thread
From: T.V Raman @ 2022-10-17  1:06 UTC (permalink / raw)
  To: Andreas Schwab; +Cc: emacs-devel

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset=gb18030, Size: 418 bytes --]

Thanks!

In my case I read a lot of Ebookse-books (dasiy-xml, epub) in EWW, I
never kill Emacs, and I typically have multiple books open which is why
I noticed ... 

In none of those cases would I view source. Also, I thought reload would
pull the web page again, hadn't realized eww-reload used the Dom.

-- 

Thanks,

--Raman(I Search, I Find, I Misplace, I Research)
7©4 Id: kg:/m/0285kf1  •0Ü8



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

end of thread, other threads:[~2022-10-17  1:06 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-10-16 19:38 EWW: Should props :source and :dom be cleaned up when page is done rendering? T.V Raman
2022-10-16 20:55 ` Andreas Schwab
2022-10-16 20:57 ` Andreas Schwab
2022-10-17  1:06   ` T.V Raman

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.