bug#42520: 28.0.50; backward-sentence and forward-sentence don't work in shr

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

bug#42520: 28.0.50; backward-sentence and forward-sentence don't work in shr

Lars Ingebrigtsen
Sean Whitton <[hidden email]> 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



Reply | Threaded
Open this post in threaded view
|

bug#42520: 28.0.50; backward-sentence and forward-sentence don't work in shr

Sean Whitton
Hello Lars,

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

> Sean Whitton <[hidden email]> 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



Reply | Threaded
Open this post in threaded view
|

bug#42520: 28.0.50; backward-sentence and forward-sentence don't work in shr

Basil L. Contovounesios
In reply to this post by Lars Ingebrigtsen
Lars Ingebrigtsen <[hidden email]> writes:

> Sean Whitton <[hidden email]> 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



Reply | Threaded
Open this post in threaded view
|

bug#42520: 28.0.50; backward-sentence and forward-sentence don't work in shr

Lars Ingebrigtsen
"Basil L. Contovounesios" <[hidden email]> 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



Reply | Threaded
Open this post in threaded view
|

bug#42520: 28.0.50; backward-sentence and forward-sentence don't work in shr

Lars Ingebrigtsen
In reply to this post by Sean Whitton
Sean Whitton <[hidden email]> 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