unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#56826: Inserted text in docstrings and buffers not formatting text into full lines and paragraphs.
@ 2022-07-29 13:43 carlmarcos--- via Bug reports for GNU Emacs, the Swiss army knife of text editors
  2022-07-30 13:02 ` Lars Ingebrigtsen
       [not found] ` <8735eizrcn.fsf@gnus.org-N8EC0_l----2>
  0 siblings, 2 replies; 7+ messages in thread
From: carlmarcos--- via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2022-07-29 13:43 UTC (permalink / raw)
  To: 56826


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





^ permalink raw reply	[flat|nested] 7+ messages in thread

* bug#56826: Inserted text in docstrings and buffers not formatting text into full lines and paragraphs.
  2022-07-29 13:43 bug#56826: Inserted text in docstrings and buffers not formatting text into full lines and paragraphs carlmarcos--- via Bug reports for GNU Emacs, the Swiss army knife of text editors
@ 2022-07-30 13:02 ` Lars Ingebrigtsen
       [not found] ` <8735eizrcn.fsf@gnus.org-N8EC0_l----2>
  1 sibling, 0 replies; 7+ messages in thread
From: Lars Ingebrigtsen @ 2022-07-30 13:02 UTC (permalink / raw)
  To: carlmarcos; +Cc: 56826

carlmarcos@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?






^ permalink raw reply	[flat|nested] 7+ messages in thread

* bug#56826: Inserted text in docstrings and buffers not formatting text into full lines and paragraphs.
       [not found] ` <8735eizrcn.fsf@gnus.org-N8EC0_l----2>
@ 2022-07-30 13:18   ` carlmarcos--- via Bug reports for GNU Emacs, the Swiss army knife of text editors
       [not found]   ` <N8EFWxZ--3-2@tutanota.com-N8EFhyQ----2>
  1 sibling, 0 replies; 7+ messages in thread
From: carlmarcos--- via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2022-07-30 13:18 UTC (permalink / raw)
  To: Lars Ingebrigtsen; +Cc: 56826


Jul 30, 2022, 13:02 by larsi@gnus.org:

> carlmarcos@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?





^ permalink raw reply	[flat|nested] 7+ messages in thread

* bug#56826: Inserted text in docstrings and buffers not formatting text into full lines and paragraphs.
       [not found]   ` <N8EFWxZ--3-2@tutanota.com-N8EFhyQ----2>
@ 2022-07-30 13:25     ` carlmarcos--- via Bug reports for GNU Emacs, the Swiss army knife of text editors
  2022-07-30 13:38       ` Lars Ingebrigtsen
       [not found]       ` <87o7x6yb35.fsf@gnus.org-N8EKFpx----2>
  0 siblings, 2 replies; 7+ messages in thread
From: carlmarcos--- via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2022-07-30 13:25 UTC (permalink / raw)
  To: carlmarcos; +Cc: 56826, Lars Ingebrigtsen


Jul 30, 2022, 13:18 by bug-gnu-emacs@gnu.org:

>
> Jul 30, 2022, 13:02 by larsi@gnus.org:
>
>> carlmarcos@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?
>






^ permalink raw reply	[flat|nested] 7+ messages in thread

* bug#56826: Inserted text in docstrings and buffers not formatting text into full lines and paragraphs.
  2022-07-30 13:25     ` carlmarcos--- via Bug reports for GNU Emacs, the Swiss army knife of text editors
@ 2022-07-30 13:38       ` Lars Ingebrigtsen
       [not found]       ` <87o7x6yb35.fsf@gnus.org-N8EKFpx----2>
  1 sibling, 0 replies; 7+ messages in thread
From: Lars Ingebrigtsen @ 2022-07-30 13:38 UTC (permalink / raw)
  To: carlmarcos; +Cc: 56826

carlmarcos@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'.






^ permalink raw reply	[flat|nested] 7+ messages in thread

* bug#56826: Inserted text in docstrings and buffers not formatting text into full lines and paragraphs.
       [not found]       ` <87o7x6yb35.fsf@gnus.org-N8EKFpx----2>
@ 2022-07-30 13:55         ` carlmarcos--- via Bug reports for GNU Emacs, the Swiss army knife of text editors
  2022-07-30 13:58           ` Lars Ingebrigtsen
  0 siblings, 1 reply; 7+ messages in thread
From: carlmarcos--- via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2022-07-30 13:55 UTC (permalink / raw)
  To: Lars Ingebrigtsen; +Cc: 56826



Jul 30, 2022, 13:38 by larsi@gnus.org:

> carlmarcos@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?






^ permalink raw reply	[flat|nested] 7+ messages in thread

* bug#56826: Inserted text in docstrings and buffers not formatting text into full lines and paragraphs.
  2022-07-30 13:55         ` carlmarcos--- via Bug reports for GNU Emacs, the Swiss army knife of text editors
@ 2022-07-30 13:58           ` Lars Ingebrigtsen
  0 siblings, 0 replies; 7+ messages in thread
From: Lars Ingebrigtsen @ 2022-07-30 13:58 UTC (permalink / raw)
  To: carlmarcos; +Cc: 56826

carlmarcos@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.





^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2022-07-30 13:58 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-07-29 13:43 bug#56826: Inserted text in docstrings and buffers not formatting text into full lines and paragraphs carlmarcos--- via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-07-30 13:02 ` Lars Ingebrigtsen
     [not found] ` <8735eizrcn.fsf@gnus.org-N8EC0_l----2>
2022-07-30 13:18   ` carlmarcos--- via Bug reports for GNU Emacs, the Swiss army knife of text editors
     [not found]   ` <N8EFWxZ--3-2@tutanota.com-N8EFhyQ----2>
2022-07-30 13:25     ` carlmarcos--- via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-07-30 13:38       ` Lars Ingebrigtsen
     [not found]       ` <87o7x6yb35.fsf@gnus.org-N8EKFpx----2>
2022-07-30 13:55         ` carlmarcos--- via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-07-30 13:58           ` Lars Ingebrigtsen

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).