From: Yoni Rabkin <yoni@rabkins.net>
To: emacs-devel@gnu.org
Subject: Re: Adding M-x iwconfig to net-utils.el
Date: Fri, 08 Feb 2008 06:42:02 +0200 [thread overview]
Message-ID: <87d4r8jbz9.fsf@rabkins.net> (raw)
In-Reply-To: <buoprv8yswy.fsf@dhapc248.dev.necel.com> (Miles Bader's message of "Fri, 08 Feb 2008 13:27:09 +0900")
Miles Bader <miles.bader@necel.com> writes:
> Yoni Rabkin <yoni@rabkins.net> writes:
>>> BTW, why does net-utils.el constantly refer to it as "ipconfig", when
>>> clearly it's running "ifconfig"? Every system I've ever used has called
>>> it "ifconfig", so it seems very weird...
>>
>> It must be a Microsoft Windows thing, since the net-utils.el code says:
>>
>> (defcustom ipconfig-program
>> (if (eq system-type 'windows-nt)
>> "ipconfig"
>> "ifconfig")
>
> Yuck... Emacs shouldn't be using windows-influenced names, I think.
That can be added to my proposed patch easily enough, or as an
additional trivial patch.
It would also probably change the name of the buffer and the current
net-utils.el alias:
;; This is the normal name on most Unixes.
;;;###autoload
(defalias 'ifconfig 'ipconfig)
...to:
;; This is the the name of the command on Windows NT.
;;;###autoload
(defalias 'ipconfig 'ifconfig)
--
"Cut your own wood and it will warm you twice"
next prev parent reply other threads:[~2008-02-08 4:42 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-02-07 13:55 Adding M-x iwconfig to net-utils.el Yoni Rabkin
2008-02-08 2:43 ` Miles Bader
2008-02-08 4:21 ` Yoni Rabkin
2008-02-08 4:27 ` Miles Bader
2008-02-08 4:42 ` Yoni Rabkin [this message]
2008-02-08 18:48 ` Richard Stallman
2008-02-09 1:34 ` Glenn Morris
2008-02-09 1:43 ` Miles Bader
2008-02-09 2:19 ` Glenn Morris
2008-02-09 2:39 ` Stefan Monnier
2008-02-09 2:42 ` Miles Bader
2008-02-09 3:16 ` Stephen J. Turnbull
2008-02-09 15:06 ` Juanma Barranquero
2008-02-10 3:20 ` Richard Stallman
2008-02-10 3:46 ` Glenn Morris
2008-02-12 0:01 ` Alfred M. Szmidt
2008-02-10 9:19 ` David Kastrup
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=87d4r8jbz9.fsf@rabkins.net \
--to=yoni@rabkins.net \
--cc=emacs-devel@gnu.org \
/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).