GNU bug report logs - #4338
23.1; truncate-partial-width-windows yields too small width

Previous Next

Package: emacs;

Reported by: Eli Zaretskii <eliz <at> gnu.org>

Date: Fri, 4 Sep 2009 07:30:17 UTC

Severity: normal

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 4338 in the body.
You can then email your comments to 4338 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#4338; Package emacs. (Fri, 04 Sep 2009 07:30:18 GMT) Full text and rfc822 format available.

Acknowledgement sent to Eli Zaretskii <eliz <at> gnu.org>:
New bug report received and forwarded. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. (Fri, 04 Sep 2009 07:30:19 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: bug-gnu-emacs <at> gnu.org
Subject: 23.1; truncate-partial-width-windows yields too small width
Date: Fri, 04 Sep 2009 09:48:39 +0300
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 <at> 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:
<help-echo> <help-echo> C-x 3 M-x s e t - v a r <tab> 
<return> t r u n c a <tab> p <tab> <return> 3 0 <return> 
<mouse-1> <mouse-1> <down-mouse-1> <drag-mouse-1> <help-echo> 
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo> 
<down-mouse-1> <help-echo> <help-echo> <mouse-movement> 
<help-echo> <help-echo> <mouse-movement> <help-echo> 
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo> 
<help-echo> <mouse-movement> <help-echo> <help-echo> 
<help-echo> <help-echo> <help-echo> <help-echo> <mouse-movement> 
<help-echo> <help-echo> <mouse-movement> <help-echo> 
<help-echo> <mouse-movement> <help-echo> <help-echo> 
<mouse-movement> <help-echo> <help-echo> <mouse-movement> 
<help-echo> <help-echo> <mouse-movement> <help-echo> 
<help-echo> <mouse-movement> <help-echo> <help-echo> 
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo> 
<mouse-movement> <help-echo> <help-echo> <mouse-movement> 
<help-echo> <drag-mouse-1> <help-echo> <help-echo> 
C-x o <up> <up> <up> <up> <right> <right> <right> <right> 
<right> <right> <right> <right> <right> <right> <right> 
<right> <right> <right> <right> <right> <right> <right> 
<right> <right> <left> <left> <left> <left> <left> 
<left> <left> <left> <left> C-x ^ <down> <up> <down> 
C-x { C-x } C-x } <up> <up> <right> <right> <right> 
<right> <right> <right> <right> <right> <right> <right> 
<right> <right> <right> <right> <right> <right> <right> 
<right> <right> <right> <right> <right> <right> <right> 
<right> C-x } C-x { C-x { <left> <left> <left> <left> 
<left> <left> <left> <left> <left> <left> <left> <left> 
<left> <left> <left> <left> <left> <left> <left> <left> 
<left> <left> <left> <left> <left> <help-echo> <help-echo> 
<help-echo> <help-echo> <help-echo> 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 <tab> 
<return>

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




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#4338; Package emacs. (Sat, 26 Mar 2016 02:54:02 GMT) Full text and rfc822 format available.

Message #8 received at 4338 <at> debbugs.gnu.org (full text, mbox):

From: Andrew Hyatt <ahyatt <at> gmail.com>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 4338 <at> debbugs.gnu.org
Subject: Re: bug#4338: 23.1;
 truncate-partial-width-windows yields too small width
Date: Fri, 25 Mar 2016 22:53:51 -0400
I just tested, and can confirm that this is still a problem in Emacs 25.

Eli Zaretskii <eliz <at> gnu.org> 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 <at> 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:
> <help-echo> <help-echo> C-x 3 M-x s e t - v a r <tab> 
> <return> t r u n c a <tab> p <tab> <return> 3 0 <return> 
> <mouse-1> <mouse-1> <down-mouse-1> <drag-mouse-1> <help-echo> 
> <help-echo> <help-echo> <help-echo> <help-echo> <help-echo> 
> <down-mouse-1> <help-echo> <help-echo> <mouse-movement> 
> <help-echo> <help-echo> <mouse-movement> <help-echo> 
> <help-echo> <help-echo> <help-echo> <help-echo> <help-echo> 
> <help-echo> <mouse-movement> <help-echo> <help-echo> 
> <help-echo> <help-echo> <help-echo> <help-echo> <mouse-movement> 
> <help-echo> <help-echo> <mouse-movement> <help-echo> 
> <help-echo> <mouse-movement> <help-echo> <help-echo> 
> <mouse-movement> <help-echo> <help-echo> <mouse-movement> 
> <help-echo> <help-echo> <mouse-movement> <help-echo> 
> <help-echo> <mouse-movement> <help-echo> <help-echo> 
> <help-echo> <help-echo> <help-echo> <help-echo> <help-echo> 
> <mouse-movement> <help-echo> <help-echo> <mouse-movement> 
> <help-echo> <drag-mouse-1> <help-echo> <help-echo> 
> C-x o <up> <up> <up> <up> <right> <right> <right> <right> 
> <right> <right> <right> <right> <right> <right> <right> 
> <right> <right> <right> <right> <right> <right> <right> 
> <right> <right> <left> <left> <left> <left> <left> 
> <left> <left> <left> <left> C-x ^ <down> <up> <down> 
> C-x { C-x } C-x } <up> <up> <right> <right> <right> 
> <right> <right> <right> <right> <right> <right> <right> 
> <right> <right> <right> <right> <right> <right> <right> 
> <right> <right> <right> <right> <right> <right> <right> 
> <right> C-x } C-x { C-x { <left> <left> <left> <left> 
> <left> <left> <left> <left> <left> <left> <left> <left> 
> <left> <left> <left> <left> <left> <left> <left> <left> 
> <left> <left> <left> <left> <left> <help-echo> <help-echo> 
> <help-echo> <help-echo> <help-echo> 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 <tab> 
> <return>
>
> 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




Reply sent to Eli Zaretskii <eliz <at> gnu.org>:
You have taken responsibility. (Sat, 26 Mar 2016 07:21:02 GMT) Full text and rfc822 format available.

Notification sent to Eli Zaretskii <eliz <at> gnu.org>:
bug acknowledged by developer. (Sat, 26 Mar 2016 07:21:02 GMT) Full text and rfc822 format available.

Message #13 received at 4338-done <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Andrew Hyatt <ahyatt <at> gmail.com>
Cc: 4338-done <at> debbugs.gnu.org
Subject: Re: bug#4338: 23.1;
 truncate-partial-width-windows yields too small width
Date: Sat, 26 Mar 2016 10:20:12 +0300
> From: Andrew Hyatt <ahyatt <at> gmail.com>
> Cc: 4338 <at> 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.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sat, 23 Apr 2016 11:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 9 years and 116 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.