From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.devel Subject: Re: Asynchronous DNS Date: Mon, 15 Feb 2016 15:39:30 +1100 Message-ID: <87wpq68u4d.fsf@gnus.org> References: <877fihjo4m.fsf@gnus.org> <86io20n3xn.fsf@realize.ch> <8760y055l1.fsf@gnus.org> <8660xzmyyr.fsf@realize.ch> <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> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1455511218 11908 80.91.229.3 (15 Feb 2016 04:40:18 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 15 Feb 2016 04:40:18 +0000 (UTC) Cc: Eli Zaretskii , emacs-devel@gnu.org To: Alain Schneble Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Feb 15 05:40:10 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 1aVAxF-0007PV-QC for ged-emacs-devel@m.gmane.org; Mon, 15 Feb 2016 05:40:09 +0100 Original-Received: from localhost ([::1]:56395 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aVAxE-0003Wu-TY for ged-emacs-devel@m.gmane.org; Sun, 14 Feb 2016 23:40:08 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:36289) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aVAxA-0003W9-6A for emacs-devel@gnu.org; Sun, 14 Feb 2016 23:40:05 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aVAx7-00083b-0E for emacs-devel@gnu.org; Sun, 14 Feb 2016 23:40:04 -0500 Original-Received: from hermes.netfonds.no ([80.91.224.195]:60432) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aVAx6-00083J-On; Sun, 14 Feb 2016 23:40:00 -0500 Original-Received: from cpe-60-225-211-161.nsw.bigpond.net.au ([60.225.211.161] helo=mouse) by hermes.netfonds.no with esmtpsa (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1aVAwh-00071d-3l; Mon, 15 Feb 2016 05:39:35 +0100 In-Reply-To: <86oabi6dts.fsf@realize.ch> (Alain Schneble's message of "Mon, 15 Feb 2016 01:02:07 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) X-MailScanner-ID: 1aVAwh-00071d-3l MailScanner-NULL-Check: 1456115975.92519@UiBx/a0amrwaEKaSxLL0ig X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.224.195 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:199953 Archived-At: Alain Schneble writes: > By the way, I tried it out with the fine-grained approach. See patch > below. Thanks, I've applied. I'll be reworking it a bit to have fewer ifdefs (and add the TLS checks to the two functions that need it). > There is potential to refactor at least two functions, > set-process-coding-system and set-process-window-size, to not require > blocking at all. Yeah, we can remove the blockers from the functions that turn out not to "need them" after we've verified that we're not regressing anything. > While with set-process-window-size, I asked myself if this one makes any > sense with network processes at all. Should it signal an error or what > would be the use case to call this for a network process? 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? -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no