From eliz@gnu.org Fri Sep 4 00:20:47 2009 Received: (at submit) by emacsbugs.donarmstrong.com; 4 Sep 2009 07:20:48 +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.5 required=4.0 tests=AWL,FOURLA autolearn=no version=3.2.5-bugs.debian.org_2005_01_02 Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n847Kj7j003432 for ; Fri, 4 Sep 2009 00:20:46 -0700 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MjT6D-0001KO-2k for bug-gnu-emacs@gnu.org; Fri, 04 Sep 2009 03:20:45 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MjT6B-0001Il-Vy for bug-gnu-emacs@gnu.org; Fri, 04 Sep 2009 03:20:44 -0400 Received: from [199.232.76.173] (port=51551 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MjT6B-0001IW-RX for bug-gnu-emacs@gnu.org; Fri, 04 Sep 2009 03:20:43 -0400 Received: from mx20.gnu.org ([199.232.41.8]:23116) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MjT6B-0007ug-7R for bug-gnu-emacs@gnu.org; Fri, 04 Sep 2009 03:20:43 -0400 Received: from mtaout1.012.net.il ([84.95.2.1]) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MjT6A-00089p-GX for bug-gnu-emacs@gnu.org; Fri, 04 Sep 2009 03:20:42 -0400 Received: from conversion-daemon.i-mtaout1.012.net.il by i-mtaout1.012.net.il (HyperSendmail v2007.08) id <0KPF00700P3VL100@i-mtaout1.012.net.il> for bug-gnu-emacs@gnu.org; Fri, 04 Sep 2009 09:50:37 +0300 (IDT) Received: from HOME-C4E4A596F7 ([84.228.144.38]) by i-mtaout1.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0KPF00BJ2POCIR00@i-mtaout1.012.net.il> for bug-gnu-emacs@gnu.org; Fri, 04 Sep 2009 09:50:37 +0300 (IDT) Date: Fri, 04 Sep 2009 09:48:39 +0300 From: Eli Zaretskii Subject: 23.1; truncate-partial-width-windows yields too small width X-012-Sender: halo1@inter.net.il To: bug-gnu-emacs@gnu.org Reply-to: Eli Zaretskii Message-id: <83iqfz8at4.fsf@gnu.org> X-Detected-Operating-System: by mx20.gnu.org: Solaris 9.1 X-Greylist: delayed 1803 seconds by postgrey-1.27 at nadesico; Fri, 04 Sep 2009 03:20:42 EDT X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) 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 bug-gnu-emacs@gnu.org mailing list, and to the gnu.emacs.bug news group. Please describe exactly what actions triggered the bug and the precise symptoms of the bug: emacs -Q C-x 3 M-x set-variable RET truncate-partial-width-windows RET 30 RET Now type "C-x }" in the left window until the right window starts truncating its lines on the display. When that happens, count the number of columns in the right window. I get 25, whereas the expected value is 29, or at least 27, if someone wants to argue that the fringe counts. It may be that the width of the scroll bar counts as well, but in that case this should be reflected in the doc string. The above is in a GUI session. On a TTY, I do get 29 characters, but only if I count the truncation glyph as well. 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:/usr/emacs/etc/DEBUG for instructions. In GNU Emacs 23.1.1 (i386-mingw-nt5.1.2600) of 2009-07-31 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 3 M-x s e t - v a r t r u n c a p 3 0 C-x o C-x ^ C-x { C-x } C-x } C-x } C-x { C-x { C-x o C-x } C-x { C-x { C-x } C-x { C-x 1 M-x r e p o r t - e m Recent messages: For information about GNU Emacs and the GNU system, type C-h C-a. Scanning for dabbrevs...100% dabbrev-expand: No dynamic expansion for `truncate-par' found Scanning for dabbrevs...100% dabbrev-expand: No dynamic expansion for `truncate-part' found Scanning for dabbrevs...100% dabbrev-expand: No dynamic expansion for `truncate-partial-window' found From debbugs-submit-bounces@debbugs.gnu.org Fri Mar 25 22:54:00 2016 Received: (at 4338) by debbugs.gnu.org; 26 Mar 2016 02:54:00 +0000 Received: from localhost ([127.0.0.1]:38216 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ajeMS-0003aT-0g for submit@debbugs.gnu.org; Fri, 25 Mar 2016 22:54:00 -0400 Received: from mail-qk0-f182.google.com ([209.85.220.182]:32929) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ajeMQ-0003aA-5S for 4338@debbugs.gnu.org; Fri, 25 Mar 2016 22:53:58 -0400 Received: by mail-qk0-f182.google.com with SMTP id s5so47543021qkd.0 for <4338@debbugs.gnu.org>; Fri, 25 Mar 2016 19:53:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=e0zosBh2ZQfa4raxubHps9MaKhmk4RR3HsF6mxqwVGU=; b=Rsi1Ue5LO7Dn2UIk8TOFBPEFSpvbz9PC7wKmstz46rv2rdQhNL5OU3XAMVUm4IVdDz sibwOwI0wn24Gz3etsXiBuIPMUhKg1qf2+Hz9T9IbDbzMuacrvlO8C9IKBwrbuGehbSx e07uTngM+ltGl/FxjSbSkwKqDhtbFAVBKijKtMIADeGkdRYTMOB3ZIKlOQc+RHRZ/wuz NUUs9SXc/K58pCavXEDEzoM8ve8eFs1hmx9NCt6GRcfNX+PEAS58Fyzqo87Fl0n32WEc j84vkG3BJD4fKoNAkeTHKXw4rsm4v5Kt53h6iVSZTLtv5RX9lb+IlxThlFzEraS5lJdM o50A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=e0zosBh2ZQfa4raxubHps9MaKhmk4RR3HsF6mxqwVGU=; b=EuRNu6nKN+/7y1mZbpcTXbcVsBAh7wW0I+JooJmpFO+hb/AbP7fHnSKsVgX+wiH2rT bZKVEsUm6JQiPLQpMtulWfUD3uEo95VAW9Gum6LY3G8GnXec0KbzwLzRW5L/q01ssO8Z 32XI0Gufeohh95m9dPJCyNTWW0eFfQ/C/i8Nt+5ZkDvxxdPSODUqhHYIIfwNrFUdeAxD H2oCFLkUR8zfhXlTP/VJGNzNp8b8/5QqmEkBUxXrfOo53Zexx1nayGTOMJ0xutE44EQW pcaFK0RKgHMNRWET01cw6I5/ERniNvY5AgHaCEvvIvUVFTIuCdcZ2JFxo7scF7c5Z5vW M63g== X-Gm-Message-State: AD7BkJLlKUavcTXbxY78LEqGRTk1Vs+vsowGEZRTchB7FDyvP8vEbbCuGYseN4ZelQqEiw== X-Received: by 10.55.72.67 with SMTP id v64mr20870004qka.101.1458960832770; Fri, 25 Mar 2016 19:53:52 -0700 (PDT) Received: from Andrews-MacBook-Pro.local.ahyatt-laptop (cpe-74-73-128-199.nyc.res.rr.com. [74.73.128.199]) by smtp.gmail.com with ESMTPSA id c108sm6773707qgc.13.2016.03.25.19.53.51 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 25 Mar 2016 19:53:51 -0700 (PDT) From: Andrew Hyatt To: Eli Zaretskii Subject: Re: bug#4338: 23.1; truncate-partial-width-windows yields too small width References: <83iqfz8at4.fsf@gnu.org> Date: Fri, 25 Mar 2016 22:53:51 -0400 In-Reply-To: <83iqfz8at4.fsf@gnu.org> (Eli Zaretskii's message of "Fri, 04 Sep 2009 09:48:39 +0300") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (darwin) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 4338 Cc: 4338@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) I just tested, and can confirm that this is still a problem in Emacs 25. Eli Zaretskii writes: > 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 bug-gnu-emacs@gnu.org mailing list, > and to the gnu.emacs.bug news group. > > Please describe exactly what actions triggered the bug > and the precise symptoms of the bug: > > emacs -Q > C-x 3 > M-x set-variable RET truncate-partial-width-windows RET 30 RET > > Now type "C-x }" in the left window until the right window starts > truncating its lines on the display. When that happens, count the > number of columns in the right window. I get 25, whereas the expected > value is 29, or at least 27, if someone wants to argue that the fringe > counts. > > It may be that the width of the scroll bar counts as well, but in that > case this should be reflected in the doc string. > > The above is in a GUI session. On a TTY, I do get 29 characters, but > only if I count the truncation glyph as well. > > 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:/usr/emacs/etc/DEBUG for instructions. > > > In GNU Emacs 23.1.1 (i386-mingw-nt5.1.2600) > of 2009-07-31 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 3 M-x s e t - v a r > t r u n c a p 3 0 > > > > > > > > > > > > > > > > C-x o > > > > C-x ^ > C-x { C-x } C-x } > > > > C-x } C-x { C-x { > > > > C-x o C-x } C-x > { C-x { C-x } C-x { C-x 1 M-x r e p o r t - e m > > > Recent messages: > For information about GNU Emacs and the GNU system, type C-h C-a. > Scanning for dabbrevs...100% > dabbrev-expand: No dynamic expansion for `truncate-par' found > Scanning for dabbrevs...100% > dabbrev-expand: No dynamic expansion for `truncate-part' found > Scanning for dabbrevs...100% > dabbrev-expand: No dynamic expansion for `truncate-partial-window' found From debbugs-submit-bounces@debbugs.gnu.org Sat Mar 26 03:20:51 2016 Received: (at 4338-done) by debbugs.gnu.org; 26 Mar 2016 07:20:51 +0000 Received: from localhost ([127.0.0.1]:38248 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ajiWh-0003Kc-Ft for submit@debbugs.gnu.org; Sat, 26 Mar 2016 03:20:51 -0400 Received: from eggs.gnu.org ([208.118.235.92]:58179) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ajiWf-0003KM-AS for 4338-done@debbugs.gnu.org; Sat, 26 Mar 2016 03:20:49 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ajiWV-0001C3-3E for 4338-done@debbugs.gnu.org; Sat, 26 Mar 2016 03:20:44 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=BAYES_40,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:48536) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ajiWU-0001Bz-W7; Sat, 26 Mar 2016 03:20:39 -0400 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:1506 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1ajiWU-0001yA-7Y; Sat, 26 Mar 2016 03:20:38 -0400 Date: Sat, 26 Mar 2016 10:20:12 +0300 Message-Id: <831t6x1z9v.fsf@gnu.org> From: Eli Zaretskii To: Andrew Hyatt In-reply-to: (message from Andrew Hyatt on Fri, 25 Mar 2016 22:53:51 -0400) Subject: Re: bug#4338: 23.1; truncate-partial-width-windows yields too small width References: <83iqfz8at4.fsf@gnu.org> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -6.0 (------) X-Debbugs-Envelope-To: 4338-done Cc: 4338-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Eli Zaretskii Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -6.0 (------) > From: Andrew Hyatt > Cc: 4338@debbugs.gnu.org > Date: Fri, 25 Mar 2016 22:53:51 -0400 > > I just tested, and can confirm that this is still a problem in Emacs 25. Thanks for reminding this issue to me. I fixed the doc string and the related description in the user manual, and I'm marking this bug as (finally) done. From unknown Sat Aug 16 16:09:16 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sat, 23 Apr 2016 11:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator