From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?ISO-8859-1?Q?Jan_Dj=E4rv?= Newsgroups: gmane.emacs.devel Subject: Re: XEmbed patches Date: Fri, 20 Jul 2007 12:33:34 +0200 Message-ID: <46A08F7E.9060904@swipnet.se> References: <20070718142537.GA27107@movial.fi> <46A05BFA.2010900@swipnet.se> <20070720082425.GD27107@movial.fi> <46A074FC.7040805@gnu.org> <86d4ynxxax.fsf@lola.quinscape.zz> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1184927692 29876 80.91.229.12 (20 Jul 2007 10:34:52 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 20 Jul 2007 10:34:52 +0000 (UTC) Cc: Timo Savola , emacs-devel@gnu.org, rms@gnu.org, Jason Rumney To: David Kastrup Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Jul 20 12:34:50 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1IBpon-0000ZZ-Kp for ged-emacs-devel@m.gmane.org; Fri, 20 Jul 2007 12:34:41 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IBpon-00059c-4E for ged-emacs-devel@m.gmane.org; Fri, 20 Jul 2007 06:34:41 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IBpoa-00055I-Vh for emacs-devel@gnu.org; Fri, 20 Jul 2007 06:34:29 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IBpoY-00053v-60 for emacs-devel@gnu.org; Fri, 20 Jul 2007 06:34:28 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IBpoX-00053o-Q1 for emacs-devel@gnu.org; Fri, 20 Jul 2007 06:34:25 -0400 Original-Received: from av8-1-sn3.vrr.skanova.net ([81.228.9.183]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IBpoU-0003kh-Q5; Fri, 20 Jul 2007 06:34:22 -0400 Original-Received: by av8-1-sn3.vrr.skanova.net (Postfix, from userid 502) id A54EC39BC8; Fri, 20 Jul 2007 12:34:21 +0200 (CEST) Original-Received: from smtp3-2-sn3.vrr.skanova.net (smtp3-2-sn3.vrr.skanova.net [81.228.9.102]) by av8-1-sn3.vrr.skanova.net (Postfix) with ESMTP id 7F16039B8E; Fri, 20 Jul 2007 12:34:21 +0200 (CEST) Original-Received: from husetbladh.homeip.net (81-235-205-78-no59.tbcn.telia.com [81.235.205.78]) by smtp3-2-sn3.vrr.skanova.net (Postfix) with ESMTP id 5185A37E49; Fri, 20 Jul 2007 12:34:21 +0200 (CEST) User-Agent: Thunderbird 2.0.0.4 (Macintosh/20070604) In-Reply-To: <86d4ynxxax.fsf@lola.quinscape.zz> X-detected-kernel: Linux 2.4-2.6 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:75171 Archived-At: David Kastrup skrev: > Jason Rumney writes: > >> A better solution would be to remove the restriction that frames must be >> an integer number of characters wide (and high). Then the scrollbar and >> toolbar can be made the correct size without empty filler padding them >> out to a multiple of the character size. > > When resizing an Emacs frame, the window manager's display of the > actual size and a character-size granularity are nice to have. > However, the displayed geometry clearly does not count in the > decorations from Emacs itself (scrollbar, fringes), so there is > apparently already a mechanism in place in the window-manager > communication that can discount decorations, and it is not unlikely > that the decorations need not have character cell size. You set hints to the window manager how big an increment (character size) is in x and y directions. You also tell it the minimum size (i.e. the size of the scrollbars, fringes, menu and toolbar) of your window. That way the WM can calculate the character increment and display that when the window is resized. > > For embedding, however, one might need to pad or fill still. That is true. Jan D.