GNU bug report logs - #30337
auto-filling with 'However,'

Previous Next

Package: auctex;

Reported by: "Simola Antti (VATT)" <antti.simola <at> vatt.fi>

Date: Sat, 3 Feb 2018 17:30:02 UTC

Severity: normal

Tags: notabug

Done: Arash Esbati <arash <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: "Simola Antti (VATT)" <antti.simola <at> vatt.fi>
To: David Kastrup <dak <at> gnu.org>
Cc: "30337 <at> debbugs.gnu.org" <30337 <at> debbugs.gnu.org>
Subject: bug#30337: auto-filling with 'However,'
Date: Sat, 3 Feb 2018 18:55:16 +0000
Hi,

Thank you for your response! I noticed too that double space fixed the problem for that particular sentence. Still, I don’t use double space for any sentence and the other sentences auto-fill as they should. Is that nevertheless proper behavior?

Cheers,

Antti

Lähetetty iPadista

> David Kastrup <dak <at> gnu.org> kirjoitti 3.2.2018 kello 20.23:
> 
> "Simola Antti (VATT)" <antti.simola <at> vatt.fi> writes:
> 
>> --text follows this line--
>> 
>> Remember to cover the basics, that is, what you expected to happen and
>> what in fact did happen.
>> 
>> Be sure to consult the FAQ section in the manual before submitting
>> a bug report.  In addition check if the bug is reproducable with an
>> up-to-date version of AUCTeX.  So please upgrade to the version
>> available from http://www.gnu.org/software/auctex/ if your
>> installation is older than the one available from the web site.
>> 
>> If the bug is triggered by a specific (La)TeX file, you should try
>> to produce a minimal sample file showing the problem and include it
>> in your report.
>> 
>> Your report will be posted for the auctex package at the GNU bug
>> tracker.  Visit http://debbugs.gnu.org/cgi/pkgreport.cgi?pkg=auctex
>> to browse existing AUCTeX bugs.
>> ------------------------------------------------------------------------
>> 
>> I have many times encountered unsatisfactory behavior of M-q
>> auto-filling when the subsequent line would start with 'However,'. The
>> fill leaves also the preceding word on the line with 'However,',
>> although that would fit well on the preceding line.
> 
> You don't bother giving an example so I have to guess.  My guess is that
> You don't end your sentences with double space but have
> 
>    sentence-end-double-space is a variable defined in ‘paragraphs.el’.
>    Its value is t
> 
>      This variable is safe as a file local variable if its value
>      satisfies the predicate ‘booleanp’.
> 
>    Documentation:
>    Non-nil means a single space does not end a sentence.
>    This is relevant for filling.  See also ‘sentence-end-without-period’
>    and ‘colon-double-space’.
> 
>    This value is used by the function ‘sentence-end’ to construct the
>    regexp describing the end of a sentence, when the value of the variable
>    ‘sentence-end’ is nil.  See Info node ‘(elisp)Standard Regexps’.
> 
>    You can customize this variable.
> 
> set at its default of t .
> 
> Naturally, AUCTeX will obey your settings.
> 
> -- 
> David Kastrup

This bug report was last modified 1 year and 73 days ago.

Previous Next


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