From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Carlos Pita Newsgroups: gmane.emacs.bugs Subject: bug#31921: 26.1.50; Add a convenient way to get flymake error at point Date: Sat, 23 Jun 2018 14:53:55 -0300 Message-ID: References: <877emsitex.fsf@gmail.com> <8736xenw7i.fsf@gmail.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" X-Trace: blaine.gmane.org 1529776386 21755 195.159.176.226 (23 Jun 2018 17:53:06 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 23 Jun 2018 17:53:06 +0000 (UTC) Cc: 31921@debbugs.gnu.org To: =?UTF-8?Q?Jo=C3=A3o_?= =?UTF-8?Q?T=C3=A1vora?= Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Jun 23 19:53:02 2018 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fWmia-0005Y8-Od for geb-bug-gnu-emacs@m.gmane.org; Sat, 23 Jun 2018 19:53:00 +0200 Original-Received: from localhost ([::1]:39315 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fWmkh-00086K-Lr for geb-bug-gnu-emacs@m.gmane.org; Sat, 23 Jun 2018 13:55:11 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:40355) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fWmkb-000861-C9 for bug-gnu-emacs@gnu.org; Sat, 23 Jun 2018 13:55:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fWmkY-0004Kn-AP for bug-gnu-emacs@gnu.org; Sat, 23 Jun 2018 13:55:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:53747) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fWmkY-0004Kj-6s for bug-gnu-emacs@gnu.org; Sat, 23 Jun 2018 13:55:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1fWmkX-0003Gr-TC for bug-gnu-emacs@gnu.org; Sat, 23 Jun 2018 13:55:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Carlos Pita Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 23 Jun 2018 17:55:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 31921 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 31921-submit@debbugs.gnu.org id=B31921.152977646412525 (code B ref 31921); Sat, 23 Jun 2018 17:55:01 +0000 Original-Received: (at 31921) by debbugs.gnu.org; 23 Jun 2018 17:54:24 +0000 Original-Received: from localhost ([127.0.0.1]:33411 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fWmjv-0003Fx-M9 for submit@debbugs.gnu.org; Sat, 23 Jun 2018 13:54:23 -0400 Original-Received: from mail-it0-f46.google.com ([209.85.214.46]:40096) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fWmjt-0003Fl-WB for 31921@debbugs.gnu.org; Sat, 23 Jun 2018 13:54:22 -0400 Original-Received: by mail-it0-f46.google.com with SMTP id 188-v6so7017191ita.5 for <31921@debbugs.gnu.org>; Sat, 23 Jun 2018 10:54:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=QWMwwxZ9n8tmu223JL1uePkUi79PH2QZEvN1IU0KHzc=; b=QqoLQCk3iVNIpDyXK82R3O3FE9QiapzCpDjDbfSwSRjOa4vBXoC8iWD8GZeQiHNIg+ k1bLhCwe0lq2KMd21uFphk33hkawIexpIhYMtAb4KLq16mbmszRTRpaNSyW97jMzTUh6 jXyFN7FE0g2rkkT54MaBrz0cqzbSKX7yXqIVfcj80kSK/p3pVRbZaVryEdfIoxHl2D0s 2oGxHV1v8D4SSfQMhSALLA1Zy3vpgcdgUShAvQKOG8viNxUO/GmM11Sz2rKM5I8HQERT Hq2YRWeYjMSUMAX6vuqfSrKEu1cIzlx5qL+PGQfypRKdvv/II6e86NKk3cucoMnx/WbZ WFdg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=QWMwwxZ9n8tmu223JL1uePkUi79PH2QZEvN1IU0KHzc=; b=LDV8m3bUdMQ3qDvPnBrmiG0tCTcEYIctZC+RSo3mtIHds3IhTS6qSbnBHf6voEfhol ahL68iIpgQtUI5JNwI2aDQx64BbA6puo4RuLUP47B52ZrzGVRmvGD0IU+rjJGL1jK97Z m8n1yeMaQAed44Il/2sLGzjlmSI44ZPMX6JBxNEka+sxvEAArFAcqhf7/jpLSvJBL/M7 7PQYSTUCNbQy6DO0DPUffCdk+FTgSG8vLG3jyGDKvG+EmtP1Ov2IiV3hkHx/q5zWwRk4 4OR/iU+vBPTprMFTyxnqAOPIM84hWHasl38KfiMxdktHIPlnxUbCvgZ1CIKk2SD7GuHQ S/Kg== X-Gm-Message-State: APt69E0wvD3xnJIzRwS92wwmZwY1TV1NPDXWmeXEDU8y53xf4vLqG6OZ /mEzlcF8ezTx+kgPV6zjgvnoftrOEzXOyOYe3Ec= X-Google-Smtp-Source: AAOMgpcjsQs3uK7jenyUknFOqaHDwux52me/ZXfDosvHjshTjtxHec8zlba+uV+zOz3evqSVt5snzkLPMyLwrdgBRfA= X-Received: by 2002:a24:834a:: with SMTP id d71-v6mr2906236ite.147.1529776456326; Sat, 23 Jun 2018 10:54:16 -0700 (PDT) Original-Received: by 2002:a02:97bb:0:0:0:0:0 with HTTP; Sat, 23 Jun 2018 10:53:55 -0700 (PDT) In-Reply-To: <8736xenw7i.fsf@gmail.com> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:147779 Archived-At: >> 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, not as a workaround or hack. It literally reads as "help at point" and shows the content of a standard property meant for that. I think it just needs to be documented. So consider this report a request for documentation in any case. > 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.