GNU bug report logs -
#9723
24.0.50; Emacs Clipboard crash
Previous Next
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 #233 received at 9723 <at> debbugs.gnu.org (full text, mbox):
> Date: Sat, 04 Feb 2012 16:00:37 +0100
> From: martin rudalics <rudalics <at> gmx.at>
> CC: josejones <at> expedia.com, 9723 <at> debbugs.gnu.org
>
> >> Can there ever be a remainder when printing?
> >
> > I'm not sure I understand. Lisp integers are shifted 2 bits to the
> > left in C. Does that answer your question? If not, please tell more.
>
> IIUC they are shifted to accomodate the collector bits. Are these
> always zero?
Andreas answered that.
> > Again, not sure I understand you. frame.h says:
> >
> > /* Total width of frame F, in columns (characters),
> > including the width used by scroll bars if any. */
> >
> > #define FRAME_TOTAL_COLS(f) ((f)->total_cols)
> >
> > This width is supposed to be the width of the window as known to the
> > window manager, so it includes everything Emacs controls.
>
> Scrollbars and fringes pertain to Emacs windows, not Emacs frames. What
> sense does it make to count them for frames?
You need this value to communicate with the window manager and the
toolkit. And that value should include one scroll bar and one pair of
fringes, in addition to text width. Storing that value in a separate
struct member is a convenience device, nothing more.
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.