GNU bug report logs - #1221
overlay before- and after-string and help-echo

Previous Next

Package: emacs;

Reported by: Glenn Morris <rgm <at> gnu.org>

Date: Wed, 22 Oct 2008 00:55:04 UTC

Severity: minor

Tags: wontfix

Found in version 23.0.60

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 1221 in the body.
You can then email your comments to 1221 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report stored:
bug#1221; Package emacs. Full text and rfc822 format available.

Message #3 received at quiet <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Glenn Morris <rgm <at> gnu.org>
To: quiet <at> debbugs.gnu.org
Subject: overlay before- and after-string and help-echo
Date: Tue, 21 Oct 2008 20:47:18 -0400
Package: emacs
Version: 23.0.60
Severity: minor

This bug is extracted from #1176, which contained several issues.

The help-echo property of an overlay with a display string does not
affect any before-string or after-string.

I class this as a minor problem since one can work around it by
applying the help-echo property by hand to the before- and
after-string; though this does lead to a slight glitch of the
help-echo disappearing as one moves across the boundary of the display
part.

Example:

(let ((buff (generate-new-buffer "overlay test"))
      o)
  (with-current-buffer buff
    (insert "text")
    (setq o (make-overlay (point-min) (point-max)))
    (overlay-put o 'help-echo "help!")
    (overlay-put o 'display "display")
    (overlay-put o 'before-string "before string")
;;; (overlay-put o 'before-string (propertize "before string" 'help-echo "help!))
    (overlay-put o 'after-string "after string")
    (pop-to-buffer buff)))

Only "display" has help-echo. The commented out part illustrates the
work-around.




Information stored:
bug#1221; Package emacs. Full text and rfc822 format available.

Message #6 received at 1221-quiet <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Glenn Morris <rgm <at> gnu.org>
To: 1221-quiet <at> debbugs.gnu.org
Subject: Re: Bug#1221: overlay before- and after-string and help-echo
Date: Wed, 22 Oct 2008 18:56:29 -0400
On reflection, I'm not even sure this is a bug. The current behaviour
provides the flexibility for different help-echo texts on the various
pieces, if desired. Or why not just use only the display piece?




Added tag(s) wontfix. Request was from Glenn Morris <rgm <at> gnu.org> to control <at> debbugs.gnu.org. (Tue, 04 Oct 2011 20:04:01 GMT) Full text and rfc822 format available.

bug closed, send any further explanations to 1221 <at> debbugs.gnu.org and Glenn Morris <rgm <at> gnu.org> Request was from Glenn Morris <rgm <at> gnu.org> to control <at> debbugs.gnu.org. (Tue, 04 Oct 2011 20:04:03 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Wed, 02 Nov 2011 11:24:02 GMT) Full text and rfc822 format available.

This bug report was last modified 13 years and 233 days ago.

Previous Next


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