bug#42531: 28.0.50; eldoc regression w.r.t variables

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

bug#42531: 28.0.50; eldoc regression w.r.t variables

Felician Nemeth
With emacs -Q, insert (setq fill-column 70) to the *scratch* buffer and
move the point over fill-column.  With the current master, the echo area
shows:

  setq: ([MYM VAL]...)

With Emacs 26.1, it shows:

  fill-column: Column beyond which automatic line-wrapping should
  happen.

Thanks.



Reply | Threaded
Open this post in threaded view
|

bug#42531: 28.0.50; eldoc regression w.r.t variables

João Távora
Felician Nemeth <[hidden email]> writes:

> With emacs -Q, insert (setq fill-column 70) to the *scratch* buffer and
> move the point over fill-column.  With the current master, the echo area
> shows:
>
>   setq: ([MYM VAL]...)
>
> With Emacs 26.1, it shows:
>
>   fill-column: Column beyond which automatic line-wrapping should

This was very easy to fix, so I did it immediately.
elisp-eldoc-var-docstring should come before elisp-eldoc-funcall in
eldoc-documentation-functions.

You can also experiment with setting eldoc-documentation-strategy
eldoc-documentation-compose, if you want to see both pieces of
documentation.

João