From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Arne Babenhauserheide Newsgroups: gmane.emacs.bugs Subject: bug#8112: 23.2; wish: emacsclient -c -g GEOMETRY Date: Fri, 25 Feb 2011 01:51:04 +0100 Message-ID: References: <87d3mhgjo6.fsf@yahoo.de> Reply-To: Arne Babenhauserheide NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart14941723.Z5s7pBDokc"; micalg="pgp-sha256"; protocol="application/pgp-signature" Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1298596016 6032 80.91.229.12 (25 Feb 2011 01:06:56 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 25 Feb 2011 01:06:56 +0000 (UTC) Cc: bug-gnu-emacs@gnu.org To: Lennart Borgman Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Feb 25 02:06:52 2011 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.69) (envelope-from ) id 1Psm8y-0006EA-2K for geb-bug-gnu-emacs@m.gmane.org; Fri, 25 Feb 2011 02:06:52 +0100 Original-Received: from localhost ([127.0.0.1]:47255 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Psm8w-0007Ww-VW for geb-bug-gnu-emacs@m.gmane.org; Thu, 24 Feb 2011 20:06:51 -0500 Original-Received: from [140.186.70.92] (port=32815 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Psm8r-0007Wp-BZ for bug-gnu-emacs@gnu.org; Thu, 24 Feb 2011 20:06:46 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Psm8q-0008Vu-Eh for bug-gnu-emacs@gnu.org; Thu, 24 Feb 2011 20:06:45 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:36057) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Psm8q-0008Vq-DH for bug-gnu-emacs@gnu.org; Thu, 24 Feb 2011 20:06:44 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1Psluc-0006AV-BA; Thu, 24 Feb 2011 19:52:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Arne Babenhauserheide Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 25 Feb 2011 00:52:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 8112 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by submit@debbugs.gnu.org id=B.129859508523662 (code B ref -1); Fri, 25 Feb 2011 00:52:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 25 Feb 2011 00:51:25 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Pslu0-00069a-JQ for submit@debbugs.gnu.org; Thu, 24 Feb 2011 19:51:25 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Pslty-00069N-Pi for submit@debbugs.gnu.org; Thu, 24 Feb 2011 19:51:23 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Pslts-0006By-Nk for submit@debbugs.gnu.org; Thu, 24 Feb 2011 19:51:17 -0500 Original-Received: from lists.gnu.org ([199.232.76.165]:48143) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Pslts-0006Bu-KB for submit@debbugs.gnu.org; Thu, 24 Feb 2011 19:51:16 -0500 Original-Received: from [140.186.70.92] (port=46638 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Psltr-0001rz-SI for bug-gnu-emacs@gnu.org; Thu, 24 Feb 2011 19:51:16 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Psltq-0006Bi-L8 for bug-gnu-emacs@gnu.org; Thu, 24 Feb 2011 19:51:15 -0500 Original-Received: from fmmailgate01.web.de ([217.72.192.221]:47095) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Psltq-0006BZ-84 for bug-gnu-emacs@gnu.org; Thu, 24 Feb 2011 19:51:14 -0500 Original-Received: from smtp02.web.de ( [172.20.0.184]) by fmmailgate01.web.de (Postfix) with ESMTP id A8CF1189FC511; Fri, 25 Feb 2011 01:51:12 +0100 (CET) Original-Received: from [109.192.87.31] (helo=fluss.localnet) by smtp02.web.de with asmtp (WEB.DE 4.110 #2) id 1Pslto-0004Le-00; Fri, 25 Feb 2011 01:51:12 +0100 User-Agent: KMail/4.6 beta4 (Linux/2.6.34-gentoo-r6; KDE/4.6.0; x86_64; ; ) In-Reply-To: X-Sender: arne_bab@web.de X-Provags-ID: V01U2FsdGVkX19wZFpFxxqRl71meZjT7z0hpKrF7ZXKZYJxUg9G g77RJiQ3wIeTYhtkKUqDKUB7XJykEGP2vC60DfT1IJ4KCiKoZG 81hkc0X4Y= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4-2.6 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Thu, 24 Feb 2011 19:52:02 -0500 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) 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: , 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:44351 Archived-At: --nextPart14941723.Z5s7pBDokc Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" On Friday 25 February 2011 01:13:18 Lennart Borgman wrote: > Can't the --eval argument be used for this? It only gets evaluated after the frame is created.=20 This is possible, though:=20 emacsclient -e "(add-to-list 'default-frame-alist '(height . 40))" \ -e "(add-to-list 'default-frame-alist '(width . 120))" ; emacsclient -c= It litters the alist with new definitions, but it works.=20 Alternately put it in .bashrc:=20 emacsclient -e "(add-to-list 'default-frame-alist '(height . 30))" \ -e "(add-to-list 'default-frame-alist '(width . 55))" Then the setting only affects the given computer and I can use the .ema= cs.d=20 unchanged. But different from -g GEOMETRY it affects later frames, too :( I then can=E2=80=99t call emacsclient with default settings without set= ting these=20 default settings.=20 To pseudo-only set it once:=20 emacsclient -e "(add-to-list 'default-frame-alist '(height . 40))" \ -e "(add-to-list 'default-frame-alist '(width . 120))" ; emacsclient -c= \ -e "(add-to-list 'default-frame-alist '(height . 40))" \ -e "(add-to-list 'default-frame-alist '(width . 80))" But that is kinda clumsy compared to emacsclient -g 120x40=E2=80=A6=20 Best wishes,=20 Arne --nextPart14941723.Z5s7pBDokc Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.17 (GNU/Linux) iJwEAAEIAAYFAk1m/PgACgkQ3M8NswvBBUgfRwP+IK3PrFJ79qnPrK4GBlUD5j0O u8kBajCqW5TrqXvCEN8t5GTV8ukv0hv4dl4yrD2WMPUYTqTsA0JCrL9f57JNd960 /IO7pQoJD776MUi+mSbeS+4uh2J9yRGhSAP2BYKGeAAlP6mAuXU9+fDSMs5JzxB9 Kfqpeskz+1O3bIAJtwU= =xZj4 -----END PGP SIGNATURE----- --nextPart14941723.Z5s7pBDokc--