From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Stephan Stahl" Newsgroups: gmane.emacs.devel Subject: Re: show_help_echo truncates unconditionally Date: Fri, 1 Apr 2005 09:39:22 +0200 (CEST) Message-ID: <57608.217.194.34.123.1112341162.squirrel@wwws.franken.de> References: <20836.217.194.34.123.1112077505.squirrel@wwws.franken.de> <44846.217.194.34.123.1112174684.squirrel@wwws.franken.de> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 X-Trace: sea.gmane.org 1112341170 1027 80.91.229.2 (1 Apr 2005 07:39:30 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 1 Apr 2005 07:39:30 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Apr 01 09:39:28 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DHGkI-0006zC-2v for ged-emacs-devel@m.gmane.org; Fri, 01 Apr 2005 09:39:10 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DHH18-0003dd-Gy for ged-emacs-devel@m.gmane.org; Fri, 01 Apr 2005 02:56:34 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DHH0B-0003Yk-90 for emacs-devel@gnu.org; Fri, 01 Apr 2005 02:55:35 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DHH08-0003XC-Mj for emacs-devel@gnu.org; Fri, 01 Apr 2005 02:55:34 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DHH08-0003T8-AB for emacs-devel@gnu.org; Fri, 01 Apr 2005 02:55:32 -0500 Original-Received: from [193.175.24.27] (helo=ilsa.franken.de) by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.34) id 1DHGkV-0004yj-Sd; Fri, 01 Apr 2005 02:39:24 -0500 Original-Received: from wwws.franken.de (mail-n.franken.de [193.175.24.27]) by ilsa.franken.de (Postfix) with SMTP id 9CDC5245CB; Fri, 1 Apr 2005 09:39:22 +0200 (CEST) Original-Received: from 217.194.34.123 (SquirrelMail authenticated user eos) by wwws.franken.de with HTTP; Fri, 1 Apr 2005 09:39:22 +0200 (CEST) In-Reply-To: Original-To: rms@gnu.org User-Agent: SquirrelMail/1.4.0 X-Priority: 3 Importance: Normal X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:35464 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:35464 Hi Richard. Richard Stallman said: > Could someone please clarify the comment based on this? > The existing comment was not written with a view to making > it clear to people who don't already know. Would this change be clear enough? diff -c "keyboard.c" "/tmp/buffer-content-86723hP" *** keyboard.c Fri Apr 1 09:28:54 2005 --- /tmp/buffer-content-86723hP Fri Apr 1 09:29:59 2005 *************** *** 2258,2264 **** return c; } ! /* Display help echo in the echo area. HELP a string means display that string, HELP nil means clear the help echo. If HELP is a function, call it with OBJECT and POS as --- 2258,2266 ---- return c; } ! /* Display help-echo property under the mouse pointer. Either show it ! in the echo area or when non-nil call show-help-function to display ! it by other means (maybe in tooltips). HELP a string means display that string, HELP nil means clear the help echo. If HELP is a function, call it with OBJECT and POS as Diff finished. Fri Apr 01 09:30:00 2005 PS: Some lines down this comment it says: and POS is the position in the overlay's buffer under the mouse. Is "under the mouse" correct? I'm no native english speaker so i'm not sure.. Just in case it is wrong: diff -c "keyboard.c" "/tmp/buffer-content-8672eTM" *** keyboard.c Fri Apr 1 09:28:54 2005 --- /tmp/buffer-content-8672eTM Fri Apr 1 09:36:37 2005 *************** *** 2272,2282 **** `help-echo' text property was found. If OBJECT is an overlay, that overlay has a `help-echo' property, ! and POS is the position in the overlay's buffer under the mouse. If OBJECT is a string (an overlay string or a string displayed with the `display' property). POS is the position in that string under ! the mouse. OK_TO_OVERWRITE_KEYSTROKE_ECHO non-zero means it's okay if the help echo overwrites a keystroke echo currently displayed in the echo --- 2272,2283 ---- `help-echo' text property was found. If OBJECT is an overlay, that overlay has a `help-echo' property, ! and POS is the position in the overlay's buffer under the mouse ! pointer. If OBJECT is a string (an overlay string or a string displayed with the `display' property). POS is the position in that string under ! the mouse pointer. OK_TO_OVERWRITE_KEYSTROKE_ECHO non-zero means it's okay if the help echo overwrites a keystroke echo currently displayed in the echo Diff finished. Fri Apr 01 09:36:37 2005 -- Stephan Stahl