From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: martin rudalics Newsgroups: gmane.emacs.devel Subject: Re: 22.1.1; Frame title no more updated after calling `set-frame-configuration' Date: Mon, 08 Oct 2007 11:31:51 +0200 Message-ID: <4709F907.6030909@gmx.at> References: <46D7FD30.8020205@gmx.at> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------060501020509020400060309" X-Trace: sea.gmane.org 1191836154 7762 80.91.229.12 (8 Oct 2007 09:35:54 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 8 Oct 2007 09:35:54 +0000 (UTC) Cc: emacs-devel@gnu.org To: Glenn Morris Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Oct 08 11:35:52 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1Iep1P-0001w6-79 for ged-emacs-devel@m.gmane.org; Mon, 08 Oct 2007 11:35:31 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Iep1J-0005Kd-Ko for ged-emacs-devel@m.gmane.org; Mon, 08 Oct 2007 05:35:25 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Iep1F-0005Fz-G7 for emacs-devel@gnu.org; Mon, 08 Oct 2007 05:35:21 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Iep1D-0005CI-IJ for emacs-devel@gnu.org; Mon, 08 Oct 2007 05:35:20 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Iep1D-0005Bz-8z for emacs-devel@gnu.org; Mon, 08 Oct 2007 05:35:19 -0400 Original-Received: from mail.gmx.net ([213.165.64.20]) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1Iep1C-00041p-N6 for emacs-devel@gnu.org; Mon, 08 Oct 2007 05:35:19 -0400 Original-Received: (qmail invoked by alias); 08 Oct 2007 09:35:16 -0000 Original-Received: from N829P002.adsl.highway.telekom.at (EHLO [62.47.47.130]) [62.47.47.130] by mail.gmx.net (mp003) with SMTP; 08 Oct 2007 11:35:16 +0200 X-Authenticated: #14592706 X-Provags-ID: V01U2FsdGVkX18NlW11w3oNMdAMGEFxAtQl1sNMl9T0kU3g+PV81N ieyZhGMkiZ0spB User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: de-DE, de, en-us, en In-Reply-To: X-Y-GMX-Trusted: 0 X-Detected-Kernel: Linux 2.6 (newer, 1) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:80402 Archived-At: This is a multi-part message in MIME format. --------------060501020509020400060309 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit >>Could you try the patch below (against EMACS_22_BASE)? > > > After applying this, > > emacs -Q --eval '(set-frame-configuration (current-frame-configuration))' > > segfaults in x_set_frame_parameters. Glenn. Could you try again with the attached Emacs_22_BASE patch? --------------060501020509020400060309 Content-Type: text/plain; name="frame-frame.patch" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="frame-frame.patch" *** frame.c.~1.340.2.2.~ Sat Oct 6 11:46:22 2007 --- frame.c Mon Oct 8 11:22:54 2007 *************** *** 100,105 **** --- 100,106 ---- #endif Lisp_Object Qparent_id; Lisp_Object Qtitle, Qname; + Lisp_Object Qexplicit_name; Lisp_Object Qunsplittable; Lisp_Object Qmenu_bar_lines, Qtool_bar_lines; Lisp_Object Qleft_fringe, Qright_fringe; *************** *** 3006,3011 **** --- 3007,3013 ---- tem = Qnil; else XSETFASTINT (tem, FRAME_X_OUTPUT (f)->parent_desc); + store_in_alist (alistptr, Qexplicit_name, (f->explicit_name ? Qt : Qnil)); store_in_alist (alistptr, Qparent_id, tem); } *************** *** 3967,3972 **** --- 3969,3976 ---- staticpro (&Qframep); Qframe_live_p = intern ("frame-live-p"); staticpro (&Qframe_live_p); + Qexplicit_name = intern ("explicit-name"); + staticpro (&Qexplicit_name); Qheight = intern ("height"); staticpro (&Qheight); Qicon = intern ("icon"); *** frame.el.~1.243.2.5.~ Sat Oct 6 11:05:52 2007 --- frame.el Mon Oct 8 11:27:14 2007 *************** *** 807,814 **** ;; Since we can't set a frame's minibuffer status, ;; we might as well omit the parameter altogether. (let* ((parms (nth 1 parameters)) ! (mini (assq 'minibuffer parms))) ! (if mini (setq parms (delq mini parms))) parms)) (set-window-configuration (nth 2 parameters))) (setq frames-to-delete (cons frame frames-to-delete)))))) --- 807,818 ---- ;; Since we can't set a frame's minibuffer status, ;; we might as well omit the parameter altogether. (let* ((parms (nth 1 parameters)) ! (mini (assq 'minibuffer parms)) ! (name (assq 'name parms)) ! (explicit-name (cdr (assq 'explicit-name parms)))) ! (when mini (setq parms (delq mini parms))) ! (when (and name (not explicit-name)) ! (setq parms (delq name parms))) parms)) (set-window-configuration (nth 2 parameters))) (setq frames-to-delete (cons frame frames-to-delete)))))) --------------060501020509020400060309 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Emacs-devel mailing list Emacs-devel@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-devel --------------060501020509020400060309--