all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Ye Wenbin" <wenbinye@gmail.com>
To: "Lennart Borgman (gmail)" <lennart.borgman@gmail.com>
Subject: Re: Is it possible to update tooltip text?
Date: Sun, 30 Mar 2008 11:12:38 +0800	[thread overview]
Message-ID: <op.t8s67cy052p72k@ywb-laptop> (raw)
In-Reply-To: <47EE599B.2080309@gmail.com>

On Sat, 29 Mar 2008 23:00:43 +0800, Lennart Borgman (gmail)  
<lennart.borgman@gmail.com> wrote:
> I searched for something like that too, but finally (for some other  
> reasons) decided to use an overlay instead. Maybe that was the wrong  
> approach and if you manage to get tooltips to work for you as you wanted  
> to above then please tell me.
>
> My "overlay workaround" is in tabkey2.el:
>
>    http://www.emacswiki.org/cgi-bin/wiki/tabkey2.el
A good idea, but I found a fatal bug that if I display message in the  
first line in an empty
buffer, emacs will crash when I move backward. You can repeat it as  
following:
  1. load "tabkey2"
  2. open a new buffer or erase current buffer
  3. input (tabkey2-overlay-message "hello") and C-x C-e eval it, the  
message overlay
     will appear in front of cursor right after the parenthesis.
  4. C-b to move backward, then the emacs will crash.

I try it in emacs22 and emacs23, both have the same problem.
Anyway, I think make sure alway has a new line bellow is better, but
it will change the content of buffer.

-- 
Best Regards,
Ye Wenbin




      reply	other threads:[~2008-03-30  3:12 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-03-29 13:19 Is it possible to update tooltip text? Ye Wenbin
2008-03-29 15:00 ` Lennart Borgman (gmail)
2008-03-30  3:12   ` Ye Wenbin [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=op.t8s67cy052p72k@ywb-laptop \
    --to=wenbinye@gmail.com \
    --cc=lennart.borgman@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.