From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: martin rudalics Newsgroups: gmane.emacs.devel,gmane.emacs.pretest.bugs Subject: Re: 23.0.0; Nonsense in lisp/frame.el after cvs-update Date: Sat, 13 Oct 2007 14:15:50 +0200 Message-ID: <4710B6F6.2080505@gmx.at> References: <611E80D2-5CF7-4834-8843-DD3673E9514F@Web.DE> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------000708040907020502010308" X-Trace: sea.gmane.org 1192278046 6216 80.91.229.12 (13 Oct 2007 12:20:46 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 13 Oct 2007 12:20:46 +0000 (UTC) Cc: emacs-pretest-bug@gnu.org To: Peter Dyballa Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Oct 13 14:20:36 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 1Igfya-0006iM-95 for ged-emacs-devel@m.gmane.org; Sat, 13 Oct 2007 14:20:16 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IgfyS-0005iF-Hb for ged-emacs-devel@m.gmane.org; Sat, 13 Oct 2007 08:20:08 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IgfyO-0005fx-OK for emacs-devel@gnu.org; Sat, 13 Oct 2007 08:20:04 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IgfyN-0005et-8t for emacs-devel@gnu.org; Sat, 13 Oct 2007 08:20:04 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IgfyM-0005ej-W3 for emacs-devel@gnu.org; Sat, 13 Oct 2007 08:20:03 -0400 Original-Received: from fencepost.gnu.org ([140.186.70.10]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IgfyM-0002Ol-I2 for emacs-devel@gnu.org; Sat, 13 Oct 2007 08:20:02 -0400 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by fencepost.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IgfyL-0002Pp-UK for emacs-pretest-bug@gnu.org; Sat, 13 Oct 2007 08:20:02 -0400 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1Igfuc-0001mA-9p for emacs-pretest-bug@gnu.org; Sat, 13 Oct 2007 08:16:13 -0400 Original-Received: from mail.gmx.net ([213.165.64.20]) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1Igfub-0001li-Nu for emacs-pretest-bug@gnu.org; Sat, 13 Oct 2007 08:16:10 -0400 Original-Received: (qmail invoked by alias); 13 Oct 2007 12:16:08 -0000 Original-Received: from N922P020.adsl.highway.telekom.at (EHLO [62.47.59.52]) [62.47.59.52] by mail.gmx.net (mp049) with SMTP; 13 Oct 2007 14:16:08 +0200 X-Authenticated: #14592706 X-Provags-ID: V01U2FsdGVkX18nhyshh3AniyhOQ+iCvH/84zz2Ymud4qHyb0SgI2 Z59adX9FHtHgBO User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: de-DE, de, en-us, en In-Reply-To: <611E80D2-5CF7-4834-8843-DD3673E9514F@Web.DE> X-Y-GMX-Trusted: 0 X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) 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:80788 gmane.emacs.pretest.bugs:20108 Archived-At: This is a multi-part message in MIME format. --------------000708040907020502010308 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit > The correct form surely is > > (cond ((memq (window-system frame) '(x mac w32 ns)) There are some more inconsistencies here. Does the attached patch DTRT? --------------000708040907020502010308 Content-Type: text/plain; name="frame.patch" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline; filename="frame.patch" *** frame.el.~1.257.~ Wed Oct 10 22:44:34 2007 --- frame.el Sat Oct 13 14:12:26 2007 *************** *** 820,829 **** (select-frame frame) (raise-frame frame) ;; Ensure, if possible, that frame gets input focus. ! (cond ((memq (window-system frame) '(x max w32)) ! (x-focus-frame frame))) ! (cond (focus-follows-mouse ! (set-mouse-position (selected-frame) (1- (frame-width)) 0)))) =20 (defun other-frame (arg) "Select the ARGth different visible frame on current display, and rai= se it. --- 820,829 ---- (select-frame frame) (raise-frame frame) ;; Ensure, if possible, that frame gets input focus. ! (when (memq (window-system frame) '(x mac w32 ns)) ! (x-focus-frame frame)) ! (when focus-follows-mouse ! (set-mouse-position (selected-frame) (1- (frame-width)) 0))) =20 (defun other-frame (arg) "Select the ARGth different visible frame on current display, and rai= se it. *************** *** 905,912 **** (raise-frame frame) (select-frame frame) ;; Ensure, if possible, that frame gets input focus. ! (cond ((memq (window-system frame) '(x w32)) ! (x-focus-frame frame))) (when focus-follows-mouse (set-mouse-position frame (1- (frame-width frame)) 0)))) =0C --- 905,912 ---- (raise-frame frame) (select-frame frame) ;; Ensure, if possible, that frame gets input focus. ! (when (memq (window-system frame) '(x mac w32 ns)) ! (x-focus-frame frame)) (when focus-follows-mouse (set-mouse-position frame (1- (frame-width frame)) 0)))) =0C *************** *** 1455,1461 **** :init-value (not (or noninteractive no-blinking-cursor (eq system-type 'ms-dos) ! (not (memq window-system '(x w32 mac))))) :initialize 'custom-initialize-safe-default :group 'cursor :global t --- 1455,1461 ---- :init-value (not (or noninteractive no-blinking-cursor (eq system-type 'ms-dos) ! (not (memq window-system '(x w32 mac ns))))) :initialize 'custom-initialize-safe-default :group 'cursor :global t --------------000708040907020502010308 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 --------------000708040907020502010308--