all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Daniel Colascione <dancol@dancol.org>
To: 10428@debbugs.gnu.org, lekktu@gmail.com
Subject: bug#10428: 24.0.92; Please remove unnecessary alias `which-func-mode`
Date: Tue, 03 Jan 2012 15:48:34 -0800	[thread overview]
Message-ID: <4F0393D2.2030106@dancol.org> (raw)
In-Reply-To: <CAAeL0SQE6NfF4jrBnEpmDmW_UdJM5dP+wPOEaws=2yTVfUFZVQ@mail.gmail.com>

On 1/3/2012 3:42 PM, Juanma Barranquero wrote:
>> Why was this alias defined?  Is there a good reason for it?  This is a
>> bad precedent to set.  Unless there is a _particular_ reason to do this
>> for this command (and not for umpteen other Emacs commands), please
>> remove this seemingly gratuitous alias.
> 
> 2001-06-26  Richard M. Stallman  <rms@gnu.org>
> 
>         * which-func.el (which-func-maxout): Increase default to 500000.
>         (which-function-mode): This is now the "real" name of the function.
>         (which-func-mode): Now an alias.
>         (which-func-mode-global): Name deleted.
> 
> So the function was called which-func-mode, then renamed to
> which-function-mode, and the old name kept for compatibility.
> 
> It took me all of a grep in lisp\ChangeLog* to find it ;-)

It's still annoying to have which-func-mode show up as an interactive
command.  Is it somehow possible to define an alias to a command that is
not itself a command?





  reply	other threads:[~2012-01-03 23:48 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-01-03 22:50 bug#10428: 24.0.92; Please remove unnecessary alias `which-func-mode` Drew Adams
2012-01-03 23:42 ` Juanma Barranquero
2012-01-03 23:48   ` Daniel Colascione [this message]
2012-01-03 23:53     ` Juanma Barranquero
2012-01-03 23:59       ` Daniel Colascione
2012-01-04  1:03         ` Juanma Barranquero
2012-01-04  1:27           ` Leo
2012-01-04  1:31             ` Juanma Barranquero
2012-01-04  1:59               ` Leo
2012-01-03 23:56   ` Lars Magne Ingebrigtsen
2012-01-04  0:57     ` Juanma Barranquero
2012-01-05  4:59     ` Stefan Monnier
2012-01-07  0:26       ` Juanma Barranquero

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4F0393D2.2030106@dancol.org \
    --to=dancol@dancol.org \
    --cc=10428@debbugs.gnu.org \
    --cc=lekktu@gmail.com \
    /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 external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.