GNU bug report logs - #26012
25.2; help-echo should show in echo area when point is in text

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Severity: wishlist; Reported by: Tom Tromey <tom@HIDDEN>; dated Tue, 7 Mar 2017 15:13:02 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.

Message received at 26012 <at> debbugs.gnu.org:


Received: (at 26012) by debbugs.gnu.org; 7 Mar 2017 16:04:18 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Mar 07 11:04:18 2017
Received: from localhost ([127.0.0.1]:44774 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1clHb0-0004et-9e
	for submit <at> debbugs.gnu.org; Tue, 07 Mar 2017 11:04:18 -0500
Received: from mail-wm0-f42.google.com ([74.125.82.42]:37192)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <raaahh@HIDDEN>) id 1clHaz-0004eg-6c
 for 26012 <at> debbugs.gnu.org; Tue, 07 Mar 2017 11:04:17 -0500
Received: by mail-wm0-f42.google.com with SMTP id n11so8891285wma.0
 for <26012 <at> debbugs.gnu.org>; Tue, 07 Mar 2017 08:04:17 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=sender:subject:to:references:from:message-id:date:user-agent
 :mime-version:in-reply-to:content-language:content-transfer-encoding;
 bh=gJcxqVan0rrmj+FfrzNWxPTcRz3lWE9mz5cU/I32CDQ=;
 b=OvTavlsBTan9K4OND+nzYKbJRlBJrq7OPg2MOi7xlcrmKyFlX8XlUmB4okeMTeszTa
 lJkPftAyOBkvsRiduphUoBhqid1NOIfIvuWvEf9r32NMZ7WZc7Qu5HBBpBpuCdzMwtzK
 9kwL/i/7XA31DV7S0i4R1n5bsYrK63KjHF+BS4nsYP3GMXWY3jUvymfgeib1esfK4hRg
 gPpMWvqUL5+BEyqIvnbXF7Eu5vZmwctgU3EDN0uU2h6Y/+doYPd8zZSFWXPa9Y6aDlHZ
 P2DQ3mCyQjcRl+RjnKoNab3TZCSyVdQu4aiMB2ltse1Gwvy/ypR5qD61SYe/rK0xlTIL
 Ou6g==
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:references:from:message-id
 :date:user-agent:mime-version:in-reply-to:content-language
 :content-transfer-encoding;
 bh=gJcxqVan0rrmj+FfrzNWxPTcRz3lWE9mz5cU/I32CDQ=;
 b=mOkQBjFF3oBICPj07XdszownaCVVzXLhYomY8RGWPMqWHGBShCzYyjX1trLEqr+o+b
 BRyOG5lNngu0pFIsGBWXN8fAqK/CGv+tOGimJteg9IZloPYRPYq9e4+DCJRGJXpxg0+9
 H7L0TTsa+eO42LWpY2+C/NJAsF5vjHmWxB62Kt42SK2/YKU3QsDV4PDO8iYnVxkKZk4H
 /gsbal3Ir/fu3qNNd0qRFSlReE5m0eayxJAKBvwa8WPsQPcaFKzpHa9WtKvWXfTFljh7
 /6e94Fo5c8sFTeI2wO+L7qsWqiDDCqVjFCBUdCgqufzD1iotgwcCIC7gb8JX4QQEWGQY
 qfPw==
X-Gm-Message-State: AMke39nML72MwqOsqeKMtXPyby9uVVCXPpEKQJpBbn7uvKOYyJOOsZCROQNPRbjU7kAOcA==
X-Received: by 10.28.96.130 with SMTP id u124mr20418029wmb.81.1488902651066;
 Tue, 07 Mar 2017 08:04:11 -0800 (PST)
Received: from [192.168.0.133] (static-nbl2-118.cytanet.com.cy.
 [212.31.107.118])
 by smtp.googlemail.com with ESMTPSA id o26sm522280wro.44.2017.03.07.08.04.09
 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
 Tue, 07 Mar 2017 08:04:10 -0800 (PST)
Subject: Re: bug#26012: 25.2; help-echo should show in echo area when point is
 in text
To: Tom Tromey <tom@HIDDEN>, 26012 <at> debbugs.gnu.org
References: <874lz515t0.fsf@HIDDEN>
From: Dmitry Gutov <dgutov@HIDDEN>
Message-ID: <78d4e79a-793d-efa5-4c25-2dc8a5a33ee2@HIDDEN>
Date: Tue, 7 Mar 2017 18:04:08 +0200
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101
 Thunderbird/52.0
MIME-Version: 1.0
In-Reply-To: <874lz515t0.fsf@HIDDEN>
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Language: en-US
Content-Transfer-Encoding: 7bit
X-Spam-Score: 0.2 (/)
X-Debbugs-Envelope-To: 26012
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: 0.2 (/)

On 07.03.2017 17:10, Tom Tromey wrote:
> For me the final "t))" is given font-lock-warning-face.
> It also has this text property:
> 
>    help-echo            "Hidden behind deeper element; move to another line?"
> 
> ... which is very useful information!
> 
> However, the only way I can see this (other than describe-char) is to
> hover over the highlighted text with the mouse.

Apparently we're supposed to customize help-at-pt-display-when-idle. But 
some modes use the newly added cursor-sensor-functions, forgoing the 
idle timer.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#26012; Package emacs. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 7 Mar 2017 15:12:05 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Mar 07 10:12:05 2017
Received: from localhost ([127.0.0.1]:44728 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1clGmS-0003Nm-QL
	for submit <at> debbugs.gnu.org; Tue, 07 Mar 2017 10:12:05 -0500
Received: from eggs.gnu.org ([208.118.235.92]:40882)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <tom@HIDDEN>) id 1clGmQ-0003NI-Ov
 for submit <at> debbugs.gnu.org; Tue, 07 Mar 2017 10:12:03 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <tom@HIDDEN>) id 1clGmK-0000Gh-0m
 for submit <at> debbugs.gnu.org; Tue, 07 Mar 2017 10:11:57 -0500
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: *
X-Spam-Status: No, score=1.3 required=5.0 tests=BAYES_50,RCVD_IN_SORBS_SPAM,
 T_DKIM_INVALID autolearn=disabled version=3.3.2
Received: from lists.gnu.org ([2001:4830:134:3::11]:34158)
 by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32)
 (Exim 4.71) (envelope-from <tom@HIDDEN>) id 1clGmJ-0000Gb-Tl
 for submit <at> debbugs.gnu.org; Tue, 07 Mar 2017 10:11:55 -0500
Received: from eggs.gnu.org ([2001:4830:134:3::10]:60079)
 by lists.gnu.org with esmtp (Exim 4.71)
 (envelope-from <tom@HIDDEN>) id 1clGmI-0000O0-54
 for bug-gnu-emacs@HIDDEN; Tue, 07 Mar 2017 10:11:55 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <tom@HIDDEN>) id 1clGmD-0000FS-Lf
 for bug-gnu-emacs@HIDDEN; Tue, 07 Mar 2017 10:11:54 -0500
Received: from gproxy7-pub.mail.unifiedlayer.com ([70.40.196.235]:44039)
 by eggs.gnu.org with smtp (Exim 4.71)
 (envelope-from <tom@HIDDEN>) id 1clGmD-0000F2-2l
 for bug-gnu-emacs@HIDDEN; Tue, 07 Mar 2017 10:11:49 -0500
Received: (qmail 30167 invoked by uid 0); 7 Mar 2017 15:11:36 -0000
Received: from unknown (HELO cmgw3) (10.0.90.84)
 by gproxy7.mail.unifiedlayer.com with SMTP; 7 Mar 2017 15:11:36 -0000
Received: from box522.bluehost.com ([74.220.219.122]) by cmgw3 with 
 id t3AL1u00P2f2jeq013APao; Tue, 07 Mar 2017 08:10:25 -0700
X-Authority-Analysis: v=2.1 cv=WOnsABcR c=1 sm=1 tr=0
 a=GsOEXm/OWkKvwdLVJsfwcA==:117 a=GsOEXm/OWkKvwdLVJsfwcA==:17
 a=L9H7d07YOLsA:10 a=9cW_t1CCXrUA:10 a=s5jvgZ67dGcA:10 a=6Iz7jQTuP9IA:10
 a=zstS-IiYAAAA:8 a=Uus7i4nmSDjS_cZCKGcA:9 a=jl-w4yhmYm7BTrkz:21
 a=qh8OilzWNUUMq8xP:21 a=4G6NA9xxw8l3yy4pmD5M:22
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=tromey.com; 
 s=default;
 h=Content-Type:MIME-Version:Message-ID:Date:Subject:To:From:
 Sender:Reply-To:Cc:Content-Transfer-Encoding:Content-ID:Content-Description:
 Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:
 In-Reply-To:References:List-Id:List-Help:List-Unsubscribe:List-Subscribe:
 List-Post:List-Owner:List-Archive;
 bh=m/0L9AbEwERVZTTgsG6k8VI7ptNK5q9nXd9Ro5PUa1Q=; b=V3yo/Qq5GLrDr9yr3vaQXdrF54
 IQA2mZTlJ3/nRfhLFwMUBEj0xAGNWekfIFxhgIhverh6mwP+nglMah11wKdDU1k+rkrEI0xdhx4Js
 QsAtkb9JEyfb9/2LLRGp4SUi0;
Received: from 67-6-181-22.hlrn.qwest.net ([67.6.181.22]:56804 helo=bapiya)
 by box522.bluehost.com with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256)
 (Exim 4.87) (envelope-from <tom@HIDDEN>)
 id 1clGkm-0005rg-00; Tue, 07 Mar 2017 08:10:20 -0700
From: Tom Tromey <tom@HIDDEN>
To: bug-gnu-emacs@HIDDEN
Subject: 25.2; help-echo should show in echo area when point is in text
X-Attribution: Tom
Date: Tue, 07 Mar 2017 08:10:19 -0700
Message-ID: <874lz515t0.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
X-AntiAbuse: This header was added to track abuse,
 please include it with any abuse report
X-AntiAbuse: Primary Hostname - box522.bluehost.com
X-AntiAbuse: Original Domain - gnu.org
X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12]
X-AntiAbuse: Sender Address Domain - tromey.com
X-BWhitelist: no
X-Source-IP: 67.6.181.22
X-Exim-ID: 1clGkm-0005rg-00
X-Source: 
X-Source-Args: 
X-Source-Dir: 
X-Source-Sender: 67-6-181-22.hlrn.qwest.net (bapiya) [67.6.181.22]:56804
X-Source-Auth: tom+tromey.com
X-Email-Count: 1
X-Source-Cap: ZWx5bnJvYmk7ZWx5bnJvYmk7Ym94NTIyLmJsdWVob3N0LmNvbQ==
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy]
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.5 (----)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -4.5 (----)


Make sure you have font-lock enabled, open a new .el file and insert:

'(("^[ \t]*\\(?:\\* .*\\)?\\(([^\n)]*,\\s-*\\)$"
   (1 '(face font-lock-warning-face
	     help-echo "Continue function lists with \")\\n(\".") t))

(This snippet comes from log-edit.el)

For me the final "t))" is given font-lock-warning-face.
It also has this text property:

  help-echo            "Hidden behind deeper element; move to another line?"

... which is very useful information!

However, the only way I can see this (other than describe-char) is to
hover over the highlighted text with the mouse.

I think it would be handier if this text were displayed somewhere when
point was in this area.  Some other error-displaying programs, like
flycheck (I didn't look at flymake) will do this already; I just think
it should be standard across Emacs.

Tom




In GNU Emacs 25.2.1 (x86_64-unknown-linux-gnu, GTK+ Version 3.22.8)
 of 2017-03-02 built on bapiya
Repository revision: 6e788ef0e262fafc014c21f4ad52cc5dc9f1715b
Windowing system distributor 'Fedora Project', version 11.0.11901000
System Description:	Fedora release 25 (Twenty Five)

Configured using:
 'configure --prefix=/home/tromey/Emacs/install/ --with-modules'

Configured features:
XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND GPM DBUS GCONF GSETTINGS
NOTIFY LIBSELINUX GNUTLS LIBXML2 FREETYPE M17N_FLT LIBOTF XFT ZLIB
TOOLKIT_SCROLL_BARS GTK3 X11 MODULES

Important settings:
  value of $LANG: en_US.utf8
  value of $XMODIFIERS: @im=ibus
  locale-coding-system: utf-8-unix

Major mode: Group

Minor modes in effect:
  gnus-agent-group-mode: t
  gnus-topic-mode: t
  gnus-undo-mode: t
  shell-dirtrack-mode: t
  diff-auto-refine-mode: t
  which-function-mode: t
  global-auto-revert-mode: t
  erc-services-mode: t
  erc-list-mode: t
  erc-menu-mode: t
  erc-autojoin-mode: t
  erc-ring-mode: t
  erc-networks-mode: t
  erc-pcomplete-mode: t
  erc-track-mode: t
  erc-match-mode: t
  erc-netsplit-mode: t
  erc-hl-nicks-mode: t
  erc-button-mode: t
  erc-fill-mode: t
  erc-stamp-mode: t
  erc-irccontrols-mode: t
  erc-noncommands-mode: t
  erc-move-to-prompt-mode: t
  erc-readonly-mode: t
  savehist-mode: t
  tooltip-mode: t
  global-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
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  buffer-read-only: t
  column-number-mode: t
  line-number-mode: t
  transient-mark-mode: t

Recent messages:
nnimap read 0k from mail.tromey.com
No more unseen articles
Expiring articles...done
Mark set
(New file)
Mark set
previous-line: Beginning of buffer
funcall-interactively: End of buffer
Saving file /tmp/q.el...
Wrote /tmp/q.el

Load-path shadows:
/home/tromey/.emacs.d/elpa/bubbles-0.5/bubbles hides /home/tromey/Emacs/install/share/emacs/25.2/lisp/play/bubbles
/home/tromey/.emacs.d/elpa/soap-client-3.1.1/soap-inspect hides /home/tromey/Emacs/install/share/emacs/25.2/lisp/net/soap-inspect
/home/tromey/.emacs.d/elpa/soap-client-3.1.1/soap-client hides /home/tromey/Emacs/install/share/emacs/25.2/lisp/net/soap-client

Features:
(descr-text pulse find-file bubbles gamegrid derived view rust-mode
log-view bbdb-sc supercite regi org-bullets org-element org-rmail
org-mhe org-irc org-info org-gnus org-docview doc-view image-mode
org-bibtex bibtex org-bbdb org-w3m org org-macro org-footnote
org-pcomplete org-list org-faces org-entities noutline outline
org-version ob-emacs-lisp ob ob-tangle ob-ref ob-lob ob-table ob-exp
org-src ob-keys ob-comint ob-core ob-eval org-compat org-macs
org-loaddefs gnus-html xml url-cache mm-url url url-proxy url-privacy
url-expand url-methods url-history url-cookie url-domsuf gnus-draft xref
project mail-hist nnir url-util url-parse url-vars shr-color shr dom
subr-x browse-url flow-fill mm-archive smiley gnus-cite gnus-async
gnus-bcklg qp gnus-ml disp-table gnus-topic nndraft nnmh nnfolder utf-7
bbdb-gnus bbdb-mua bbdb-com crm gnus-agent gnus-srvr gnus-score
score-mode nnvirtual gnus-msg nntp gnus-cache gnus-registry registry
eieio-compat eieio-base gnus-art mm-uu mml2015 mm-view mml-smime smime
dig gnus-sum gnus-group gnus-undo gnus-start gnus-cloud nnimap nnmail
mail-source utf7 netrc nnoo parse-time gnus-spec gnus-int gnus-range
gnus-win gnus gnus-ems nnheader cus-edit find-dired bug-reference
texinfo vc-mtn vc-hg tabify man term/xterm xterm shadow emacsbug
network-stream nsm starttls tls gnutls mailalias smtpmail sort mailcap
bbdb-message sendmail mail-extr vc-bzr vc-src vc-sccs vc-svn vc-cvs
vc-rcs whitespace log-edit message idna dired rfc822 mml mml-sec epg
mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045
ietf-drums mailabbrev mail-utils gmm-utils mailheader pcvs-util cc-mode
cc-fonts cc-guess cc-menus cc-cmds shell rx dabbrev eieio-opt speedbar
sb-image ezimage dframe find-func copyright debug add-log vc-git
diff-mode easy-mmode misearch multi-isearch jka-compr flyspell ispell
diminish edmacro kmacro projectile grep compile ibuf-ext ibuffer dash
appt diary-lib diary-loaddefs cal-menu calendar cal-loaddefs which-func
imenu minimap autorevert filenotify cus-start cus-load status
erc-services erc-list erc-menu erc-join erc-ring erc-networks
erc-pcomplete pcomplete erc-track erc-match erc-netsplit erc-hl-nicks
color erc-button erc-fill erc-stamp wid-edit erc-goodies erc erc-backend
erc-compat format-spec auth-source eieio gnus-util mm-util help-fns
mail-prsvr password-cache thingatpt pp warnings advice vc-dir ewoc vc
vc-dispatcher cc-styles cc-align cc-engine cc-vars cc-defs bbdb
bbdb-site timezone ange-ftp comint ansi-color ring server savehist
finder-inf dwarf-mode-autoloads gdb-shell-autoloads eieio-core
lisppaste-autoloads pydoc-info-autoloads info-look cl-seq cl-macs cl
weblogger-autoloads info package epg-config seq byte-opt gv bytecomp
byte-compile cl-extra help-mode easymenu cconv cl-loaddefs pcase cl-lib
bbdb-loaddefs time-date mule-util tooltip eldoc electric uniquify
ediff-hook vc-hooks lisp-float-type mwheel x-win term/common-win x-dnd
tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment
elisp-mode lisp-mode prog-mode register page menu-bar rfn-eshadow timer
select scroll-bar mouse jit-lock font-lock syntax facemenu font-core
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 charscript
case-table epa-hook jka-cmpr-hook help simple abbrev 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
dynamic-setting system-font-setting font-render-setting move-toolbar gtk
x-toolkit x multi-tty make-network-process emacs)

Memory information:
((conses 16 1245333 485082)
 (symbols 48 130591 50)
 (miscs 40 23637 3542)
 (strings 32 495599 189532)
 (string-bytes 1 12347481)
 (vectors 16 100488)
 (vector-slots 8 2293931 69018)
 (floats 8 880 1450)
 (intervals 56 63969 485)
 (buffers 976 114))




Acknowledgement sent to Tom Tromey <tom@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to bug-gnu-emacs@HIDDEN:
bug#26012; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Mon, 25 Nov 2019 12:00:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.