From: Xue Fuqiao <xfq.free@gmail.com>
To: Stephen Berman <stephen.berman@gmx.net>
Cc: Rand <rand.user@ymail.com>, emacs-devel@gnu.org
Subject: Re: split-window as a command
Date: Sat, 13 Apr 2013 08:52:29 +0800 [thread overview]
Message-ID: <20130413085229.3b4d73d6d2a32c0ce6106fda@gmail.com> (raw)
In-Reply-To: <877gk7fhrs.fsf@rosalinde.fritz.box>
On Sat, 13 Apr 2013 01:31:19 +0200
Stephen Berman <stephen.berman@gmx.net> wrote:
> It would be nice if there were a make-obsolete-command function, so
> invoking split-window would warn: "This function is obsolete as a
> command since 24.4; use `split-window-below' instead.
Agreed. `define-obsolete-command-alias' is needed, too.
BTW if the warning is from echo area, it's too long (84 characters in
this case). I have a (maybe) better version:
This command is obsolete since 24.4; use `C-x 2' instead
It start with a capital letter but does not end with a period, just like
an error message. The `C-x 2' is from the command (function or keyboard
macro) if the command is bounded. And your version can be in the output
of `describe-function'.
--
Xue Fuqiao
http://www.gnu.org/software/emacs/
next prev parent reply other threads:[~2013-04-13 0:52 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-04-12 7:58 split-window as a command Stephen Berman
2013-04-12 9:29 ` martin rudalics
2013-04-12 11:37 ` Stephen Berman
2013-04-12 14:13 ` martin rudalics
2013-04-12 19:44 ` Rand
2013-04-12 23:05 ` Xue Fuqiao
2013-04-12 23:31 ` Stephen Berman
2013-04-13 0:52 ` Xue Fuqiao [this message]
2013-04-13 1:54 ` Rand User
2013-04-13 2:46 ` Xue Fuqiao
2013-04-13 5:45 ` Rand User
2013-04-13 6:29 ` Xue Fuqiao
2013-04-13 1:44 ` Rand User
2013-04-13 8:03 ` martin rudalics
2013-04-13 2:10 ` Stefan Monnier
2013-04-13 14:45 ` Stephen Berman
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20130413085229.3b4d73d6d2a32c0ce6106fda@gmail.com \
--to=xfq.free@gmail.com \
--cc=emacs-devel@gnu.org \
--cc=rand.user@ymail.com \
--cc=stephen.berman@gmx.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).