From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Deniz Dogan Newsgroups: gmane.emacs.devel Subject: Re: Rename `mini-' options Date: Sat, 16 May 2009 02:12:29 +0200 Message-ID: <7b501d5c0905151712te5bbe7fqdf5aa18a93448066@mail.gmail.com> References: <000101c9d5a0$03917dc0$0200a8c0@us.oracle.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1242432769 875 80.91.229.12 (16 May 2009 00:12:49 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 16 May 2009 00:12:49 +0000 (UTC) Cc: emacs-devel@gnu.org To: Drew Adams Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat May 16 02:12:42 2009 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 1M57W5-0000LM-1M for ged-emacs-devel@m.gmane.org; Sat, 16 May 2009 02:12:41 +0200 Original-Received: from localhost ([127.0.0.1]:33723 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1M57W4-0006Wm-8j for ged-emacs-devel@m.gmane.org; Fri, 15 May 2009 20:12:40 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1M57W0-0006Wh-P2 for emacs-devel@gnu.org; Fri, 15 May 2009 20:12:36 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1M57Vv-0006WT-Qk for emacs-devel@gnu.org; Fri, 15 May 2009 20:12:35 -0400 Original-Received: from [199.232.76.173] (port=53400 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1M57Vv-0006WQ-MD for emacs-devel@gnu.org; Fri, 15 May 2009 20:12:31 -0400 Original-Received: from mail-bw0-f161.google.com ([209.85.218.161]:38238) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1M57Vv-0001AQ-Bi for emacs-devel@gnu.org; Fri, 15 May 2009 20:12:31 -0400 Original-Received: by bwz5 with SMTP id 5so2320370bwz.42 for ; Fri, 15 May 2009 17:12:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=568Ol8bK+v9XwlGltLn5TwZ0AblZF3bhKph1tLFLhfU=; b=T1PO/j2smC6XNCZMBYOBR+Y7BGlc561qb9UZekkH9712rvQKUptDJ/rR2HjYoN+vIE gMCM5vsSDeegDuWJfFVzGZStUTte5fQ4VnwzJwAeHzA5sfSmrZmI5UFnHxhL72YV08uD aP492BQNluJfb1hnx5IGm70H4+H4nK0DUYlL8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=ipusnuFGVNqAwiiS73j4Zd7S5Y0ZV0E36BEgTj71/fW+2biOIFFU8Pk/4Z1NKqJ0WP RkrkdQeBfsBaXDfu1XD4yYFc1TBJ9O6mtoxQYRgVPc1zHwPxwGFxfjaeOy3MsNfAaVhN BaDvUcRCe36ldRBNUzc8SHSYW+ZtWu0+LYBpU= Original-Received: by 10.204.116.15 with SMTP id k15mr3851242bkq.118.1242432749812; Fri, 15 May 2009 17:12:29 -0700 (PDT) In-Reply-To: <000101c9d5a0$03917dc0$0200a8c0@us.oracle.com> X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) 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:110902 Archived-At: 2009/5/15 Drew Adams : > Names such as `resize-mini-windows' and `max-mini-window-height' are > unfortunate. They prevent you from easily finding them by looking for names that > include `minibuffer' or even `minibuf'. > > Since when did `mini' start being used in option etc. names to stand for the > minibuffer? The only variable names with `mini-' are these two plus > `kmacro-step-edit-mini-window-height'. Obviously, given the last of these, the > name length is not of supreme importance. And there are *no* functions with > `mini-' in their names. > > It would have been sufficient, if the name length were so important, to use > `minibuffer-resize' or `minibuf-auto-resize'. Similarly, > `minibuffer-max-height'. And `minibuffer' should probably come first in the > name: `minibuffer-resize', not `resize-minibuffer'. > > We should change the names of the `mini-' window options and use temporary > aliases to ease deprecation of those names. Unless I had read your post I never would have guessed `resize-mini-windows' deals with the minibuffer at all. resize-mini-windows is a variable defined in `C source code'. Its value is grow-only Documentation: *How to resize mini-windows. A value of nil means don't automatically resize mini-windows. A value of t means resize them to fit the text displayed in them. A value of `grow-only', the default, means let mini-windows grow only, until their display becomes empty, at which point the windows go back to their normal size. This is the first time I encounter something called "mini-windows", but it seems to me, after having read the documentation for the variable, that the minibuffer is an instance of them? Are there any other mini-windows or is this just very poorly documented? Deniz Dogan