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: Misc. minor compile.el issues Date: Sat, 07 Dec 2002 16:26:15 -0500 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: References: <5xn0nkasst.fsf@kfs2.cua.dk> Reply-To: rms@gnu.org NNTP-Posting-Host: main.gmane.org X-Trace: main.gmane.org 1039297327 19873 80.91.224.249 (7 Dec 2002 21:42:07 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sat, 7 Dec 2002 21:42:07 +0000 (UTC) Cc: emacs-devel@gnu.org Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18Kmi5-0005AG-00 for ; Sat, 07 Dec 2002 22:42:05 +0100 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 18KmrN-0007WO-00 for ; Sat, 07 Dec 2002 22:51:41 +0100 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 18KmSx-00063s-04 for emacs-devel@quimby.gnus.org; Sat, 07 Dec 2002 16:26:27 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 18KmSn-00063m-00 for emacs-devel@gnu.org; Sat, 07 Dec 2002 16:26:17 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 18KmSl-00063b-00 for emacs-devel@gnu.org; Sat, 07 Dec 2002 16:26:16 -0500 Original-Received: from fencepost.gnu.org ([199.232.76.164]) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18KmSl-00063V-00 for emacs-devel@gnu.org; Sat, 07 Dec 2002 16:26:15 -0500 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.10) id 18KmSl-0005jH-00; Sat, 07 Dec 2002 16:26:15 -0500 Original-To: storm@cua.dk In-reply-to: <5xn0nkasst.fsf@kfs2.cua.dk> (storm@cua.dk) 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:9959 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:9959 The doc string for compilation-process-setup-function starts with a `*' identifying it as a user option. Does that really make sense? That depends on where we draw the line about what is a user option. The line as currently drawn includes many similar variables. For instance, 76 normal hooks are marked as user options, although the usual place for them to be set is certainly in Lisp code. Perhaps we should move the line and none of these should be user options. Related to this, I would like the setup function to be able to access the buffer and/or window for the compilation process (e.g. to set buffer-local variables). Can we make them current while the hook runs? As a final issue, I think that although the documentation for compilation-process-setup-function says it is run just before the process is started, it makes more sense to swap the following two forms, to allow the setup function to control the compilation-window-height: (compilation-set-window-height outwin) (if compilation-process-setup-function (funcall compilation-process-setup-function)) Isn't it easier to do that with the current order? Currently, compilation-process-setup-function could enlarge the window. If it is called first, what would it do to alter the height? Locally set compilation-window-height, perhaps?