Alex Kost <alez...@gmail.com> writes:

> Ricardo Wurmus (2015-12-31 12:52 +0300) wrote:
>
>> Ben Woodcroft <b.woodcr...@uq.edu.au> writes:
>>
>>> Do you know though, is there any way to get emacs to insert the extra
>>> space in description strings and comments automatically (without it
>>> messing things up of course). Perhaps we should modify the importers to
>>> insert this automatically in the description field.
>>
>> The CRAN and Bioconductor importers already do this.  See
>> “beautify-description” in “guix/import/cran.scm”.
>
> Hm, is it reliable?  Not all dots specify an end of a sentence: there
> are things like "e.g.", "i.e.", "etc.".  Also there may be abbreviations
> like "ATA S.M.A.R.T. reading and parsing library" (synopsis of
> 'libatasmart' package).  Or even things like “<form> ... </form>”
> (description of 'perl-html-form') — it should probably be wrapped in
> @code{} by the way.

It’s not supposed to be maintenance-free.  Descriptions often start with
sentence fragments, which cannot be detected easily.  I found that
“beautify-description” works well enough to make packaging R stuff much
simpler for me.

~~ Ricardo

Reply via email to