--- Begin Message ---
Subject: |
[PATCH] Do not prematurely truncate python eldoc string |
Date: |
Sat, 22 Jun 2024 18:14:21 +0530 |
- emacs -Q
- C-x C-f test.py
- M-x run-python
- C-x o
- Type: print(
Only one line is shown, even with:
- M-x eldoc-doc-buffer.
0001-Do-not-prematurely-truncate-python-eldoc-string.patch
Description: [PATCH] Do not prematurely truncate python eldoc string
--
--- End Message ---
--- Begin Message ---
Subject: |
Re: bug#71720: [PATCH] Do not prematurely truncate python eldoc string |
Date: |
Thu, 27 Jun 2024 11:56:31 +0300 |
> From: James Thomas <jimjoe@gmx.net>
> Cc: Eli Zaretskii <eliz@gnu.org>, 71720@debbugs.gnu.org
> Date: Sun, 23 Jun 2024 08:32:19 +0530
>
> kobarity wrote:
>
> > James Thomas wrote:
> >> Eli Zaretskii wrote:
> >>
> >> >> Date: Sat, 22 Jun 2024 23:16:51 +0900
> >> >> From: kobarity <kobarity@gmail.com>
> >> >> Cc: 71720@debbugs.gnu.org
> >> >>
> >> >> Eli Zaretskii wrote:
> >> >> >
> >> >> > kobarity, any comments?
> >> >>
> >> >> I agree with this fix. For those who want the same behavior as
> >> >> before, setting eldoc-echo-area-use-multiline-p to nil should be
> >> >> sufficient. It might be better to make this change known in etc/NEWS,
> >> >> though.
> >> >
> >> > Thanks.
> >> >
> >> > James, can you add a NEWS entry and resubmit?
> >>
> >> How about this?
> >
> >> +*** 'eldoc' no longer truncates to a single line by default.
> >> +Previously, the entire docstring was not available to eldoc, which made
> >> +'eldoc-echo-area-use-multiline-p' ineffective. The old behaviour may be
> >> +kept by setting that.
> >> +
> >
> > Thanks, I think the content is perfect, but from other examples, it
> > might be better to have two spaces after the period.
>
> Fixed:
Thanks, installed on the emacs-30 branch, and closing the bug.
--- End Message ---