From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Xue Fuqiao Newsgroups: gmane.emacs.devel Subject: Re: split-window as a command Date: Sat, 13 Apr 2013 10:46:37 +0800 Message-ID: <20130413104637.fabdd6fd5a2266289033cc70@gmail.com> References: <87ppy0p4cm.fsf@rosalinde.fritz.box> <5167D3E8.8000903@gmx.at> <87obdkf097.fsf@rosalinde.fritz.box> <51681696.7000405@gmx.at> <877gk7fhrs.fsf@rosalinde.fritz.box> <20130413085229.3b4d73d6d2a32c0ce6106fda@gmail.com> <1365818063.26697.YahooMailNeo@web141205.mail.bf1.yahoo.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1365821207 28591 80.91.229.3 (13 Apr 2013 02:46:47 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 13 Apr 2013 02:46:47 +0000 (UTC) Cc: Rand User To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Apr 13 04:46:51 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 1UQqUM-0008QB-FA for ged-emacs-devel@m.gmane.org; Sat, 13 Apr 2013 04:46:50 +0200 Original-Received: from localhost ([::1]:42440 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UQqUL-0002aN-UN for ged-emacs-devel@m.gmane.org; Fri, 12 Apr 2013 22:46:49 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:36217) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UQqUI-0002aE-C6 for emacs-devel@gnu.org; Fri, 12 Apr 2013 22:46:48 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UQqUH-0006Xh-5v for emacs-devel@gnu.org; Fri, 12 Apr 2013 22:46:46 -0400 Original-Received: from mail-pd0-f171.google.com ([209.85.192.171]:42847) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UQqUG-0006XP-V4 for emacs-devel@gnu.org; Fri, 12 Apr 2013 22:46:45 -0400 Original-Received: by mail-pd0-f171.google.com with SMTP id z10so1703852pdj.30 for ; Fri, 12 Apr 2013 19:46:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:date:from:to:cc:subject:message-id:in-reply-to :references:x-mailer:mime-version:content-type :content-transfer-encoding; bh=kyzqAs05IaRCAeuLC4klfXxJLrK2En7nG6JgCu2klQI=; b=aK4fEeAShSNuYOIxp3IjsJWZTCCbHNWVko+FFYVsFYEI20hUvWKjTaQsQaOvynVeBM B5PLmFEPxZ1Iw4mb0Etj/LMAJ4XQf3fSemjSnE+k1T025p8uhHt64F/owergAms2lbre Sss5HELOA+mbA81CMz+u9d/L6zER6M+6Io8HXGwdgagbPTTr3EISyxZ9v3rPtzXxdCGf tN4XSM/4xn9keASv/UYCPWsqWMwo/hucc9+w0KAeFqi4+L+o9rtmgxZ2ekoE4KgK7FrV x3samnIUqCVdylsg3ynVYvFovH4bNq3OZPq147ojxWd/AsIbU703XPgvwBRXx/3Tj74D qAMw== X-Received: by 10.68.173.5 with SMTP id bg5mr18094988pbc.186.1365821204037; Fri, 12 Apr 2013 19:46:44 -0700 (PDT) Original-Received: from localhost.localdomain ([61.149.227.176]) by mx.google.com with ESMTPS id cq1sm10788276pbc.13.2013.04.12.19.46.40 (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Fri, 12 Apr 2013 19:46:43 -0700 (PDT) In-Reply-To: <1365818063.26697.YahooMailNeo@web141205.mail.bf1.yahoo.com> X-Mailer: Sylpheed 3.3.0 (GTK+ 2.24.16; x86_64-redhat-linux-gnu) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy] X-Received-From: 209.85.192.171 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:158873 Archived-At: On Fri, 12 Apr 2013 18:54:23 -0700 (PDT) Rand User wrote: > > BTW if the warning is from echo area, it's too long (84 characters in >=20 > > this case).=A0 I have a (maybe) better version: > > > > This command is obsolete since 24.4; use `C-x 2' instead >=20 > Which command is obsolete? The command you just executed. Or we can use `split-window' here. > Also, `C-x 2' looks more like a key sequence than a command name. Yes. There are 2 reasons to use `C-x 2' here: 1. It is usually too long to display two command names in the echo area; (I even want to drop the " since 24.4".) 2. It is more convenient for users to execute the command, since they won't need to use `describe-function' if they don't know the key sequence for the command. We can use `substitute-command-keys' for this feature. > If something like these obsolete warners are added, I think they should > only warn once per process and not every time you invoke the command. Sounds fine to me. --=20 Xue Fuqiao http://www.gnu.org/software/emacs/