* bug#23738: [feature request] eww allow multiple buffer
@ 2016-06-10 8:27 Andreas Röhler
2016-06-10 14:03 ` Ted Zlatanov
2017-01-24 21:42 ` Lars Ingebrigtsen
0 siblings, 2 replies; 17+ messages in thread
From: Andreas Röhler @ 2016-06-10 8:27 UTC (permalink / raw)
To: 23738
Hi,
I'm using eww to navigate running a test2speech app
sentence-by-sentence. Thanks a lot enabling that!
Now would like to open a bunch of stuff that way, not just a single
page. The buffer name should indicate the source somehow. "Instead of
hard-coded "*eww*", add some initials from URL for example.
So when opening http://www.gnu.org/
buffer-name might appear as "*eww-go*"
Thanks again,
Andreas
^ permalink raw reply [flat|nested] 17+ messages in thread
* bug#23738: [feature request] eww allow multiple buffer
2016-06-10 8:27 bug#23738: [feature request] eww allow multiple buffer Andreas Röhler
@ 2016-06-10 14:03 ` Ted Zlatanov
2017-01-24 21:42 ` Lars Ingebrigtsen
1 sibling, 0 replies; 17+ messages in thread
From: Ted Zlatanov @ 2016-06-10 14:03 UTC (permalink / raw)
To: Andreas Röhler; +Cc: 23738
On Fri, 10 Jun 2016 10:27:05 +0200 Andreas Röhler <andreas.roehler@easy-emacs.de> wrote:
AR> I'm using eww to navigate running a test2speech app sentence-by-sentence. Thanks
AR> a lot enabling that!
AR> Now would like to open a bunch of stuff that way, not just a single page. The
AR> buffer name should indicate the source somehow. "Instead of hard-coded "*eww*",
AR> add some initials from URL for example.
AR> So when opening http://www.gnu.org/
AR> buffer-name might appear as "*eww-go*"
You can currently use `rename-buffer' to do this manually and AFAICT
things work fine. I'm not sure there's value in making it automatic
because it would generate a lot of buffers and code complexity. Maybe it
should be a tab system inside the EWW buffer instead, to keep things
contained.
Ted
^ permalink raw reply [flat|nested] 17+ messages in thread
* bug#23738: [feature request] eww allow multiple buffer
2016-06-10 8:27 bug#23738: [feature request] eww allow multiple buffer Andreas Röhler
2016-06-10 14:03 ` Ted Zlatanov
@ 2017-01-24 21:42 ` Lars Ingebrigtsen
2017-01-24 22:38 ` Mark Oteiza
1 sibling, 1 reply; 17+ messages in thread
From: Lars Ingebrigtsen @ 2017-01-24 21:42 UTC (permalink / raw)
To: Andreas Röhler; +Cc: 23738
Andreas Röhler <andreas.roehler@easy-emacs.de> writes:
> I'm using eww to navigate running a test2speech app
> sentence-by-sentence. Thanks a lot enabling that!
>
> Now would like to open a bunch of stuff that way, not just a single
> page. The buffer name should indicate the source somehow. "Instead of
> hard-coded "*eww*", add some initials from URL for example.
>
> So when opening http://www.gnu.org/
>
> buffer-name might appear as "*eww-go*"
I've now altered `eww-browse-url' when used with a `new-window'
parameter so that it'll create new buffer names based on the host.
It'll look like *eww-www.gnu.org*, though.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
^ permalink raw reply [flat|nested] 17+ messages in thread
* bug#23738: [feature request] eww allow multiple buffer
2017-01-24 21:42 ` Lars Ingebrigtsen
@ 2017-01-24 22:38 ` Mark Oteiza
2017-01-24 22:41 ` Lars Ingebrigtsen
2017-01-25 19:50 ` Lars Ingebrigtsen
0 siblings, 2 replies; 17+ messages in thread
From: Mark Oteiza @ 2017-01-24 22:38 UTC (permalink / raw)
To: Lars Ingebrigtsen; +Cc: 23738
Lars Ingebrigtsen <larsi@gnus.org> writes:
> Andreas Röhler <andreas.roehler@easy-emacs.de> writes:
>
>> I'm using eww to navigate running a test2speech app
>> sentence-by-sentence. Thanks a lot enabling that!
>>
>> Now would like to open a bunch of stuff that way, not just a single
>> page. The buffer name should indicate the source somehow. "Instead of
>> hard-coded "*eww*", add some initials from URL for example.
>>
>> So when opening http://www.gnu.org/
>>
>> buffer-name might appear as "*eww-go*"
>
> I've now altered `eww-browse-url' when used with a `new-window'
> parameter so that it'll create new buffer names based on the host.
> It'll look like *eww-www.gnu.org*, though.
What happens when I navigate to another site in the same buffer? Then
the buffer name is deceptive. Both s and S show the site and/or title,
and the header line of the eww buffer always has both, so this change seems
strange IMHO.
^ permalink raw reply [flat|nested] 17+ messages in thread
* bug#23738: [feature request] eww allow multiple buffer
2017-01-24 22:38 ` Mark Oteiza
@ 2017-01-24 22:41 ` Lars Ingebrigtsen
2017-01-30 19:52 ` Ted Zlatanov
2017-01-25 19:50 ` Lars Ingebrigtsen
1 sibling, 1 reply; 17+ messages in thread
From: Lars Ingebrigtsen @ 2017-01-24 22:41 UTC (permalink / raw)
To: Mark Oteiza; +Cc: 23738
Mark Oteiza <mvoteiza@udel.edu> writes:
> What happens when I navigate to another site in the same buffer? Then
> the buffer name is deceptive. Both s and S show the site and/or title,
> and the header line of the eww buffer always has both, so this change seems
> strange IMHO.
Hm, yes, that's true. And changing the name of the buffer as you follow
links isn't very nice, either. I think.
Hm... so perhaps I should revert that change unless anybody has any
other thoughts on this...
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
^ permalink raw reply [flat|nested] 17+ messages in thread
* bug#23738: [feature request] eww allow multiple buffer
2017-01-24 22:41 ` Lars Ingebrigtsen
@ 2017-01-30 19:52 ` Ted Zlatanov
2017-01-31 16:31 ` Lars Ingebrigtsen
0 siblings, 1 reply; 17+ messages in thread
From: Ted Zlatanov @ 2017-01-30 19:52 UTC (permalink / raw)
To: Lars Ingebrigtsen; +Cc: Mark Oteiza, 23738
On Tue, 24 Jan 2017 23:41:40 +0100 Lars Ingebrigtsen <larsi@gnus.org> wrote:
LI> Mark Oteiza <mvoteiza@udel.edu> writes:
>> What happens when I navigate to another site in the same buffer? Then
>> the buffer name is deceptive. Both s and S show the site and/or title,
>> and the header line of the eww buffer always has both, so this change seems
>> strange IMHO.
LI> Hm, yes, that's true. And changing the name of the buffer as you follow
LI> links isn't very nice, either. I think.
LI> Hm... so perhaps I should revert that change unless anybody has any
LI> other thoughts on this...
I think there are several use cases. I've given my suggestions:
1) open a new buffer directly to a hostname or "go to" a URL: use that
hostname in the buffer title
2) follow a link to the same host (or domain) in a EWW buffer: leave the
buffer title
3) follow a link to a different host (or domain) in a EWW buffer: drop
the buffer title and just make it a number or something unique
Ted
^ permalink raw reply [flat|nested] 17+ messages in thread
* bug#23738: [feature request] eww allow multiple buffer
2017-01-30 19:52 ` Ted Zlatanov
@ 2017-01-31 16:31 ` Lars Ingebrigtsen
2017-01-31 18:44 ` Ted Zlatanov
0 siblings, 1 reply; 17+ messages in thread
From: Lars Ingebrigtsen @ 2017-01-31 16:31 UTC (permalink / raw)
To: 23738
Ted Zlatanov <tzz@lifelogs.com> writes:
> I think there are several use cases. I've given my suggestions:
>
> 1) open a new buffer directly to a hostname or "go to" a URL: use that
> hostname in the buffer title
>
> 2) follow a link to the same host (or domain) in a EWW buffer: leave the
> buffer title
>
> 3) follow a link to a different host (or domain) in a EWW buffer: drop
> the buffer title and just make it a number or something unique
Yeah, I think this is a probably the best way to deal with it. That is:
If you've opened a "domain-named" eww buffer (which is now the case with
NEW-WINDOW), then eww will have to change the name of the buffer if you
follow a link to a different domain. But perhaps just keep renaming it
based on the new domain instead of reverting to <number>?
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
^ permalink raw reply [flat|nested] 17+ messages in thread
* bug#23738: [feature request] eww allow multiple buffer
2017-01-31 16:31 ` Lars Ingebrigtsen
@ 2017-01-31 18:44 ` Ted Zlatanov
0 siblings, 0 replies; 17+ messages in thread
From: Ted Zlatanov @ 2017-01-31 18:44 UTC (permalink / raw)
To: Lars Ingebrigtsen; +Cc: 23738
On Tue, 31 Jan 2017 17:31:52 +0100 Lars Ingebrigtsen <larsi@gnus.org> wrote:
LI> Ted Zlatanov <tzz@lifelogs.com> writes:
>> I think there are several use cases. I've given my suggestions:
>>
>> 1) open a new buffer directly to a hostname or "go to" a URL: use that
>> hostname in the buffer title
>>
>> 2) follow a link to the same host (or domain) in a EWW buffer: leave the
>> buffer title
>>
>> 3) follow a link to a different host (or domain) in a EWW buffer: drop
>> the buffer title and just make it a number or something unique
LI> Yeah, I think this is a probably the best way to deal with it. That is:
LI> If you've opened a "domain-named" eww buffer (which is now the case with
LI> NEW-WINDOW), then eww will have to change the name of the buffer if you
LI> follow a link to a different domain. But perhaps just keep renaming it
LI> based on the new domain instead of reverting to <number>?
Your call, as long as the logic is consistent and clear in the code,
separately treating those three cases. Then it can be amended or even
extracted into customizable hooks etc.
Ted
^ permalink raw reply [flat|nested] 17+ messages in thread
* bug#23738: [feature request] eww allow multiple buffer
2017-01-24 22:38 ` Mark Oteiza
2017-01-24 22:41 ` Lars Ingebrigtsen
@ 2017-01-25 19:50 ` Lars Ingebrigtsen
2017-01-25 20:09 ` Noam Postavsky
2017-01-26 18:06 ` Mark Oteiza
1 sibling, 2 replies; 17+ messages in thread
From: Lars Ingebrigtsen @ 2017-01-25 19:50 UTC (permalink / raw)
To: Mark Oteiza; +Cc: 23738
Mark Oteiza <mvoteiza@udel.edu> writes:
> What happens when I navigate to another site in the same buffer? Then
> the buffer name is deceptive. Both s and S show the site and/or title,
> and the header line of the eww buffer always has both, so this change seems
> strange IMHO.
On the other hand, we also have other buffers that have names that
may become misleading after a while. For instance:
(buffer-name) -> "*unsent wide reply to Mark Oteiza*"
Even if I remove you from the headers, the buffer doesn't change name.
:-) So there's precedence.
Another option is to say that if the user has called eww in
open-in-a-new-window-mode, then all further RETs in the buffer should
also pop to new windows... Then the buffer name would always be
correct.
The third option is to always rename the buffer in these cases.
The fourth is to revert to the previous meaningless buffer names, i.e.,
*eww*<254> etc.
Opinions?
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
^ permalink raw reply [flat|nested] 17+ messages in thread
* bug#23738: [feature request] eww allow multiple buffer
2017-01-25 19:50 ` Lars Ingebrigtsen
@ 2017-01-25 20:09 ` Noam Postavsky
2017-01-26 17:25 ` Lars Ingebrigtsen
2017-01-26 18:06 ` Mark Oteiza
1 sibling, 1 reply; 17+ messages in thread
From: Noam Postavsky @ 2017-01-25 20:09 UTC (permalink / raw)
To: Lars Ingebrigtsen; +Cc: Mark Oteiza, 23738
On Wed, Jan 25, 2017 at 2:50 PM, Lars Ingebrigtsen <larsi@gnus.org> wrote:
> Mark Oteiza <mvoteiza@udel.edu> writes:
>
>> What happens when I navigate to another site in the same buffer? Then
>> the buffer name is deceptive. Both s and S show the site and/or title,
>> and the header line of the eww buffer always has both, so this change seems
>> strange IMHO.
>
> On the other hand, we also have other buffers that have names that
> may become misleading after a while. For instance:
>
> (buffer-name) -> "*unsent wide reply to Mark Oteiza*"
>
> Even if I remove you from the headers, the buffer doesn't change name.
> :-) So there's precedence.
There's precedence in the other direction too: when you do
dired-find-alternate-file the buffer name changes.
> The fourth is to revert to the previous meaningless buffer names, i.e.,
> *eww*<254> etc.
If the buffer name will be meaningless, setting
`list-buffers-directory' to the url so it shows up in the buffer
listing could be useful.
^ permalink raw reply [flat|nested] 17+ messages in thread
* bug#23738: [feature request] eww allow multiple buffer
2017-01-25 20:09 ` Noam Postavsky
@ 2017-01-26 17:25 ` Lars Ingebrigtsen
0 siblings, 0 replies; 17+ messages in thread
From: Lars Ingebrigtsen @ 2017-01-26 17:25 UTC (permalink / raw)
To: Noam Postavsky; +Cc: Mark Oteiza, 23738
Noam Postavsky <npostavs@users.sourceforge.net> writes:
> There's precedence in the other direction too: when you do
> dired-find-alternate-file the buffer name changes.
Hm, yeah...
>> The fourth is to revert to the previous meaningless buffer names, i.e.,
>> *eww*<254> etc.
>
> If the buffer name will be meaningless, setting
> `list-buffers-directory' to the url so it shows up in the buffer
> listing could be useful.
Oh, nice. I didn't know about that one. I don't think it quite solves
the problem here, but eww should be setting that anyway. I'll make that
change.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
^ permalink raw reply [flat|nested] 17+ messages in thread
* bug#23738: [feature request] eww allow multiple buffer
2017-01-25 19:50 ` Lars Ingebrigtsen
2017-01-25 20:09 ` Noam Postavsky
@ 2017-01-26 18:06 ` Mark Oteiza
2017-01-26 18:16 ` Lars Ingebrigtsen
1 sibling, 1 reply; 17+ messages in thread
From: Mark Oteiza @ 2017-01-26 18:06 UTC (permalink / raw)
To: Lars Ingebrigtsen; +Cc: 23738
On 25/01/17 at 08:50pm, Lars Ingebrigtsen wrote:
> Mark Oteiza <mvoteiza@udel.edu> writes:
>
> > What happens when I navigate to another site in the same buffer? Then
> > the buffer name is deceptive. Both s and S show the site and/or title,
> > and the header line of the eww buffer always has both, so this change seems
> > strange IMHO.
>
> On the other hand, we also have other buffers that have names that
> may become misleading after a while. For instance:
>
> (buffer-name) -> "*unsent wide reply to Mark Oteiza*"
>
> Even if I remove you from the headers, the buffer doesn't change name.
> :-) So there's precedence.
>
> Another option is to say that if the user has called eww in
> open-in-a-new-window-mode, then all further RETs in the buffer should
> also pop to new windows... Then the buffer name would always be
> correct.
>
> The third option is to always rename the buffer in these cases.
>
> The fourth is to revert to the previous meaningless buffer names, i.e.,
> *eww*<254> etc.
>
> Opinions?
I don't think I've ever used message-mode's buffer name to tell which
email it is, looking at the subject is easier. I certainly have never
used eww's buffer names to tell what website they are on, seeing how the
urls or titles are presented plainly in 3 different ways.
IMO The original report doesn't make sense. The buffer names have
nothing to do with being able to use and manipulate multiple eww
buffers.
I'd just revert. Alternatively, it looks trivial to make customizeable.
^ permalink raw reply [flat|nested] 17+ messages in thread
* bug#23738: [feature request] eww allow multiple buffer
2017-01-26 18:06 ` Mark Oteiza
@ 2017-01-26 18:16 ` Lars Ingebrigtsen
2017-01-26 19:17 ` Mark Oteiza
0 siblings, 1 reply; 17+ messages in thread
From: Lars Ingebrigtsen @ 2017-01-26 18:16 UTC (permalink / raw)
To: Mark Oteiza; +Cc: 23738
Mark Oteiza <mvoteiza@udel.edu> writes:
> I don't think I've ever used message-mode's buffer name to tell which
> email it is, looking at the subject is easier. I certainly have never
> used eww's buffer names to tell what website they are on, seeing how the
> urls or titles are presented plainly in 3 different ways.
>
> IMO The original report doesn't make sense. The buffer names have
> nothing to do with being able to use and manipulate multiple eww
> buffers.
I think there's value in being able to type `C-x b fsf RET' to go the
buffer that has the FSF web page, or whatever. Especially for people
with disabilities.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
^ permalink raw reply [flat|nested] 17+ messages in thread
* bug#23738: [feature request] eww allow multiple buffer
2017-01-26 18:16 ` Lars Ingebrigtsen
@ 2017-01-26 19:17 ` Mark Oteiza
2017-01-26 19:27 ` Lars Ingebrigtsen
0 siblings, 1 reply; 17+ messages in thread
From: Mark Oteiza @ 2017-01-26 19:17 UTC (permalink / raw)
To: Lars Ingebrigtsen; +Cc: 23738
On 26/01/17 at 07:16pm, Lars Ingebrigtsen wrote:
> Mark Oteiza <mvoteiza@udel.edu> writes:
>
> > I don't think I've ever used message-mode's buffer name to tell which
> > email it is, looking at the subject is easier. I certainly have never
> > used eww's buffer names to tell what website they are on, seeing how the
> > urls or titles are presented plainly in 3 different ways.
> >
> > IMO The original report doesn't make sense. The buffer names have
> > nothing to do with being able to use and manipulate multiple eww
> > buffers.
>
> I think there's value in being able to type `C-x b fsf RET' to go the
> buffer that has the FSF web page, or whatever. Especially for people
> with disabilities.
Unless you navigated to the FSF page from duckduckgo or any other host.
^ permalink raw reply [flat|nested] 17+ messages in thread
* bug#23738: [feature request] eww allow multiple buffer
2017-01-26 19:17 ` Mark Oteiza
@ 2017-01-26 19:27 ` Lars Ingebrigtsen
2017-01-26 20:00 ` Mark Oteiza
0 siblings, 1 reply; 17+ messages in thread
From: Lars Ingebrigtsen @ 2017-01-26 19:27 UTC (permalink / raw)
To: Mark Oteiza; +Cc: 23738
Mark Oteiza <mvoteiza@udel.edu> writes:
>> I think there's value in being able to type `C-x b fsf RET' to go the
>> buffer that has the FSF web page, or whatever. Especially for people
>> with disabilities.
>
> Unless you navigated to the FSF page from duckduckgo or any other host.
The use case here is that you hit a link that opens a new window. Then
you want to find that window after a while. There's no way for a blind
person to do that without a lot of work without sensible eww buffer
naming.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
^ permalink raw reply [flat|nested] 17+ messages in thread
* bug#23738: [feature request] eww allow multiple buffer
2017-01-26 19:27 ` Lars Ingebrigtsen
@ 2017-01-26 20:00 ` Mark Oteiza
2017-01-26 20:15 ` Lars Ingebrigtsen
0 siblings, 1 reply; 17+ messages in thread
From: Mark Oteiza @ 2017-01-26 20:00 UTC (permalink / raw)
To: Lars Ingebrigtsen; +Cc: 23738
On 26/01/17 at 08:27pm, Lars Ingebrigtsen wrote:
> Mark Oteiza <mvoteiza@udel.edu> writes:
>
> >> I think there's value in being able to type `C-x b fsf RET' to go the
> >> buffer that has the FSF web page, or whatever. Especially for people
> >> with disabilities.
> >
> > Unless you navigated to the FSF page from duckduckgo or any other host.
>
> The use case here is that you hit a link that opens a new window. Then
> you want to find that window after a while. There's no way for a blind
> person to do that without a lot of work without sensible eww buffer
> naming.
Then make it customizable so as to not shoehorn every user into this
use case where no one ever navigates to different hosts in an eww buffer.
Also, to suggest there is no other way to solve this problem is
ridiculous, but you've dug in your feet and I'm not going to waste any
more time arguing with you.
^ permalink raw reply [flat|nested] 17+ messages in thread
* bug#23738: [feature request] eww allow multiple buffer
2017-01-26 20:00 ` Mark Oteiza
@ 2017-01-26 20:15 ` Lars Ingebrigtsen
0 siblings, 0 replies; 17+ messages in thread
From: Lars Ingebrigtsen @ 2017-01-26 20:15 UTC (permalink / raw)
To: Mark Oteiza; +Cc: 23738
Mark Oteiza <mvoteiza@udel.edu> writes:
> Then make it customizable so as to not shoehorn every user into this
> use case where no one ever navigates to different hosts in an eww buffer.
Well, this is only when you open a new window when using browse-url with
eww (which is not the default behaviour anyway).
> Also, to suggest there is no other way to solve this problem is
> ridiculous, but you've dug in your feet and I'm not going to waste any
> more time arguing with you.
Uhm. I presented at least four different options here, one of which was
reverting. How is that digging in my feet?
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
^ permalink raw reply [flat|nested] 17+ messages in thread
end of thread, other threads:[~2017-01-31 18:44 UTC | newest]
Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-06-10 8:27 bug#23738: [feature request] eww allow multiple buffer Andreas Röhler
2016-06-10 14:03 ` Ted Zlatanov
2017-01-24 21:42 ` Lars Ingebrigtsen
2017-01-24 22:38 ` Mark Oteiza
2017-01-24 22:41 ` Lars Ingebrigtsen
2017-01-30 19:52 ` Ted Zlatanov
2017-01-31 16:31 ` Lars Ingebrigtsen
2017-01-31 18:44 ` Ted Zlatanov
2017-01-25 19:50 ` Lars Ingebrigtsen
2017-01-25 20:09 ` Noam Postavsky
2017-01-26 17:25 ` Lars Ingebrigtsen
2017-01-26 18:06 ` Mark Oteiza
2017-01-26 18:16 ` Lars Ingebrigtsen
2017-01-26 19:17 ` Mark Oteiza
2017-01-26 19:27 ` Lars Ingebrigtsen
2017-01-26 20:00 ` Mark Oteiza
2017-01-26 20:15 ` Lars Ingebrigtsen
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.