From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Alain Schneble Newsgroups: gmane.emacs.devel Subject: Re: Asynchronous DNS Date: Mon, 15 Feb 2016 16:04:39 +0100 Message-ID: <867fi6581k.fsf@realize.ch> References: <87pow7ocyw.fsf@gnus.org> <861t8nmxlj.fsf@realize.ch> <87y4auiurw.fsf@gnus.org> <86k2me8dee.fsf@realize.ch> <83a8n9ddk5.fsf@gnu.org> <864mdh8vj5.fsf@realize.ch> <87pow579kt.fsf@gnus.org> <86ziv87st0.fsf@realize.ch> <87vb5u4qtq.fsf@gnus.org> <86egci6xvk.fsf@realize.ch> <87twldgsrv.fsf@gnus.org> <8637sw7w4m.fsf@realize.ch> <87vb5sdod6.fsf@gnus.org> <83lh6nzvfp.fsf@gnu.org> <87fuwv6ai4.fsf@gnus.org> <86oabi6dts.fsf@realize.ch> <87wpq68u4d.fsf@gnus.org> <83lh6mxn5j.fsf@gnu.org> <86bn7i5j1v.fsf@realize.ch> <83fuwuxevw.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1455548747 6897 80.91.229.3 (15 Feb 2016 15:05:47 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 15 Feb 2016 15:05:47 +0000 (UTC) Cc: larsi@gnus.org, emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Feb 15 16:05:42 2016 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1aVKib-0005ei-6N for ged-emacs-devel@m.gmane.org; Mon, 15 Feb 2016 16:05:41 +0100 Original-Received: from localhost ([::1]:33066 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aVKia-0007Wt-ES for ged-emacs-devel@m.gmane.org; Mon, 15 Feb 2016 10:05:40 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:47103) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aVKiQ-0007Ub-5Z for emacs-devel@gnu.org; Mon, 15 Feb 2016 10:05:33 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aVKiM-0007Qn-FL for emacs-devel@gnu.org; Mon, 15 Feb 2016 10:05:30 -0500 Original-Received: from clientmail.realize.ch ([46.140.89.53]:3731) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1aVKiG-0007Pp-PE; Mon, 15 Feb 2016 10:05:21 -0500 Original-Received: from rintintin.hq.realize.ch.lan.rit ([192.168.0.105]) by clientmail.realize.ch ; Mon, 15 Feb 2016 16:05:05 +0100 Original-Received: from MYNGB (192.168.66.64) by rintintin.hq.realize.ch.lan.rit (192.168.0.105) with Microsoft SMTP Server (TLS) id 15.0.516.32; Mon, 15 Feb 2016 16:04:48 +0100 In-Reply-To: <83fuwuxevw.fsf@gnu.org> (Eli Zaretskii's message of "Mon, 15 Feb 2016 15:49:23 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (windows-nt) X-ClientProxiedBy: rintintin.hq.realize.ch.lan.rit (192.168.0.105) To rintintin.hq.realize.ch.lan.rit (192.168.0.105) X-detected-operating-system: by eggs.gnu.org: Windows NT kernel [generic] X-Received-From: 46.140.89.53 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:199974 Archived-At: Eli Zaretskii writes: >> From: Alain Schneble >> CC: Lars Ingebrigtsen , >> Date: Mon, 15 Feb 2016 12:06:52 +0100 >> >> >> Uhm... I can't really imagine what it's used for at all. :-) Is it to >> >> communicate to, for instance, a shell what the size of the Emacs window >> >> is? >> > >> > Yes. >> >> This sounds like set-process-window-size could just return Qnil when >> called on a network process. This would make the blocker in that >> function obsolete. > > If the ioctl call issued by the implementation always fails on > sockets, then yes. On GNU/Linux (debian) the call to ioctl (fd, TIOCSWINSZ, &size) in set_window_size returns -1 if called with a socket fd and thus fails with errno=25 "Inappropriate ioctl for device". I guess this might be the case on other systems as well...