From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: edu500ac@gmail.com Newsgroups: gmane.emacs.help Subject: Help for eclipse Date: Thu, 5 Jun 2014 14:20:57 -0700 (PDT) Message-ID: <9bc9b6ed-e5c8-4c0c-949e-8bf90b096d5b@googlegroups.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1402004411 18179 80.91.229.3 (5 Jun 2014 21:40:11 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 5 Jun 2014 21:40:11 +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 Jun 05 23:40:05 2014 Return-path: Envelope-to: geh-help-gnu-emacs@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 1WsfOG-00028c-3j for geh-help-gnu-emacs@m.gmane.org; Thu, 05 Jun 2014 23:40:04 +0200 Original-Received: from localhost ([::1]:43881 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WsfOF-0006HN-IM for geh-help-gnu-emacs@m.gmane.org; Thu, 05 Jun 2014 17:40:03 -0400 X-Received: by 10.50.6.80 with SMTP id y16mr7714606igy.1.1402003258128; Thu, 05 Jun 2014 14:20:58 -0700 (PDT) X-Received: by 10.140.106.67 with SMTP id d61mr2071qgf.41.1402003258083; Thu, 05 Jun 2014 14:20:58 -0700 (PDT) Original-Path: usenet.stanford.edu!c1no23639618igq.0!news-out.google.com!k18ni5850qav.1!nntp.google.com!hw13no4915604qab.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=200.131.199.29; posting-account=8YAtcAoAAAD4IX3bs0texOrJOshWJwro Original-NNTP-Posting-Host: 200.131.199.29 User-Agent: G2/1.0 Injection-Date: Thu, 05 Jun 2014 21:20:58 +0000 Original-Xref: usenet.stanford.edu gnu.emacs.help:205769 X-Mailman-Approved-At: Thu, 05 Jun 2014 17:39:52 -0400 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:98039 Archived-At: I have two questions. The first one needs qualification. One of the great t= hings in Vim is the help system. It is very complete, with examples and tut= orials in many languages, even in Esperanto and Guarani. I wonder whether t= here is a similar help system for Evil. Is there? I understand that the Vim= community created their help system, and that if Emacs users want one, it = is necessary to work for it. However, I don't want to start adapting the Vi= m help system to Evil if somebody already did it. The second question is about Eclipse. When I visited their page early this = morning, there was a claim saying that Eclipse was downloaded almost 5 mill= ions of times. I wonder how many downloads Emacs have. But the question is = not this one. I use Emacs to serve dynamic html pages. It makes sense, beca= use generating dynamic pages requires text processing operations, and Emacs= is a text editor. Then I tried to compare the speed of Emacs and Eclipse. = I must have done something wrong, because Eclipse is proving to be very slo= w in my machine.=20 While Emacs start up time is considerably less than 1 second (half a second= with a lot of plugins), Eclipse is taking 15 seconds, no plugins. Besides = this, Eclipse takes almost 10 minutes to accept a game project with 20000 = lines of C. Again, flymake checks for erros almost in real time. To make a = long story short, Eclipse is proving to be so slow that it is uncomfortable= to use productively. Is this true? Is Eclipse very slow? In any case, I need to bench-mark the start up speed of Emacs. Therefore, I= created a file that worked well under normal conditions. Here it is: ;; File: kill.el (insert "Hello, world!") (save-buffer) (kill-emacs) Here is how to use it: Kostas$ time emacs test.txt -Q -nw -l kill.el real 0m0.128s user 0m0.604s sys 0m0.043s I want also the startup time of Emacsclient. Therefore I started Emacs daem= on.=20 emacs -Q --daemon However, Emacs client does not have a -l opetion. Therefore, I tried someth= ing like this: Kostas$ time emacsclient -e '(progn (find-file "ttxt.txt") (insert "Message= 1") (save-buffer))' nil real 0m0.014s user 0m0.001s sys 0m0.002s =20 My first question is whether there is a way to put the script inside a file= , instead of on the command line.