From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: CHENG Gao Newsgroups: gmane.emacs.devel Subject: Re: macosx(carbon): slow keyboard responsiveness bug fix Date: Wed, 21 Nov 2007 10:55:43 +0800 Organization: cyberhut.org Message-ID: <87ir3wl32o.fsf@news.cyberhut.org> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1195614350 4006 80.91.229.12 (21 Nov 2007 03:05:50 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 21 Nov 2007 03:05:50 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Nov 21 04:05:55 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1IufuB-0007Ae-OA for ged-emacs-devel@m.gmane.org; Wed, 21 Nov 2007 04:05:45 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Iuftx-0004tc-Ko for ged-emacs-devel@m.gmane.org; Tue, 20 Nov 2007 22:05:21 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Iuftv-0004tW-Ar for emacs-devel@gnu.org; Tue, 20 Nov 2007 22:05:19 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Iuftu-0004tK-NK for emacs-devel@gnu.org; Tue, 20 Nov 2007 22:05:19 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Iuftu-0004tH-Jc for emacs-devel@gnu.org; Tue, 20 Nov 2007 22:05:18 -0500 Original-Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Iuftt-0000oH-V8 for emacs-devel@gnu.org; Tue, 20 Nov 2007 22:05:18 -0500 Original-Received: from root by ciao.gmane.org with local (Exim 4.43) id 1Iufte-0005Da-DT for emacs-devel@gnu.org; Wed, 21 Nov 2007 03:05:02 +0000 Original-Received: from 221.6.207.24 ([221.6.207.24]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 21 Nov 2007 03:05:02 +0000 Original-Received: from chenggao by 221.6.207.24 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 21 Nov 2007 03:05:02 +0000 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 24 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 221.6.207.24 User-Agent: Gnus/5.110007 (No Gnus v0.7) Emacs/23.0.60 (gnu/linux) Cancel-Lock: sha1:seSOhpdRoiE7r7hEJK/KKfoTyRk= X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:83754 Archived-At: *On Wed, 21 Nov 2007 09:38:19 +0900 * Also sprach YAMAMOTO Mitsuharu : > But, as I said before, neither calling res_init or linking libresolv > is meaningful/necessary on Mac OS X/Darwin because the actual DNS > resolution is performed outside the Emacs process. > > http://lists.gnu.org/archive/html/emacs-devel/2007-10/msg01254.html > > I don't think it is the right thing to add -lresolv without > considering the meaning/necessity of res_init just to superficially > avoid the link error. > > Is Mac OS X/Darwin the only such system? If so, I would rather add > #undef HAVE_RES_INIT and #undef HAVE_LIBRESOLV in src/s/darwin.h. > Otherwise, it might be better to introduce a new macro such as > RESOLVER_EXTERNAL that disables the effect of HAVE_RES_INIT and > HAVE_LIBRESOLV. Thanks for your explanation. I have no idea about dns resolution on MacOSX. It's just a working workaround I got thru googling. -- The enemies of Freedom do not argue; they shout and they shoot.