From debbugs-submit-bounces@debbugs.gnu.org Thu Apr 08 12:13:56 2010 Received: (at submit) by debbugs.gnu.org; 8 Apr 2010 16:13:56 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NzuMd-00050Y-Ic for submit@debbugs.gnu.org; Thu, 08 Apr 2010 12:13:56 -0400 Received: from mx10.gnu.org ([199.232.76.166]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Nzu0e-0004r3-91 for submit@debbugs.gnu.org; Thu, 08 Apr 2010 11:51:13 -0400 Received: from lists.gnu.org ([199.232.76.165]:45114) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Nzu0Z-0000jn-Js for submit@debbugs.gnu.org; Thu, 08 Apr 2010 11:51:07 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Nzu0Z-00037z-8h for bug-gnu-emacs@gnu.org; Thu, 08 Apr 2010 11:51:07 -0400 Received: from [140.186.70.92] (port=49365 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Nzu0Q-00035B-My for bug-gnu-emacs@gnu.org; Thu, 08 Apr 2010 11:51:06 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.0 (2010-01-18) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,T_TO_NO_BRKTS_FREEMAIL,T_TVD_MIME_NO_HEADERS autolearn=unavailable version=3.3.0 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Nzu0O-0002gp-IS for bug-gnu-emacs@gnu.org; Thu, 08 Apr 2010 11:50:58 -0400 Received: from mail.gmx.net ([213.165.64.20]:44353) by eggs.gnu.org with smtp (Exim 4.69) (envelope-from ) id 1Nzu0O-0002gX-4u for bug-gnu-emacs@gnu.org; Thu, 08 Apr 2010 11:50:56 -0400 Received: (qmail invoked by alias); 08 Apr 2010 15:50:53 -0000 Received: from 83-215-154-5.hage.dyn.salzburg-online.at (EHLO nathot.lan) [83.215.154.5] by mail.gmx.net (mp016) with SMTP; 08 Apr 2010 17:50:53 +0200 X-Authenticated: #3102804 X-Provags-ID: V01U2FsdGVkX19YYYMWoCxY9Yqm+IZWMqEFZ06S28Pig6XfPF0yQj sru7+vSPu+fbna Received: from localhost (localhost.localdomain [127.0.0.1]) by nathot.lan (Postfix) with ESMTP id 47CEE51B7B for ; Thu, 8 Apr 2010 17:50:52 +0200 (CEST) Received: from nathot.lan ([127.0.0.1]) by localhost (nathot.lan [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id eiDvEo2aAiIe for ; Thu, 8 Apr 2010 17:50:47 +0200 (CEST) Received: from delenn.lan (delenn.lan [192.168.3.11]) by nathot.lan (Postfix) with ESMTP id B373B51B79 for ; Thu, 8 Apr 2010 17:50:47 +0200 (CEST) Received: by delenn.lan (Postfix, from userid 1000) id 8B6D874DEB; Thu, 8 Apr 2010 17:50:46 +0200 (CEST) From: Andreas Rottmann To: bug-gnu-emacs@gnu.org Subject: 23.1; [PATCH] emacsclient support for setting frame parameters Date: Thu, 08 Apr 2010 17:50:46 +0200 Message-ID: <87zl1e6izt.fsf@delenn.lan> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Y-GMX-Trusted: 0 X-FuHaFi: 0.75 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-Spam-Score: -3.3 (---) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Thu, 08 Apr 2010 12:13:54 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -4.6 (----) --=-=-= The attached patch (against recent HEAD) adds a new option `--frame-parameters' to emacsclient, which allows to set the frame parameter alist for the to-be-created frame. This feature is useful for window managers that allow matching on X properties. Without this patch, it is not possible to influence those at /frame creation time/, they could only be set after the frame was already created. This is to late for windowmanagers who match, and typically do so at frame creation time. --=-=-= Content-Type: text/x-diff Content-Disposition: inline; filename=frame-params.patch Content-Description: --frame-parameters option for emacsclient diff --git a/lib-src/emacsclient.c b/lib-src/emacsclient.c index 1e7ec7d..c4aeb68 100644 --- a/lib-src/emacsclient.c +++ b/lib-src/emacsclient.c @@ -154,6 +154,10 @@ char *server_file = NULL; /* PID of the Emacs server process. */ int emacs_pid = 0; +/* If non-NULL, a string that should form a frame parameter alist to + be used for the new frame */ +const char *frame_parameters = NULL; + void print_help_and_exit () NO_RETURN; struct option longopts[] = @@ -166,6 +170,7 @@ struct option longopts[] = { "nw", no_argument, NULL, 't' }, { "create-frame", no_argument, NULL, 'c' }, { "alternate-editor", required_argument, NULL, 'a' }, + { "frame-parameters", required_argument, NULL, 'F' }, #ifndef NO_SOCKETS_IN_FILE_SYSTEM { "socket-name", required_argument, NULL, 's' }, #endif @@ -587,6 +592,10 @@ decode_options (argc, argv) print_help_and_exit (); break; + case 'F': + frame_parameters = optarg; + break; + default: message (TRUE, "Try `%s --help' for more information\n", progname); exit (EXIT_FAILURE); @@ -1620,6 +1629,13 @@ main (argc, argv) send_to_emacs (emacs_socket, " "); } + if (frame_parameters && !current_frame) + { + send_to_emacs (emacs_socket, "-frame-parameters "); + quote_argument (emacs_socket, frame_parameters); + send_to_emacs (emacs_socket, " "); + } + /* If using the current frame, send tty information to Emacs anyway. In daemon mode, Emacs may need to occupy this tty if no other frame is available. */ diff --git a/lisp/server.el b/lisp/server.el index d36b99c..9a7b4c8 100644 --- a/lisp/server.el +++ b/lisp/server.el @@ -708,7 +708,10 @@ Server mode runs a process that accepts commands from the (number-to-string (emacs-pid)) "\n")) frame)) -(defun server-create-window-system-frame (display nowait proc) +(defun server-create-window-system-frame (display + nowait + proc + &optional parameters) (add-to-list 'frame-inherited-parameters 'client) (if (not (fboundp 'make-frame-on-display)) (progn @@ -723,7 +726,8 @@ Server mode runs a process that accepts commands from the ;; killing emacs on that frame. (let* ((params `((client . ,(if nowait 'nowait proc)) ;; This is a leftover, see above. - (environment . ,(process-get proc 'env)))) + (environment . ,(process-get proc 'env)) + ,@parameters)) (frame (make-frame-on-display (or display (frame-parameter nil 'display) @@ -803,6 +807,9 @@ The following commands are accepted by the server: `-current-frame' Forbid the creation of new frames. +`-frame-parameters ALIST' + Set the parameters of the created frame. + `-nowait' Request that the next frame created should not be associated with this client. @@ -904,6 +911,7 @@ The following commands are accepted by the client: commands dir use-current-frame + frame-parameters ;parameters for newly created frame tty-name ;nil, `window-system', or the tty name. tty-type ;string. files @@ -926,6 +934,13 @@ The following commands are accepted by the client: ;; -current-frame: Don't create frames. ((equal "-current-frame" arg) (setq use-current-frame t)) + ;; -frame-parameters: Set frame parameters + ((equal "-frame-parameters" arg) + (lexical-let ((alist (pop command-line-args-left))) + (if coding-system + (setq alist (decode-coding-string alist coding-system))) + (setq frame-parameters (car (read-from-string alist))))) + ;; -display DISPLAY: ;; Open X frames on the given display instead of the default. ((and (equal "-display" arg) command-line-args-left) @@ -1036,7 +1051,11 @@ The following commands are accepted by the client: (setq tty-name nil tty-type nil) (if display (server-select-display display))) ((eq tty-name 'window-system) - (server-create-window-system-frame display nowait proc)) + (server-create-window-system-frame + display + nowait + proc + frame-parameters)) ;; When resuming on a tty, tty-name is nil. (tty-name (server-create-tty-frame tty-name tty-type proc)))) --=-=-= Regards, Rotty -- Andreas Rottmann -- --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Mon Mar 07 16:35:09 2011 Received: (at 5864-quiet) by debbugs.gnu.org; 7 Mar 2011 21:35:09 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Pwi56-0006ox-0K for submit@debbugs.gnu.org; Mon, 07 Mar 2011 16:35:08 -0500 Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Pwi52-0006oU-OD for 5864-quiet@debbugs.gnu.org; Mon, 07 Mar 2011 16:35:06 -0500 Received: from localhost ([127.0.0.1]:32898) by fencepost.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Pwi4x-0005eV-MY for 5864-quiet@debbugs.gnu.org; Mon, 07 Mar 2011 16:34:59 -0500 From: Andreas Rottmann To: 5864-quiet@debbugs.gnu.org Subject: [PATCH] Allow passing frame parameters to emacsclient Date: Sat, 26 Feb 2011 18:32:49 +0100 Lines: 247 X-From-Line: emacs-devel-bounces+rgm=gnu.org@gnu.org Sat Feb 26 12:34:19 2011 Received: from eggs.gnu.org ([140.186.70.92]:33157) by fencepost.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1PtO27-0005RD-8q for rgm@gnu.org; Sat, 26 Feb 2011 12:34:19 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PtO25-0006x2-Mb for rgm@gnu.org; Sat, 26 Feb 2011 12:34:19 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE, T_TO_NO_BRKTS_FREEMAIL autolearn=unavailable version=3.3.1 Received: from lists.gnu.org ([199.232.76.165]:48929) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PtO25-0006vT-CR for rgm@gnu.org; Sat, 26 Feb 2011 12:34:17 -0500 Received: from localhost ([127.0.0.1]:55140 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PtO25-0007Qg-6J for rgm@gnu.org; Sat, 26 Feb 2011 12:34:17 -0500 Received: from [140.186.70.92] (port=35053 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PtO0u-0007Cu-LB for emacs-devel@gnu.org; Sat, 26 Feb 2011 12:33:06 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PtO0s-0006Vd-5F for emacs-devel@gnu.org; Sat, 26 Feb 2011 12:33:04 -0500 Received: from mailout-de.gmx.net ([213.165.64.23]:33378) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1PtO0r-0006VL-Oa for emacs-devel@gnu.org; Sat, 26 Feb 2011 12:33:02 -0500 Received: (qmail invoked by alias); 26 Feb 2011 17:32:59 -0000 Received: from 83-215-154-5.hage.dyn.salzburg-online.at (EHLO nathot.lan) [83.215.154.5] by mail.gmx.net (mp015) with SMTP; 26 Feb 2011 18:32:59 +0100 X-Authenticated: #3102804 X-Provags-ID: V01U2FsdGVkX18bxk8E5r0bIv/1LimvKriTq3OhxCWjxMhCujWxsq P54dVStFUADR9/ Received: from localhost (localhost.localdomain [127.0.0.1]) by nathot.lan (Postfix) with ESMTP id E396E3A696 for ; Sat, 26 Feb 2011 18:32:57 +0100 (CET) Received: from nathot.lan ([127.0.0.1]) by localhost (nathot.lan [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 81FUvGhWhMuS for ; Sat, 26 Feb 2011 18:32:50 +0100 (CET) Received: from delenn.lan (delenn.lan [192.168.3.11]) by nathot.lan (Postfix) with ESMTP id 5394F3A691 for ; Sat, 26 Feb 2011 18:32:50 +0100 (CET) Received: by delenn.lan (Postfix, from userid 1000) id 18EA72C00C2; Sat, 26 Feb 2011 18:32:50 +0100 (CET) X-Y-GMX-Trusted: 0 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 199.232.76.165 Message-ID: User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Spam-Score: -5.1 (-----) X-Debbugs-Envelope-To: 5864-quiet X-BeenThere: debbugs-submit@debbugs.gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -5.2 (-----) --=-=-= [resent from emacs-devel] Hi! This is the first patch I submit for Emacs, so I hope I followed all the rules :-). I initially submitted a now-stale version of the patch as a bugreport[0] -- I assume I should close this, as patches are to be submitted and discussed on this mailinglist (or bug-gnu-emacs@gnu.org), right? Another thing: the patch is relatively small, but I guess it might be over the no-copyright-assignment-needed limit; if this is the case, please tell me so I can request papers from FSF for Emacs (and Org-Mode, while I'm at it). I have already signed papers for Guile, but I guess I need to do this again for Emacs(?). A description and rationale for the feature as well as ChangeLog entries are in the patch headers, see below. As for my personal use-case: I'd like to create new frames using emacsclient for Email (Gnus) and IRC (rcirc) and have my window manager (awesome[1]) put these frames on a fixed tag (= virtual desktop). The attached patch makes this possible by allowing to influence e.g. the frame name at frame creation time. You could do that before using "--eval", but that would set the properties only after the frame has already been created. [0] http://debbugs.gnu.org/cgi/bugreport.cgi?bug=5864 [1] http://awesome.naquadah.org/ --=-=-= Content-Type: text/x-diff Content-Disposition: inline; filename=frame-params.diff From: Andreas Rottmann Subject: Allow passing frame parameters to emacsclient Adds a new option `--frame-parameters' to emacsclient, which allows to set the frame parameter alist for the to-be-created frame. This feature is useful for window managers that allow matching on X properties. Without this patch, it is not possible to influence those at /frame creation time/, they could only be set after the frame was already created. This is too late for windowmanagers who match the X properties at frame creation time. * lib-src/emacsclient.c (frame_parameters): New global variable. (longopts): New entry "frame-parameters" with short option alias 'F'. (decode_options): Process frame-parameters option. (main): Send value of frame-parameters option to emacs if we are constructing a new frame. * lisp/servel.el (server-create-window-system-frame): Add new optional argument `parameters' which allows setting additional frame parameters. (server-process-filter): Handle "-frame-parameters" command, and pass its value to `server-create-window-system-frame' * doc/emacs/misc.texi (Invoking emacsclient): Document the "--frame-parameters" option. * doc/man/emacsclient.1: Ditto. --- doc/emacs/misc.texi | 5 +++++ doc/man/emacsclient.1 | 3 +++ etc/NEWS | 4 ++++ lib-src/emacsclient.c | 16 ++++++++++++++++ lisp/server.el | 23 ++++++++++++++++++++--- 5 files changed, 48 insertions(+), 3 deletions(-) diff --git a/doc/emacs/misc.texi b/doc/emacs/misc.texi index d7143d1..99e5fbf 100644 --- a/doc/emacs/misc.texi +++ b/doc/emacs/misc.texi @@ -1622,6 +1622,11 @@ text-only terminal frame (@pxref{Frames}). If you omit a filename argument while supplying the @samp{-c} option, the new frame displays the @samp{*scratch*} buffer (@pxref{Buffers}). +@item -F +@itemx --frame-parameters=@var{alist} +Set the parameters for a newly-created graphical frame. @xref{Frame +Parameters}. + @item -d @var{display} @itemx --display=@var{display} Tell Emacs to open the given files on the X display @var{display} diff --git a/doc/man/emacsclient.1 b/doc/man/emacsclient.1 index cae4d76..4843053 100644 --- a/doc/man/emacsclient.1 +++ b/doc/man/emacsclient.1 @@ -58,6 +58,9 @@ daemon mode and emacsclient will try to connect to it. .B -c, \-\-create-frame create a new frame instead of trying to use the current Emacs frame .TP +.B \-F, \-\-frame-parameters=ALIST +set the parameters of a newly-created frame. +.TP .B \-d, \-\-display=DISPLAY tell the server to display the files on the given display. .TP diff --git a/etc/NEWS b/etc/NEWS index cfb7889..0c904bc 100644 --- a/etc/NEWS +++ b/etc/NEWS @@ -71,6 +71,10 @@ from load-path. -Q now implies this. client frame in parent X window ID, via XEmbed. This works like the --parent-id argument to Emacs. ++++ +*** New emacsclient argument --frame-parameters can be used to set the +frame parameters of a newly-created graphical frame. + *** If emacsclient shuts down as a result of Emacs signalling an error, its exit status is 1. diff --git a/lib-src/emacsclient.c b/lib-src/emacsclient.c index 836891a..e76e8bf 100644 --- a/lib-src/emacsclient.c +++ b/lib-src/emacsclient.c @@ -157,6 +157,10 @@ const char *server_file = NULL; /* PID of the Emacs server process. */ int emacs_pid = 0; +/* If non-NULL, a string that should form a frame parameter alist to + be used for the new frame */ +const char *frame_parameters = NULL; + static void print_help_and_exit (void) NO_RETURN; static void fail (void) NO_RETURN; @@ -171,6 +175,7 @@ struct option longopts[] = { "nw", no_argument, NULL, 't' }, { "create-frame", no_argument, NULL, 'c' }, { "alternate-editor", required_argument, NULL, 'a' }, + { "frame-parameters", required_argument, NULL, 'F' }, #ifndef NO_SOCKETS_IN_FILE_SYSTEM { "socket-name", required_argument, NULL, 's' }, #endif @@ -592,6 +597,10 @@ decode_options (int argc, char **argv) print_help_and_exit (); break; + case 'F': + frame_parameters = optarg; + break; + default: message (TRUE, "Try `%s --help' for more information\n", progname); exit (EXIT_FAILURE); @@ -1622,6 +1631,13 @@ main (int argc, char **argv) send_to_emacs (emacs_socket, " "); } + if (frame_parameters && !current_frame) + { + send_to_emacs (emacs_socket, "-frame-parameters "); + quote_argument (emacs_socket, frame_parameters); + send_to_emacs (emacs_socket, " "); + } + /* If using the current frame, send tty information to Emacs anyway. In daemon mode, Emacs may need to occupy this tty if no other frame is available. */ diff --git a/lisp/server.el b/lisp/server.el index df8cae0..2a883bd 100644 --- a/lisp/server.el +++ b/lisp/server.el @@ -728,7 +728,11 @@ Server mode runs a process that accepts commands from the frame)) -(defun server-create-window-system-frame (display nowait proc parent-id) +(defun server-create-window-system-frame (display + nowait + proc + parent-id + &optional parameters) (add-to-list 'frame-inherited-parameters 'client) (if (not (fboundp 'make-frame-on-display)) (progn @@ -743,7 +747,8 @@ Server mode runs a process that accepts commands from the ;; killing emacs on that frame. (let* ((params `((client . ,(if nowait 'nowait proc)) ;; This is a leftover, see above. - (environment . ,(process-get proc 'env)))) + (environment . ,(process-get proc 'env)) + ,@parameters)) (display (or display (frame-parameter nil 'display) (getenv "DISPLAY") @@ -825,6 +830,9 @@ The following commands are accepted by the server: `-current-frame' Forbid the creation of new frames. +`-frame-parameters ALIST' + Set the parameters of the created frame. + `-nowait' Request that the next frame created should not be associated with this client. @@ -933,6 +941,7 @@ The following commands are accepted by the client: commands dir use-current-frame + frame-parameters ;parameters for newly created frame tty-name ; nil, `window-system', or the tty name. tty-type ; string. files @@ -953,6 +962,13 @@ The following commands are accepted by the client: ;; -current-frame: Don't create frames. (`"-current-frame" (setq use-current-frame t)) + ;; -frame-parameters: Set frame parameters + (`"-frame-parameters" + (lexical-let ((alist (pop args-left))) + (if coding-system + (setq alist (decode-coding-string alist coding-system))) + (setq frame-parameters (car (read-from-string alist))))) + ;; -display DISPLAY: ;; Open X frames on the given display instead of the default. (`"-display" @@ -1068,7 +1084,8 @@ The following commands are accepted by the client: (if display (server-select-display display))) ((eq tty-name 'window-system) (server-create-window-system-frame display nowait proc - parent-id)) + parent-id + frame-parameters)) ;; When resuming on a tty, tty-name is nil. (tty-name (server-create-tty-frame tty-name tty-type proc)))) -- tg: (498f0e8..) t/frame-params (depends on: master) --=-=-= Kind Regards, Rotty -- Andreas Rottmann -- --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Tue Mar 08 16:17:11 2011 Received: (at 5864) by debbugs.gnu.org; 8 Mar 2011 21:17:11 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Px4HG-0006Eo-VN for submit@debbugs.gnu.org; Tue, 08 Mar 2011 16:17:11 -0500 Received: from mailout-de.gmx.net ([213.165.64.22]) by debbugs.gnu.org with smtp (Exim 4.69) (envelope-from ) id 1Px4HA-0006E2-8e for 5864@debbugs.gnu.org; Tue, 08 Mar 2011 16:17:08 -0500 Received: (qmail invoked by alias); 08 Mar 2011 21:16:57 -0000 Received: from 83-215-154-5.hage.dyn.salzburg-online.at (EHLO nathot.lan) [83.215.154.5] by mail.gmx.net (mp052) with SMTP; 08 Mar 2011 22:16:57 +0100 X-Authenticated: #3102804 X-Provags-ID: V01U2FsdGVkX18pFcQ7/J0plQ6rDhVkf+/umQCbfQsjoYyoWu0bjL JEEvf7LbGVr2mB Received: from localhost (localhost.localdomain [127.0.0.1]) by nathot.lan (Postfix) with ESMTP id 9EC963A68F; Tue, 8 Mar 2011 22:16:54 +0100 (CET) Received: from nathot.lan ([127.0.0.1]) by localhost (nathot.lan [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id F+mLIwvYuOlG; Tue, 8 Mar 2011 22:16:47 +0100 (CET) Received: from vir (vir.lan [192.168.3.10]) by nathot.lan (Postfix) with ESMTP id 6D8FE3A685; Tue, 8 Mar 2011 22:16:47 +0100 (CET) Received: by vir (Postfix, from userid 1000) id 266C1BE75D; Tue, 8 Mar 2011 22:16:47 +0100 (CET) From: Andreas Rottmann To: 5864@debbugs.gnu.org, control@debbugs.gnu.org Subject: Update bug information Date: Tue, 08 Mar 2011 22:16:46 +0100 Message-ID: <87y64pl3cx.fsf@vir.lan> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Y-GMX-Trusted: 0 X-Spam-Score: -3.5 (---) X-Debbugs-Envelope-To: 5864 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -3.3 (---) --=-=-= Content-Type: text/plain retitle 5864 24.0.50; [PATCH] emacsclient support for setting frame parameters thanks Here's an updated version of the patch -- no real changes, but it resolves a conflict in NEWS and should again apply cleanly against current trunk (Tue Mar 8 09:33:55 2011 -0800, "Add missing piece of previous doc/ change"). --=-=-= Content-Type: text/x-diff Content-Disposition: attachment; filename=frame-params.diff From: Andreas Rottmann Subject: Allow passing frame parameters to emacsclient Adds a new option `--frame-parameters' to emacsclient, which allows to set the frame parameter alist for the to-be-created frame. This feature is useful for window managers that allow matching on X properties. Without this patch, it is not possible to influence those at /frame creation time/, they could only be set after the frame was already created. This is too late for windowmanagers who match the X properties at frame creation time. * lib-src/emacsclient.c (frame_parameters): New global variable. (longopts): New entry "frame-parameters" with short option alias 'F'. (decode_options): Process frame-parameters option. (main): Send value of frame-parameters option to emacs if we are constructing a new frame. * lisp/servel.el (server-create-window-system-frame): Add new optional argument `parameters' which allows setting additional frame parameters. (server-process-filter): Handle "-frame-parameters" command, and pass its value to `server-create-window-system-frame' * doc/emacs/misc.texi (Invoking emacsclient): Document the "--frame-parameters" option. * doc/man/emacsclient.1: Ditto. --- doc/emacs/misc.texi | 5 +++++ doc/man/emacsclient.1 | 3 +++ etc/NEWS | 4 ++++ lib-src/emacsclient.c | 16 ++++++++++++++++ lisp/server.el | 23 ++++++++++++++++++++--- 5 files changed, 48 insertions(+), 3 deletions(-) diff --git a/doc/emacs/misc.texi b/doc/emacs/misc.texi index 1299895..5fb3912 100644 --- a/doc/emacs/misc.texi +++ b/doc/emacs/misc.texi @@ -1622,6 +1622,11 @@ text-only terminal frame (@pxref{Frames}). If you omit a filename argument while supplying the @samp{-c} option, the new frame displays the @samp{*scratch*} buffer (@pxref{Buffers}). +@item -F +@itemx --frame-parameters=@var{alist} +Set the parameters for a newly-created graphical frame. @xref{Frame +Parameters}. + @item -d @var{display} @itemx --display=@var{display} Tell Emacs to open the given files on the X display @var{display} diff --git a/doc/man/emacsclient.1 b/doc/man/emacsclient.1 index cae4d76..4843053 100644 --- a/doc/man/emacsclient.1 +++ b/doc/man/emacsclient.1 @@ -58,6 +58,9 @@ daemon mode and emacsclient will try to connect to it. .B -c, \-\-create-frame create a new frame instead of trying to use the current Emacs frame .TP +.B \-F, \-\-frame-parameters=ALIST +set the parameters of a newly-created frame. +.TP .B \-d, \-\-display=DISPLAY tell the server to display the files on the given display. .TP diff --git a/etc/NEWS b/etc/NEWS index 330a3b6..68474ac 100644 --- a/etc/NEWS +++ b/etc/NEWS @@ -74,6 +74,10 @@ client frame in parent X window ID, via XEmbed. This works like the +++ *** New emacsclient argument -q/--quiet suppresses some status messages. ++++ +*** New emacsclient argument --frame-parameters can be used to set the +frame parameters of a newly-created graphical frame. + *** If emacsclient shuts down as a result of Emacs signalling an error, its exit status is 1. diff --git a/lib-src/emacsclient.c b/lib-src/emacsclient.c index abc9aee..bcb8498 100644 --- a/lib-src/emacsclient.c +++ b/lib-src/emacsclient.c @@ -160,6 +160,10 @@ const char *server_file = NULL; /* PID of the Emacs server process. */ int emacs_pid = 0; +/* If non-NULL, a string that should form a frame parameter alist to + be used for the new frame */ +const char *frame_parameters = NULL; + static void print_help_and_exit (void) NO_RETURN; static void fail (void) NO_RETURN; @@ -175,6 +179,7 @@ struct option longopts[] = { "nw", no_argument, NULL, 't' }, { "create-frame", no_argument, NULL, 'c' }, { "alternate-editor", required_argument, NULL, 'a' }, + { "frame-parameters", required_argument, NULL, 'F' }, #ifndef NO_SOCKETS_IN_FILE_SYSTEM { "socket-name", required_argument, NULL, 's' }, #endif @@ -600,6 +605,10 @@ decode_options (int argc, char **argv) print_help_and_exit (); break; + case 'F': + frame_parameters = optarg; + break; + default: message (TRUE, "Try `%s --help' for more information\n", progname); exit (EXIT_FAILURE); @@ -1631,6 +1640,13 @@ main (int argc, char **argv) send_to_emacs (emacs_socket, " "); } + if (frame_parameters && !current_frame) + { + send_to_emacs (emacs_socket, "-frame-parameters "); + quote_argument (emacs_socket, frame_parameters); + send_to_emacs (emacs_socket, " "); + } + /* If using the current frame, send tty information to Emacs anyway. In daemon mode, Emacs may need to occupy this tty if no other frame is available. */ diff --git a/lisp/server.el b/lisp/server.el index df8cae0..2a883bd 100644 --- a/lisp/server.el +++ b/lisp/server.el @@ -728,7 +728,11 @@ Server mode runs a process that accepts commands from the frame)) -(defun server-create-window-system-frame (display nowait proc parent-id) +(defun server-create-window-system-frame (display + nowait + proc + parent-id + &optional parameters) (add-to-list 'frame-inherited-parameters 'client) (if (not (fboundp 'make-frame-on-display)) (progn @@ -743,7 +747,8 @@ Server mode runs a process that accepts commands from the ;; killing emacs on that frame. (let* ((params `((client . ,(if nowait 'nowait proc)) ;; This is a leftover, see above. - (environment . ,(process-get proc 'env)))) + (environment . ,(process-get proc 'env)) + ,@parameters)) (display (or display (frame-parameter nil 'display) (getenv "DISPLAY") @@ -825,6 +830,9 @@ The following commands are accepted by the server: `-current-frame' Forbid the creation of new frames. +`-frame-parameters ALIST' + Set the parameters of the created frame. + `-nowait' Request that the next frame created should not be associated with this client. @@ -933,6 +941,7 @@ The following commands are accepted by the client: commands dir use-current-frame + frame-parameters ;parameters for newly created frame tty-name ; nil, `window-system', or the tty name. tty-type ; string. files @@ -953,6 +962,13 @@ The following commands are accepted by the client: ;; -current-frame: Don't create frames. (`"-current-frame" (setq use-current-frame t)) + ;; -frame-parameters: Set frame parameters + (`"-frame-parameters" + (lexical-let ((alist (pop args-left))) + (if coding-system + (setq alist (decode-coding-string alist coding-system))) + (setq frame-parameters (car (read-from-string alist))))) + ;; -display DISPLAY: ;; Open X frames on the given display instead of the default. (`"-display" @@ -1068,7 +1084,8 @@ The following commands are accepted by the client: (if display (server-select-display display))) ((eq tty-name 'window-system) (server-create-window-system-frame display nowait proc - parent-id)) + parent-id + frame-parameters)) ;; When resuming on a tty, tty-name is nil. (tty-name (server-create-tty-frame tty-name tty-type proc)))) -- tg: (dd5a974..) t/frame-params (depends on: master) --=-=-= Content-Type: text/plain Regards, Rotty --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Wed Mar 09 12:29:59 2011 Received: (at control) by debbugs.gnu.org; 9 Mar 2011 17:29:59 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PxNCx-0001cq-77 for submit@debbugs.gnu.org; Wed, 09 Mar 2011 12:29:59 -0500 Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PxNCu-0001cd-LH for control@debbugs.gnu.org; Wed, 09 Mar 2011 12:29:56 -0500 Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1PxNCp-0004cH-80 for control@debbugs.gnu.org; Wed, 09 Mar 2011 12:29:51 -0500 Date: Wed, 09 Mar 2011 12:29:51 -0500 Message-Id: Subject: control message for bug 8112 To: X-Mailer: mail (GNU Mailutils 2.1) From: Glenn Morris X-Spam-Score: -6.3 (------) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.3 (------) forcemerge 5864 8112 From debbugs-submit-bounces@debbugs.gnu.org Sat Apr 16 20:34:41 2011 Received: (at 5864) by debbugs.gnu.org; 17 Apr 2011 00:34:41 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QBFwn-0005V5-3S for submit@debbugs.gnu.org; Sat, 16 Apr 2011 20:34:41 -0400 Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QBFwl-0005Us-C0 for 5864@debbugs.gnu.org; Sat, 16 Apr 2011 20:34:40 -0400 Received: from localhost ([127.0.0.1]:33671) by fencepost.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QBFwf-0003f0-HB; Sat, 16 Apr 2011 20:34:33 -0400 From: Glenn Morris To: Andreas Rottmann Subject: Re: emacsclient support for setting frame parameters References: <87y64pl3cx.fsf@vir.lan> X-Spook: War on Terrorism red noise Pine Gap CISU espionage X-Ran: jf[Yg73!K.5A>Ua9>5:UE&-&xpuIUxDc3[eN}bYcz`g&*S210o}!q)L|A:hE?@0s>5$:x@ X-Hue: cyan X-Attribution: GM Date: Sat, 16 Apr 2011 20:34:33 -0400 In-Reply-To: <87y64pl3cx.fsf@vir.lan> (Andreas Rottmann's message of "Tue, 08 Mar 2011 22:16:46 +0100") Message-ID: <7a4o5xaf6u.fsf@fencepost.gnu.org> User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -6.3 (------) X-Debbugs-Envelope-To: 5864 Cc: 5864@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.3 (------) Hi - thanks for the patch and sorry for the delay in getting back to you. This looks good and I think we should include it. It's probably just large enough that we should get a copyright assignment (I will send the form separately). One missing piece: decode_options and print_help_and_exit in emacsclient.c need updating. From debbugs-submit-bounces@debbugs.gnu.org Sat Apr 16 21:08:12 2011 Received: (at 5864) by debbugs.gnu.org; 17 Apr 2011 01:08:12 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QBGTD-0006Fv-Na for submit@debbugs.gnu.org; Sat, 16 Apr 2011 21:08:12 -0400 Received: from mailout-de.gmx.net ([213.165.64.22]) by debbugs.gnu.org with smtp (Exim 4.69) (envelope-from ) id 1QBGTA-0006Fj-Os for 5864@debbugs.gnu.org; Sat, 16 Apr 2011 21:08:10 -0400 Received: (qmail invoked by alias); 17 Apr 2011 01:08:02 -0000 Received: from 83-215-154-5.hage.dyn.salzburg-online.at (EHLO nathot.lan) [83.215.154.5] by mail.gmx.net (mp066) with SMTP; 17 Apr 2011 03:08:02 +0200 X-Authenticated: #3102804 X-Provags-ID: V01U2FsdGVkX18rJhcGeVErlrCf8QUZoHytzHBbrpn4LpMze7d+ed eyuPYTrXr7uNsx Received: from localhost (localhost.localdomain [127.0.0.1]) by nathot.lan (Postfix) with ESMTP id 7D8A93A69B; Sun, 17 Apr 2011 03:08:01 +0200 (CEST) Received: from nathot.lan ([127.0.0.1]) by localhost (nathot.lan [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id WYDQknX1nDaj; Sun, 17 Apr 2011 03:07:57 +0200 (CEST) Received: from vir (vir.lan [192.168.3.10]) by nathot.lan (Postfix) with ESMTP id AD8903A696; Sun, 17 Apr 2011 03:07:57 +0200 (CEST) Received: by vir (Postfix, from userid 1000) id 809D5BDA0C; Sun, 17 Apr 2011 03:07:57 +0200 (CEST) From: Andreas Rottmann To: Glenn Morris Subject: Re: emacsclient support for setting frame parameters References: <87y64pl3cx.fsf@vir.lan> <7a4o5xaf6u.fsf@fencepost.gnu.org> Date: Sun, 17 Apr 2011 03:07:57 +0200 In-Reply-To: <7a4o5xaf6u.fsf@fencepost.gnu.org> (Glenn Morris's message of "Sat, 16 Apr 2011 20:34:33 -0400") Message-ID: <87y639y9aq.fsf@vir.lan> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Y-GMX-Trusted: 0 X-Spam-Score: -3.3 (---) X-Debbugs-Envelope-To: 5864 Cc: 5864@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -3.2 (---) Glenn Morris writes: > Hi - thanks for the patch and sorry for the delay in getting back to you. > This looks good and I think we should include it. It's probably just > large enough that we should get a copyright assignment (I will send the > form separately). > Cool. I've already received papers from FSF due to another Emacs patch, I just have to get a disclaimer from my University, and send them back. I'll notify you when the process is complete. > One missing piece: decode_options and print_help_and_exit in > emacsclient.c need updating. > Good catch; I'll post an updated patch, probably before I'm on file wrt. copyright assignment. I'm not entirely sure about decode_options, however -- should there really be a short option corresponding to --frame-parameters, and if so, is 'F' the right choice? I don't have any specific preferences on that question. Regards, Rotty -- Andreas Rottmann -- From debbugs-submit-bounces@debbugs.gnu.org Sat Apr 16 22:18:43 2011 Received: (at 5864) by debbugs.gnu.org; 17 Apr 2011 02:18:43 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QBHZS-0007mO-Sg for submit@debbugs.gnu.org; Sat, 16 Apr 2011 22:18:43 -0400 Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QBHZR-0007mE-NR for 5864@debbugs.gnu.org; Sat, 16 Apr 2011 22:18:42 -0400 Received: from localhost ([127.0.0.1]:35427) by fencepost.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QBHZM-0006oR-El; Sat, 16 Apr 2011 22:18:36 -0400 From: Glenn Morris To: Andreas Rottmann Subject: Re: emacsclient support for setting frame parameters References: <87y64pl3cx.fsf@vir.lan> <7a4o5xaf6u.fsf@fencepost.gnu.org> <87y639y9aq.fsf@vir.lan> X-Spook: Soviet Iran broadside genetic Ft. Meade World Trade X-Ran: cOOTRkK,So)@by'P:i4nm@jm*^)\s^YsIeb.*w|$HQw4xcqK7xfITd'XJ X-Hue: cyan X-Debbugs-No-Ack: yes X-Attribution: GM Date: Sat, 16 Apr 2011 22:18:36 -0400 In-Reply-To: <87y639y9aq.fsf@vir.lan> (Andreas Rottmann's message of "Sun, 17 Apr 2011 03:07:57 +0200") Message-ID: User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -6.3 (------) X-Debbugs-Envelope-To: 5864 Cc: 5864@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.3 (------) Andreas Rottmann wrote: > I'm not entirely sure about decode_options, however -- should there > really be a short option corresponding to --frame-parameters, and if > so, is 'F' the right choice? I don't have any specific preferences on > that question. Me neither; but you documented a -F option in other parts of the patch, and it's not like emacsclient is running short of single letters to use for options, and -F seems reasonable for `frame-parameters', so why not... From debbugs-submit-bounces@debbugs.gnu.org Mon May 30 14:27:01 2011 Received: (at 5864) by debbugs.gnu.org; 30 May 2011 18:27:01 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QR7B6-0006m6-1e for submit@debbugs.gnu.org; Mon, 30 May 2011 14:27:00 -0400 Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QR7B3-0006lt-Np for 5864@debbugs.gnu.org; Mon, 30 May 2011 14:26:58 -0400 Received: from localhost ([127.0.0.1]:43961) by fencepost.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QR7Ay-0000Xv-5D; Mon, 30 May 2011 14:26:52 -0400 From: Glenn Morris To: Andreas Rottmann Subject: Re: bug#5864: emacsclient support for setting frame parameters References: <87y64pl3cx.fsf@vir.lan> <7a4o5xaf6u.fsf@fencepost.gnu.org> <87y639y9aq.fsf@vir.lan> X-Spook: fissionable Bush Wired Serbian Maple Hamas Saddam Hussein X-Ran: 4y1PB.jUf7iy?wc5uNmK`&:Bt (Andreas Rottmann's message of "Sun, 17 Apr 2011 03:07:57 +0200") Message-ID: User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -6.3 (------) X-Debbugs-Envelope-To: 5864 Cc: 5864@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.3 (------) Hello, how is it going with your copyright assignment? It would be nice to get this into Emacs before the end of June; see http://lists.gnu.org/archive/html/emacs-devel/2011-05/msg00953.html From debbugs-submit-bounces@debbugs.gnu.org Mon May 30 21:35:51 2011 Received: (at 5864) by debbugs.gnu.org; 31 May 2011 01:35:51 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QRDs6-0007YM-3S for submit@debbugs.gnu.org; Mon, 30 May 2011 21:35:50 -0400 Received: from mailout-de.gmx.net ([213.165.64.22]) by debbugs.gnu.org with smtp (Exim 4.69) (envelope-from ) id 1QRDs3-0007Y8-D0 for 5864@debbugs.gnu.org; Mon, 30 May 2011 21:35:49 -0400 Received: (qmail invoked by alias); 31 May 2011 01:35:41 -0000 Received: from 85-127-52-95.dynamic.xdsl-line.inode.at (EHLO nathot.lan) [85.127.52.95] by mail.gmx.net (mp072) with SMTP; 31 May 2011 03:35:41 +0200 X-Authenticated: #3102804 X-Provags-ID: V01U2FsdGVkX198HeoccKR8AdyPh486RVnPHr7xaanrbaDwoIX3vw Sz5Wm2KzEBO/pu Received: from localhost (localhost.localdomain [127.0.0.1]) by nathot.lan (Postfix) with ESMTP id C1BFD3A68F; Tue, 31 May 2011 03:35:39 +0200 (CEST) Received: from nathot.lan ([127.0.0.1]) by localhost (nathot.lan [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id xvAyOp+jC5jU; Tue, 31 May 2011 03:35:34 +0200 (CEST) Received: from delenn.lan (delenn.lan [192.168.3.11]) by nathot.lan (Postfix) with ESMTP id A02923A685; Tue, 31 May 2011 03:35:34 +0200 (CEST) Received: by delenn.lan (Postfix, from userid 1000) id C72F72C00CF; Tue, 31 May 2011 03:35:33 +0200 (CEST) From: Andreas Rottmann To: Glenn Morris Subject: Re: bug#5864: emacsclient support for setting frame parameters References: <87y64pl3cx.fsf@vir.lan> <7a4o5xaf6u.fsf@fencepost.gnu.org> <87y639y9aq.fsf@vir.lan> Date: Tue, 31 May 2011 03:35:33 +0200 In-Reply-To: (Glenn Morris's message of "Mon, 30 May 2011 14:26:51 -0400") Message-ID: <87tycby7mi.fsf@gmx.at> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Y-GMX-Trusted: 0 X-Spam-Score: -2.6 (--) X-Debbugs-Envelope-To: 5864 Cc: 5864@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.6 (--) Glenn Morris writes: > Hello, how is it going with your copyright assignment? > There is some issues with the disclaimer from my University: basically, they won't issue such a thing, as they say they're not in a position to claim copyright in the first place. The copyright clerk still wants some clarification on that -- I'll have another call with the legal department this week, and hopefully get a response that is satisfactory to the copyright clerk. > It would be nice to get this into Emacs before the end of June; see > http://lists.gnu.org/archive/html/emacs-devel/2011-05/msg00953.html > I hope to be able to send the papers this week, so this hopefully works out. Regards, Rotty (who is amazed about what amounts of bureaucracy a few-line patch can involve) -- Andreas Rottmann -- From debbugs-submit-bounces@debbugs.gnu.org Mon Jun 20 12:04:43 2011 Received: (at 5864) by debbugs.gnu.org; 20 Jun 2011 16:04:43 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QYgxu-0007p4-VF for submit@debbugs.gnu.org; Mon, 20 Jun 2011 12:04:43 -0400 Received: from mailout-de.gmx.net ([213.165.64.22]) by debbugs.gnu.org with smtp (Exim 4.69) (envelope-from ) id 1QYgxs-0007op-3S for 5864@debbugs.gnu.org; Mon, 20 Jun 2011 12:04:41 -0400 Received: (qmail invoked by alias); 20 Jun 2011 16:04:33 -0000 Received: from 85-127-233-250.dynamic.xdsl-line.inode.at (EHLO nathot.lan) [85.127.233.250] by mail.gmx.net (mp008) with SMTP; 20 Jun 2011 18:04:33 +0200 X-Authenticated: #3102804 X-Provags-ID: V01U2FsdGVkX19ZAGpOZIVZXIJ7/CDDs7+JajatSEOd3xIDa7+gyw tEhr3u2+UviGTX Received: from localhost (localhost.localdomain [127.0.0.1]) by nathot.lan (Postfix) with ESMTP id 3B4773A68F; Mon, 20 Jun 2011 18:04:27 +0200 (CEST) Received: from nathot.lan ([127.0.0.1]) by localhost (nathot.lan [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 9xMDPPWoVFVa; Mon, 20 Jun 2011 18:04:23 +0200 (CEST) Received: from delenn.lan (delenn.lan [192.168.3.11]) by nathot.lan (Postfix) with ESMTP id 5B2A43A685; Mon, 20 Jun 2011 18:04:23 +0200 (CEST) Received: by delenn.lan (Postfix, from userid 1000) id EAD8B2C0071; Mon, 20 Jun 2011 18:04:22 +0200 (CEST) From: Andreas Rottmann To: Glenn Morris Subject: Copyright assignment status Date: Mon, 20 Jun 2011 18:04:22 +0200 Message-ID: <87liwwzdyx.fsf@gmx.at> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Y-GMX-Trusted: 0 X-Spam-Score: -2.6 (--) X-Debbugs-Envelope-To: 5864 Cc: 5864@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.6 (--) Hi! Just a heads-up: I sent the papers today, so with some luck, I get the OK flag from the copyright clerk in about a week -- hopefully that's still early enough so the patch can make into trunk before the freeze. Regards, Rotty From debbugs-submit-bounces@debbugs.gnu.org Fri Jun 24 02:36:19 2011 Received: (at 5864) by debbugs.gnu.org; 24 Jun 2011 06:36:20 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Qa003-0008RQ-KI for submit@debbugs.gnu.org; Fri, 24 Jun 2011 02:36:19 -0400 Received: from mailout-de.gmx.net ([213.165.64.23]) by debbugs.gnu.org with smtp (Exim 4.69) (envelope-from ) id 1Qa001-0008RC-If for 5864@debbugs.gnu.org; Fri, 24 Jun 2011 02:36:18 -0400 Received: (qmail invoked by alias); 24 Jun 2011 06:36:11 -0000 Received: from 85-127-233-250.dynamic.xdsl-line.inode.at (EHLO nathot.lan) [85.127.233.250] by mail.gmx.net (mp007) with SMTP; 24 Jun 2011 08:36:11 +0200 X-Authenticated: #3102804 X-Provags-ID: V01U2FsdGVkX1/sA2F+Nizs/4zu5GTsYLtwiJWAeU1wmwjskz3Yn2 Zdyl8Y3HfwXpdc Received: from localhost (localhost.localdomain [127.0.0.1]) by nathot.lan (Postfix) with ESMTP id 831803A68F; Fri, 24 Jun 2011 08:36:09 +0200 (CEST) Received: from nathot.lan ([127.0.0.1]) by localhost (nathot.lan [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id zh7sNqExZqCt; Fri, 24 Jun 2011 08:36:05 +0200 (CEST) Received: from delenn.lan (delenn.lan [192.168.3.11]) by nathot.lan (Postfix) with ESMTP id 705993A685; Fri, 24 Jun 2011 08:36:05 +0200 (CEST) Received: by delenn.lan (Postfix, from userid 1000) id 5027F2C0071; Fri, 24 Jun 2011 08:36:05 +0200 (CEST) From: Andreas Rottmann To: Glenn Morris Subject: Re: Copyright assignment status References: <87liwwzdyx.fsf@gmx.at> Date: Fri, 24 Jun 2011 08:36:05 +0200 In-Reply-To: <87liwwzdyx.fsf@gmx.at> (Andreas Rottmann's message of "Mon, 20 Jun 2011 18:04:22 +0200") Message-ID: <87k4cbg2i2.fsf@gmx.at> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Y-GMX-Trusted: 0 X-Spam-Score: -2.6 (--) X-Debbugs-Envelope-To: 5864 Cc: 5864@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.6 (--) Andreas Rottmann writes: > Hi! > > Just a heads-up: I sent the papers today, so with some luck, I get the > OK flag from the copyright clerk in about a week -- hopefully that's > still early enough so the patch can make into trunk before the freeze. > I just got a mail from the copyright clerk stating that my papers have been received, so the patch should be ready-to-go, at least from a legal POV. Note that although my status is marked as "expired disclaimer", this should not affect this patch, as it's been submitted before I was employed at my current company (i.e. before June 1.). I'll try to get and send a disclaimer soonish, in case I submit any patches in the future. Regards, Rotty From debbugs-submit-bounces@debbugs.gnu.org Sat Jun 25 14:12:43 2011 Received: (at 5864-done) by debbugs.gnu.org; 25 Jun 2011 18:12:44 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QaXLX-0006Cy-OF for submit@debbugs.gnu.org; Sat, 25 Jun 2011 14:12:43 -0400 Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QaXLV-0006Cn-SX for 5864-done@debbugs.gnu.org; Sat, 25 Jun 2011 14:12:42 -0400 Received: from localhost ([127.0.0.1]:40272) by fencepost.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QaXLO-0005lk-LV; Sat, 25 Jun 2011 14:12:36 -0400 From: Glenn Morris To: 5864-done@debbugs.gnu.org Subject: Re: bug#5864 References: <87liwwzdyx.fsf@gmx.at> <87k4cbg2i2.fsf@gmx.at> X-Spook: gamma fraud Cohiba Audiotel NORAD MIT-LL halcon Dateline X-Ran: _Q?j=k87C/<':jZAg`UzXt\P6D$q4J-19y X-Hue: red X-Debbugs-No-Ack: yes X-Attribution: GM Date: Sat, 25 Jun 2011 14:12:34 -0400 In-Reply-To: <87k4cbg2i2.fsf@gmx.at> (Andreas Rottmann's message of "Fri, 24 Jun 2011 08:36:05 +0200") Message-ID: User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -6.3 (------) X-Debbugs-Envelope-To: 5864-done X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.3 (------) Version: 24.1 Andreas Rottmann wrote: > I just got a mail from the copyright clerk stating that my papers have > been received, so the patch should be ready-to-go, at least from a legal > POV. Note that although my status is marked as "expired disclaimer", > this should not affect this patch, as it's been submitted before I was > employed at my current company (i.e. before June 1.). I was wondering what that meant... I have applied your patch. Thank you for persevering with this! Summary: A frame-parameters argument can now be passed to emacsclient to control the properties of new graphical frames. From debbugs-submit-bounces@debbugs.gnu.org Tue Jul 12 22:14:08 2011 Received: (at control) by debbugs.gnu.org; 13 Jul 2011 02:14:10 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Qgoxk-00069q-Mw for submit@debbugs.gnu.org; Tue, 12 Jul 2011 22:14:08 -0400 Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Qgoxi-00069O-Hm for control@debbugs.gnu.org; Tue, 12 Jul 2011 22:14:07 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1Qgoxd-0000OF-23 for control@debbugs.gnu.org; Tue, 12 Jul 2011 22:14:01 -0400 Date: Tue, 12 Jul 2011 22:14:01 -0400 Message-Id: Subject: control message for bug 7335 To: X-Mailer: mail (GNU Mailutils 2.1) From: Glenn Morris X-Spam-Score: -6.4 (------) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.4 (------) forcemerge 5864 7335 From unknown Tue Jun 17 01:29:16 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Wed, 10 Aug 2011 11:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator