From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dmitry Gutov Newsgroups: gmane.emacs.help Subject: Re: auto-complete: dropdown display delay Date: Fri, 26 Apr 2013 22:20:54 +0400 Message-ID: <87wqrp886x.fsf@yandex.ru> References: <517aaed5$0$3158$862e30e2@ngroups.net> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1367001194 24476 80.91.229.3 (26 Apr 2013 18:33:14 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 26 Apr 2013 18:33:14 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Miguel Guedes Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Apr 26 20:33:18 2013 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 1UVnSO-00082B-Ad for geh-help-gnu-emacs@m.gmane.org; Fri, 26 Apr 2013 20:33:16 +0200 Original-Received: from localhost ([::1]:52946 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UVnSN-00032h-MQ for geh-help-gnu-emacs@m.gmane.org; Fri, 26 Apr 2013 14:33:15 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:55121) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UVnGb-0001rP-J3 for help-gnu-emacs@gnu.org; Fri, 26 Apr 2013 14:21:10 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UVnGX-0004lz-9L for help-gnu-emacs@gnu.org; Fri, 26 Apr 2013 14:21:05 -0400 Original-Received: from mail-la0-x22e.google.com ([2a00:1450:4010:c03::22e]:63616) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UVnGX-0004lo-0Q for help-gnu-emacs@gnu.org; Fri, 26 Apr 2013 14:21:01 -0400 Original-Received: by mail-la0-f46.google.com with SMTP id fs13so1187866lab.19 for ; Fri, 26 Apr 2013 11:20:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:sender:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-type:x-antivirus :x-antivirus-status; bh=RGikN8EXpraNCREWPB3/LguBbiVkwpG51BZU8AXejD8=; b=hRcGVMd2tdmf96Uem07jJOO4Uwh6WM+b+pLWSTm4ETSt2gDkRI8OaJHZKsC67icLO6 En2NXrUUD1P/r/o5mYTu2kaqLvUzmSGuqquQ5itrp1RK3Rks/lOSoS03culI4nEQ27gl cZfOeAiCu/GAWUgEljJIUo9I5UYGNr1ChplbRtm0FKF0XclGywOabd4rlQdaYH7hAyjx cC7V7MFQ9DiYgazHUyyLHTTq7zO6W4gSGvSdIVKUDEy84gbGEWUPJL4M/+TVe28E7K7x Y6Q4P8nbpV1POXGXs1azME4P8QGjfC1jfb+KnIazVeNkiK2aGVRpJrPT7tN+/HKKoNcW MGhw== X-Received: by 10.152.115.173 with SMTP id jp13mr16179531lab.49.1367000459783; Fri, 26 Apr 2013 11:20:59 -0700 (PDT) Original-Received: from SOL ([178.252.98.87]) by mx.google.com with ESMTPSA id jl5sm4974400lbc.17.2013.04.26.11.20.57 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 26 Apr 2013 11:20:58 -0700 (PDT) In-Reply-To: <517aaed5$0$3158$862e30e2@ngroups.net> (Miguel Guedes's message of "26 Apr 2013 16:44:05 GMT") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (windows-nt) X-Antivirus: avast! (VPS 130426-0, 26.04.2013), Outbound message X-Antivirus-Status: Clean X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:4010:c03::22e 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:90366 Archived-At: Hi Miguel, You might want to ask this at https://github.com/auto-complete/auto-complete/issues Miguel Guedes writes: > Does anyone know how to decrease the time it takes for auto-complete [0] > to display the dropdown menu in *every* instance? > > I've noticed the delay I've specified in `ac-delay' and `ac-auto-show- > menu' is enforced *only* in those instances that require a trigger > character/string (e.g. `:' or `->'). However those instances that require > 2 characters to be typed, the dropdown takes >3 seconds to be shown. > Doing `M-x auto-complete' results in the popup being shown immediately so > it's not like auto-complete is busy processing - the delay is being > overriden somehow. > > Would appreciate some input on this as I find it a terrific programming > tool. > > Here's how I set it up: > > (ac-config-default) > (global-auto-complete-mode t) > (setq ac-auto-show-menu 0.2) > (setq ac-delay 0.2) > (setq ac-menu-height 20) > (setq ac-auto-start t) > (setq ac-show-menu-immediately-on-auto-complete t) > > > [0] http://cx4a.org/software/auto-complete/manual.html