[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: split-window as a command

From: Xue Fuqiao
Subject: Re: split-window as a command
Date: Sat, 13 Apr 2013 08:52:29 +0800

On Sat, 13 Apr 2013 01:31:19 +0200
Stephen Berman <address@hidden> 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

reply via email to

[Prev in Thread] Current Thread [Next in Thread]