From: Daniel Colascione <dancol@dancol.org>
To: Juanma Barranquero <lekktu@gmail.com>
Cc: 10428@debbugs.gnu.org
Subject: bug#10428: 24.0.92; Please remove unnecessary alias `which-func-mode`
Date: Tue, 03 Jan 2012 15:59:24 -0800 [thread overview]
Message-ID: <4F03965C.7090401@dancol.org> (raw)
In-Reply-To: <CAAeL0SQt8fTyHqAiDBaWkb8TpWKhabZagv8QcxAOkiptvWjeXQ@mail.gmail.com>
On 1/3/2012 3:53 PM, Juanma Barranquero wrote:
> On Wed, Jan 4, 2012 at 00:48, Daniel Colascione <dancol@dancol.org> wrote:
>
>> It's still annoying to have which-func-mode show up as an interactive
>> command.
>
> Not to the people used to the old name... That's the whole point of
> having an obsolete alias, instead of just renaming the function.
I thought the point was to not break existing _code_. Making people
change what they physically type isn't only acceptable, but desired:
this way, we raise awareness of the new name.
>> Is it somehow possible to define an alias to a command that is
>> not itself a command?
>
> Not currently. The interactivity does not depend of the name. It's a
> property of the function itself.
I thought so. Maybe we should have commandp return nil for obsolete
symbols. (which-func-mode isn't currently marked obsolete, but it can be
easily enough.) make-obsolete already sets the byte-obsolete-info symbol
property, which we could inspect easily enough.
next prev parent reply other threads:[~2012-01-03 23:59 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
2012-01-03 23:53 ` Juanma Barranquero
2012-01-03 23:59 ` Daniel Colascione [this message]
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=4F03965C.7090401@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.