From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: martin rudalics Newsgroups: gmane.emacs.bugs Subject: bug#3142: 23.0.92; split-window-prefered-function should be able to usesplit-window-horizontally/split-window-vertically Date: Thu, 30 Apr 2009 11:05:25 +0200 Message-ID: <49F969D5.9090409@gmx.at> References: <49F6A25B.3050108@gmx.at> <874ow84cp6.fsf_-_@mail.jurta.org> <49F7FE0F.1020107@gmx.at> <011501c9c8d1$86d11820$0200a8c0@us.oracle.com> Reply-To: martin rudalics , 3142@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1241083964 2522 80.91.229.12 (30 Apr 2009 09:32:44 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 30 Apr 2009 09:32:44 +0000 (UTC) Cc: 3142@emacsbugs.donarmstrong.com, 'Jared Finder' To: Drew Adams Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Apr 30 11:32:34 2009 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1LzSd8-0007Tx-2e for geb-bug-gnu-emacs@m.gmane.org; Thu, 30 Apr 2009 11:32:34 +0200 Original-Received: from localhost ([127.0.0.1]:45794 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LzSd7-0002Nv-HR for geb-bug-gnu-emacs@m.gmane.org; Thu, 30 Apr 2009 05:32:33 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LzScg-0002G8-Qr for bug-gnu-emacs@gnu.org; Thu, 30 Apr 2009 05:32:06 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LzScb-0002Eu-Gp for bug-gnu-emacs@gnu.org; Thu, 30 Apr 2009 05:32:05 -0400 Original-Received: from [199.232.76.173] (port=50737 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LzScb-0002Eh-64 for bug-gnu-emacs@gnu.org; Thu, 30 Apr 2009 05:32:01 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:53461) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LzSca-000346-L3 for bug-gnu-emacs@gnu.org; Thu, 30 Apr 2009 05:32:00 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n3U9VpXK029562; Thu, 30 Apr 2009 02:31:52 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id n3U9FAPK024291; Thu, 30 Apr 2009 02:15:10 -0700 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: martin rudalics Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Thu, 30 Apr 2009 09:15:09 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: followup 3142 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by 3142-submit@emacsbugs.donarmstrong.com id=B3142.124108250722583 (code B ref 3142); Thu, 30 Apr 2009 09:15:09 +0000 Original-Received: (at 3142) by emacsbugs.donarmstrong.com; 30 Apr 2009 09:08:27 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with SMTP id n3U98N0l022566 for <3142@emacsbugs.donarmstrong.com>; Thu, 30 Apr 2009 02:08:24 -0700 Original-Received: (qmail invoked by alias); 30 Apr 2009 09:08:17 -0000 Original-Received: from 62-47-58-178.adsl.highway.telekom.at (EHLO [62.47.58.178]) [62.47.58.178] by mail.gmx.net (mp050) with SMTP; 30 Apr 2009 11:08:17 +0200 X-Authenticated: #14592706 X-Provags-ID: V01U2FsdGVkX1+Qc7NmFDGQn3CHEHjI1gBQEtLWUV9rogCwgalj02 S6Les3IFmq4QEs User-Agent: Thunderbird 2.0.0.16 (Windows/20080708) In-Reply-To: <011501c9c8d1$86d11820$0200a8c0@us.oracle.com> X-Y-GMX-Trusted: 0 X-FuHaFi: 0.6899999999999999 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Resent-Date: Thu, 30 Apr 2009 05:32:05 -0400 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:27569 Archived-At: > But if you have a choice between defining foo to be unary or nullary, consider > defining it with &optional: (defun foo (&optional window)...) > > That allows use of foo as an object method for windows. That is, given a window, > `foo' is one of the functions that can be applied to it. If defined as nullary, > this is not possible. Yes. But I don't want to burden customizers with the problem in the first place. For example, Jared wants to use `split-window-vertically' as value for this variable and that function has an optional SIZE argument but no WINDOW argument. martin