GNU bug report logs - #18011
24.4.50; REGRESSION, `help-echo' function value now needs `save-excursion'

Previous Next

Package: emacs;

Reported by: Drew Adams <drew.adams <at> oracle.com>

Date: Sun, 13 Jul 2014 23:13:01 UTC

Severity: normal

Tags: notabug, wontfix

Found in version 24.4.50

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

Bug is archived. No further changes may be made.

Full log


Message #12 received at 18011-done <at> debbugs.gnu.org (full text, mbox):

From: Glenn Morris <rgm <at> gnu.org>
To: 18011-done <at> debbugs.gnu.org
Subject: Re: bug#18011: 24.4.50;
 REGRESSION, `help-echo' function value now needs `save-excursion'
Date: Sun, 13 Jul 2014 19:41:17 -0400
Drew Adams wrote:

> Why should a `help-echo' function need to `save-excursion'?

I can't think why it should NOT need to, if it moves point;
nor can I find any Emacs release where it does not need to.
I tested back to 22.3 with

(put-text-property 1 10 'help-echo 'foo)

(defun foo (w o p)
  (goto-char (point-max))
  "foo")

> HTH.  Close the bug if you don't care about this - I have my fix.

Thanks.




This bug report was last modified 11 years and 10 days ago.

Previous Next


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