unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#44522: 28.0.50; enhancement proposal for eww to provide finely grained back links
@ 2020-11-08 18:17 Jean Louis
  2021-01-21 15:57 ` Lars Ingebrigtsen
  0 siblings, 1 reply; 2+ messages in thread
From: Jean Louis @ 2020-11-08 18:17 UTC (permalink / raw)
  To: 44522


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
⎔ λ 🄯 𝍄 𝌡 𝌚





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

* bug#44522: 28.0.50; enhancement proposal for eww to provide finely grained back links
  2020-11-08 18:17 bug#44522: 28.0.50; enhancement proposal for eww to provide finely grained back links Jean Louis
@ 2021-01-21 15:57 ` Lars Ingebrigtsen
  0 siblings, 0 replies; 2+ messages in thread
From: Lars Ingebrigtsen @ 2021-01-21 15:57 UTC (permalink / raw)
  To: Jean Louis; +Cc: 44522

Jean Louis <bugs@gnu.support> writes:

> I am proposing that new function is implemented that allows to obtain
> reference:
>
> - to specific line number of HTML document on Internet

The number of lines move around in HTML documents -- that's why there's
anchors, so I don't think this will work.

> - to specific search inside of HTML document on Internet

I see neither the utility nor how this would be implemented.

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

Isn't this the same?

Anyway, this doesn't really seem apposite for eww, so I'm closing this
feature request.

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





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

end of thread, other threads:[~2021-01-21 15:57 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-08 18:17 bug#44522: 28.0.50; enhancement proposal for eww to provide finely grained back links Jean Louis
2021-01-21 15:57 ` Lars Ingebrigtsen

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).