GNU bug report logs - #51586
27.2; Customize inserts trailing-space empty lines in doc string

Previous Next

Package: emacs;

Reported by: Drew Adams <drew.adams <at> oracle.com>

Date: Wed, 3 Nov 2021 14:09:01 UTC

Severity: wishlist

Tags: wontfix

Found in version 27.2

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


Message #8 received at 51586 <at> debbugs.gnu.org (full text, mbox):

From: Stefan Kangas <stefan <at> marxist.se>
To: Drew Adams <drew.adams <at> oracle.com>
Cc: 51586 <at> debbugs.gnu.org
Subject: Re: bug#51586: 27.2; Customize inserts trailing-space empty lines in
 doc string
Date: Wed, 3 Nov 2021 15:14:10 -0700
severity 51586 wishlist
thanks

Drew Adams <drew.adams <at> 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?




This bug report was last modified 3 years and 202 days ago.

Previous Next


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