[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#70832: 30.0.50; repunctuate-sentences should respect sentence-end-do
From: |
Eli Zaretskii |
Subject: |
bug#70832: 30.0.50; repunctuate-sentences should respect sentence-end-double-space |
Date: |
Sun, 12 May 2024 10:08:45 +0300 |
> From: Juri Linkov <juri@linkov.net>
> Cc: Geoffrey Teale <tealeg@gmail.com>, 70832@debbugs.gnu.org
> Date: Sun, 12 May 2024 09:58:05 +0300
>
> >> In paragraphs.el there is a variable 'sentence-end-doulbe-space` that
> >> indicates where we should expect
> >> sentences to end with one or two spaces after a period. In the same file a
> >> command is provided called
> >> "repunctuate-sentences", which steadfastly ignores the value of this
> >> variable and expands all single-space
> >> endings to two-space endings.
> >>
> >> It strikes me that the naming of this command does not imply that it will
> >> insist on two-spaces (even if the docs
> >> say so), and it would be more sensible and offer more utility for it to
> >> respect the users wishes. As the variable
> >> default to `t, changing this function would have zero impact on the
> >> default behaviour.
> >
> > Patches to allow repunctuate-sentences heed the value of
> > sentence-end-double-space are welcome.
>
> The purpose of repunctuate-sentences is
> to put two spaces at the end of sentences.
> What should it do when sentence-end-double-space is nil?
Leave just one space between sentences, I think.
- bug#70832: 30.0.50; repunctuate-sentences should respect sentence-end-double-space, Geoffrey Teale, 2024/05/08
- bug#70832: 30.0.50; repunctuate-sentences should respect sentence-end-double-space, Eli Zaretskii, 2024/05/11
- bug#70832: 30.0.50; repunctuate-sentences should respect sentence-end-double-space, Juri Linkov, 2024/05/12
- bug#70832: 30.0.50; repunctuate-sentences should respect sentence-end-double-space,
Eli Zaretskii <=
- bug#70832: 30.0.50; repunctuate-sentences should respect sentence-end-double-space, Juri Linkov, 2024/05/12
- bug#70832: 30.0.50; repunctuate-sentences should respect sentence-end-double-space, Eli Zaretskii, 2024/05/12
- bug#70832: 30.0.50; repunctuate-sentences should respect sentence-end-double-space, Juri Linkov, 2024/05/13
- bug#70832: 30.0.50; repunctuate-sentences should respect sentence-end-double-space, Geoffrey Teale, 2024/05/13
- bug#70832: 30.0.50; repunctuate-sentences should respect sentence-end-double-space, Eli Zaretskii, 2024/05/25