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: Company - idle completion not working Date: Fri, 18 Apr 2014 20:29:43 +0400 Message-ID: <87bnvy4n48.fsf@yandex.ru> References: <87ppkeg4s9.fsf@gmail.com> <87r44urbf1.fsf@yandex.ru> <87fvlafwzv.fsf@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1397838616 23702 80.91.229.3 (18 Apr 2014 16:30:16 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 18 Apr 2014 16:30:16 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Thorsten Jolitz Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Apr 18 18:30:10 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 1WbBg2-0001Ot-45 for geh-help-gnu-emacs@m.gmane.org; Fri, 18 Apr 2014 18:30:10 +0200 Original-Received: from localhost ([::1]:38941 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WbBg1-0002ku-Mp for geh-help-gnu-emacs@m.gmane.org; Fri, 18 Apr 2014 12:30:09 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:41197) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WbBfm-0002iG-0m for help-gnu-emacs@gnu.org; Fri, 18 Apr 2014 12:29:59 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WbBfe-0001E6-Pj for help-gnu-emacs@gnu.org; Fri, 18 Apr 2014 12:29:53 -0400 Original-Received: from mail-lb0-x231.google.com ([2a00:1450:4010:c04::231]:35947) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WbBfe-0001Dt-HW for help-gnu-emacs@gnu.org; Fri, 18 Apr 2014 12:29:46 -0400 Original-Received: by mail-lb0-f177.google.com with SMTP id z11so1473147lbi.22 for ; Fri, 18 Apr 2014 09:29:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:cc:subject:in-reply-to:references:user-agent:date :message-id:mime-version:content-type; bh=V6dUEETGgc6Ydt4f+NyUZdek5V/ut6aNz2P5FuKBd40=; b=U0K232s4NTC6APuQH5/HdPbNWDN7WINFPDS24RSJd30kOqIObCwkF6Sji341EWkU6R 66bBXumD3XqjUTi6NdKuwfJj++GchyuEEHlIVEQe3NBdGETrBcFcKpU6VCeBw/kiiXRq eRMyAiWU7jW4V2LLf80sw7MACWlX7wKdb7r8Ss6Y44LI4XAV3o7iBpiAaoATIdT8N8II BxWYxwlLqf2pdN7iF4UT0QtQKyuV94s4ZGoUCto7MttbNt++fqGcz45CF6Ttewn13nih cVRAv3D8IByhUqPh3ceU6b2aOax5CzIyj5cG4hpF69ytDZB0EODGf/6xTe9XxUxeDE7K zwjA== X-Received: by 10.112.134.230 with SMTP id pn6mr2336576lbb.37.1397838585336; Fri, 18 Apr 2014 09:29:45 -0700 (PDT) Original-Received: from axl ([178.252.98.87]) by mx.google.com with ESMTPSA id u4sm28595067laj.2.2014.04.18.09.29.44 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Fri, 18 Apr 2014 09:29:44 -0700 (PDT) In-Reply-To: <87fvlafwzv.fsf@gmail.com> (Thorsten Jolitz's message of "Fri, 18 Apr 2014 18:00:52 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:4010:c04::231 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:97204 Archived-At: Thorsten Jolitz writes: >>> | (when (try-require 'company) >>> | (add-hook 'after-init-hook 'global-company-mode) >>> | (setq company-begin-commands '(self-insert-command)) >> >> If you're typing the text you mentioned in an org-mode buffer, the above >> line is likely the problem. >> >> See https://github.com/company-mode/company-mode/issues/91, for example. > > The funny thing is that it actually works in Org-mode but not in That sounds implausible: the reverse was true for the reporter of the bug linked above, org-mode rebinds `self-insert-command' to `org-self-insert-command', `company-begin-commands' is consulted when deciding whether to initiate idle completion. > emacs-lisp-mode or the scratch buffer. Works for me. Please file a proper bug report, with a recipe starting with `emacs -Q'.