From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail4-relais-sop.national.inria.fr (mail4-relais-sop.national.inria.fr [192.134.164.105]) by walapai.inria.fr (8.13.6/8.13.6) with ESMTP id q491alEj027120 for ; Wed, 9 May 2012 03:36:48 +0200 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AoYCANLIqU+GoCGimWdsb2JhbABEgx6CValvg3sBAQEBAQgLCwcUJ4IMAQEFIw8BBUARCxgCAgUWCwICCQMCAQIBRRMIAQGICqgHkwmBL4lUgmyCDoEYBIhijRyFdo1E X-IronPort-AV: E=Sophos;i="4.75,554,1330902000"; d="scan'208";a="143041174" Received: from postman2.riken.jp (HELO postman.riken.jp) ([134.160.33.162]) by mail4-smtp-sop.national.inria.fr with ESMTP; 09 May 2012 03:36:41 +0200 Received: from postman.riken.jp (postman2.riken.jp [127.0.0.1]) by postman.riken.jp (Postfix) with SMTP id 7F9ED1260278 for ; Wed, 9 May 2012 10:36:38 +0900 (JST) Received: from [172.27.98.103] (rikad98.riken.jp [134.160.214.98]) by postman.riken.jp (Postfix) with ESMTPA id 61286900001 for ; Wed, 9 May 2012 10:36:38 +0900 (JST) Message-ID: <4FA9CA26.5030803@riken.jp> Date: Wed, 09 May 2012 10:36:38 +0900 From: Francois Berenger User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:12.0) Gecko/20120430 Thunderbird/12.0.1 MIME-Version: 1.0 To: caml-list@inria.fr References: <0E9E732C958C4E9A860FEA1B02497060@erratique.ch> In-Reply-To: <0E9E732C958C4E9A860FEA1B02497060@erratique.ch> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-PMX-Version: 5.6.0.2009776, Antispam-Engine: 2.7.2.376379, Antispam-Data: 2012.5.9.10025 Subject: Re: [Caml-list] lag when using typerex On 05/08/2012 08:10 PM, Daniel Bünzli wrote: >> Is it just me or is there a significant lag when using TypeRex in Emacs? >> >> This is particularly noticeable when deleting by using the backspace key. > > Here, the lag was due to auto complete mode. Don't invoke it automatically. That's what I have : I don't have autocomplete turned on and also noticed some lag. For me it is when I reverse delete a word (M-backspace). > (add-to-list 'load-path "/Users/dbuenzli/.emacs.d/auto-complete-mode") > (require 'auto-complete-config) > (add-to-list 'ac-dictionary-directories > "/Users/dbuenzli/.emacs.d/auto-complete-mode/ac-dict") > (ac-config-default) > (global-set-key (kbd "S-") 'auto-complete) > (setq ac-auto-start nil) > ;;;; I want immediate menu pop-up > ;;(setq ac-auto-show-menu 0.) > ;;;; Short delay before showing help > ;;(setq ac-quick-help-delay 0.3) > ;;;; Number of characters required to start (nil to disable) > ;;(setq ac-auto-start 0) > > > > Best, > > Daniel >