From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#9723: 24.0.50; Emacs Clipboard crash Date: Sat, 04 Feb 2012 17:39:16 +0200 Message-ID: <8339aqehgb.fsf@gnu.org> References: <83lis391w3.fsf@gnu.org> <81B49A9E5708D84A96259A96D480EE4902D815F95A@CHC-CCR01.SEA.CORP.EXPECN.COM> <83wr8l2y6r.fsf@gnu.org> <81B49A9E5708D84A96259A96D480EE4902D815FA2B@CHC-CCR01.SEA.CORP.EXPECN.COM> <83mx9h2em4.fsf@gnu.org> <81B49A9E5708D84A96259A96D480EE4902D81606FB@CHC-CCR01.SEA.CORP.EXPECN.COM> <81B49A9E5708D84A96259A96D480EE4902E2FD8799@CHC-CCR01.SEA.CORP.EXPECN.COM> <83obtlqabj.fsf@gnu.org> <81B49A9E5708D84A96259A96D480EE4902E2FD8919@CHC-CCR01.SEA.CORP.EXPECN.COM> <83k448riyw.fsf@gnu.org> <81B49A9E5708D84A96259A96D480EE4902E2FD8BCA@CHC-CCR01.SEA.CORP.EXPECN.COM> <8362frrcmz.fsf@gnu.org> <4F2A6EB2.4090708@gmx.at> <83k445p3lg.fsf@gnu.org> <4F2AE27F.6030706@gmx.at> <83k445f0d4.fsf@gnu.org> <4F2C2622.3010807@gmx.at> <83liojenym.fsf@gnu.org> <4F2D390D.6000408@gmx.at> <834nv6el9o.fsf@gnu.org> <4F2D4815.9060600@gmx.at> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: dough.gmane.org 1328370037 20072 80.91.229.3 (4 Feb 2012 15:40:37 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 4 Feb 2012 15:40:37 +0000 (UTC) Cc: josejones@expedia.com, 9723@debbugs.gnu.org To: martin rudalics Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Feb 04 16:40:36 2012 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Rthj9-0007oP-11 for geb-bug-gnu-emacs@m.gmane.org; Sat, 04 Feb 2012 16:40:35 +0100 Original-Received: from localhost ([::1]:51410 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rthj8-0005Yd-Ch for geb-bug-gnu-emacs@m.gmane.org; Sat, 04 Feb 2012 10:40:34 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:58626) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rthj1-0005WJ-Fo for bug-gnu-emacs@gnu.org; Sat, 04 Feb 2012 10:40:32 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Rthix-0000Db-HD for bug-gnu-emacs@gnu.org; Sat, 04 Feb 2012 10:40:27 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:50793) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rthix-0000DX-F0 for bug-gnu-emacs@gnu.org; Sat, 04 Feb 2012 10:40:23 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1Rthja-0002Th-0q for bug-gnu-emacs@gnu.org; Sat, 04 Feb 2012 10:41:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 04 Feb 2012 15:41:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 9723 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 9723-submit@debbugs.gnu.org id=B9723.13283700089463 (code B ref 9723); Sat, 04 Feb 2012 15:41:01 +0000 Original-Received: (at 9723) by debbugs.gnu.org; 4 Feb 2012 15:40:08 +0000 Original-Received: from localhost ([127.0.0.1]:54416 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Rthih-0002Sa-VT for submit@debbugs.gnu.org; Sat, 04 Feb 2012 10:40:08 -0500 Original-Received: from mtaout23.012.net.il ([80.179.55.175]:38349) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Rthid-0002Ry-3L for 9723@debbugs.gnu.org; Sat, 04 Feb 2012 10:40:04 -0500 Original-Received: from conversion-daemon.a-mtaout23.012.net.il by a-mtaout23.012.net.il (HyperSendmail v2007.08) id <0LYV00400KQJDD00@a-mtaout23.012.net.il> for 9723@debbugs.gnu.org; Sat, 04 Feb 2012 17:39:17 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([77.126.149.90]) by a-mtaout23.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0LYV0047QKTFBO30@a-mtaout23.012.net.il>; Sat, 04 Feb 2012 17:39:17 +0200 (IST) In-reply-to: <4F2D4815.9060600@gmx.at> X-012-Sender: halo1@inter.net.il X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:56475 Archived-At: > Date: Sat, 04 Feb 2012 16:00:37 +0100 > From: martin rudalics > CC: josejones@expedia.com, 9723@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.