GNU bug report logs - #9723
24.0.50; Emacs Clipboard crash

Previous Next

Package: emacs;

Reported by: Joseph Jones <josejones <at> expedia.com>

Date: Mon, 10 Oct 2011 23:43:02 UTC

Severity: normal

Found in version 24.0.50

Done: Chong Yidong <cyd <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


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

From: Eli Zaretskii <eliz <at> gnu.org>
To: martin rudalics <rudalics <at> gmx.at>
Cc: josejones <at> expedia.com, 9723 <at> debbugs.gnu.org
Subject: Re: bug#9723: 24.0.50; Emacs Clipboard crash
Date: Fri, 03 Feb 2012 21:06:25 +0200
> Date: Fri, 03 Feb 2012 19:23:30 +0100
> From: martin rudalics <rudalics <at> gmx.at>
> CC: josejones <at> expedia.com, 9723 <at> debbugs.gnu.org
> 
> In all cases w->total_cols was set to 2 for the frame's selected
> window if I counted correctly (I divided by four).  Is there any way
> to print the value of an Elisp integer?

Dividing by four is the right thing.

> In any case, the following excerpt from change_frame_size_1 is fishy:
> 
>    /* Compute width of windows in F.
>       This is the width of the frame without vertical scroll bars.  */
>    new_frame_total_cols = FRAME_TOTAL_COLS_ARG (f, newwidth);
> 
>    /* Round up to the smallest acceptable size.  */
>    check_frame_size (f, &newheight, &newwidth);
> 
> This means that when "rounding" changes newwidth, the new value is NOT
> reflected in new_frame_total_cols.  Interchanging these lines gets me a
> w->total_cols of 6 for the window (again, if I counted correctly) which
> seems slightly more correct to me.  WDYT?

I think you should install it.  Thanks.




This bug report was last modified 13 years and 7 days ago.

Previous Next


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