GNU bug report logs - #56826
Inserted text in docstrings and buffers not formatting text into full lines and paragraphs.

Previous Next

Package: emacs;

Reported by: carlmarcos <at> tutanota.com

Date: Fri, 29 Jul 2022 13:44:02 UTC

Severity: normal

Tags: moreinfo, notabug

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

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 56826 in the body.
You can then email your comments to 56826 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#56826; Package emacs. (Fri, 29 Jul 2022 13:44:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to carlmarcos <at> tutanota.com:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Fri, 29 Jul 2022 13:44:02 GMT) Full text and rfc822 format available.

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

From: carlmarcos <at> tutanota.com
To: Bug Gnu Emacs <bug-gnu-emacs <at> gnu.org>
Subject: Inserted text in docstrings and buffers not formatting  text into
 full lines and paragraphs.
Date: Fri, 29 Jul 2022 15:43:00 +0200 (CEST)
Have seen that docstrings and inserted text in a created buffer display them in verbatim mode.  Does not seem possible to format  text into paragraphs.

For instance, doing the following in org-mode

For a lengthy list of examples, see:
[[https://www.gnu.org/proprietary/proprietary.html][Malicious
Functionalities]]

results in

For a lengthy list of examples, see:
Malicious
Functionalities

Rather than 

For a lengthy list of examples, see: Malicious Functionalities




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#56826; Package emacs. (Sat, 30 Jul 2022 13:03:01 GMT) Full text and rfc822 format available.

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

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: carlmarcos <at> tutanota.com
Cc: 56826 <at> debbugs.gnu.org
Subject: Re: bug#56826: Inserted text in docstrings and buffers not
 formatting  text into full lines and paragraphs.
Date: Sat, 30 Jul 2022 15:02:00 +0200
carlmarcos <at> tutanota.com writes:

> Have seen that docstrings and inserted text in a created buffer
> display them in verbatim mode.  Does not seem possible to format  text
> into paragraphs.

Sorry; I'm unable to parse that paragraph.

> For instance, doing the following in org-mode
>
> For a lengthy list of examples, see:
> [[https://www.gnu.org/proprietary/proprietary.html][Malicious
> Functionalities]]
>
> results in
>
> For a lengthy list of examples, see:
> Malicious
> Functionalities
>
> Rather than 
>
> For a lengthy list of examples, see: Malicious Functionalities

Is this a bug report about org-mode or doc strings?





Added tag(s) moreinfo. Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Sat, 30 Jul 2022 13:03:02 GMT) Full text and rfc822 format available.

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#56826; Package emacs. (Sat, 30 Jul 2022 13:19:02 GMT) Full text and rfc822 format available.

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

From: carlmarcos <at> tutanota.com
To: Lars Ingebrigtsen <larsi <at> gnus.org>
Cc: 56826 <at> debbugs.gnu.org
Subject: Re: bug#56826: Inserted text in docstrings and buffers not formatting
 text into full lines and paragraphs.
Date: Sat, 30 Jul 2022 15:18:30 +0200 (CEST)
Jul 30, 2022, 13:02 by larsi <at> gnus.org:

> carlmarcos <at> tutanota.com writes:
>
>> Have seen that docstrings and inserted text in a created buffer
>> display them in verbatim mode.  Does not seem possible to format  text
>> into paragraphs.
>>
>
> Sorry; I'm unable to parse that paragraph.
>
>> For instance, doing the following in org-mode
>>
>> For a lengthy list of examples, see:
>> [[https://www.gnu.org/proprietary/proprietary.html][Malicious
>> Functionalities]]
>>
>> results in
>>
>> For a lengthy list of examples, see:
>> Malicious
>> Functionalities
>>
>> Rather than 
>>
>> For a lengthy list of examples, see: Malicious Functionalities
>>
>
> Is this a bug report about org-mode or doc strings?
>
I am not sure.  Is there a feature in emacs to write text based on full lines (based on fill column) and paragraph filling?




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#56826; Package emacs. (Sat, 30 Jul 2022 13:26:01 GMT) Full text and rfc822 format available.

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

From: carlmarcos <at> tutanota.com
To: carlmarcos <at> tutanota.com
Cc: 56826 <at> debbugs.gnu.org, Lars Ingebrigtsen <larsi <at> gnus.org>
Subject: Re: bug#56826: Inserted text in docstrings and buffers not formatting
 text into full lines and paragraphs.
Date: Sat, 30 Jul 2022 15:25:17 +0200 (CEST)
Jul 30, 2022, 13:18 by bug-gnu-emacs <at> gnu.org:

>
> Jul 30, 2022, 13:02 by larsi <at> gnus.org:
>
>> carlmarcos <at> tutanota.com writes:
>>
>>> Have seen that docstrings and inserted text in a created buffer
>>> display them in verbatim mode.  Does not seem possible to format  text
>>> into paragraphs.
>>>
>>
>> Sorry; I'm unable to parse that paragraph.
>>

When I write a docstring, what is written in the buffer upon hitting `C-h f fun` shows the same formatting as was coded in the docstring.  Last word on each line is the last word on each line printed in the function documentation buffer.

>>> For instance, doing the following in org-mode
>>>
>>> For a lengthy list of examples, see:
>>> [[https://www.gnu.org/proprietary/proprietary.html][Malicious
>>> Functionalities]]
>>>
>>> results in
>>>
>>> For a lengthy list of examples, see:
>>> Malicious
>>> Functionalities
>>>
>>> Rather than 
>>>
>>> For a lengthy list of examples, see: Malicious Functionalities
>>>
>>
>> Is this a bug report about org-mode or doc strings?
>>
> I am not sure.  Is there a feature in emacs to write text based on full lines (based on fill column) and paragraph filling?
>





Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#56826; Package emacs. (Sat, 30 Jul 2022 13:39:02 GMT) Full text and rfc822 format available.

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

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: carlmarcos <at> tutanota.com
Cc: 56826 <at> debbugs.gnu.org
Subject: Re: bug#56826: Inserted text in docstrings and buffers not
 formatting text into full lines and paragraphs.
Date: Sat, 30 Jul 2022 15:38:38 +0200
carlmarcos <at> tutanota.com writes:

> When I write a docstring, what is written in the buffer upon hitting
> `C-h f fun` shows the same formatting as was coded in the docstring. 
> Last word on each line is the last word on each line printed in the
> function documentation buffer.

Yes -- is this a problem?

If you want to reflow a paragraph, then call `fill-paragraph'.





Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#56826; Package emacs. (Sat, 30 Jul 2022 13:56:01 GMT) Full text and rfc822 format available.

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

From: carlmarcos <at> tutanota.com
To: Lars Ingebrigtsen <larsi <at> gnus.org>
Cc: 56826 <at> debbugs.gnu.org
Subject: Re: bug#56826: Inserted text in docstrings and buffers not formatting
 text into full lines and paragraphs.
Date: Sat, 30 Jul 2022 15:55:15 +0200 (CEST)

Jul 30, 2022, 13:38 by larsi <at> gnus.org:

> carlmarcos <at> tutanota.com writes:
>
>> When I write a docstring, what is written in the buffer upon hitting
>> `C-h f fun` shows the same formatting as was coded in the docstring. 
>> Last word on each line is the last word on each line printed in the
>> function documentation buffer.
>>
>
> Yes -- is this a problem?
>
Yes, if I want to use a link in the docstritng.

The same problem occurs when inserting into a buffer.

> If you want to reflow a paragraph, then call `fill-paragraph'.
>
Could you show an example that does that?





Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#56826; Package emacs. (Sat, 30 Jul 2022 13:59:02 GMT) Full text and rfc822 format available.

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

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: carlmarcos <at> tutanota.com
Cc: 56826 <at> debbugs.gnu.org
Subject: Re: bug#56826: Inserted text in docstrings and buffers not
 formatting text into full lines and paragraphs.
Date: Sat, 30 Jul 2022 15:58:42 +0200
carlmarcos <at> tutanota.com writes:

>> If you want to reflow a paragraph, then call `fill-paragraph'.
>>
> Could you show an example that does that?

(fill-paragraph)?

In any case, this doesn't seem to be a bug in Emacs, so I'm closing this
bug report.  If you need help implementing something, the correct venue
is one of the Emacs help mailing lists.




Added tag(s) notabug. Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Sat, 30 Jul 2022 13:59:02 GMT) Full text and rfc822 format available.

bug closed, send any further explanations to 56826 <at> debbugs.gnu.org and carlmarcos <at> tutanota.com Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Sat, 30 Jul 2022 13:59:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sun, 28 Aug 2022 11:24:05 GMT) Full text and rfc822 format available.

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

Previous Next


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