GNU bug report logs - #44522
28.0.50; enhancement proposal for eww to provide finely grained back links

Previous Next

Package: emacs;

Reported by: Jean Louis <bugs <at> gnu.support>

Date: Sun, 8 Nov 2020 18:18:01 UTC

Severity: wishlist

Tags: wontfix

Found in version 28.0.50

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Jean Louis <bugs <at> gnu.support>
To: 44522 <at> debbugs.gnu.org
Subject: bug#44522: 28.0.50; enhancement proposal for eww to provide finely grained back links
Date: Sun, 08 Nov 2020 21:17:11 +0300
I would like to propose relatively simple function for `eww' that it
becomes possible to obtain finely grained reference to HTML link.

Reference:
https://www.dougengelbart.org/content/view/116/#7j

`w' key is already obtaining the document or link reference, which is
good in itself.

I am proposing that new function is implemented that allows to obtain
reference:

- to specific line number of HTML document on Internet

- to specific search inside of HTML document on Internet

- additionally it should include local file search to HTML document
  viewable by EWW

I am using this below function to view HTML files straight from Dired
for local files:

(defun eww-dired (&optional file prefix)
  (interactive "p")
  (let ((shr-inhibit-images t)
	(file (or (car (dired-get-marked-files)) file)))
    (if current-prefix-arg
	(setq shr-inhibit-images t))
    (eww-open-file file)))

but that does not allow going to specific line or search in HTML
document.

The function if possible, should be bookmarkable by Emacs bookmark
system. I have tried this below on eww buffer on WWW HTML file:

‘C-x r m <RET>’
     Set the bookmark for the visited file, at point.

And it did not work. It would be best if this works at least for "at
point" solution.

Best would be if user can decide:

- to link to line number in HTML (WWW or local file)

- to link to specific search by marking region and obtaining bookmark

- to link to annotated specific search by marking region, annotating
  the HTML part of the file and obtaining bookmark

-- 
Thanks,
Jean Louis
⎔ λ 🄯 𝍄 𝌡 𝌚




This bug report was last modified 4 years and 178 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.