From: Lars Magne Ingebrigtsen <larsi@gnus.org>
To: Tom Tromey <tromey@redhat.com>
Cc: ding@gnus.org, emacs-devel <emacs-devel@gnu.org>
Subject: Re: eww
Date: Tue, 18 Jun 2013 13:23:02 +0200 [thread overview]
Message-ID: <m3sj0fd5nt.fsf@stories.gnus.org> (raw)
In-Reply-To: <87d2rkb1pi.fsf@fleche.redhat.com> (Tom Tromey's message of "Mon, 17 Jun 2013 20:19:05 -0600")
Tom Tromey <tromey@redhat.com> writes:
> It doesn't render parts of the gdb manual very nicely.
> For example in the reverse execution node, the info looks like:
>
> ================================================================
> If you are debugging in a target environment that supports reverse
> execution, GDB provides the following commands.
>
> `reverse-continue [IGNORE-COUNT]'
> `rc [IGNORE-COUNT]'
> Beginning at the point where your program last stopped, start
> executing in reverse. Reverse execution will stop for breakpoints
> and synchronous exceptions (signals), just like normal execution.
> Behavior of asynchronous signals depends on the target environment.
> ================================================================
Heh. This is because the manual uses the <dl>, <dd> and <dt> tags,
which I didn't even know existed. :-)
I've now added support for this.
> Also, please consider the appended patch. It makes eww pick up on
> <link> and <a rel=...> to give it a more info-ish flavor. I'm
> interested in the possibility of replacing info with html+eww.
Supporting <link> and <a rel=> is a good idea. The code looks good, but
here's a couple of comments:
> +(defvar eww-next-url nil)
> +(make-variable-buffer-local 'eww-next-url)
> +(defvar eww-previous-url nil)
> +(make-variable-buffer-local 'eww-previous-url)
> +(defvar eww-up-url nil)
> +(make-variable-buffer-local 'eww-up-url)
> +(defvar eww-top-url nil)
> +(make-variable-buffer-local 'eww-top-url)
I think that for package-specific variables like this we're supposed to
use
(set (make-local-variable 'eww-top-url) nil)
in the mode setup instead, so that we're not making variables needlessly
globally buffer-local.
> +(defun eww-open-file (file)
> + (interactive "fFile: ")
> + (let ((browse-url-browser-function #'eww-browse-url))
> + (browse-url-of-file (expand-file-name file))))
Can't we just prepend "file://" to the file name and call `eww'
directly?
> +(defun eww-next-url ()
> + (interactive)
> + (if eww-next-url
> + (eww-browse-url (shr-expand-url eww-next-url eww-current-url))
> + (error "No `next' on this node")))
Perhaps say "page" instead of "node".
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog http://lars.ingebrigtsen.no/
next prev parent reply other threads:[~2013-06-18 11:23 UTC|newest]
Thread overview: 185+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-06-16 14:53 eww Lars Magne Ingebrigtsen
2013-06-16 15:21 ` eww Adam Sjøgren
2013-06-16 15:29 ` eww Lars Magne Ingebrigtsen
2013-06-16 15:46 ` eww Lars Magne Ingebrigtsen
2013-06-16 17:01 ` eww Dmitry Gutov
2013-06-16 17:06 ` eww Lars Magne Ingebrigtsen
2013-06-17 21:00 ` eww Lars Magne Ingebrigtsen
2013-06-17 21:13 ` eww Stefan Monnier
2013-06-17 21:30 ` eww Lars Magne Ingebrigtsen
2013-06-17 22:04 ` eww Lars Magne Ingebrigtsen
2013-06-17 22:39 ` eww Rasmus
2013-06-17 22:43 ` eww Lars Magne Ingebrigtsen
2013-06-17 23:35 ` eww Ted Zlatanov
2013-06-18 12:09 ` eww Thomas Fitzsimmons
2013-06-18 14:57 ` eww Lars Magne Ingebrigtsen
2013-06-18 17:02 ` eww Thomas Fitzsimmons
2013-06-19 8:59 ` eww Lars Magne Ingebrigtsen
2013-06-18 17:21 ` eww Tom Tromey
2013-06-19 6:53 ` eww Lars Magne Ingebrigtsen
2013-06-18 2:19 ` eww Tom Tromey
2013-06-18 11:23 ` Lars Magne Ingebrigtsen [this message]
2013-06-18 14:34 ` eww Tom Tromey
2013-06-18 15:01 ` eww Lars Magne Ingebrigtsen
2013-06-18 15:43 ` eww Tom Tromey
2013-06-18 14:39 ` eww Tom Tromey
2013-06-18 15:14 ` eww Lars Magne Ingebrigtsen
2013-06-18 15:48 ` eww Lars Magne Ingebrigtsen
2013-06-18 17:40 ` eww Eli Zaretskii
2013-06-19 1:14 ` eww Stephen J. Turnbull
2013-06-19 6:58 ` eww Lars Magne Ingebrigtsen
2013-06-19 14:50 ` eww Eli Zaretskii
2013-06-18 18:04 ` eww Karl Fogel
2013-06-18 18:29 ` eww Eli Zaretskii
2013-06-19 7:13 ` eww Lars Magne Ingebrigtsen
2013-06-19 8:43 ` eww Andreas Schwab
2013-06-19 9:03 ` eww Lars Magne Ingebrigtsen
2013-06-19 9:13 ` eww Andreas Schwab
2013-06-19 12:27 ` eww Stefan Monnier
2013-06-19 13:50 ` eww Stefan Monnier
2013-06-19 14:02 ` eww Lars Magne Ingebrigtsen
2013-06-21 14:03 ` eww Stefan Monnier
2013-06-25 19:57 ` eww Lars Magne Ingebrigtsen
2013-06-19 14:55 ` eww Eli Zaretskii
2013-06-19 19:46 ` eww Lars Magne Ingebrigtsen
2013-06-19 19:59 ` eww Eli Zaretskii
2013-06-19 20:13 ` eww Lars Magne Ingebrigtsen
2013-06-19 22:12 ` eww Johan Bockgård
2013-06-19 20:22 ` eww Stefan Monnier
2013-06-18 19:00 ` eww Ted Zlatanov
2013-06-18 20:19 ` eww Stefan Monnier
2013-06-18 21:37 ` eww Ted Zlatanov
2013-06-18 23:21 ` eww Stefan Monnier
2013-06-19 4:15 ` eww Ted Zlatanov
2013-06-19 7:22 ` eww Lars Magne Ingebrigtsen
2013-06-19 10:38 ` eww Christopher Schmidt
2013-06-19 12:35 ` eww Stefan Monnier
2013-06-20 7:17 ` eww Lars Magne Ingebrigtsen
2013-06-20 20:10 ` eww Stefan Monnier
2013-06-21 6:58 ` eww Lars Magne Ingebrigtsen
2013-06-28 15:12 ` eww Ted Zlatanov
2013-07-06 15:17 ` eww Lars Ingebrigtsen
2013-06-25 23:11 ` eww Lars Magne Ingebrigtsen
2013-06-26 6:49 ` eww Daimrod
2013-06-26 11:55 ` eww Lars Magne Ingebrigtsen
2013-06-19 4:21 ` eww Ted Zlatanov
2013-06-19 7:25 ` eww Lars Magne Ingebrigtsen
2013-06-19 22:45 ` eww Ted Zlatanov
2013-06-20 9:01 ` eww Lars Magne Ingebrigtsen
2013-07-01 22:48 ` eww Ted Zlatanov
2013-07-02 6:03 ` eww Thierry Volpiatto
2013-07-06 15:19 ` eww Lars Ingebrigtsen
2013-07-06 22:32 ` eww Xue Fuqiao
2013-07-06 22:57 ` eww Lars Ingebrigtsen
2013-07-08 12:34 ` eww Ted Zlatanov
2013-07-08 12:55 ` eww Lars Magne Ingebrigtsen
2013-06-19 8:21 ` eww chad
2013-06-19 12:32 ` eww Stefan Monnier
2013-06-19 20:55 ` eww Juri Linkov
2013-06-19 21:16 ` eww Tom Tromey
2013-06-19 13:50 ` eww Tom Tromey
2013-06-18 16:17 ` eww Tom Tromey
2013-06-18 16:45 ` eww Christopher Schmidt
2013-06-18 19:06 ` eww Steinar Bang
2013-06-19 6:50 ` eww Lars Magne Ingebrigtsen
2013-06-19 17:13 ` eww Tom Tromey
2013-06-19 19:31 ` eww Lars Magne Ingebrigtsen
2013-06-18 19:07 ` eww Stefan Monnier
2013-06-18 11:31 ` eww Lars Magne Ingebrigtsen
2013-06-18 14:42 ` eww Tom Tromey
2013-06-18 15:04 ` eww Lars Magne Ingebrigtsen
2013-06-18 19:13 ` eww Stefan Monnier
2013-06-18 19:17 ` eww Eli Zaretskii
2013-06-18 20:21 ` eww Stefan Monnier
2013-06-18 23:34 ` eww James Cloos
2013-06-19 2:50 ` eww Eli Zaretskii
2013-06-19 4:49 ` eww Stefan Monnier
2013-06-19 8:17 ` eww Stephen Leake
2013-06-18 23:03 ` eww Xue Fuqiao
2013-06-18 23:56 ` eww Paul Eggert
2013-06-19 7:52 ` eww Xue Fuqiao
2013-06-19 15:03 ` eww Eli Zaretskii
2013-06-19 3:03 ` eww Eli Zaretskii
2013-06-18 19:27 ` eww Tom Tromey
2013-06-18 23:40 ` eww Juri Linkov
2013-06-19 0:51 ` eww Stefan Monnier
2013-06-19 10:34 ` eww Christopher Schmidt
2013-06-19 7:34 ` eww Lars Magne Ingebrigtsen
2013-06-20 22:52 ` eww Juri Linkov
2013-06-21 6:56 ` eww Lars Magne Ingebrigtsen
2013-06-19 14:06 ` eww Drew Adams
2013-06-19 15:36 ` eww Jambunathan K
2013-06-20 4:10 ` eww Richard Stallman
2013-06-20 4:28 ` eww Paul Eggert
2013-06-20 7:18 ` eww Lars Magne Ingebrigtsen
2013-06-18 11:32 ` eww joakim
2013-06-18 12:16 ` eww Andreas Schwab
2013-06-18 13:57 ` eww Lars Magne Ingebrigtsen
2013-06-18 14:01 ` eww joakim
2013-06-19 10:21 ` eww Ivan Kanis
2013-06-19 11:52 ` eww Steinar Bang
2013-06-19 12:14 ` eww Ivan Kanis
2013-08-01 11:59 ` eww John Williams
2013-08-02 0:20 ` eww John Williams
2013-08-02 0:27 ` eww Lars Magne Ingebrigtsen
2013-08-02 0:46 ` eww John Williams
2013-08-02 12:27 ` eww Lars Magne Ingebrigtsen
2013-08-02 21:39 ` eww John Williams
2013-08-03 11:08 ` eww Lars Magne Ingebrigtsen
2013-08-04 3:59 ` eww John Williams
2013-08-05 2:10 ` eww Lars Magne Ingebrigtsen
2013-08-05 3:29 ` eww John Williams
2013-08-07 0:46 ` eww John Williams
2013-08-07 1:24 ` eww Lars Magne Ingebrigtsen
2013-08-02 19:48 ` eww Richard Stallman
2013-08-03 11:30 ` eww Lars Magne Ingebrigtsen
-- strict thread matches above, loose matches on Subject: below --
2014-01-12 13:46 eww Richard Stallman
2014-01-12 13:50 ` eww Juanma Barranquero
2014-01-13 11:20 ` eww Bastien
2014-01-13 17:44 ` eww Davis Herring
2014-01-13 22:19 ` eww Bastien
2014-01-13 19:36 ` eww Richard Stallman
2014-01-13 22:29 ` eww Bastien
2014-01-14 17:06 ` eww Richard Stallman
2014-01-14 20:22 ` eww Bastien
2014-01-15 12:29 ` eww Richard Stallman
2014-01-13 19:36 ` eww Richard Stallman
2014-01-13 22:25 ` eww Bastien
2014-01-14 0:00 ` eww Stefan Monnier
2014-01-14 9:43 ` eww Bastien
2014-01-14 11:09 ` eww Nicolas Richard
2014-01-14 16:39 ` eww Bastien
2014-01-14 16:57 ` eww Nicolas Richard
2014-01-14 18:21 ` eww Bastien
2014-01-14 21:31 ` eww Nicolas Richard
2014-01-14 22:36 ` eww Bastien
2014-01-15 12:29 ` eww Richard Stallman
2014-01-15 14:07 ` eww Andreas Schwab
2014-01-15 16:10 ` eww Nicolas Richard
2014-01-16 17:56 ` eww Richard Stallman
2014-01-16 18:19 ` eww Andreas Schwab
2014-01-17 14:10 ` eww Richard Stallman
2014-01-17 15:04 ` eww Stefan Monnier
2014-01-17 15:28 ` eww Eli Zaretskii
2014-01-17 16:04 ` eww Stefan Monnier
2014-01-18 12:33 ` eww Richard Stallman
2014-01-19 2:12 ` eww Stefan Monnier
2014-01-19 11:35 ` eww Francesco Potortì
2014-01-20 9:14 ` eww Richard Stallman
2014-01-17 15:06 ` eww Andreas Schwab
2014-01-17 15:23 ` eww Francesco Potortì
2014-01-17 13:06 ` eww Bastien
2014-01-17 14:22 ` eww Stefan Monnier
2014-01-17 14:59 ` eww Bastien
2014-01-18 6:12 ` eww Richard Stallman
2014-01-16 17:57 ` eww Richard Stallman
2014-01-14 17:58 ` eww Stefan Monnier
2014-01-14 18:22 ` eww Bastien
2014-01-14 17:06 ` eww Richard Stallman
2014-01-13 22:18 ` eww Bastien
2014-01-14 0:45 ` eww Juanma Barranquero
2014-01-13 15:41 ` eww Richard Stallman
2014-01-13 18:05 ` eww Lars Magne Ingebrigtsen
2014-01-14 17:05 ` eww Richard Stallman
2014-01-14 19:39 ` eww Bastien
2014-01-15 12:29 ` eww Richard Stallman
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m3sj0fd5nt.fsf@stories.gnus.org \
--to=larsi@gnus.org \
--cc=ding@gnus.org \
--cc=emacs-devel@gnu.org \
--cc=tromey@redhat.com \
/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 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.