* Adding M-x iwconfig to net-utils.el
@ 2008-02-07 13:55 Yoni Rabkin
2008-02-08 2:43 ` Miles Bader
0 siblings, 1 reply; 17+ messages in thread
From: Yoni Rabkin @ 2008-02-07 13:55 UTC (permalink / raw)
To: emacs-devel
Hello,
I've added to wireless.el (a small library of mine) the ability to call
iwconfig diagnostically via "M-x iwconfig", as per the interface
net-utils.el provides to ifconfig, netstat etc.
It occurs to me that the right place for this might be in net-utils.el
itself.
If people agree that this is worth adding, I will gladly send in the
trivial patch against net-utils.el which does this.
--
"Cut your own wood and it will warm you twice"
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: Adding M-x iwconfig to net-utils.el
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
0 siblings, 1 reply; 17+ messages in thread
From: Miles Bader @ 2008-02-08 2:43 UTC (permalink / raw)
To: Yoni Rabkin; +Cc: emacs-devel
Yoni Rabkin <yoni@rabkins.net> writes:
> I've added to wireless.el (a small library of mine) the ability to call
> iwconfig diagnostically via "M-x iwconfig", as per the interface
> net-utils.el provides to ifconfig, netstat etc.
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...
-Miles
--
Alone, adj. In bad company.
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: Adding M-x iwconfig to net-utils.el
2008-02-08 2:43 ` Miles Bader
@ 2008-02-08 4:21 ` Yoni Rabkin
2008-02-08 4:27 ` Miles Bader
2008-02-08 18:48 ` Richard Stallman
0 siblings, 2 replies; 17+ messages in thread
From: Yoni Rabkin @ 2008-02-08 4:21 UTC (permalink / raw)
To: emacs-devel
Miles Bader <miles.bader@necel.com> writes:
> Yoni Rabkin <yoni@rabkins.net> writes:
>> I've added to wireless.el (a small library of mine) the ability to call
>> iwconfig diagnostically via "M-x iwconfig", as per the interface
>> net-utils.el provides to ifconfig, netstat etc.
>
> 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")
...
--
"Cut your own wood and it will warm you twice"
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: Adding M-x iwconfig to net-utils.el
2008-02-08 4:21 ` Yoni Rabkin
@ 2008-02-08 4:27 ` Miles Bader
2008-02-08 4:42 ` Yoni Rabkin
2008-02-08 18:48 ` Richard Stallman
1 sibling, 1 reply; 17+ messages in thread
From: Miles Bader @ 2008-02-08 4:27 UTC (permalink / raw)
To: Yoni Rabkin; +Cc: emacs-devel
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.
-Miles
--
Philosophy, n. A route of many roads leading from nowhere to nothing.
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: Adding M-x iwconfig to net-utils.el
2008-02-08 4:27 ` Miles Bader
@ 2008-02-08 4:42 ` Yoni Rabkin
0 siblings, 0 replies; 17+ messages in thread
From: Yoni Rabkin @ 2008-02-08 4:42 UTC (permalink / raw)
To: emacs-devel
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"
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: Adding M-x iwconfig to net-utils.el
2008-02-08 4:21 ` Yoni Rabkin
2008-02-08 4:27 ` Miles Bader
@ 2008-02-08 18:48 ` Richard Stallman
2008-02-09 1:34 ` Glenn Morris
1 sibling, 1 reply; 17+ messages in thread
From: Richard Stallman @ 2008-02-08 18:48 UTC (permalink / raw)
To: Yoni Rabkin; +Cc: emacs-devel
(defcustom ipconfig-program
(if (eq system-type 'windows-nt)
"ipconfig"
"ifconfig")
Emacs should follow the practices of the GNU system, not Windows.
So this variable should be called ifconfig-program.
I changed that and related names.
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: Adding M-x iwconfig to net-utils.el
2008-02-08 18:48 ` Richard Stallman
@ 2008-02-09 1:34 ` Glenn Morris
2008-02-09 1:43 ` Miles Bader
2008-02-10 3:20 ` Richard Stallman
0 siblings, 2 replies; 17+ messages in thread
From: Glenn Morris @ 2008-02-09 1:34 UTC (permalink / raw)
To: rms; +Cc: Yoni Rabkin, emacs-devel
Richard Stallman wrote:
> Emacs should follow the practices of the GNU system, not Windows.
> So this variable should be called ifconfig-program.
>
> I changed that and related names.
And I added some variable aliases to avoid punishing users of this
package for a mistake outside their control.
PS. It's funny how people often switch to the past tense when writing
certain ChangeLog entries (eg: "rename", "move").
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: Adding M-x iwconfig to net-utils.el
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-10 3:20 ` Richard Stallman
1 sibling, 2 replies; 17+ messages in thread
From: Miles Bader @ 2008-02-09 1:43 UTC (permalink / raw)
To: Glenn Morris; +Cc: rms, Yoni Rabkin, emacs-devel
Glenn Morris <rgm@gnu.org> writes:
> PS. It's funny how people often switch to the past tense when writing
> certain ChangeLog entries (eg: "rename", "move").
Not as funny as people obsessing over the tense of changelog
entries... :-)
-Miles
--
Education, n. That which discloses to the wise and disguises from the foolish
their lack of understanding.
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: Adding M-x iwconfig to net-utils.el
2008-02-09 1:43 ` Miles Bader
@ 2008-02-09 2:19 ` Glenn Morris
2008-02-09 2:39 ` Stefan Monnier
1 sibling, 0 replies; 17+ messages in thread
From: Glenn Morris @ 2008-02-09 2:19 UTC (permalink / raw)
To: Miles Bader; +Cc: emacs-devel
Miles Bader wrote:
> Not as funny as people obsessing over the tense of changelog
> entries... :-)
I confess. :)
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: Adding M-x iwconfig to net-utils.el
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
` (2 more replies)
1 sibling, 3 replies; 17+ messages in thread
From: Stefan Monnier @ 2008-02-09 2:39 UTC (permalink / raw)
To: Miles Bader; +Cc: Glenn Morris, rms, Yoni Rabkin, emacs-devel
>> PS. It's funny how people often switch to the past tense when writing
>> certain ChangeLog entries (eg: "rename", "move").
> Not as funny as people obsessing over the tense of changelog
> entries... :-)
Are you calling me obsessive?
Stefan
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: Adding M-x iwconfig to net-utils.el
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
2 siblings, 0 replies; 17+ messages in thread
From: Miles Bader @ 2008-02-09 2:42 UTC (permalink / raw)
To: Stefan Monnier; +Cc: Glenn Morris, rms, Yoni Rabkin, emacs-devel
Stefan Monnier <monnier@iro.umontreal.ca> writes:
>> Not as funny as people obsessing over the tense of changelog
>> entries... :-)
>
> Are you calling me obsessive?
In the best possible way...
-Miles
--
"Don't just question authority,
Don't forget to question me."
-- Jello Biafra
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: Adding M-x iwconfig to net-utils.el
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
2 siblings, 0 replies; 17+ messages in thread
From: Stephen J. Turnbull @ 2008-02-09 3:16 UTC (permalink / raw)
To: Stefan Monnier; +Cc: Glenn Morris, emacs-devel, rms, Yoni Rabkin, Miles Bader
Stefan Monnier writes:
> >> PS. It's funny how people often switch to the past tense when writing
> >> certain ChangeLog entries (eg: "rename", "move").
> > Not as funny as people obsessing over the tense of changelog
> > entries... :-)
>
> Are you calling me obsessive?
No, he said you lighten up his day, even with your comments on others'
ChangeLogs.
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: Adding M-x iwconfig to net-utils.el
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
2 siblings, 0 replies; 17+ messages in thread
From: Juanma Barranquero @ 2008-02-09 15:06 UTC (permalink / raw)
To: Stefan Monnier; +Cc: Emacs Devel
> Are you calling me obsessive?
Well, then what's he calling me? I worry even about *whitespace* in
the ChangeLogs... :)
Juanma
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: Adding M-x iwconfig to net-utils.el
2008-02-09 1:34 ` Glenn Morris
2008-02-09 1:43 ` Miles Bader
@ 2008-02-10 3:20 ` Richard Stallman
2008-02-10 3:46 ` Glenn Morris
2008-02-10 9:19 ` David Kastrup
1 sibling, 2 replies; 17+ messages in thread
From: Richard Stallman @ 2008-02-10 3:20 UTC (permalink / raw)
To: Glenn Morris; +Cc: yoni, emacs-devel
PS. It's funny how people often switch to the past tense when writing
certain ChangeLog entries (eg: "rename", "move").
I have always used "deleted" and "renamed", past tense.
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: Adding M-x iwconfig to net-utils.el
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
1 sibling, 1 reply; 17+ messages in thread
From: Glenn Morris @ 2008-02-10 3:46 UTC (permalink / raw)
To: rms; +Cc: emacs-devel
Richard Stallman wrote:
> PS. It's funny how people often switch to the past tense when writing
> certain ChangeLog entries (eg: "rename", "move").
>
> I have always used "deleted" and "renamed", past tense.
I could have sworn there was a GNU or Emacs standard that said "write
changelog entries in the present tense", but now that I look I can't
find it. :(
All I can find is lispref/tips.texi saying to write doc-strings in the
present tense.
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: Adding M-x iwconfig to net-utils.el
2008-02-10 3:20 ` Richard Stallman
2008-02-10 3:46 ` Glenn Morris
@ 2008-02-10 9:19 ` David Kastrup
1 sibling, 0 replies; 17+ messages in thread
From: David Kastrup @ 2008-02-10 9:19 UTC (permalink / raw)
To: rms; +Cc: Glenn Morris, yoni, emacs-devel
Richard Stallman <rms@gnu.org> writes:
> PS. It's funny how people often switch to the past tense when writing
> certain ChangeLog entries (eg: "rename", "move").
>
> I have always used "deleted" and "renamed", past tense.
One can argue about the "past tense" of "deleted xxx.c", since it can be
short hand for "xxx.c is deleted" (clearly present tense) or "I have
deleted xxx.c" (perfect tense, describing the current state).
The grammar of verb-less sentence fragments is at least debatable. Not
that I want to propose debating it: I don't think there is anything that
needs fixing in current practice.
--
David Kastrup, Kriemhildstr. 15, 44793 Bochum
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: Adding M-x iwconfig to net-utils.el
2008-02-10 3:46 ` Glenn Morris
@ 2008-02-12 0:01 ` Alfred M. Szmidt
0 siblings, 0 replies; 17+ messages in thread
From: Alfred M. Szmidt @ 2008-02-12 0:01 UTC (permalink / raw)
To: Glenn Morris; +Cc: rms, emacs-devel
> PS. It's funny how people often switch to the past tense when
> writing certain ChangeLog entries (eg: "rename", "move").
>
> I have always used "deleted" and "renamed", past tense.
I could have sworn there was a GNU or Emacs standard that said
"write changelog entries in the present tense", but now that I look
I can't find it. :(
I seem to recall something similar, but neither the GNU Coding
Standards nor the much pickier GNITS standards say anything about it!
^ permalink raw reply [flat|nested] 17+ messages in thread
end of thread, other threads:[~2008-02-12 0:01 UTC | newest]
Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
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
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).