From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: don@donarmstrong.com (Emacs bug Tracking System) Newsgroups: gmane.emacs.bugs Subject: bug#1373: marked as done (23.0.60; --daemon: "emacsclient -c" does not honor +Xoffset+Yoffset in ~/.Xdefaults) Date: Thu, 20 Nov 2008 07:15:02 -0800 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----------=_1227194102-16635-0" X-Trace: ger.gmane.org 1227195055 8368 80.91.229.12 (20 Nov 2008 15:30:55 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 20 Nov 2008 15:30:55 +0000 (UTC) To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Nov 20 16:31:59 2008 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1L3BVQ-0001qk-N9 for geb-bug-gnu-emacs@m.gmane.org; Thu, 20 Nov 2008 16:31:45 +0100 Original-Received: from localhost ([127.0.0.1]:40730 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L3BUH-0007t5-Qb for geb-bug-gnu-emacs@m.gmane.org; Thu, 20 Nov 2008 10:30:33 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1L3BU3-0007kb-7N for bug-gnu-emacs@gnu.org; Thu, 20 Nov 2008 10:30:19 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1L3BU1-0007kD-Lc for bug-gnu-emacs@gnu.org; Thu, 20 Nov 2008 10:30:18 -0500 Original-Received: from [199.232.76.173] (port=34253 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L3BU1-0007kA-Bi for bug-gnu-emacs@gnu.org; Thu, 20 Nov 2008 10:30:17 -0500 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:37008) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1L3BU0-0007lP-Tt for bug-gnu-emacs@gnu.org; Thu, 20 Nov 2008 10:30:17 -0500 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id mAKFU9Bi021076; Thu, 20 Nov 2008 07:30:09 -0800 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id mAKFF2Nx016656; Thu, 20 Nov 2008 07:15:02 -0800 X-Mailer: MIME-tools 5.420 (Entity 5.420) X-Loop: don@donarmstrong.com X-Emacs-PR-Message: closed 1373 X-Emacs-PR-Package: emacs X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:22525 Archived-At: This is a multi-part message in MIME format... ------------=_1227194102-16635-0 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Your message dated Thu, 20 Nov 2008 10:07:34 -0500 with message-id and subject line Re: bug#1373: 23.0.60; --daemon: "emacsclient -c" does not= honor +Xoffset+Yoffset in ~/.Xdefaults has caused the Emacs bug report #1373, regarding 23.0.60; --daemon: "emacsclient -c" does not honor +Xoffset+Yoffs= et in ~/.Xdefaults to be marked as done. This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact don@donarmstrong.com immediately.) --=20 1373: http://emacsbugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=3D1373 Emacs Bug Tracking System Contact don@donarmstrong.com with problems ------------=_1227194102-16635-0 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-7.9 required=4.0 tests=BAYES_00,FOURLA, RCVD_IN_DNSWL_MED autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at submit) by emacsbugs.donarmstrong.com; 19 Nov 2008 00:47:29 +0000 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id mAJ0lOSc003042 for ; Tue, 18 Nov 2008 16:47:26 -0800 Received: from mail.gnu.org ([199.232.76.166]:59750 helo=mx10.gnu.org) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1L2bDw-0001ko-Mg for emacs-pretest-bug@gnu.org; Tue, 18 Nov 2008 19:47:16 -0500 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1L2bE4-0006Po-3z for emacs-pretest-bug@gnu.org; Tue, 18 Nov 2008 19:47:25 -0500 Received: from mail.gmx.net ([213.165.64.20]:36772) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1L2bE3-0006PS-6Y for emacs-pretest-bug@gnu.org; Tue, 18 Nov 2008 19:47:23 -0500 Received: (qmail invoked by alias); 19 Nov 2008 00:47:20 -0000 Received: from unknown (EHLO localhost) [77.22.102.44] by mail.gmx.net (mp026) with SMTP; 19 Nov 2008 01:47:20 +0100 X-Authenticated: #6219957 X-Provags-ID: V01U2FsdGVkX1/KRk4o1yLKPifV0KcqFYAp6bOuc/3MvIdOvYHjwK YxsBGNzH7bIMVC From: Gregor Zattler To: emacs-pretest-bug@gnu.org CC: rfrancoise@debian.org Subject: 23.0.60; --daemon: "emacsclient -c" does not honor +Xoffset+Yoffset in ~/.Xdefaults X-Y-GMX-Trusted: 0 X-FuHaFi: 0.49 X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. Message-Id: Date: Tue, 18 Nov 2008 19:47:24 -0500 Hi, the actions: $ killall emacs-snapshot $ xrdb ~/.Xdefaults $ emacs-snapshot -Q --daemon $ emacsclient.emacs-snapshot -c /home/grfz/.Xdefaults when started like this Emacs creates a new frame. The frames width and heigth are determined by the emacs.geometry ressource in ~/.Xdefaults, whereas the -Xoffset+Yoffset values are ignored. Emacs positions the frame in the top left corner. But I want it in the top right corner. Therefore I hve the following line in my ~/.Xdefaults file: emacs-snapshot.geometry:82x188-0+0 When started like this: $ killall emacs-snapshot $ xrdb ~/.Xdefaults $ emacs-snapshot -Q /home/grfz/.Xdefaults Emacs creates the frame in the top right corner of the display. It would be nice if emacs would honor the full geometry settings in the X ressources. Thank you for emacs, the awesome --daemon feature and your attention, Gregor In GNU Emacs 23.0.60.1 (i486-pc-linux-gnu, GTK+ Version 2.12.11) of 2008-11-18 on del, modified by Debian (emacs-snapshot package, version 1:20081113-1) Windowing system distributor `The X.Org Foundation', version 11.0.10402000 configured using `configure '--build' 'i486-linux-gnu' '--host' 'i486-linux-gnu' '--prefix=/usr' '--sharedstatedir=/var/lib' '--libexecdir=/usr/lib' '--localstatedir=/var' '--infodir=/usr/share/info' '--mandir=/usr/share/man' '--with-pop=yes' '--enable-locallisppath=/etc/emacs-snapshot:/etc/emacs:/usr/local/share/emacs/23.0.60/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/23.0.60/site-lisp:/usr/share/emacs/site-lisp' '--with-x=yes' '--with-x-toolkit=gtk' 'build_alias=i486-linux-gnu' 'host_alias=i486-linux-gnu' 'CFLAGS=-DDEBIAN -DSITELOAD_PURESIZE_EXTRA=5000 -g -O2' 'LDFLAGS=-g -Wl,--as-needed' 'CPPFLAGS='' Important settings: value of $LC_ALL: value of $LC_COLLATE: de_DE.utf8 value of $LC_CTYPE: de_DE.utf8 value of $LC_MESSAGES: POSIX value of $LC_MONETARY: de_DE.utf8 value of $LC_NUMERIC: de_DE.utf8 value of $LC_TIME: de_DE.utf8 value of $LANG: value of $XMODIFIERS: nil locale-coding-system: utf-8-unix default-enable-multibyte-characters: t Major mode: Conf[Xdefaults] Minor modes in effect: show-paren-mode: t global-hl-line-mode: t desktop-save-mode: t tooltip-mode: t mouse-wheel-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t global-auto-composition-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t size-indication-mode: t column-number-mode: t line-number-mode: t transient-mark-mode: t Recent input: M-x r e p o r Recent messages: .bash_profile has auto save data; consider M-x recover-this-file Setting up indent for shell type bash setting up indent stuff Indentation variables are now local. Indentation setup for shell type bash Wrote /home/grfz/.emacs.desktop.lock Desktop: 9 buffers restored. Loading /home/grfz/.emms-cache...done For information about GNU Emacs and the GNU system, type C-h C-a. Making completion list... [2 times] ------------=_1227194102-16635-0 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-6.6 required=4.0 tests=AWL,BAYES_00,HAS_BUG_NUMBER autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at 1373-done) by emacsbugs.donarmstrong.com; 20 Nov 2008 15:07:40 +0000 Received: from pruche.dit.umontreal.ca (pruche.dit.umontreal.ca [132.204.246.22]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id mAKF7aIm015270 for <1373-done@emacsbugs.donarmstrong.com>; Thu, 20 Nov 2008 07:07:37 -0800 Received: from ceviche.home (vpn-132-204-232-86.acd.umontreal.ca [132.204.232.86]) by pruche.dit.umontreal.ca (8.14.1/8.14.1) with ESMTP id mAKF8Au5000797; Thu, 20 Nov 2008 10:08:10 -0500 Received: by ceviche.home (Postfix, from userid 20848) id 0D641B40D7; Thu, 20 Nov 2008 10:07:35 -0500 (EST) From: Stefan Monnier To: Gregor Zattler Cc: 1373-done@emacsbugs.donarmstrong.com Subject: Re: bug#1373: 23.0.60; --daemon: "emacsclient -c" does not honor +Xoffset+Yoffset in ~/.Xdefaults Message-ID: References: Date: Thu, 20 Nov 2008 10:07:34 -0500 In-Reply-To: (Gregor Zattler's message of "Tue, 18 Nov 2008 19:47:24 -0500") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-NAI-Spam-Score: 0 X-NAI-Spam-Rules: 1 Rules triggered RV3151=0 > when started like this Emacs creates a new frame. The frames width > and heigth are determined by the emacs.geometry ressource in > ~/.Xdefaults, whereas the -Xoffset+Yoffset values are ignored. Emacs > positions the frame in the top left corner. But I want it in the top > right corner. Therefore I hve the following line in my ~/.Xdefaults > file: > emacs-snapshot.geometry:82x188-0+0 > When started like this: > $ killall emacs-snapshot > $ xrdb ~/.Xdefaults > $ emacs-snapshot -Q /home/grfz/.Xdefaults > Emacs creates the frame in the top right corner of the display. > It would be nice if emacs would honor the full geometry settings in > the X ressources. > Thank you for emacs, the awesome --daemon feature and your attention, > Gregor I believe this is "on purpose": the size part of the geometry argument applies to all frames (i.e. it's put into default-frame-alist) where the position part only applies to the first frame (i.e. it's put into initial-frame-alist). But with a daemon, there's simply no initial frame. You can still get what you want by specifying the position in default-frame-alist (in your .emacs). Stefan ------------=_1227194102-16635-0--