From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: Modify parameters on all frames Date: Sun, 06 Apr 2003 19:07:40 -0400 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: References: <200304061539.h36Fd2R3007062@beta.mvs.co.il> Reply-To: rms@gnu.org NNTP-Posting-Host: main.gmane.org X-Trace: main.gmane.org 1049671599 24163 80.91.224.249 (6 Apr 2003 23:26:39 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 6 Apr 2003 23:26:39 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Mon Apr 07 01:26:38 2003 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 192JX4-0006Ha-00 for ; Mon, 07 Apr 2003 01:26:38 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 192JaJ-0000vH-00 for ; Mon, 07 Apr 2003 01:29:59 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 192JUt-00041m-0B for emacs-devel@quimby.gnus.org; Sun, 06 Apr 2003 19:24:23 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 192JUZ-0003yd-00 for emacs-devel@gnu.org; Sun, 06 Apr 2003 19:24:03 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 192JUF-0003Ju-00 for emacs-devel@gnu.org; Sun, 06 Apr 2003 19:23:46 -0400 Original-Received: from fencepost.gnu.org ([199.232.76.164]) by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.10.13) id 192JUC-00037c-00 for emacs-devel@gnu.org; Sun, 06 Apr 2003 19:23:40 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.10) id 192JEi-00015A-00; Sun, 06 Apr 2003 19:07:40 -0400 Original-To: ehud@unix.mvs.co.il In-reply-to: <200304061539.h36Fd2R3007062@beta.mvs.co.il> (ehud@unix.mvs.co.il) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Emacs development discussions. List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:12943 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:12943 (defun modify-all-frames-parameters (alist) "modify all current and future frames parameters by changing `initial-frame-alist' and `default-frame-alist' and calling `modify-frame-parameters' on all existing frames with ALIST. This function seems like a good idea, but it is written rather inefficiently. It ought to call modify-frame-parameters just once per frame. Using aput is undesirable since that loads a Lisp file that you could easily avoid loading. Please note that the first line of every doc string should stand on its own. Could you rewrite it to do that, and to follow the other doc string conventions?