From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stephen Berman Newsgroups: gmane.emacs.devel Subject: split-window as a command Date: Fri, 12 Apr 2013 09:58:49 +0200 Message-ID: <87ppy0p4cm.fsf@rosalinde.fritz.box> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1365753543 15433 80.91.229.3 (12 Apr 2013 07:59:03 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 12 Apr 2013 07:59:03 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Apr 12 09:59:05 2013 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1UQYsu-0002F6-98 for ged-emacs-devel@m.gmane.org; Fri, 12 Apr 2013 09:59:00 +0200 Original-Received: from localhost ([::1]:44272 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UQYst-0004Bn-Lq for ged-emacs-devel@m.gmane.org; Fri, 12 Apr 2013 03:58:59 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:50572) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UQYsp-0004Aq-4k for emacs-devel@gnu.org; Fri, 12 Apr 2013 03:58:58 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UQYsm-0007ow-Ov for emacs-devel@gnu.org; Fri, 12 Apr 2013 03:58:55 -0400 Original-Received: from mout.gmx.net ([212.227.17.20]:55867) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UQYsm-0007oq-Fe for emacs-devel@gnu.org; Fri, 12 Apr 2013 03:58:52 -0400 Original-Received: from mailout-de.gmx.net ([10.1.76.33]) by mrigmx.server.lan (mrigmx001) with ESMTP (Nemesis) id 0Lflzw-1UwoDZ1Kxe-00pNKA for ; Fri, 12 Apr 2013 09:58:51 +0200 Original-Received: (qmail invoked by alias); 12 Apr 2013 07:58:50 -0000 Original-Received: from i59F57871.versanet.de (EHLO rosalinde.fritz.box) [89.245.120.113] by mail.gmx.net (mp033) with SMTP; 12 Apr 2013 09:58:50 +0200 X-Authenticated: #20778731 X-Provags-ID: V01U2FsdGVkX19AZlcyYZlAhjKMu9FIpt/ntzpTjHVCBYQBmtDi+b hf7OTZFh5FbING User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) X-Y-GMX-Trusted: 0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic] X-Received-From: 212.227.17.20 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:158847 Archived-At: [I sent this yesterday, but it appears to have gotten lost on the way; apologies for the duplication if it does finally arrive.] The doc string of split-window says "Interactively, SIZE is the prefix argument." But in fact, invoking split-window with a prefix argument has no effect, because its interactive spec is "i". Maybe this is just a doc bug, since, when split-window was still a C function, its doc string said "Interactively, all arguments are nil." But I don't see why it is a command at all any more: invoked interactively, it has exactly the same effect as invoking split-window-below without a prefix argument, and since the latter does not ignore a prefix argument passed to it, it does more than interactively called split-window. So it appears to be superfluous for split-window to be a command. Or am I overlooking something? Steve Berman