From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?ISO-8859-1?Q?Jan_Dj=E4rv?= Newsgroups: gmane.emacs.devel Subject: Re: mode-line tooltips for "[" and "]" in recursive-edit Date: Thu, 10 Apr 2008 09:27:23 +0200 Message-ID: <47FDC15B.4060604@swipnet.se> References: <200803201508.m2KF8C0S002150@sallyv1.ics.uci.edu> <006301c88aa9$ffafda40$c2b22382@us.oracle.com> <200803201704.m2KH4HVt023198@sallyv1.ics.uci.edu> <47E37419.6080708@swipnet.se> <18404.11482.3867.697294@kahikatea.snap.net.nz> <47E430B0.4080408@gmail.com> <18404.12883.894990.383516@kahikatea.snap.net.nz> <87iqzfczrr.fsf@jurta.org> <47FC8E8F.1020002@swipnet.se> <18429.45504.593032.149745@kahikatea.snap.net.nz> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1207812537 7917 80.91.229.12 (10 Apr 2008 07:28:57 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 10 Apr 2008 07:28:57 +0000 (UTC) Cc: Juri Linkov , "Lennart Borgman \(gmail\)" , emacs-devel@gnu.org To: Nick Roberts Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Apr 10 09:29:30 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1JjrDd-0005we-Ez for ged-emacs-devel@m.gmane.org; Thu, 10 Apr 2008 09:29:13 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JjrCz-0003YV-Qg for ged-emacs-devel@m.gmane.org; Thu, 10 Apr 2008 03:28:33 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JjrCv-0003W5-Nj for emacs-devel@gnu.org; Thu, 10 Apr 2008 03:28:29 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JjrCu-0003VG-7p for emacs-devel@gnu.org; Thu, 10 Apr 2008 03:28:29 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JjrCu-0003VD-1N for emacs-devel@gnu.org; Thu, 10 Apr 2008 03:28:28 -0400 Original-Received: from mx20.gnu.org ([199.232.41.8]) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1JjrCt-0001KN-Fu for emacs-devel@gnu.org; Thu, 10 Apr 2008 03:28:27 -0400 Original-Received: from av9-2-sn2.hy.skanova.net ([81.228.8.180]) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JjrCs-0001HT-O7 for emacs-devel@gnu.org; Thu, 10 Apr 2008 03:28:26 -0400 Original-Received: by av9-2-sn2.hy.skanova.net (Postfix, from userid 502) id 9515B3857E; Thu, 10 Apr 2008 09:28:24 +0200 (CEST) Original-Received: from smtp4-2-sn2.hy.skanova.net (smtp4-2-sn2.hy.skanova.net [81.228.8.93]) by av9-2-sn2.hy.skanova.net (Postfix) with ESMTP id 3580E385D8; Thu, 10 Apr 2008 09:28:24 +0200 (CEST) Original-Received: from husetbladh.homeip.net (90-231-102-24-no59.tbcn.telia.com [90.231.102.24]) by smtp4-2-sn2.hy.skanova.net (Postfix) with ESMTP id 1AD0A37E52; Thu, 10 Apr 2008 09:28:23 +0200 (CEST) User-Agent: Thunderbird 2.0.0.12 (X11/20080213) In-Reply-To: <18429.45504.593032.149745@kahikatea.snap.net.nz> X-detected-kernel: by mx20.gnu.org: Linux 2.4-2.6 X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) 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:94842 Archived-At: Nick Roberts skrev: > > I've added a general mechanism that converts multiline tooltips to single > > line in this case. Maybe it should be customizable, but if you want > > multiline tooltips, you can always use the normal tooltip mode (i.e. not the > > echo area). > > Now it seems to just display the first line which often doesn't include the > most interesting information. Basically it takes the multiline tool tip and join lines to a single line until no more lines can be added without exceeding the frame width. The idea is that if you are sofisticated enough to disable tool tips, you either know what they say or don't care that much. But the main thing is to avoid minibuffer expansion and shrinkage. I find that I do get the interesting information, for example "Buffer is read-only, mouse-1 toggles" "Buffer coding system (multi-byte): utf-8-unix, mouse-1: describe coding system" "Buffer is Modified, mouse-1 toggles modified state" If you are just seeing the first line ("Buffer is Modified") then you didn't recompile all .el files correctly. Jan D.