unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#42520: 28.0.50; backward-sentence and forward-sentence don't work in shr
@ 2020-07-24 16:59 Sean Whitton
  2020-07-27 12:01 ` Basil L. Contovounesios
  2020-07-27 22:00 ` Lars Ingebrigtsen
  0 siblings, 2 replies; 9+ messages in thread
From: Sean Whitton @ 2020-07-24 16:59 UTC (permalink / raw)
  To: 42520

Hello,

I noticed that M-a and M-e aren't useful for navigating the contents of
eww buffers (in particular, in readable mode).  I wonder if shr could
ensure that there are two spaces between sentences so that they do?

It is nice to be able to use these commands when you want to copy text
from the webpage to quote it.

-- 
Sean Whitton





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

* bug#42520: 28.0.50; backward-sentence and forward-sentence don't work in shr
  2020-07-24 16:59 bug#42520: 28.0.50; backward-sentence and forward-sentence don't work in shr Sean Whitton
@ 2020-07-27 12:01 ` Basil L. Contovounesios
  2020-07-27 22:00 ` Lars Ingebrigtsen
  1 sibling, 0 replies; 9+ messages in thread
From: Basil L. Contovounesios @ 2020-07-27 12:01 UTC (permalink / raw)
  To: Sean Whitton; +Cc: 42520

Sean Whitton <spwhitton@spwhitton.name> writes:

> I noticed that M-a and M-e aren't useful for navigating the contents of
> eww buffers (in particular, in readable mode).  I wonder if shr could
> ensure that there are two spaces between sentences so that they do?

Why not just set sentence-end-double-space buffer-locally?

-- 
Basil





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

* bug#42520: 28.0.50; backward-sentence and forward-sentence don't work in shr
  2020-07-24 16:59 bug#42520: 28.0.50; backward-sentence and forward-sentence don't work in shr Sean Whitton
  2020-07-27 12:01 ` Basil L. Contovounesios
@ 2020-07-27 22:00 ` Lars Ingebrigtsen
  2020-07-28  2:10   ` Sean Whitton
  2020-07-28 10:24   ` Basil L. Contovounesios
  1 sibling, 2 replies; 9+ messages in thread
From: Lars Ingebrigtsen @ 2020-07-27 22:00 UTC (permalink / raw)
  To: Sean Whitton; +Cc: 42520

Sean Whitton <spwhitton@spwhitton.name> writes:

> I noticed that M-a and M-e aren't useful for navigating the contents of
> eww buffers (in particular, in readable mode).  I wonder if shr could
> ensure that there are two spaces between sentences so that they do?

shr can't possibly tell whether, e. g., those "." characters ended a
sentence or not, so adding a space after all dots would be nonsensical.

Like Basil says, if you want to change the behaviour here, set
sentence-end-double-space to nil in the relevant buffers.

So I'm closing this bug report.

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





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

* bug#42520: 28.0.50; backward-sentence and forward-sentence don't work in shr
  2020-07-27 22:00 ` Lars Ingebrigtsen
@ 2020-07-28  2:10   ` Sean Whitton
  2020-07-28 21:34     ` Lars Ingebrigtsen
  2020-07-28 10:24   ` Basil L. Contovounesios
  1 sibling, 1 reply; 9+ messages in thread
From: Sean Whitton @ 2020-07-28  2:10 UTC (permalink / raw)
  To: Lars Ingebrigtsen; +Cc: 42520

Hello Lars,

On Tue 28 Jul 2020 at 12:00AM +02, Lars Ingebrigtsen wrote:

> Sean Whitton <spwhitton@spwhitton.name> writes:
>
>> I noticed that M-a and M-e aren't useful for navigating the contents of
>> eww buffers (in particular, in readable mode).  I wonder if shr could
>> ensure that there are two spaces between sentences so that they do?
>
> shr can't possibly tell whether, e. g., those "." characters ended a
> sentence or not, so adding a space after all dots would be nonsensical.

Would this be true even in readable mode?

-- 
Sean Whitton





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

* bug#42520: 28.0.50; backward-sentence and forward-sentence don't work in shr
  2020-07-27 22:00 ` Lars Ingebrigtsen
  2020-07-28  2:10   ` Sean Whitton
@ 2020-07-28 10:24   ` Basil L. Contovounesios
  2020-07-28 21:34     ` Lars Ingebrigtsen
  1 sibling, 1 reply; 9+ messages in thread
From: Basil L. Contovounesios @ 2020-07-28 10:24 UTC (permalink / raw)
  To: Lars Ingebrigtsen; +Cc: 42520, Sean Whitton

Lars Ingebrigtsen <larsi@gnus.org> writes:

> Sean Whitton <spwhitton@spwhitton.name> writes:
>
>> I noticed that M-a and M-e aren't useful for navigating the contents of
>> eww buffers (in particular, in readable mode).  I wonder if shr could
>> ensure that there are two spaces between sentences so that they do?
>
> shr can't possibly tell whether, e. g., those "." characters ended a
> sentence or not, so adding a space after all dots would be nonsensical.
>
> Like Basil says, if you want to change the behaviour here, set
> sentence-end-double-space to nil in the relevant buffers.
>
> So I'm closing this bug report.

Why doesn't eww-mode do this by default?

-- 
Basil





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

* bug#42520: 28.0.50; backward-sentence and forward-sentence don't work in shr
  2020-07-28 10:24   ` Basil L. Contovounesios
@ 2020-07-28 21:34     ` Lars Ingebrigtsen
  0 siblings, 0 replies; 9+ messages in thread
From: Lars Ingebrigtsen @ 2020-07-28 21:34 UTC (permalink / raw)
  To: Basil L. Contovounesios; +Cc: 42520, Sean Whitton

"Basil L. Contovounesios" <contovob@tcd.ie> writes:

> Why doesn't eww-mode do this by default?

It's a user-level option, I think?

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





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

* bug#42520: 28.0.50; backward-sentence and forward-sentence don't work in shr
  2020-07-28  2:10   ` Sean Whitton
@ 2020-07-28 21:34     ` Lars Ingebrigtsen
  2020-07-29 17:36       ` Sean Whitton
  0 siblings, 1 reply; 9+ messages in thread
From: Lars Ingebrigtsen @ 2020-07-28 21:34 UTC (permalink / raw)
  To: Sean Whitton; +Cc: 42520

Sean Whitton <spwhitton@spwhitton.name> writes:

> Would this be true even in readable mode?

I'm sorry -- what you do mean by "readable mode"?

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





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

* bug#42520: 28.0.50; backward-sentence and forward-sentence don't work in shr
  2020-07-28 21:34     ` Lars Ingebrigtsen
@ 2020-07-29 17:36       ` Sean Whitton
  2020-07-30  0:29         ` Lars Ingebrigtsen
  0 siblings, 1 reply; 9+ messages in thread
From: Sean Whitton @ 2020-07-29 17:36 UTC (permalink / raw)
  To: Lars Ingebrigtsen; +Cc: 42520

Hello Lars,

On Tue 28 Jul 2020 at 11:34PM +02, Lars Ingebrigtsen wrote:

> Sean Whitton <spwhitton@spwhitton.name> writes:
>
>> Would this be true even in readable mode?
>
> I'm sorry -- what you do mean by "readable mode"?

I suppose it's not really a mode, but I mean the state you get into
after invoking eww-readable.

-- 
Sean Whitton





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

* bug#42520: 28.0.50; backward-sentence and forward-sentence don't work in shr
  2020-07-29 17:36       ` Sean Whitton
@ 2020-07-30  0:29         ` Lars Ingebrigtsen
  0 siblings, 0 replies; 9+ messages in thread
From: Lars Ingebrigtsen @ 2020-07-30  0:29 UTC (permalink / raw)
  To: Sean Whitton; +Cc: 42520

Sean Whitton <spwhitton@spwhitton.name> writes:

> I suppose it's not really a mode, but I mean the state you get into
> after invoking eww-readable.

The eww-readable command isn't able to guess whether "e. g." ends a
sentence more than any other part of Emacs.

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





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

end of thread, other threads:[~2020-07-30  0:29 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-07-24 16:59 bug#42520: 28.0.50; backward-sentence and forward-sentence don't work in shr Sean Whitton
2020-07-27 12:01 ` Basil L. Contovounesios
2020-07-27 22:00 ` Lars Ingebrigtsen
2020-07-28  2:10   ` Sean Whitton
2020-07-28 21:34     ` Lars Ingebrigtsen
2020-07-29 17:36       ` Sean Whitton
2020-07-30  0:29         ` Lars Ingebrigtsen
2020-07-28 10:24   ` Basil L. Contovounesios
2020-07-28 21:34     ` 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).