From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Guido Van Hoecke Newsgroups: gmane.emacs.help Subject: Re: porting crufty old init.el to package management Date: Mon, 24 Mar 2014 21:39:11 +0100 Message-ID: References: <861txr29h7.fsf@somewhere.org> <86ob0vy9aj.fsf@somewhere.org> <86mwgfz7j4.fsf@somewhere.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: ger.gmane.org 1395693588 762 80.91.229.3 (24 Mar 2014 20:39:48 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 24 Mar 2014 20:39:48 +0000 (UTC) Cc: help-gnu-emacs To: Fabrice Niessen Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Mar 24 21:39:58 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 1WSBf4-00008K-28 for geh-help-gnu-emacs@m.gmane.org; Mon, 24 Mar 2014 21:39:58 +0100 Original-Received: from localhost ([::1]:38278 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WSBf3-000091-OD for geh-help-gnu-emacs@m.gmane.org; Mon, 24 Mar 2014 16:39:57 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:40986) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WSBeq-000076-8F for help-gnu-emacs@gnu.org; Mon, 24 Mar 2014 16:39:45 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WSBeo-0002jL-Ri for help-gnu-emacs@gnu.org; Mon, 24 Mar 2014 16:39:44 -0400 Original-Received: from mail-ve0-x22d.google.com ([2607:f8b0:400c:c01::22d]:38719) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WSBeo-0002jD-O7 for help-gnu-emacs@gnu.org; Mon, 24 Mar 2014 16:39:42 -0400 Original-Received: by mail-ve0-f173.google.com with SMTP id oy12so6408160veb.32 for ; Mon, 24 Mar 2014 13:39:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=cfkNDzARUOXEL088ZK/xCmpYT1ufOfQgDQjBQF+rHb4=; b=P16aZeXan2SUat+5/0oyZAo94D66lhsTFikVj87uwKj9yB5TRA3ydJXso8wuxe0uau /z9aUiIp6KR6YzzXZY7b/JiVJtZbiDfSlJolixFTEjF0tBEXFeNH+e6KE7NySnevEYNL n1cuJSem+pgbcSWKIvcMsX5B5jLB4iLakRdGX0YqShDWKcJdCxxpfzNFKH5xsm97z2/F /th55FOQeT92UUHjxFTou3S+5i9Ad/C4uozMjzvz8H4svAlB5+V9/u4hqqyT5ZKrzv1r ZSOFtbHl9AMBzxZo+ZCBxUskr4t2FCZi7kZejtf68uKkksUWy61oY0SCq2UbksWJ+tTa 3yxg== X-Received: by 10.52.65.132 with SMTP id x4mr1602563vds.36.1395693582128; Mon, 24 Mar 2014 13:39:42 -0700 (PDT) Original-Received: by 10.52.135.136 with HTTP; Mon, 24 Mar 2014 13:39:11 -0700 (PDT) In-Reply-To: <86mwgfz7j4.fsf@somewhere.org> X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2607:f8b0:400c:c01::22d 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:96725 Archived-At: Hi Fabrice, On 24 March 2014 21:05, Fabrice Niessen wrote: > Guido Van Hoecke wrote: >> Oops, I write 'one single down error' but meant 'one single down key', >> i.e. just hit the arrow key to descend to the next line. I don't get >> errors, it is just not workable at that speed. > > OK, I get it. > >> Using GNU Emacs 24.3.1 (x86_64-apple-darwin, NS apple-appkit-1187.37) >> of 2013-05-18 and Org-mode version 8.2.5h (release_8.2.5h-830-gb3a10b >> @ /Users/guivho/.emacs.d/org-mode/lisp/) >> >> I just do not understand why it is that slow... > > Is it because of Org mode or not? > > A couple of tests to know about this: > > - switch to text-mode, via M-x text-mode, or In text-mode cursor reaction is immediate, no delay at all. > - grab an older version of Org (there have been quite a couple of > performance problems recently, you never know). I get the same problem (well timing is not exactly he same, but same order of magnitude) with the 7.x version that came with my emacs. > If still problematic: try using `elp' or `profiler' (if under Emacs 24), > and report the performance problem either to M-x report-emacs-bug, or to > the Org ML. I will do that. In the mean time, I may use Alan Schmitt's approach (thanks Alan) to recreate my emacs environment and getting rid of old stuff hanging around in my setup files. I have to eliminate source(s) of conflict to solve an indentation problem reported on this list (discussed with Bastien in thread 'org mode alignment problem') I will keep you posted about my findings / progress. ... So here's the first posting: Found the culprit: (require 'linum) (global-linum-mode) Turning global-linum-mode off solved he problem. Response time back to normal (y) Found this using the profiler as you suggested. Threefold thanks! With kind regards, Guido.