unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: "João Távora" <joaotavora@gmail.com>
To: Carlos Pita <carlosjosepita@gmail.com>
Cc: 31921@debbugs.gnu.org, 31921-done@debbugs.gnu.org
Subject: bug#31921: 26.1.50; Add a convenient way to get flymake error at point
Date: Mon, 25 Jun 2018 12:33:16 +0100	[thread overview]
Message-ID: <87wounksn7.fsf@gmail.com> (raw)
In-Reply-To: <CAELgYhdCkg=GPJY4CDijJunGXfB=CXoQSXMTxUcCUeJgnM5QYg@mail.gmail.com> (Carlos Pita's message of "Sat, 23 Jun 2018 14:53:55 -0300")

Carlos Pita <carlosjosepita@gmail.com> writes:

>>> So feel free to close this, but please add something wrt this in the
>>> docstring or the info manual.
>>
>> In that case, it's better not to close it.  I've already read this
>> complaint/request elsewhere.
>
> I don't know if `C-h .` was intended by design or is the result of
> serendipity but it feels like the right solution to me

Neither I think, it's a side effect of good design and following
conventions.

I pushed the docchange to master as 15f4cdd873.

>> So, if others are reading this, what do you think of making eldoc
>> display the diagnostic at point instead of (along with?) whatever it was
>> already displaying in the echo area?
>
> Many major modes already use eldoc to show information about the
> symbol at point and the echo area is rather disputed by eldoc,
> company, etc. I would avoid automatically messaging the error at point
> to prevent excessive message switching. But it could be a
> customization toggle.

Yeah, I'd go with Dmitry's suggestion in

   https://github.com/joaotavora/eglot/issues/8#issuecomment-399698728

where he demonstrates that you can customize this by using:

   (custom-set-variables
    '(help-at-pt-timer-delay 0.1)
    '(help-at-pt-display-when-idle '(flymake-diagnostic)))

Though, in my testing, this always defers to eldoc (which is probably
the intended behavior).

João






  reply	other threads:[~2018-06-25 11:33 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-06-21  5:45 bug#31921: 26.1.50; Add a convenient way to get flymake error at point Carlos Pita
2018-06-21  5:54 ` Carlos Pita
2018-06-23  1:11   ` João Távora
2018-06-23 17:53     ` Carlos Pita
2018-06-25 11:33       ` João Távora [this message]
2018-06-25 12:56         ` Dmitry Gutov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87wounksn7.fsf@gmail.com \
    --to=joaotavora@gmail.com \
    --cc=31921-done@debbugs.gnu.org \
    --cc=31921@debbugs.gnu.org \
    --cc=carlosjosepita@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).