From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jan =?UTF-8?Q?Dj=C3=A4rv?= Newsgroups: gmane.emacs.bugs Subject: bug#12368: 24.1; x-parse-geometry broken in Emacs 24.1 Date: Wed, 12 Sep 2012 22:30:33 +0200 Message-ID: References: <72685A2C-FE87-434E-991F-AEC63AE1D255@robertdallasgray.com> <441C52A0-2893-4403-91D3-8A5BF73234EE@swipnet.se> <7sa9wvp0d3.fsf@fencepost.gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Mac OS X Mail 6.0 \(1486\)) Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1347481888 30440 80.91.229.3 (12 Sep 2012 20:31:28 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 12 Sep 2012 20:31:28 +0000 (UTC) Cc: Robert Dallas Gray , 12368@debbugs.gnu.org To: Glenn Morris Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Sep 12 22:31:31 2012 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1TBtar-0006AK-VG for geb-bug-gnu-emacs@m.gmane.org; Wed, 12 Sep 2012 22:31:30 +0200 Original-Received: from localhost ([::1]:40946 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TBtao-0004XS-AA for geb-bug-gnu-emacs@m.gmane.org; Wed, 12 Sep 2012 16:31:26 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:45188) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TBtai-0004XB-GF for bug-gnu-emacs@gnu.org; Wed, 12 Sep 2012 16:31:24 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TBtac-0004lD-My for bug-gnu-emacs@gnu.org; Wed, 12 Sep 2012 16:31:20 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:48269) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TBtac-0004l9-Jb for bug-gnu-emacs@gnu.org; Wed, 12 Sep 2012 16:31:14 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1TBtbO-0004mS-0k for bug-gnu-emacs@gnu.org; Wed, 12 Sep 2012 16:32:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Jan =?UTF-8?Q?Dj=C3=A4rv?= Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 12 Sep 2012 20:32:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 12368 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 12368-submit@debbugs.gnu.org id=B12368.134748188818336 (code B ref 12368); Wed, 12 Sep 2012 20:32:01 +0000 Original-Received: (at 12368) by debbugs.gnu.org; 12 Sep 2012 20:31:28 +0000 Original-Received: from localhost ([127.0.0.1]:57815 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TBtap-0004lh-Lw for submit@debbugs.gnu.org; Wed, 12 Sep 2012 16:31:27 -0400 Original-Received: from mailout.attendit.se ([83.140.103.4]:58322) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TBtan-0004lY-SU for 12368@debbugs.gnu.org; Wed, 12 Sep 2012 16:31:26 -0400 Original-Received: from mail01.melmac.se (mail01.melmac.se [62.20.26.80]) by mailout.attendit.se (Postfix) with ESMTP id 2782E500F5 for <12368@debbugs.gnu.org>; Wed, 12 Sep 2012 22:24:39 +0200 (CEST) Original-Received: (qmail 1933 invoked by uid 89); 12 Sep 2012 20:30:11 -0000 Original-Received: from h-46-59-42-18.na.cust.bahnhof.se (HELO coolsville.localdomain) (boel.djarv@bdtv.se@46.59.42.18) by mail01.melmac.se with ESMTPA; 12 Sep 2012 20:30:11 -0000 Original-Received: from [172.20.199.13] (zeplin [172.20.199.13]) by coolsville.localdomain (Postfix) with ESMTPSA id 98A4C7FA05E; Wed, 12 Sep 2012 22:30:35 +0200 (CEST) In-Reply-To: <7sa9wvp0d3.fsf@fencepost.gnu.org> X-Mailer: Apple Mail (2.1486) 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:64212 Archived-At: Hello. 12 sep 2012 kl. 20:22 skrev Glenn Morris : > Jan Dj=E4rv wrote: >=20 >> x-parse-geometry (non-NS variant) calls XParseGeometry. This may not >> be available. But the W32-prt has an implementation. >>=20 >> It seems as ns-parse-geometry expects "top left with height", i.e.: >>=20 >> (x-parse-geometry "10 5 80 40") >> ((top . 10) (left . 5) (height . 80) (width . 40)) >>=20 >> I don't know where this type of geometry is specified, but we could >> support both (if there is a space in the string, it is NS-style, if >> there is a +, -, x orX, it is X-style). >>=20 >> We could move the W32-version of XParseGeometry somewhere common >> (where?) and use that. Or we can rewrite x-parse-geometry in lisp. >>=20 >> Suggestions? >=20 > I don't know... > At first I was going to say, rewrite x-parse-geometry in Lisp sounds > simple, especially if you want to handle both style of geometry. > But then since XParseGeometry is standard in X11 and already > reimplemented in w32xfns.c, maybe it's simpler just to use that. Ok, I can move it to frame.c with suitable #ifdefs around it. > And set_frame_size calls XParseGeometry from C as well (so how does = that > work on NS? I see nsfns.m has a stub definition as well). I don't see how set_frame_size calls XParseGeometry. The only calls I = see are in Fx_parse_geometry and in widget.c (Xt only). Jan D.