From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: mode-line tooltips for "[" and "]" in recursive-edit Date: Thu, 10 Apr 2008 17:21:20 -0400 Message-ID: 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> <47FDC15B.4060604@swipnet.se> <008c01c89b26$7bf38ac0$c2b22382@us.oracle.com> <009701c89b3b$0c5f7f60$c2b22382@us.oracle.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1207862905 3469 80.91.229.12 (10 Apr 2008 21:28:25 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 10 Apr 2008 21:28:25 +0000 (UTC) Cc: 'Juri Linkov' , 'Nick Roberts' , 'Jan DjFFFFFFrv' , "'Lennart Borgman \(gmail\)'" , emacs-devel@gnu.org To: "Drew Adams" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Apr 10 23:28:56 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 1Jk4K3-0006zd-RW for ged-emacs-devel@m.gmane.org; Thu, 10 Apr 2008 23:28:44 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Jk4JP-0005HJ-JA for ged-emacs-devel@m.gmane.org; Thu, 10 Apr 2008 17:28:03 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Jk4Cx-0001Pt-MV for emacs-devel@gnu.org; Thu, 10 Apr 2008 17:21:23 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Jk4Cw-0001OZ-Fv for emacs-devel@gnu.org; Thu, 10 Apr 2008 17:21:23 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Jk4Cw-0001O5-4R for emacs-devel@gnu.org; Thu, 10 Apr 2008 17:21:22 -0400 Original-Received: from vpn-132-204-232-110.acd.umontreal.ca ([132.204.232.110] helo=ceviche.home) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Jk4Cv-0006o1-MM for emacs-devel@gnu.org; Thu, 10 Apr 2008 17:21:21 -0400 Original-Received: by ceviche.home (Postfix, from userid 20848) id E998EB4055; Thu, 10 Apr 2008 17:21:20 -0400 (EDT) In-Reply-To: <009701c89b3b$0c5f7f60$c2b22382@us.oracle.com> (Drew Adams's message of "Thu, 10 Apr 2008 11:45:28 -0700") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3) 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:94905 Archived-At: >> >> But the main thing is to avoid minibuffer expansion and shrinkage. >> > >> > Why is that the main thing? Why is that even a goal? >> >> Because some people don't like it or because it sometimes >> can't be done. > If it can't be done, then it can't be done. Can't argue with that. > But it doesn't seem right for the only echo-area display of tooltip > help to truncate it at the frame width. Joining the lines is not > a problem, but losing some of the info could be. > Make such truncation an option, if you want, and even make it the > default way of displaying a tooltip in the echo area, if you want. But > there should be some way for users to see the complete tooltip text in > the echo area. Oh, you're arguing about the truncation part, not the single-line part. Then I agree it might be better to not bother truncating. Especially since the truncation is inexact anyway (depending on the chars found and the fonts used for them we may not cut at the right place: the only right way to truncate is via tuncate-lines). Stefan