emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Avoid double spaces around abbrevations in Texinfo


From: Robert Pluim
Subject: Re: Avoid double spaces around abbrevations in Texinfo
Date: Fri, 24 Jan 2025 18:09:57 +0100

>>>>> On Fri, 24 Jan 2025 10:58:22 -0600, Stefan Kangas 
>>>>> <stefankangas@gmail.com> said:

    Stefan> Robert Pluim <rpluim@gmail.com> writes:
    >>>>>>> On Fri, 24 Jan 2025 10:35:57 -0600, Stefan Kangas 
<stefankangas@gmail.com> said:
    >> 
    Stefan> Eli Zaretskii <eliz@gnu.org> writes:
    >> >> You tell makeinfo and TeX that the period doesn't end a sentence:
    >> >>
    >> >> To bind e.g.@: @samp{a}
    >> >>
    >> >> Then they will not insert another space.
    >> 
    Stefan> Thanks, I grepped around a little for these mistakes.  The attached
    Stefan> patch tries to correct them.  How does it look?
    >> 
    >> <grumpy old man>
    >> I got to the first change and saw that you changed "e.g." to "for 
example"
    >> and stopped reading.
    >> </grumpy old man>

    Stefan> I agree to some extent, but we actually recommend this in (info 
"(elisp)
    Stefan> Documentation Tips").  At the time we added this to that
    Stefan> section, I

For documentation strings, which this is not.

    Stefan> looked into it, and it turns out that most sources recommend 
steering
    Stefan> well clear of these abbreviations.  For better or for worse.

Most people are idiots, that doesnʼt mean we have to behave like them.

    Stefan> I only really care to remove i.e./e.g. in free-flowing text, but 
usually
    Stefan> leave it alone at the start of parenthetical remarks.  You can see 
that
    Stefan> pretty much all abbreviations are left as is in my patch.  A handful
    Stefan> were expanded though.

    Stefan> I don't claim that the patch is ideal, of course.  If I thought 
that it
    Stefan> couldn't be improved, I would have installed it already.  :-)

I donʼt know, I didnʼt read it :-)

Robert
-- 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]