From unknown Thu Jun 19 13:53:15 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#15610 <15610@debbugs.gnu.org> To: bug#15610 <15610@debbugs.gnu.org> Subject: Status: 24.3; Implement (network-interface-list) on Windows Reply-To: bug#15610 <15610@debbugs.gnu.org> Date: Thu, 19 Jun 2025 20:53:15 +0000 retitle 15610 24.3; Implement (network-interface-list) on Windows reassign 15610 emacs submitter 15610 Lubos Pintes severity 15610 wishlist thanks From debbugs-submit-bounces@debbugs.gnu.org Mon Oct 14 13:01:34 2013 Received: (at submit) by debbugs.gnu.org; 14 Oct 2013 17:01:34 +0000 Received: from localhost ([127.0.0.1]:49153 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VVlWN-0005sH-Ut for submit@debbugs.gnu.org; Mon, 14 Oct 2013 13:01:34 -0400 Received: from eggs.gnu.org ([208.118.235.92]:47493) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VVlHp-0004qd-Rr for submit@debbugs.gnu.org; Mon, 14 Oct 2013 12:46:30 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VVlHc-0008MR-4L for submit@debbugs.gnu.org; Mon, 14 Oct 2013 12:46:24 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM, T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:52865) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VVlHc-0008MM-0u for submit@debbugs.gnu.org; Mon, 14 Oct 2013 12:46:16 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:49137) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VVlHT-0005v6-Gf for bug-gnu-emacs@gnu.org; Mon, 14 Oct 2013 12:46:15 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VVlHL-0008J6-1t for bug-gnu-emacs@gnu.org; Mon, 14 Oct 2013 12:46:07 -0400 Received: from mail-ee0-x236.google.com ([2a00:1450:4013:c00::236]:37795) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VVlHK-0008Io-RK for bug-gnu-emacs@gnu.org; Mon, 14 Oct 2013 12:45:58 -0400 Received: by mail-ee0-f54.google.com with SMTP id e53so3510747eek.41 for ; Mon, 14 Oct 2013 09:45:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; bh=dONDmzcmmwEd+uvtPChwqzHyae0Iw+SdqfAXuiBgcHI=; b=uzPldfQ0fThnnZjHgIcmt7YtIj1Uxm0A2UgMiq+NyEkkLQdmO9nz3QAgLLFaPHT4Ja WzQulWTHNR1qU0gCPf2HDjvPUSWf9aAo6OW5z3ygW8FuTUrkXxzZRd11vj2UKKulwUaX 98j679mcUTJ7w2ODI5tYWSvwqAlw6Mpcpk4umo9bSY4yxJerjSmkGEPuTxolqvr0zYBc ZsTmnlOWSlsjpea7Qs3YHeGCXjKUVBBxEtmiZ05wQDOPJJ492UrLynw4CB1iUzMDFQ8A M7Mu2kwfJBo3oRqeFrMBXE952BrvbsUYe578YLHa7nkxKdoHYVP7fZQJFXfhtiRVXCXw XPUA== X-Received: by 10.15.32.7 with SMTP id z7mr1872596eeu.78.1381769157307; Mon, 14 Oct 2013 09:45:57 -0700 (PDT) Received: from [10.0.0.4] ([62.197.196.10]) by mx.google.com with ESMTPSA id b45sm155432252eef.4.1969.12.31.16.00.00 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 14 Oct 2013 09:45:56 -0700 (PDT) Message-ID: <525C1FE1.90204@gmail.com> Date: Mon, 14 Oct 2013 18:46:25 +0200 From: Lubos Pintes User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.0.1 MIME-Version: 1.0 To: bug-gnu-emacs@gnu.org Subject: 24.3; Implement (network-interface-list) on Windows Content-Type: text/plain; charset=windows-1250; format=flowed Content-Transfer-Encoding: 7bit X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.0 (----) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Mon, 14 Oct 2013 13:01:30 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.0 (----) When I googled about mentioned function, I saw a discussion where someone stated that it is not possible on Windows for reason I am unable to remember now. Now I ran Cygwin version of Emacs and the function is implemented there. So, it is definitely possible to implement it somehow on Windows. If not, then please implement it so that it returns nil, or in similar way. In GNU Emacs 24.3.1 (i386-mingw-nt6.1.7601) of 2013-03-17 on MARVIN Windowing system distributor `Microsoft Corp.', version 6.1.7601 Configured using: `configure --with-gcc (4.7) --cflags -ID:/devel/emacs/libs/libXpm-3.5.8/include -ID:/devel/emacs/libs/libXpm-3.5.8/src -ID:/devel/emacs/libs/libpng-dev_1.4.3-1/include -ID:/devel/emacs/libs/zlib-dev_1.2.5-2/include -ID:/devel/emacs/libs/giflib-4.1.4-1/include -ID:/devel/emacs/libs/jpeg-6b-4/include -ID:/devel/emacs/libs/tiff-3.8.2-1/include -ID:/devel/emacs/libs/gnutls-3.0.9/include -ID:/devel/emacs/libs/libiconv-1.13.1-1-dev/include -ID:/devel/emacs/libs/libxml2-2.7.8/include/libxml2' Important settings: value of $LANG: SKY locale-coding-system: cp1250 default enable-multibyte-characters: t Major mode: Lisp Interaction Minor modes in effect: tooltip-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Recent input: q M-x r e p o r t - e m a Recent messages: For information about GNU Emacs and the GNU system, type C-h C-a. user-error: Beginning of history; no preceding item Load-path shadows: c:/emacs/site-lisp/emacspeak/lisp/tetris hides c:/emacs/lisp/play/tetris Features: (shadow sort gnus-util mail-extr emacsbug message format-spec rfc822 mml mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils magit-autoloads info easymenu git-rebase-mode-autoloads git-commit-mode-autoloads finder-inf package time-date tooltip ediff-hook vc-hooks lisp-float-type mwheel dos-w32 ls-lisp w32-common-fns disp-table w32-win w32-vars tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment lisp-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process w32 multi-tty emacs) From debbugs-submit-bounces@debbugs.gnu.org Mon Oct 14 13:21:13 2013 Received: (at 15610) by debbugs.gnu.org; 14 Oct 2013 17:21:13 +0000 Received: from localhost ([127.0.0.1]:49183 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VVlpR-0007MB-5s for submit@debbugs.gnu.org; Mon, 14 Oct 2013 13:21:13 -0400 Received: from mtaout22.012.net.il ([80.179.55.172]:60903) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VVlpN-0007LY-Co for 15610@debbugs.gnu.org; Mon, 14 Oct 2013 13:21:10 -0400 Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0MUO003005FJRR00@a-mtaout22.012.net.il> for 15610@debbugs.gnu.org; Mon, 14 Oct 2013 20:21:02 +0300 (IDT) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MUO003IV5J1NM50@a-mtaout22.012.net.il>; Mon, 14 Oct 2013 20:21:02 +0300 (IDT) Date: Mon, 14 Oct 2013 20:20:57 +0300 From: Eli Zaretskii Subject: Re: bug#15610: 24.3; Implement (network-interface-list) on Windows In-reply-to: <525C1FE1.90204@gmail.com> X-012-Sender: halo1@inter.net.il To: Lubos Pintes Message-id: <83wqlfpy4m.fsf@gnu.org> References: <525C1FE1.90204@gmail.com> X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 15610 Cc: 15610@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: Eli Zaretskii List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) > Date: Mon, 14 Oct 2013 18:46:25 +0200 > From: Lubos Pintes > > When I googled about mentioned function, I saw a discussion where > someone stated that it is not possible on Windows for reason I am unable > to remember now. > Now I ran Cygwin version of Emacs and the function is implemented > there. So, it is definitely possible to implement it somehow on Windows. The Cygwin library code for this is in net.cc. Volunteers are welcome to lift it from there into some w32*.c file inside Emacs. Btw, it would be nice to hear some use case where this functionality is really important. TIA. From debbugs-submit-bounces@debbugs.gnu.org Mon Oct 14 13:28:37 2013 Received: (at 15610) by debbugs.gnu.org; 14 Oct 2013 17:28:37 +0000 Received: from localhost ([127.0.0.1]:49207 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VVlwa-0007rK-Pd for submit@debbugs.gnu.org; Mon, 14 Oct 2013 13:28:37 -0400 Received: from mtaout20.012.net.il ([80.179.55.166]:39723) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VVlwY-0007qN-J2 for 15610@debbugs.gnu.org; Mon, 14 Oct 2013 13:28:35 -0400 Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0MUO00C005PRYC00@a-mtaout20.012.net.il> for 15610@debbugs.gnu.org; Mon, 14 Oct 2013 20:28:28 +0300 (IDT) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MUO00CW45VFN5A0@a-mtaout20.012.net.il>; Mon, 14 Oct 2013 20:28:28 +0300 (IDT) Date: Mon, 14 Oct 2013 20:28:23 +0300 From: Eli Zaretskii Subject: Re: bug#15610: 24.3; Implement (network-interface-list) on Windows In-reply-to: <83wqlfpy4m.fsf@gnu.org> X-012-Sender: halo1@inter.net.il To: lubos.pintes@gmail.com Message-id: <83vc0zpxs8.fsf@gnu.org> References: <525C1FE1.90204@gmail.com> <83wqlfpy4m.fsf@gnu.org> X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 15610 Cc: 15610@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: Eli Zaretskii List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) > Date: Mon, 14 Oct 2013 20:20:57 +0300 > From: Eli Zaretskii > Cc: 15610@debbugs.gnu.org > > The Cygwin library code for this is in net.cc. Volunteers are welcome > to lift it from there into some w32*.c file inside Emacs. Of course, the necessary paperwork needs to be done, as the Cygwin code is copyrighted by RH. From debbugs-submit-bounces@debbugs.gnu.org Mon Oct 14 23:41:40 2013 Received: (at 15610) by debbugs.gnu.org; 15 Oct 2013 03:41:40 +0000 Received: from localhost ([127.0.0.1]:49671 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VVvVs-00052Q-Fz for submit@debbugs.gnu.org; Mon, 14 Oct 2013 23:41:40 -0400 Received: from fencepost.gnu.org ([208.118.235.10]:55855 ident=Debian-exim) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VVvVp-00052I-K1 for 15610@debbugs.gnu.org; Mon, 14 Oct 2013 23:41:38 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1VVvVn-0004KX-A3; Mon, 14 Oct 2013 23:41:35 -0400 From: Glenn Morris To: Eli Zaretskii Subject: Re: bug#15610: 24.3; Implement (network-interface-list) on Windows References: <525C1FE1.90204@gmail.com> <83wqlfpy4m.fsf@gnu.org> <83vc0zpxs8.fsf@gnu.org> X-Spook: LLNL White House underground Kh-11 bullion doctrine X-Ran: ,=tg!x+36tzL6RZkPm7G|obgWUveDgSe\I)+2.|lR(EW(hr]"Dx1J~4}/2t>)VUM User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -5.5 (-----) X-Debbugs-Envelope-To: 15610 Cc: 15610@debbugs.gnu.org, lubos.pintes@gmail.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.5 (-----) Eli Zaretskii wrote: >> Date: Mon, 14 Oct 2013 20:20:57 +0300 >> From: Eli Zaretskii >> Cc: 15610@debbugs.gnu.org >> >> The Cygwin library code for this is in net.cc. Volunteers are welcome >> to lift it from there into some w32*.c file inside Emacs. > > Of course, the necessary paperwork needs to be done, as the Cygwin > code is copyrighted by RH. Red Hat has a general assignment for all contributions to FSF projects, so you'd "just" need to convince them to contribute this to Emacs. (But I imagine it's less hassle to reimplement it.) AFAIK (which is not very far), the "ipconfig" utility on MS Windows returns the relevant network info, so anyone who actually needs this info could just call that from Emacs and parse the result. From debbugs-submit-bounces@debbugs.gnu.org Wed Oct 16 11:47:45 2013 Received: (at 15610-done) by debbugs.gnu.org; 16 Oct 2013 15:47:45 +0000 Received: from localhost ([127.0.0.1]:54426 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VWTK5-0005l4-8c for submit@debbugs.gnu.org; Wed, 16 Oct 2013 11:47:45 -0400 Received: from mtaout22.012.net.il ([80.179.55.172]:38438) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VWTK2-0005ko-Rl for 15610-done@debbugs.gnu.org; Wed, 16 Oct 2013 11:47:44 -0400 Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0MUR00900QA0OY00@a-mtaout22.012.net.il> for 15610-done@debbugs.gnu.org; Wed, 16 Oct 2013 18:47:36 +0300 (IDT) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MUR0097HQJ9D9A0@a-mtaout22.012.net.il>; Wed, 16 Oct 2013 18:47:33 +0300 (IDT) Date: Wed, 16 Oct 2013 18:47:34 +0300 From: Eli Zaretskii Subject: Re: bug#15610: 24.3; Implement (network-interface-list) on Windows In-reply-to: <4vhacjyzdc.fsf@fencepost.gnu.org> X-012-Sender: halo1@inter.net.il To: Glenn Morris Message-id: <838uxtp695.fsf@gnu.org> References: <525C1FE1.90204@gmail.com> <83wqlfpy4m.fsf@gnu.org> <83vc0zpxs8.fsf@gnu.org> <4vhacjyzdc.fsf@fencepost.gnu.org> X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 15610-done Cc: 15610-done@debbugs.gnu.org, lubos.pintes@gmail.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: Eli Zaretskii List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) > From: Glenn Morris > Cc: lubos.pintes@gmail.com, 15610@debbugs.gnu.org > Date: Mon, 14 Oct 2013 23:41:35 -0400 > > Eli Zaretskii wrote: > > >> Date: Mon, 14 Oct 2013 20:20:57 +0300 > >> From: Eli Zaretskii > >> Cc: 15610@debbugs.gnu.org > >> > >> The Cygwin library code for this is in net.cc. Volunteers are welcome > >> to lift it from there into some w32*.c file inside Emacs. > > > > Of course, the necessary paperwork needs to be done, as the Cygwin > > code is copyrighted by RH. > > Red Hat has a general assignment for all contributions to FSF projects, > so you'd "just" need to convince them to contribute this to Emacs. Thanks, this is good to know. > (But I imagine it's less hassle to reimplement it.) Right, so I just went away and did it in trunk revision 114686. > AFAIK (which is not very far), the "ipconfig" utility on MS Windows > returns the relevant network info It comes close, but not all the way. I'm closing this bug. From unknown Thu Jun 19 13:53:15 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Thu, 14 Nov 2013 12:24:03 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator