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: Thu, 21 Jun 2018 02:45:58 -0300 Message-ID: <877emsitex.fsf@gmail.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1529559910 29363 195.159.176.226 (21 Jun 2018 05:45:10 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 21 Jun 2018 05:45:10 +0000 (UTC) To: 31921@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Jun 21 07:45:06 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 1fVsP4-0007Xo-3a for geb-bug-gnu-emacs@m.gmane.org; Thu, 21 Jun 2018 07:45:06 +0200 Original-Received: from localhost ([::1]:53136 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fVsRB-0000AS-1o for geb-bug-gnu-emacs@m.gmane.org; Thu, 21 Jun 2018 01:47:17 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:44721) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fVsR0-0000A3-SV for bug-gnu-emacs@gnu.org; Thu, 21 Jun 2018 01:47:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fVsQw-0006i3-LV for bug-gnu-emacs@gnu.org; Thu, 21 Jun 2018 01:47:06 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:50256) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fVsQw-0006hz-H2 for bug-gnu-emacs@gnu.org; Thu, 21 Jun 2018 01:47:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1fVsQw-0007D2-Aa for bug-gnu-emacs@gnu.org; Thu, 21 Jun 2018 01:47:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Carlos Pita Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 21 Jun 2018 05:47:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 31921 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.152955998327489 (code B ref -1); Thu, 21 Jun 2018 05:47:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 21 Jun 2018 05:46:23 +0000 Original-Received: from localhost ([127.0.0.1]:58153 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fVsQI-00079C-Nk for submit@debbugs.gnu.org; Thu, 21 Jun 2018 01:46:23 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:53630) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fVsQH-00078d-78 for submit@debbugs.gnu.org; Thu, 21 Jun 2018 01:46:21 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fVsQA-0006He-IX for submit@debbugs.gnu.org; Thu, 21 Jun 2018 01:46:16 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:45406) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1fVsQA-0006HY-E5 for submit@debbugs.gnu.org; Thu, 21 Jun 2018 01:46:14 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:44568) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fVsQ8-00007C-Jg for bug-gnu-emacs@gnu.org; Thu, 21 Jun 2018 01:46:14 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fVsQ4-0006C6-LW for bug-gnu-emacs@gnu.org; Thu, 21 Jun 2018 01:46:12 -0400 Original-Received: from mail-qk0-x233.google.com ([2607:f8b0:400d:c09::233]:33950) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fVsQ4-0006Bk-Fg for bug-gnu-emacs@gnu.org; Thu, 21 Jun 2018 01:46:08 -0400 Original-Received: by mail-qk0-x233.google.com with SMTP id q70-v6so1142880qke.1 for ; Wed, 20 Jun 2018 22:46:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id:mime-version; bh=09+nbERaVqXHS/vzeXT0UqR2QrPl3bVitoDQTFmRtRk=; b=fNjndLB4JE9jjGK2fteJ7HnNrMQ3/G7Oeu/hXAYBG9mKy3R2/CQBUMBPGxubehXq+k ufede2o1iXaXBS4XyP+ONwSQ5Om+3mcfMEx+A4K8jGo9Dzq9a1wESLc6NEibHNooh9H3 lzrfhvuJfPwfhyASJ8eqSl1w9ymihiEb0cSijuHk6DgiKs4XgwLFCeUNGHIRePSkzZC7 FtkNB3tGfP73dnjRvB+CPVlndZJwBqD0YEJKamD5aJj26DdSpurT9PL2rjU7qTlNPnAQ qAbeLjki5ePzTi0AiuziQsv+7ooNky6StNwbrP3qJpGR5aq20EgD/tBfPZewu4nCDfmH RrEg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:mime-version; bh=09+nbERaVqXHS/vzeXT0UqR2QrPl3bVitoDQTFmRtRk=; b=T5bCTw9gqrnqRn+R3tJHpAPu4+K0swwfavkZlm+z+DcdY/+1Gus3kyaR2N5Ti5L3Oz nthwosV0brvW27RZTlo//vbt3LVEufwHuYD7hGrTHq+ot2+G4oO2XWXS3U3txLC2bowp hNEGqKq4BB8IeTGS/Yf8mb8TZZfkHQrcw9dk7k8ZU77lXZ8LE2tMHYf0s05ayWzU4xib vQsQ/8F/KzAFG7Y24WOQB54BCU444jhJvCaIpVgee8IDDwyIPvo5LGfmxEDfQ51jloXK EmZEJFWVn7agp/UeEgmqy05fEurlDZ0GfY2HNvz77q4ecCyO1GjEKVIVqe01X09EnYuO G0Vg== X-Gm-Message-State: APt69E1Rcj5C9zcSZDQ2016vpkoR2hLDBAIYS8AY2FbmIlY32Ib0VivJ zkcObxR98r2Alg/4B8+MHoT5OQ== X-Google-Smtp-Source: ADUXVKIqnAjV84ZO3eDkpFplN8D8DTieOmKSQZ9keTXCXfDxWx58a9moGD5qI6ty+UtOzqqHzjaLVA== X-Received: by 2002:a37:1246:: with SMTP id c67-v6mr20482571qkh.411.1529559967372; Wed, 20 Jun 2018 22:46:07 -0700 (PDT) Original-Received: from carlos ([190.244.190.18]) by smtp.gmail.com with ESMTPSA id j13-v6sm3993167qtj.23.2018.06.20.22.46.05 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 20 Jun 2018 22:46:06 -0700 (PDT) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x 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:147686 Archived-At: Currently flymake gives a visual hint of an error location but to get the message of that error you need either to: 1. Move the mouse over the error location and wait for a tooltip to appear. 2. Move the point before (after) the error location and use the commands to get the next (previous) error. Now 2 is clearly not ideal since it forces the user to locate the point in non-intuitive positions (intuitive position = where the error highlighting is) and to type long commands. At first sight 1 seems to address this fact but, hey, the mouse? A tooltip delay? It's nice to have it but a standard keybinding is missing here IMO. Besides, it's not so easy to define a custom one since there is no error-at-point function, one has to get the point location, then the diagnostics for that location, then the text for those diagnostics. --- In GNU Emacs 26.1.50 (build 3, x86_64-pc-linux-gnu, GTK+ Version 3.22.30) of 2018-06-18 built on carlos Repository revision: 0a8b7f365cbc8de02ddb4e806dd76b1bf6302565 Windowing system distributor 'The X.Org Foundation', version 11.0.11906000 System Description: Manjaro Linux Recent messages: Creating group entries...done Creating customization items ...done Resetting customization items...done Creating customization setup...done next-line: End of buffer Quit Eldoc mode disabled in current buffer Mark set Type C-x 1 to delete the help window. Making completion list... flymake-diagnostic-text: Wrong type argument: flymake--diag, 172 Configured using: 'configure --prefix=/home/carlos/Local/stow/emacs-26 --libexecdir=/home/carlos/Local/stow/emacs-26/lib --with-x-toolkit=gtk3 --with-xft --with-modules' Configured features: XPM JPEG TIFF GIF PNG RSVG SOUND GPM DBUS GSETTINGS NOTIFY ACL GNUTLS LIBXML2 FREETYPE M17N_FLT LIBOTF XFT ZLIB TOOLKIT_SCROLL_BARS GTK3 X11 MODULES THREADS LIBSYSTEMD LCMS2 Important settings: value of $LC_MONETARY: en_US.UTF-8 value of $LC_NUMERIC: en_US.UTF-8 value of $LC_TIME: en_US.UTF-8 value of $LANG: en_US.UTF-8 locale-coding-system: utf-8-unix Major mode: Emacs-Lisp Minor modes in effect: display-line-numbers-mode: t flymake-mode: t diff-auto-refine-mode: t pyvenv-mode: t shell-dirtrack-mode: t xclip-mode: t winner-mode: t show-paren-mode: t ido-ubiquitous-mode: t ido-everywhere: t global-company-mode: t company-mode: t tooltip-mode: t global-eldoc-mode: t eldoc-mode: t electric-indent-mode: t mouse-wheel-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t column-number-mode: t line-number-mode: t transient-mark-mode: t Load-path shadows: None found. Features: (shadow sort mail-extr emacsbug message rmc puny dired dired-loaddefs rfc822 mml mml-sec epa derived epg mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail two-column iso-transl eieio-opt speedbar sb-image dframe semantic/wisent/python semantic/db-mode semantic/decorate/include semantic/db-find semantic/db-ref semantic/db eieio-base semantic/decorate/mode semantic/decorate pulse semantic/format ezimage semantic/tag-ls semantic/ctxt semantic/dep semantic/find semantic/wisent/python-wy semantic/wisent semantic/wisent/wisent semantic/util-modes semantic/util semantic semantic/tag semantic/lex semantic/fw mode-local cedet rx allout-widgets allout all-the-icons all-the-icons-faces data-material data-weathericons data-octicons data-fileicons data-faicons data-alltheicons debug noutline outline jka-compr find-func pp cl-print autoload lisp-mnt misearch multi-isearch display-line-numbers checkdoc flymake-proc flymake warnings doom-themes-org vc-git cl-extra yasnippet elec-pair highlight-indentation help-fns radix-tree help-mode elpy find-file-in-project ivy delsel ivy-overlay ffap thingatpt windmove diff-mode easy-mmode elpy-shell pyvenv esh-var esh-io esh-cmd esh-opt esh-ext esh-proc esh-arg esh-groups eshell esh-module esh-mode esh-util elpy-profile elpy-django elpy-refactor subr-x python tramp-sh tramp tramp-compat tramp-loaddefs trampver ucs-normalize shell pcomplete parse-time format-spec advice json map grep compile comint ansi-color files-x company-oddmuse company-keywords company-etags etags xref project company-gtags company-dabbrev-code company-dabbrev company-files company-capf company-cmake company-xcode company-clang company-semantic company-eclim company-template company-css company-nxml company-bbdb doom-tomorrow-night-theme doom-themes doom-themes-common xclip winner ring paren ido-completing-read+ memoize s cus-edit minibuf-eldef ido gnus nnheader gnus-util rmail rmail-loaddefs rfc2047 rfc2045 ietf-drums mail-utils mm-util mail-prsvr wid-edit company edmacro kmacro pcase cus-start cus-load finder-inf info package easymenu epg-config url-handlers url-parse auth-source cl-seq eieio eieio-core cl-macs eieio-loaddefs password-cache url-vars seq byte-opt gv bytecomp byte-compile cconv cl-loaddefs cl-lib server time-date mule-util tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel term/x-win x-win term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode elisp-mode lisp-mode prog-mode register page menu-bar rfn-eshadow isearch timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core term/tty-colors frame cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese composite charscript charprop case-table epa-hook jka-cmpr-hook help simple abbrev obarray minibuffer cl-preloaded nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote dbusbind inotify lcms2 dynamic-setting system-font-setting font-render-setting move-toolbar gtk x-toolkit x multi-tty make-network-process emacs) Memory information: ((conses 16 1931212 109955) (symbols 48 39622 1) (miscs 40 3436 609) (strings 32 115065 3324) (string-bytes 1 2950094) (vectors 16 79121) (vector-slots 8 1950064 121286) (floats 8 516 347) (intervals 56 8533 727) (buffers 992 43))