GNU bug report logs - #19664
24.4: eww.el why bury history buffer?

Previous Next

Package: emacs;

Reported by: Boruch Baum <boruch_baum <at> gmx.com>

Date: Fri, 23 Jan 2015 16:07:02 UTC

Severity: minor

Tags: wontfix

Found in version 24.4

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

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 19664 in the body.
You can then email your comments to 19664 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#19664; Package emacs. (Fri, 23 Jan 2015 16:07:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Boruch Baum <boruch_baum <at> gmx.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Fri, 23 Jan 2015 16:07:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Boruch Baum <boruch_baum <at> gmx.com>
To: bug-gnu-emacs <at> gnu.org
Subject: 24.4: eww.el why bury history buffer?
Date: Fri, 23 Jan 2015 11:06:48 -0500
[Message part 1 (text/plain, inline)]
Function eww-history-browse buries the eww-history buffer. That's
undesirable. The following seems to work for me.


(defun eww-history-browse ()
; improper use of 'when'. replaced with 'if (not' so that upo\
n error, the remainder of the function is not performed
; no need to quit window and bury buffer. undesirable, in fac\
t
; do need to get position in history
  "Browse the history under point in eww."
  (interactive)
  (if (not (equal (buffer-name) "*eww history*"))
    (user-error "Current buffer is not the eww history buffer\
")
   (setq element (get-text-property (line-beginning-position)\
 'eww-history)
         position (1- (line-number-at-pos))
         history eww-history)
   (if (not element)
     (user-error "No history on the current line")
    (if (get-buffer "*eww*")
      (set-buffer "*eww*")
     (set-buffer (get-buffer-create "*eww*"))
     (remove-overlays)
     (eww-mode))
    (setq eww-history-position position
          eww-history history)
    (eww-restore-history element))))

-- 
hkp://keys.gnupg.net
CA45 09B5 5351 7C11 A9D1  7286 0036 9E45 1595 8BC0


[signature.asc (application/pgp-signature, attachment)]

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#19664; Package emacs. (Sun, 25 Jan 2015 02:54:02 GMT) Full text and rfc822 format available.

Message #8 received at 19664 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Boruch Baum <boruch_baum <at> gmx.com>
Cc: 19664 <at> debbugs.gnu.org
Subject: Re: bug#19664: 24.4: eww.el why bury history buffer?
Date: Sun, 25 Jan 2015 13:52:55 +1100
Boruch Baum <boruch_baum <at> gmx.com> writes:

> Function eww-history-browse buries the eww-history buffer. That's
> undesirable.

Hm...  Yeah, that does seem really odd.  I'll make it stop doing that.

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




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#19664; Package emacs. (Sun, 25 Jan 2015 02:58:02 GMT) Full text and rfc822 format available.

Message #11 received at 19664 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Boruch Baum <boruch_baum <at> gmx.com>
Cc: 19664 <at> debbugs.gnu.org
Subject: Re: bug#19664: 24.4: eww.el why bury history buffer?
Date: Sun, 25 Jan 2015 13:57:29 +1100
Boruch Baum <boruch_baum <at> gmx.com> writes:

> Function eww-history-browse buries the eww-history buffer. That's
> undesirable. The following seems to work for me.

I changed my mind.  The way it works seem to be the way Emacs does most
of these "help" buffers.  You hit `H', and the frame is split into two
windows.  Hitting `RET' on an item removes the history window and you're
back to just one eww buffer.

So I don't really see anything wrong here.  What is it that you find
undesirable?

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




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#19664; Package emacs. (Sun, 25 Jan 2015 07:20:01 GMT) Full text and rfc822 format available.

Message #14 received at 19664 <at> debbugs.gnu.org (full text, mbox):

From: Boruch Baum <boruch_baum <at> gmx.com>
To: Lars Ingebrigtsen <larsi <at> gnus.org>
Cc: 19664 <at> debbugs.gnu.org
Subject: Re: bug#19664: 24.4: eww.el why bury history buffer?
Date: Sun, 25 Jan 2015 02:20:14 -0500
[Message part 1 (text/plain, inline)]
On 01/24/2015 09:57 PM, Lars Ingebrigtsen wrote:
> Boruch Baum <boruch_baum <at> gmx.com> writes:
> 
>> Function eww-history-browse buries the eww-history buffer. That's
>> undesirable. The following seems to work for me.
> 
> I changed my mind.  The way it works seem to be the way Emacs does most
> of these "help" buffers.  You hit `H', and the frame is split into two
> windows.  Hitting `RET' on an item removes the history window and you're
> back to just one eww buffer.
> 
> So I don't really see anything wrong here.  What is it that you find
> undesirable?
> 
Personally, I keep the frame split in C-x 3 fashion, and like having
*eww histry* next to *eww* for reading and reviewing pages offline. It's
not a big deal, just a user preference, what I find easy on my eyes.

-- 
hkp://keys.gnupg.net
CA45 09B5 5351 7C11 A9D1  7286 0036 9E45 1595 8BC0


[signature.asc (application/pgp-signature, attachment)]

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#19664; Package emacs. (Mon, 26 Jan 2015 01:54:01 GMT) Full text and rfc822 format available.

Message #17 received at 19664 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Boruch Baum <boruch_baum <at> gmx.com>
Cc: 19664 <at> debbugs.gnu.org
Subject: Re: bug#19664: 24.4: eww.el why bury history buffer?
Date: Mon, 26 Jan 2015 12:53:06 +1100
Boruch Baum <boruch_baum <at> gmx.com> writes:

> Personally, I keep the frame split in C-x 3 fashion, and like having
> *eww histry* next to *eww* for reading and reviewing pages offline. It's
> not a big deal, just a user preference, what I find easy on my eyes.

Right.  I can see wanting to do that.  It would be consistent with the
way `M-x grep' works, for instance, but that's used for scanning quickly
through many hits, while the eww history (and bookmarks) aren't usually
used that way.

I think.

So I'm closing this bug.  If somebody wants to revisit this later, they
can do that.

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




Added tag(s) wontfix. Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Mon, 26 Jan 2015 01:55:02 GMT) Full text and rfc822 format available.

bug closed, send any further explanations to 19664 <at> debbugs.gnu.org and Boruch Baum <boruch_baum <at> gmx.com> Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Mon, 26 Jan 2015 01:55:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Mon, 23 Feb 2015 12:24:05 GMT) Full text and rfc822 format available.

This bug report was last modified 10 years and 120 days ago.

Previous Next


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