From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: pjb@informatimago.com (Pascal J. Bourguignon) Newsgroups: gmane.emacs.help Subject: Re: Why is Emacs so slow when used remotely? Date: Wed, 22 Sep 2010 15:41:29 +0200 Organization: Informatimago Message-ID: <87mxr9yjxy.fsf@kuiper.lan.informatimago.com> References: <76f5ba95-cc68-4326-a962-f515c0fb70cd@y31g2000vbt.googlegroups.com> <3ebca0e6-c698-44dd-a4fd-6166233f5eba@q26g2000vbn.googlegroups.com> <87ocbqsq3g.fsf@puma.rapttech.com.au> <87tylizq1x.fsf@kuiper.lan.informatimago.com> <87d3s6s1y3.fsf@lola.goethe.zz> <874odiylly.fsf@kuiper.lan.informatimago.com> <87lj6trjuc.fsf@lola.goethe.zz> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1291888444 19740 80.91.229.12 (9 Dec 2010 09:54:04 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 9 Dec 2010 09:54:04 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Dec 09 10:54:00 2010 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PQdCI-0007Fl-Fp for geh-help-gnu-emacs@m.gmane.org; Thu, 09 Dec 2010 10:53:58 +0100 Original-Received: from localhost ([127.0.0.1]:45751 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PQaFo-0005VO-SS for geh-help-gnu-emacs@m.gmane.org; Thu, 09 Dec 2010 01:45:25 -0500 Original-Path: usenet.stanford.edu!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 44 Original-X-Trace: individual.net mqPTf2Y4vmX9MB8YTDDNWgzkZDhP8FMeTLPsSHKG01cacg3McW Cancel-Lock: sha1:MzA5YmU1NGFhOTI4MGFjMDNmZDVlOGZiYmFiYjE0YWZhNGIzYzIxYQ== sha1:iTdsfKwEFwTuLa6qsXuPuZc5JNY= Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwAQMAAABtzGvEAAAABlBMVEUAAAD///+l2Z/dAAAA oElEQVR4nK3OsRHCMAwF0O8YQufUNIQRGIAja9CxSA55AxZgFO4coMgYrEDDQZWPIlNAjwq9 033pbOBPtbXuB6PKNBn5gZkhGa86Z4x2wE67O+06WxGD/HCOGR0deY3f9Ijwwt7rNGNf6Oac l/GuZTF1wFGKiYYHKSFAkjIo1b6sCYS1sVmFhhhahKQssRjRT90ITWUk6vvK3RsPGs+M1RuR mV+hO/VvFAAAAABJRU5ErkJggg== X-Accept-Language: fr, es, en X-Disabled: X-No-Archive: no User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.2 (gnu/linux) Original-Xref: usenet.stanford.edu gnu.emacs.help:181425 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:76936 Archived-At: David Kastrup writes: > pjb@informatimago.com (Pascal J. Bourguignon) writes: > >> David Kastrup writes: >> >>> pjb@informatimago.com (Pascal J. Bourguignon) writes: >>> >>>> Tim X writes: >>>> >>>>> A few things to try ... >>>>> >>>>> 1. turn off tooltip mode >>>> >>>> Yes. Anything graphic. >>>> >>>> >>>>> 2. Try running with -nw to turn off X and only have a terminal UI >>>>> and see what the performance is like. this will let you know if >>>>> the problem is basic emacs or the X protocol stuff >>>> >>>> This is not useful, if you only work with text. The X protocol is >>>> not significantly worse than any other terminal protocol to send >>>> over text. >>> >>> Font rendering/antialiasing/composition nowadays happens mostly at >>> the client side if I am not mistaken. That makes the X protocol >>> much worse even with text. >> >> That's not what I observe. It's possible for an application to deal >> with characters itself and send bitmaps but normally, and it looks >> like it's what emacs does, it sends only the strings and the font >> rendering is done in the X server. > > For bitmap fonts. I don't think the X protocol channels antialiased > fonts yet. Usually xfs (the font server) runs on the client side of > the connection. Let's get specific. IIRC, antialiased fonts appeared on emacs 23. So there would be a risk of slow text mode with emacs >=23, but we'd be assured to get a fast text mode with emacs <=22. Right? -- __Pascal Bourguignon__ http://www.informatimago.com/