From unknown Sat Jun 21 05:16:00 2025 X-Loop: owner@emacsbugs.donarmstrong.com Subject: bug#2423: 23.0.90; Incomplete text in tooltip for buffer's encoding Reply-To: Eli Zaretskii , 2423@debbugs.gnu.org Resent-From: Eli Zaretskii Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Sat, 21 Feb 2009 11:25:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-Emacs-PR-Message: report 2423 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by submit@emacsbugs.donarmstrong.com id=B.12352151144270 (code B ref -1); Sat, 21 Feb 2009 11:25:04 +0000 Received: (at submit) by emacsbugs.donarmstrong.com; 21 Feb 2009 11:18:34 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: * X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=1.6 required=4.0 tests=FOURLA,RCVD_IN_NIX1 autolearn=no version=3.2.5-bugs.debian.org_2005_01_02 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1LBIVWa004264 for ; Sat, 21 Feb 2009 03:18:32 -0800 Received: from mail.gnu.org ([199.232.76.166]:38307 helo=mx10.gnu.org) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1LapqG-0006ox-FX for emacs-pretest-bug@gnu.org; Sat, 21 Feb 2009 06:16:20 -0500 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1LapsK-0004Kg-94 for emacs-pretest-bug@gnu.org; Sat, 21 Feb 2009 06:18:30 -0500 Received: from mtaout5.012.net.il ([84.95.2.13]:9647) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LapsJ-0004It-HQ for emacs-pretest-bug@gnu.org; Sat, 21 Feb 2009 06:18:27 -0500 Received: from conversion-daemon.i_mtaout5.012.net.il by i_mtaout5.012.net.il (HyperSendmail v2004.12) id <0KFE00100XQRJQ00@i_mtaout5.012.net.il> for emacs-pretest-bug@gnu.org; Sat, 21 Feb 2009 13:18:41 +0200 (IST) Received: from HOME-C4E4A596F7 ([84.228.82.14]) by i_mtaout5.012.net.il (HyperSendmail v2004.12) with ESMTPA id <0KFE00GABY35Y3B0@i_mtaout5.012.net.il> for emacs-pretest-bug@gnu.org; Sat, 21 Feb 2009 13:18:41 +0200 (IST) Date: Sat, 21 Feb 2009 13:18:29 +0200 From: Eli Zaretskii X-012-Sender: halo1@inter.net.il To: emacs-pretest-bug@gnu.org Message-id: X-detected-operating-system: by monty-python.gnu.org: Solaris 9.1 Please write in English if possible, because the Emacs maintainers usually do not have translators to read other languages for them. Your bug report will be posted to the emacs-pretest-bug@gnu.org mailing list. Please describe exactly what actions triggered the bug and the precise symptoms of the bug: In "emacs -Q", move the mouse pointer to the mnemonic of buffer-file-coding-system, and wait for the tooltip to pop up. The tooltip text should be: Buffer coding systme (multi-byte): CODING mouse-1: describe coding system But on MS-Windows, if CODING is iso-latin-N-dos (for any N that is a single digit), the second line is not shown; instead, there's an empty line. Changing the buffer's encoding to something different, like utf-8 or cyrillic-iso-8bit-dos, or even iso-latin-10-dos or iso-latin-1-unix, makes the second line reappear. Changing back to iso-latin-[1-9]-dos makes the text of second line disappear again. It looks like the problem is somehow related to the length of the first line's text. This is not a new problem, I've seen it for as long as I can remember. I just forgot to report it until now, sorry. The problem does not exist in Emacs 22.3, but the tooltip text in Emacs 22.3 is formatted differently and displays as a single line: CODING buffer; mouse-1: describe coding system (I say "MS-Windows" above only because I cannot test this in a GUI session on a Unix or GNU system where I'm typing this, so I don't know whether the same problem happens on other platforms.) If Emacs crashed, and you have the Emacs process in the gdb debugger, please include the output from the following gdb commands: `bt full' and `xbacktrace'. If you would like to further debug the crash, please read the file d:/gnu/emacs/etc/DEBUG for instructions. In GNU Emacs 23.0.90.1 (i386-mingw-nt5.1.2600) of 2009-02-21 on HOME-C4E4A596F7 Windowing system distributor `Microsoft Corp.', version 5.1.2600 configured using `configure --with-gcc (3.4)' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: ENU value of $XMODIFIERS: nil locale-coding-system: cp1255 default-enable-multibyte-characters: t Major mode: Lisp Interaction Minor modes in effect: tooltip-mode: t tool-bar-mode: t mouse-wheel-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t global-auto-composition-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Recent input: C-x f u t 8 C-x f l a t 1 M-x e r e p o r Recent messages: For information about GNU Emacs and the GNU system, type C-h C-a. Making completion list... From unknown Sat Jun 21 05:16:00 2025 X-Loop: owner@emacsbugs.donarmstrong.com Subject: bug#2423: 23.0.90; Incomplete text in tooltip for buffer's encoding Reply-To: martin rudalics , 2423@debbugs.gnu.org Resent-From: martin rudalics Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Sat, 21 Feb 2009 14:20:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-Emacs-PR-Message: followup 2423 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by 2423-submit@emacsbugs.donarmstrong.com id=B2423.123522562316363 (code B ref 2423); Sat, 21 Feb 2009 14:20:04 +0000 Received: (at 2423) by emacsbugs.donarmstrong.com; 21 Feb 2009 14:13:43 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-3.0 required=4.0 tests=HAS_BUG_NUMBER autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with SMTP id n1LEDc1M016344 for <2423@emacsbugs.donarmstrong.com>; Sat, 21 Feb 2009 06:13:40 -0800 Received: (qmail invoked by alias); 21 Feb 2009 14:13:32 -0000 Received: from 62-47-54-116.adsl.highway.telekom.at (EHLO [62.47.54.116]) [62.47.54.116] by mail.gmx.net (mp003) with SMTP; 21 Feb 2009 15:13:32 +0100 X-Authenticated: #14592706 X-Provags-ID: V01U2FsdGVkX1/hY4UhW3zhH7LUzvwBeZOnsGfw8CsJ0SdvYyzE6/ rombRnbLjSJ5x0 Message-ID: <49A00B61.3020502@gmx.at> Date: Sat, 21 Feb 2009 15:10:41 +0100 From: martin rudalics User-Agent: Thunderbird 2.0.0.16 (Windows/20080708) MIME-Version: 1.0 To: Eli Zaretskii CC: 2423@debbugs.gnu.org References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 X-FuHaFi: 0.64 > In "emacs -Q", move the mouse pointer to the mnemonic of > buffer-file-coding-system, and wait for the tooltip to pop up. The > tooltip text should be: > > Buffer coding systme (multi-byte): CODING > mouse-1: describe coding system > > But on MS-Windows, if CODING is iso-latin-N-dos (for any N that is a > single digit), the second line is not shown; instead, there's an empty > line. On Windows XP I never get a decent last line for ANY multiline tooltip when the default variable-pitch font is used (sometimes a few dots are displayed instead of the last line). With Courier New all tooltips are shown as created. martin From unknown Sat Jun 21 05:16:00 2025 X-Loop: owner@emacsbugs.donarmstrong.com Subject: bug#2423: 23.0.90; Incomplete text in tooltip for buffer's encoding Reply-To: Chong Yidong , 2423@debbugs.gnu.org Resent-From: Chong Yidong Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Sat, 21 Feb 2009 17:15:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-Emacs-PR-Message: followup 2423 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by 2423-submit@emacsbugs.donarmstrong.com id=B2423.123523609528778 (code B ref 2423); Sat, 21 Feb 2009 17:15:04 +0000 Received: (at 2423) by emacsbugs.donarmstrong.com; 21 Feb 2009 17:08:15 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=0.0 required=4.0 tests=none autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from cyd.mit.edu (CYD.MIT.EDU [18.115.2.24]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1LH8Bbr028770 for <2423@emacsbugs.donarmstrong.com>; Sat, 21 Feb 2009 09:08:13 -0800 Received: by cyd.mit.edu (Postfix, from userid 1000) id 7B12257E21A; Sat, 21 Feb 2009 12:09:08 -0500 (EST) From: Chong Yidong To: Eli Zaretskii Cc: 2423@debbugs.gnu.org Date: Sat, 21 Feb 2009 12:09:08 -0500 Message-ID: <87ljrz90p7.fsf@cyd.mit.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii > In "emacs -Q", move the mouse pointer to the mnemonic of > buffer-file-coding-system, and wait for the tooltip to pop up. The > tooltip text should be: > > Buffer coding systme (multi-byte): CODING > mouse-1: describe coding system > > (I say "MS-Windows" above only because I cannot test this in a GUI > session on a Unix or GNU system where I'm typing this, so I don't know > whether the same problem happens on other platforms.) A slightly different version of this bug seems to occur on GNU/Linux. The first time the tooltip appears, only the first line is shown. But if you move the mouse away and move it back, the second line is also shown when the tooltip reappears. From unknown Sat Jun 21 05:16:00 2025 X-Loop: owner@emacsbugs.donarmstrong.com Subject: bug#2423: 23.0.90; Incomplete text in tooltip for buffer's encoding Reply-To: Juanma Barranquero , 2423@debbugs.gnu.org Resent-From: Juanma Barranquero Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Sun, 22 Feb 2009 02:10:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-Emacs-PR-Message: followup 2423 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by 2423-submit@emacsbugs.donarmstrong.com id=B2423.12352682152522 (code B ref 2423); Sun, 22 Feb 2009 02:10:04 +0000 Received: (at 2423) by emacsbugs.donarmstrong.com; 22 Feb 2009 02:03:35 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-3.0 required=4.0 tests=HAS_BUG_NUMBER autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from ey-out-2122.google.com (ey-out-2122.google.com [74.125.78.27]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1M23Ww5002516 for <2423@emacsbugs.donarmstrong.com>; Sat, 21 Feb 2009 18:03:33 -0800 Received: by ey-out-2122.google.com with SMTP id 25so245149eya.13 for <2423@emacsbugs.donarmstrong.com>; Sat, 21 Feb 2009 18:03:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=aijKsmwlAE7EuFd3s1xtBfMjGn8TOtVejCwu+BsF5wY=; b=A3AScb8I14X6tf59k2qKjzLueUitqTLkJzcFh/ommsaLdmCtAfxilQLhfH1EcGGxW6 3NEFXCjtOMRz1nhoolCMuL+4CYLJu1Ho2CMf7MWRz6n20/g/vNkIPcteA+ESuNcEQY3a YADd1K+vdRZ1thO/CcXoliL4jUbXda/fEE8tk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=KEyAlElzaXW2vZPxp218DTKgTN+mmHfBGo707/nQnFluyhCM5vvhpT5Z8frO/+z0P3 Nag1LnZrRy/R9BghOZUM4SzQ8wk2tI+OWx0KWRD2suAmyU16e+hDKi7H3P2/ylS22A02 lDTstFKjrF9ciOKGov9ilvAxrEHVyN1n+QoVY= MIME-Version: 1.0 Received: by 10.210.81.10 with SMTP id e10mr2062216ebb.194.1235268211426; Sat, 21 Feb 2009 18:03:31 -0800 (PST) In-Reply-To: References: Date: Sun, 22 Feb 2009 03:03:31 +0100 Message-ID: From: Juanma Barranquero To: Eli Zaretskii Cc: 2423@debbugs.gnu.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit > But on MS-Windows, if CODING is iso-latin-N-dos (for any N that is a > single digit), the second line is not shown; instead, there's an empty > line. Changing the buffer's encoding to something different, like > utf-8 or cyrillic-iso-8bit-dos, or even iso-latin-10-dos or > iso-latin-1-unix, makes the second line reappear. Changing back to > iso-latin-[1-9]-dos makes the text of second line disappear again. > > It looks like the problem is somehow related to the length of the > first line's text. Yes. Another example is the mnemonic for writable/read-only in `mode-line-modified'. With "writable" I get a tooltip with "Buffer is writable" plus an empty line. Just adding a space to the first line of "Buffer is %s\nmouse-1 toggles" makes it work again. Juanma From debbugs-submit-bounces@debbugs.gnu.org Fri Apr 09 03:35:30 2010 Received: (at control) by debbugs.gnu.org; 9 Apr 2010 07:35:30 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O08kU-0003Xi-CV for submit@debbugs.gnu.org; Fri, 09 Apr 2010 03:35:30 -0400 Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O08kT-0003Xd-8n for control@debbugs.gnu.org; Fri, 09 Apr 2010 03:35:29 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.69) (envelope-from ) id 1O08kP-0006Ni-4J; Fri, 09 Apr 2010 03:35:25 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <19390.55485.81568.1029@fencepost.gnu.org> Date: Fri, 9 Apr 2010 03:35:25 -0400 From: Glenn Morris To: control Subject: control X-Attribution: GM X-Mailer: VM (www.wonderworks.com/vm), GNU Emacs (www.gnu.org/software/emacs) X-Hue: red X-Ran: _P%M'F]N\9Q2aZCt{>Ve4BpngVQ^T=%zY!%lq*~0!#Oczz4~0|fLx List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -5.1 (-----) merge 2423 5908 reassign 5860 emacs,ns severity 5910 wishlist severity 5854 wishlist severity 5853 wishlist reassign 5851 emacs,cc-mode tags 5842 patch severity 5842 wishlist severity 5844 wishlist From debbugs-submit-bounces@debbugs.gnu.org Mon Apr 12 02:26:16 2010 Received: (at control) by debbugs.gnu.org; 12 Apr 2010 06:26:16 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O1D67-0002A0-Gf for submit@debbugs.gnu.org; Mon, 12 Apr 2010 02:26:15 -0400 Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O1D65-00029u-1l for control@debbugs.gnu.org; Mon, 12 Apr 2010 02:26:13 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.69) (envelope-from ) id 1O1D5z-0002vx-Nl; Mon, 12 Apr 2010 02:26:07 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <19394.48383.665573.849317@fencepost.gnu.org> Date: Mon, 12 Apr 2010 02:26:07 -0400 From: Glenn Morris To: control Subject: control X-Attribution: GM X-Mailer: VM (www.wonderworks.com/vm), GNU Emacs (www.gnu.org/software/emacs) X-Hue: magenta X-Ran: (v|eEK^K!CVW&ARn1w|5i|z7]N3t166=kUr-J'QBwEvBPk]->4LmI<3+O5iN0!C8nqk2T1 X-Debbugs-No-Ack: yes X-Spam-Score: -5.1 (-----) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -5.1 (-----) merge 5934 5857 reassign 5933 emacs,ns reassign 2423 emacs,w32 From debbugs-submit-bounces@debbugs.gnu.org Thu Nov 04 15:36:22 2010 Received: (at control) by debbugs.gnu.org; 4 Nov 2010 19:36:22 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PE5bi-0005Ia-DU for submit@debbugs.gnu.org; Thu, 04 Nov 2010 15:36:22 -0400 Received: from pantheon-po41.its.yale.edu ([130.132.50.98]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PE5bZ-0005IV-Up for control@debbugs.gnu.org; Thu, 04 Nov 2010 15:36:20 -0400 Received: from furball (dhcp128036014007.central.yale.edu [128.36.14.7]) (authenticated bits=0) by pantheon-po41.its.yale.edu (8.12.11.20060308/8.12.11) with ESMTP id oA4JegwI030217 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Thu, 4 Nov 2010 15:40:42 -0400 Received: by furball (Postfix, from userid 1000) id EB536160769; Thu, 4 Nov 2010 15:40:41 -0400 (EDT) From: Chong Yidong To: control@debbugs.gnu.org Subject: close 5908 Date: Thu, 04 Nov 2010 15:40:41 -0400 Message-ID: <87zktozxl2.fsf@stupidchicken.com> MIME-Version: 1.0 Content-Type: text/plain X-YaleITSMailFilter: Version 1.2c (attachment(s) not renamed) X-Spam-Score: -2.7 (--) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.7 (--) close 5908 thanks