From unknown Fri Jun 20 20:02:13 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#31921 <31921@debbugs.gnu.org> To: bug#31921 <31921@debbugs.gnu.org> Subject: Status: 26.1.50; Add a convenient way to get flymake error at point Reply-To: bug#31921 <31921@debbugs.gnu.org> Date: Sat, 21 Jun 2025 03:02:13 +0000 retitle 31921 26.1.50; Add a convenient way to get flymake error at point reassign 31921 emacs submitter 31921 Carlos Pita severity 31921 wishlist thanks From debbugs-submit-bounces@debbugs.gnu.org Thu Jun 21 01:46:23 2018 Received: (at submit) by debbugs.gnu.org; 21 Jun 2018 05:46:23 +0000 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 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 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 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM, T_DKIM_INVALID autolearn=disabled version=3.3.2 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 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 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 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 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) 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) From: Carlos Pita To: bug-gnu-emacs@gnu.org Subject: 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> MIME-Version: 1.0 Content-Type: text/plain 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-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.0 (----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) 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)) From debbugs-submit-bounces@debbugs.gnu.org Thu Jun 21 01:55:14 2018 Received: (at submit) by debbugs.gnu.org; 21 Jun 2018 05:55:14 +0000 Received: from localhost ([127.0.0.1]:58158 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fVsYs-0007vl-3T for submit@debbugs.gnu.org; Thu, 21 Jun 2018 01:55:14 -0400 Received: from eggs.gnu.org ([208.118.235.92]:54993) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fVsYq-0007us-Dn for submit@debbugs.gnu.org; Thu, 21 Jun 2018 01:55:12 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fVsYk-00020S-Ez for submit@debbugs.gnu.org; Thu, 21 Jun 2018 01:55:07 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=BAYES_40,FREEMAIL_FROM, T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:50043) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1fVsYk-00020M-Aq for submit@debbugs.gnu.org; Thu, 21 Jun 2018 01:55:06 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:45957) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fVsYj-0001Mm-7X for bug-gnu-emacs@gnu.org; Thu, 21 Jun 2018 01:55:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fVsYi-0001za-KD for bug-gnu-emacs@gnu.org; Thu, 21 Jun 2018 01:55:05 -0400 Received: from mail-io0-x232.google.com ([2607:f8b0:4001:c06::232]:32920) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fVsYi-0001zT-FM for bug-gnu-emacs@gnu.org; Thu, 21 Jun 2018 01:55:04 -0400 Received: by mail-io0-x232.google.com with SMTP id d185-v6so1942617ioe.0 for ; Wed, 20 Jun 2018 22:55:04 -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; bh=bYqP+AKjVH9bO6/iJ7XLzbHiRo10vNaGYNC2zZ7z0Zs=; b=WeUWFhQVVHFhFRyyN8Og9a5AZi4OiAixs6C8/kJ7Oxh7jIMHU0D97zirnVKBTI84Yx kwIUwvS9vTrT6sdM6WnHVca6djt+D+tGqEtQIxxXRyLqo7ZNW6rX/jC6zP95wswjBRJT WU2/ZHvAEHY0Obkbsr8DM2Kyorxl2Zd+Z13KbNI9GkS83kcSkb2tFu9zJaCD3fAyIFnE 0U3bILVCL1E+HXZmiQXnMo3o0/mg1eIpMddQMsaKPRS3zm75EjjW+YSd4oH+0ZVlFDTj 1ylry8At8C52AO7mOtE4BOAQ4/qcS0/J8fZYC82rzDa9uAIdcDchGjh6mmZIXzYAG2SR AfkQ== 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; bh=bYqP+AKjVH9bO6/iJ7XLzbHiRo10vNaGYNC2zZ7z0Zs=; b=gLjiklcBFTs0a9u0Hm7bIa7kvF8Ams9xmH/Osl+x815XSmd4Mnp/MqudB+ESlzKz9U kiNcKNuCfhjmZixKKmvpAnLbGzss7LV3QjTSOiPrmN3sqFWM1iw1FWZ313yGvFGIamkz cWEQl38gsW2MdH5/g+99vusF8V2hwVIEEwl8xwifWW/ZRdFZrLCGplCt/mT0+9QHz3tw kHA4PQJCgbN9y0GDdI+cMPZodYB7ATQVqBdI+ar5HbC/ngbFrlgpWhtQF9kPVI5bMRd1 w7fyLkHxN+cijD8OW3SqUxWhaYINZqhWv/LiWOxkujfB2Wn1Oe7XrSjy6kjwNm22jCes RL5w== X-Gm-Message-State: APt69E0UTwIMr/rxl4oarzJJ4B6RBiZZsgaE7EWX94ugVQf5EZmQD7C0 Attlqr7su035Cx5yd8f1hFUT7wU8jLyEePCf7tY= X-Google-Smtp-Source: ADUXVKIk5fR0//BpqhzstW3mJKl4AibYTQwY71iuKuIFXtRrWGZLcJbbhxMA/TzpzdUJ1nxW5UaHDSc2vZXx3twZltU= X-Received: by 2002:a6b:de14:: with SMTP id v20-v6mr19827692iog.260.1529560503322; Wed, 20 Jun 2018 22:55:03 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a02:97bb:0:0:0:0:0 with HTTP; Wed, 20 Jun 2018 22:54:42 -0700 (PDT) In-Reply-To: <877emsitex.fsf@gmail.com> References: <877emsitex.fsf@gmail.com> From: Carlos Pita Date: Thu, 21 Jun 2018 02:54:42 -0300 Message-ID: Subject: Re: 26.1.50; Add a convenient way to get flymake error at point To: bug-gnu-emacs@gnu.org Content-Type: text/plain; charset="UTF-8" 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-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.0 (----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) Ok, now I discovered one has to simply type C-h . to show the content of the help-echo property. I knew it had to be some way. So feel free to close this, but please add something wrt this in the docstring or the info manual. From debbugs-submit-bounces@debbugs.gnu.org Fri Jun 22 21:11:25 2018 Received: (at 31921) by debbugs.gnu.org; 23 Jun 2018 01:11:25 +0000 Received: from localhost ([127.0.0.1]:60677 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fWX5I-0000hs-P9 for submit@debbugs.gnu.org; Fri, 22 Jun 2018 21:11:24 -0400 Received: from mail-wm0-f50.google.com ([74.125.82.50]:33404) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fWX5H-0000hf-M9 for 31921@debbugs.gnu.org; Fri, 22 Jun 2018 21:11:23 -0400 Received: by mail-wm0-f50.google.com with SMTP id z6-v6so7579636wma.0 for <31921@debbugs.gnu.org>; Fri, 22 Jun 2018 18:11:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-transfer-encoding; bh=Hmn/nAARbu3ov9WRwa8D6+JswrMqTNKSOS+FDG4OIQM=; b=tKRhLXQXTf1t5dkUpcfpCyN0jgv3XG/ZrMfv/tF7kBNEgK/MG/pcINg5yG/Ggk80PH dUb1I30nCkWt4YrQw4owK/yqEKlQy+JOZTFdDnD4I7aSOgmxEpE6lxXhWNcmqzLyVLuB lbyBFp293hh7U2T2/5MIAcRcj+/0JzffClp+4ukrroVKnyxUpjuHJTdgib9XzSA3Cn3e 7Yng0kB3wVMKOE0ArAYh6i8S+mCr2Xd3rzGgSaZ9aAQA4qZkap98MQOR4M8XblEF9L0Q SqgcTCXn1xcGABXzkOCEVZz18TmeZRwQixQz16EUP5ch1+cZ64tn7UeH1iyOyrst1fk8 z7uA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-transfer-encoding; bh=Hmn/nAARbu3ov9WRwa8D6+JswrMqTNKSOS+FDG4OIQM=; b=JgwWE5RqdCSznDCgAxb/WheET3XfolJLvF+fnmpKQwrLPvjsl6gutSw4tPasJOnyE+ 0fcTk4h9+KQAMESrIljGKrq9jJalDIfGzFGEL4ze8l6gXlDzwnBvM1u8eKMjqQPXrflI OMbIe0vi9VFEG3IJVJHuFZu9mEXoKSQHhVgAzMMhe12+2zlWeV9y3+EEVCDFCUEFJomw b1DA9t9eRzDutsJb+qRSJyoLutgWBjEcbKubq7mtAQenr3oSdr3l/G6OCVNy9yFtnW/S tzbs143cuIT6+P8UP6SgwEIDeKYg48iYak1eqDsKVmrUSOzIOFQtQs/MYsC0iRCuHZbh rrPg== X-Gm-Message-State: APt69E0EoRzrIXP3J8uFjDBT2kEx2J7QefVR05A7I03WHPU0iqsD0+04 7K4lUC29CMaTzc88Cj0TjM+ot64g X-Google-Smtp-Source: ADUXVKKg6JGY3jiiDDQte9yybJhFFkSjKnJWrFo1lnNoe5zlEkZG8j7nHDiSSBP5cdBiScyQ3FDJng== X-Received: by 2002:a1c:7a19:: with SMTP id v25-v6mr2954742wmc.81.1529716277679; Fri, 22 Jun 2018 18:11:17 -0700 (PDT) Received: from lolita.yourcompany.com (188.139.62.94.rev.vodafone.pt. [94.62.139.188]) by smtp.gmail.com with ESMTPSA id d7-v6sm8527526wrm.9.2018.06.22.18.11.15 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 22 Jun 2018 18:11:16 -0700 (PDT) From: =?utf-8?B?Sm/Do28gVMOhdm9yYQ==?= To: Carlos Pita Subject: Re: bug#31921: 26.1.50; Add a convenient way to get flymake error at point References: <877emsitex.fsf@gmail.com> Date: Sat, 23 Jun 2018 02:11:13 +0100 In-Reply-To: (Carlos Pita's message of "Thu, 21 Jun 2018 02:54:42 -0300") Message-ID: <8736xenw7i.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.1 (/) X-Debbugs-Envelope-To: 31921 Cc: 31921@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.9 (/) Carlos Pita writes: Hi Carlos, > Ok, now I discovered one has to simply type C-h . to show the content > of the help-echo property. > > I knew it had to be some way. Actually, I didn't know this worked, so thanks. I have flymake-goto-next/prev-error bound to M-n and M-p and quickly type M-n M-p (your 2nd solution if I'm not mistaken) > 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. 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? Jo=C3=A3o From debbugs-submit-bounces@debbugs.gnu.org Sat Jun 23 13:54:23 2018 Received: (at 31921) by debbugs.gnu.org; 23 Jun 2018 17:54:24 +0000 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 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 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) MIME-Version: 1.0 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> References: <877emsitex.fsf@gmail.com> <8736xenw7i.fsf@gmail.com> From: Carlos Pita Date: Sat, 23 Jun 2018 14:53:55 -0300 Message-ID: Subject: Re: bug#31921: 26.1.50; Add a convenient way to get flymake error at point To: =?UTF-8?B?Sm/Do28gVMOhdm9yYQ==?= Content-Type: text/plain; charset="UTF-8" X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 31921 Cc: 31921@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) >> 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. From debbugs-submit-bounces@debbugs.gnu.org Mon Jun 25 07:33:29 2018 Received: (at 31921) by debbugs.gnu.org; 25 Jun 2018 11:33:29 +0000 Received: from localhost ([127.0.0.1]:34339 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fXPkO-0006Tn-O5 for submit@debbugs.gnu.org; Mon, 25 Jun 2018 07:33:28 -0400 Received: from mail-wm0-f45.google.com ([74.125.82.45]:33398) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fXPkN-0006TU-6L; Mon, 25 Jun 2018 07:33:27 -0400 Received: by mail-wm0-f45.google.com with SMTP id z6-v6so12229735wma.0; Mon, 25 Jun 2018 04:33:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-transfer-encoding; bh=buoaiY6pI4USMV68bdtJPOjMXJEAjdMINKgbf+1Cwfg=; b=Paq/LSgKzlyWblKGSuXgX/UohfgYfODcNpJBi2frUQQQWiS39L0GnSltGTowkswzPl hXt4ERnV/aGqU3YoY/1ZEGVL1e42zJYU1FjeIp/CTkCPJGi/oxC+jIlywcPa8Qk6Pytl M5torQ3sOf9Jjw5JJCWpRJnoy/OgS1kGzJJUbH8IUAGUOt9GWvFoLYrzE4EvUwtjbn54 XQF5G1ZdRA2rQaSBJuI9DcY+RzBZNYBy3opOau4ey5oxbRTkbQQQ6Q7CY+6w1J7Z2sH4 i+C6OR+ZusM59RXGkZpiNy7gWBfBq8sv135lqd378PSq078e3OLg1DKDLSIkFOsY4TcC be+A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-transfer-encoding; bh=buoaiY6pI4USMV68bdtJPOjMXJEAjdMINKgbf+1Cwfg=; b=Bl6MG7oZmsSa6pNwUhCylixhB0VV/PmlT3xsDmLGFuw9xi9h83h/l4QFOfNqt6zile B8AFSPM+Ru9wdOBGBh73A/ASvvwADfb2aLGu/k1M+dikyt11i9reYs2EML/CKXWEEXZm 8Jv99tCY0X2puHQMlq1QPFC82H9pUf5Yx3EJ2UFCbn+hqaYKYZQPyrGU56bAkDTps+1m Rnw8tehm/SEqsw1H5ad3+t3nIOLIhn7GrbCIDthX6pHMSravElMWGsi21xddQSC96p8b jkC0HbcqQZkuDwDypVIuPXXoDRZJFbEsnMBe508e5ULXYNA2b4rtWm7Q880jfcXBe+hw kjPQ== X-Gm-Message-State: APt69E1yHqAtmAjssOFCpHzz/G0aQWcY6iWsLeaWPTUr5Za6eCc4k/Xo QDwl5bjvtpt6HMeQWuwMGsEmCj/6 X-Google-Smtp-Source: AAOMgpcLulpEeID18doxFo1kPtaTEVBzke+iSDKTNVsukYMEcM+q4aF8UINFOiZPajbnRz+8wNujZA== X-Received: by 2002:a1c:c604:: with SMTP id w4-v6mr668738wmf.135.1529926401290; Mon, 25 Jun 2018 04:33:21 -0700 (PDT) Received: from lolita.yourcompany.com (188.139.62.94.rev.vodafone.pt. [94.62.139.188]) by smtp.gmail.com with ESMTPSA id 72-v6sm15410442wrb.22.2018.06.25.04.33.19 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 25 Jun 2018 04:33:20 -0700 (PDT) From: =?utf-8?B?Sm/Do28gVMOhdm9yYQ==?= To: Carlos Pita Subject: Re: bug#31921: 26.1.50; Add a convenient way to get flymake error at point References: <877emsitex.fsf@gmail.com> <8736xenw7i.fsf@gmail.com> Date: Mon, 25 Jun 2018 12:33:16 +0100 In-Reply-To: (Carlos Pita's message of "Sat, 23 Jun 2018 14:53:55 -0300") Message-ID: <87wounksn7.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.1 (/) X-Debbugs-Envelope-To: 31921 Cc: 31921@debbugs.gnu.org, 31921-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.9 (/) Carlos Pita 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=C3=A3o From debbugs-submit-bounces@debbugs.gnu.org Mon Jun 25 08:57:08 2018 Received: (at 31921) by debbugs.gnu.org; 25 Jun 2018 12:57:09 +0000 Received: from localhost ([127.0.0.1]:34444 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fXR3M-00027C-MW for submit@debbugs.gnu.org; Mon, 25 Jun 2018 08:57:08 -0400 Received: from mail-wr0-f171.google.com ([209.85.128.171]:36413) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fXR3L-00026l-Al; Mon, 25 Jun 2018 08:57:07 -0400 Received: by mail-wr0-f171.google.com with SMTP id f16-v6so13596252wrm.3; Mon, 25 Jun 2018 05:57:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=P4LqAuSBDWf7Z6rfxpuBPPY3STlPnwCRL2zUtsOK8ag=; b=O0+97JGJE7DMBYMsbAG/k4RSAEg7ysWkXvCyWgid4kettMBRM2HIgplZi4RHK+8LDX b2Y+sMOBz0nS7jv+aFKlzhn8+AblYDX5NaQdspXk/P79s69YALgVtroFtSuDExB3G+Fy CHEIZzN6Vkts79yCXX36p+bXdAR2KMax7zRre8SqE0ZJxRWnUZg5f7BTecTpqpiNu2jP WfLFJ30AqxP9wkxsQ/cyp11kai+OuCQnCcxcFlFWk2z2TP5yPnM+tMM0Hfmx7d2cfIpg 9DhT2pTCHczDZSXriBN0dc/nES8ffsdwlUl2AogVbaO5IN5qkAY1O83yWWOSkkJABcqx 94Fw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:subject:to:cc:references:from:message-id :date:user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=P4LqAuSBDWf7Z6rfxpuBPPY3STlPnwCRL2zUtsOK8ag=; b=K+GHt0P1/Hk6Jl+6RLp/T0VzcpmwKFWbfFZi7zVh56/uE3YEDN4t5L6P67WEcJolOA ef9t3HzsxndQxkI3kAYztJljxrYtF23GY10hyLGldMs3aIKuLBUVMkWyphoqLeOxz4Q4 Vmk50BDlnOWa+9pB8OcAUQnPj5uvY9347mj4cv0qkVUji6Hk2p8eJVgaz6kk41N4bEhs MB8etM5K+NwPDwWgv7Y0emVd66nhInkpRlJK7aOZWtzDE8400Hum3zvxO1uR3q23v2Lb mFKkWPePhBT8bf0CYphmO4hoA2UJw0hAzwCeYh4mxv3tFIrTskSxynUQB6yiIDJDKXfB RAGw== X-Gm-Message-State: APt69E0rWNNn4gkIUe5WI290R80In8n0KCBCqYqeL5Ct0HCmA/xF1Oi1 8M+mQPzF1Avg+nedhkdZzvOpnjQd X-Google-Smtp-Source: AAOMgpfSKJcn/8a2QvgbcHlNDh4iGF0l0TUKQsnqqUC/Omkx6Nc7Pv3swPsNN5Dg1YxbKb2reGVzEQ== X-Received: by 2002:adf:824e:: with SMTP id 72-v6mr10305801wrb.127.1529931421406; Mon, 25 Jun 2018 05:57:01 -0700 (PDT) Received: from [192.168.1.104] ([148.63.152.122]) by smtp.googlemail.com with ESMTPSA id d10-v6sm2671100wrj.38.2018.06.25.05.57.00 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 25 Jun 2018 05:57:00 -0700 (PDT) Subject: Re: bug#31921: 26.1.50; Add a convenient way to get flymake error at point To: =?UTF-8?B?Sm/Do28gVMOhdm9yYQ==?= , Carlos Pita References: <877emsitex.fsf@gmail.com> <8736xenw7i.fsf@gmail.com> <87wounksn7.fsf@gmail.com> From: Dmitry Gutov Message-ID: <0b77a23e-5d78-8e2a-4fe1-79562536e414@yandex.ru> Date: Mon, 25 Jun 2018 15:56:59 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.0 MIME-Version: 1.0 In-Reply-To: <87wounksn7.fsf@gmail.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit X-Spam-Score: 0.5 (/) X-Debbugs-Envelope-To: 31921 Cc: 31921@debbugs.gnu.org, 31921-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.5 (/) On 6/25/18 2:33 PM, João Távora wrote: > 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). It probably depends on the values of the respective delays. From unknown Fri Jun 20 20:02:13 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Tue, 24 Jul 2018 11:24:05 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator