unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Jean Louis <bugs@gnu.support>
To: 44522@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	[thread overview]
Message-ID: <courier.000000005FA83628.00005392@static.rcdrun.com> (raw)


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





             reply	other threads:[~2020-11-08 18:17 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-11-08 18:17 Jean Louis [this message]
2021-01-21 15:57 ` bug#44522: 28.0.50; enhancement proposal for eww to provide finely grained back links Lars Ingebrigtsen

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=courier.000000005FA83628.00005392@static.rcdrun.com \
    --to=bugs@gnu.support \
    --cc=44522@debbugs.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).