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

Previous Next

Package: emacs;

Reported by: Sean Whitton <spwhitton <at> spwhitton.name>

Date: Fri, 24 Jul 2020 17:01:01 UTC

Severity: normal

Tags: notabug

Found in version 28.0.50

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 42520 in the body.
You can then email your comments to 42520 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#42520; Package emacs. (Fri, 24 Jul 2020 17:01:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Sean Whitton <spwhitton <at> spwhitton.name>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Fri, 24 Jul 2020 17:01:01 GMT) Full text and rfc822 format available.

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

From: Sean Whitton <spwhitton <at> spwhitton.name>
To: bug-gnu-emacs <at> gnu.org
Subject: 28.0.50; backward-sentence and forward-sentence don't work in shr
Date: Fri, 24 Jul 2020 09:59:55 -0700
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




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#42520; Package emacs. (Mon, 27 Jul 2020 12:02:02 GMT) Full text and rfc822 format available.

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

From: "Basil L. Contovounesios" <contovob <at> tcd.ie>
To: Sean Whitton <spwhitton <at> spwhitton.name>
Cc: 42520 <at> debbugs.gnu.org
Subject: Re: bug#42520: 28.0.50; backward-sentence and forward-sentence
 don't work in shr
Date: Mon, 27 Jul 2020 15:01:25 +0300
Sean Whitton <spwhitton <at> 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




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#42520; Package emacs. (Mon, 27 Jul 2020 22:02:02 GMT) Full text and rfc822 format available.

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

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Sean Whitton <spwhitton <at> spwhitton.name>
Cc: 42520 <at> debbugs.gnu.org
Subject: Re: bug#42520: 28.0.50; backward-sentence and forward-sentence
 don't work in shr
Date: Tue, 28 Jul 2020 00:00:52 +0200
Sean Whitton <spwhitton <at> 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




Added tag(s) notabug. Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Mon, 27 Jul 2020 22:02:02 GMT) Full text and rfc822 format available.

bug closed, send any further explanations to 42520 <at> debbugs.gnu.org and Sean Whitton <spwhitton <at> spwhitton.name> Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Mon, 27 Jul 2020 22:02:02 GMT) Full text and rfc822 format available.

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#42520; Package emacs. (Tue, 28 Jul 2020 02:11:01 GMT) Full text and rfc822 format available.

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

From: Sean Whitton <spwhitton <at> spwhitton.name>
To: Lars Ingebrigtsen <larsi <at> gnus.org>
Cc: 42520 <at> debbugs.gnu.org
Subject: Re: bug#42520: 28.0.50; backward-sentence and forward-sentence
 don't work in shr
Date: Mon, 27 Jul 2020 19:10:38 -0700
Hello Lars,

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

> Sean Whitton <spwhitton <at> 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




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#42520; Package emacs. (Tue, 28 Jul 2020 10:25:01 GMT) Full text and rfc822 format available.

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

From: "Basil L. Contovounesios" <contovob <at> tcd.ie>
To: Lars Ingebrigtsen <larsi <at> gnus.org>
Cc: 42520 <at> debbugs.gnu.org, Sean Whitton <spwhitton <at> spwhitton.name>
Subject: Re: bug#42520: 28.0.50; backward-sentence and forward-sentence
 don't work in shr
Date: Tue, 28 Jul 2020 13:24:17 +0300
Lars Ingebrigtsen <larsi <at> gnus.org> writes:

> Sean Whitton <spwhitton <at> 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




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#42520; Package emacs. (Tue, 28 Jul 2020 21:35:02 GMT) Full text and rfc822 format available.

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

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: "Basil L. Contovounesios" <contovob <at> tcd.ie>
Cc: 42520 <at> debbugs.gnu.org, Sean Whitton <spwhitton <at> spwhitton.name>
Subject: Re: bug#42520: 28.0.50; backward-sentence and forward-sentence
 don't work in shr
Date: Tue, 28 Jul 2020 23:34:29 +0200
"Basil L. Contovounesios" <contovob <at> 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




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#42520; Package emacs. (Tue, 28 Jul 2020 21:36:01 GMT) Full text and rfc822 format available.

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

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Sean Whitton <spwhitton <at> spwhitton.name>
Cc: 42520 <at> debbugs.gnu.org
Subject: Re: bug#42520: 28.0.50; backward-sentence and forward-sentence
 don't work in shr
Date: Tue, 28 Jul 2020 23:34:53 +0200
Sean Whitton <spwhitton <at> 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




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#42520; Package emacs. (Wed, 29 Jul 2020 17:38:02 GMT) Full text and rfc822 format available.

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

From: Sean Whitton <spwhitton <at> spwhitton.name>
To: Lars Ingebrigtsen <larsi <at> gnus.org>
Cc: 42520 <at> debbugs.gnu.org
Subject: Re: bug#42520: 28.0.50; backward-sentence and forward-sentence
 don't work in shr
Date: Wed, 29 Jul 2020 10:36:55 -0700
Hello Lars,

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

> Sean Whitton <spwhitton <at> 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




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#42520; Package emacs. (Thu, 30 Jul 2020 00:30:02 GMT) Full text and rfc822 format available.

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

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Sean Whitton <spwhitton <at> spwhitton.name>
Cc: 42520 <at> debbugs.gnu.org
Subject: Re: bug#42520: 28.0.50; backward-sentence and forward-sentence
 don't work in shr
Date: Thu, 30 Jul 2020 02:29:35 +0200
Sean Whitton <spwhitton <at> 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




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Thu, 27 Aug 2020 11:24:05 GMT) Full text and rfc822 format available.

This bug report was last modified 3 years and 240 days ago.

Previous Next


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