[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#51586: 27.2; Customize inserts trailing-space empty lines in doc str
From: |
Stefan Kangas |
Subject: |
bug#51586: 27.2; Customize inserts trailing-space empty lines in doc string |
Date: |
Wed, 3 Nov 2021 15:14:10 -0700 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) |
severity 51586 wishlist
thanks
Drew Adams <drew.adams@oracle.com> writes:
> emacs -Q
> Eval this code, then `M-x customize-option foo'
>
> (defcustom foo 42
> "Some doc.
> Several possibilities:
>
> * `xxx' - yyyyyyyyy yyyyyyyyyyyy
>
> * `yyy' - zzzzzzzzzzzzzz zzzzzzzzz
>
> * 42 - aaaaaa aaaaaaaaa
> Some more description of this.
> And some more.
>
> And yet more
> explanation of it.
>
> * `qqq' - rrrrrrrrr rrrrrrrrrr"
> :group 'emacs :type 'sexp)
>
> In the Customize buffer, The empty lines in the doc string get filled
> with SPC chars up to the indentation. That is, trailing whitespace
> chars are inserted. If you turn on highlighting of trailing whitespace
> you can see this. Shouldn't happen - the lines should remain empty.
Isn't it sort of nice that the user can put point at the "S" here
Several possibilities:
* ‘xxx’ - yyyyyyyyy yyyyyyyyyyyy
* ‘yyy’ - zzzzzzzzzzzzzz zzzzzzzzz
and then hit `C-n' without having the cursor jump from column 0 to
column 4? Neither way seems obviously better to me.
Also, does the user care about trailing whitespace here?