From unknown Sun Aug 17 09:10:32 2025 X-Loop: don@donarmstrong.com Subject: bug#1373: 23.0.60; --daemon: "emacsclient -c" does not honor +Xoffset+Yoffset in ~/.Xdefaults Reply-To: Gregor Zattler , 1373@debbugs.gnu.org Resent-From: Gregor Zattler Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Wed, 19 Nov 2008 00:55:05 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 1373 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by submit@emacsbugs.donarmstrong.com id=B.12270556493048 (code B ref -1); Wed, 19 Nov 2008 00:55:05 +0000 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 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] From unknown Sun Aug 17 09:10:32 2025 X-Loop: don@donarmstrong.com Subject: bug#1373: 23.0.60; --daemon: "emacsclient -c" does not honor +Xoffset+Yoffset in ~/.Xdefaults Reply-To: Dan Nicolaescu , 1373@debbugs.gnu.org Resent-From: Dan Nicolaescu Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Thu, 20 Nov 2008 08:05:05 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 1373 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by 1373-submit@emacsbugs.donarmstrong.com id=B1373.122716782731305 (code B ref 1373); Thu, 20 Nov 2008 08:05:05 +0000 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=-9.0 required=4.0 tests=AWL,BAYES_00,HAS_BUG_NUMBER, X_DEBBUGS_NO_ACK autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at 1373) by emacsbugs.donarmstrong.com; 20 Nov 2008 07:57:07 +0000 Received: from barrelv2.ics.uci.edu (barrelv2.ics.uci.edu [128.195.1.114]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id mAK7v4TH031298 for <1373@emacsbugs.donarmstrong.com>; Wed, 19 Nov 2008 23:57:05 -0800 Received: from mothra.ics.uci.edu (mothra.ics.uci.edu [128.195.6.93]) by barrelv2.ics.uci.edu (8.13.7+Sun/8.13.7) with ESMTP id mAK7ujp4020459; Wed, 19 Nov 2008 23:56:45 -0800 (PST) Received: (from dann@localhost) by mothra.ics.uci.edu (8.13.8+Sun/8.13.6/Submit) id mAK7uiYr009312; Wed, 19 Nov 2008 23:56:44 -0800 (PST) Date: Wed, 19 Nov 2008 23:56:44 -0800 (PST) Message-Id: <200811200756.mAK7uiYr009312@mothra.ics.uci.edu> From: Dan Nicolaescu To: Gregor Zattler Cc: 1373@debbugs.gnu.org, rfrancoise@debian.org References: In-Reply-To: (Gregor Zattler's message of "Tue, 18 Nov 2008 19:47:24 -0500") Lines: 39 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-ICS-MailScanner-Information: Please contact the ISP for more information X-ICS-MailScanner-ID: mAK7ujp4020459 X-ICS-MailScanner: Found to be clean X-ICS-MailScanner-SpamCheck: not spam, SpamAssassin (score=-1.363, required 5, autolearn=disabled, ALL_TRUSTED -1.44, TW_XR 0.08) X-ICS-MailScanner-From: dann@mothra.ics.uci.edu Gregor Zattler writes: > 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. It does not look like doing emacs -Q -f server-start& emacsclient -c respects the position parameter, so this might not be related to --daemon From unknown Sun Aug 17 09:10:32 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.420 (Entity 5.420) X-Loop: don@donarmstrong.com From: help-debbugs@gnu.org (Emacs bug Tracking System) To: Gregor Zattler Subject: bug#1373 closed by Stefan Monnier (Re: bug#1373: 23.0.60; --daemon: "emacsclient -c" does not honor +Xoffset+Yoffset in ~/.Xdefaults) Message-ID: References: X-Emacs-PR-Message: they-closed 1373 X-Emacs-PR-Package: emacs Reply-To: 1373@debbugs.gnu.org Content-Type: multipart/mixed; boundary="----------=_1227194103-16635-1" This is a multi-part message in MIME format... ------------=_1227194103-16635-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" This is an automatic notification regarding your bug report which was filed against the emacs package: #1373: 23.0.60; --daemon: "emacsclient -c" does not honor +Xoffset+Yoffset = in ~/.Xdefaults It has been closed by Stefan Monnier . Their explanation is attached below along with your original report. If this explanation is unsatisfactory and you have not received a better one in a separate message then please contact Stefan Monnier by replying to this email. --=20 1373: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D1373 Emacs Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1227194103-16635-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit >From monnier@IRO.UMontreal.CA Thu Nov 20 07:07:40 2008 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@debbugs.gnu.org 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 ------------=_1227194103-16635-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit >From telegraph@gmx.net Tue Nov 18 16:47:28 2008 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] ------------=_1227194103-16635-1--