From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: "numbchild@gmail.com" Newsgroups: gmane.emacs.devel Subject: Imenu has errors when work in sh-mode Date: Mon, 3 Oct 2016 17:11:02 +0800 Message-ID: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a11443fcc809723053df254c8 X-Trace: blaine.gmane.org 1475488614 13981 195.159.176.226 (3 Oct 2016 09:56:54 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 3 Oct 2016 09:56:54 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Oct 03 11:56:50 2016 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bqzz2-0000Vf-MV for ged-emacs-devel@m.gmane.org; Mon, 03 Oct 2016 11:56:28 +0200 Original-Received: from localhost ([::1]:35661 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bqzz1-0006VK-CE for ged-emacs-devel@m.gmane.org; Mon, 03 Oct 2016 05:56:27 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:33673) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bqzHc-0000gP-KD for emacs-devel@gnu.org; Mon, 03 Oct 2016 05:11:37 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bqzHa-0007fg-Bb for emacs-devel@gnu.org; Mon, 03 Oct 2016 05:11:35 -0400 Original-Received: from mail-wm0-x234.google.com ([2a00:1450:400c:c09::234]:37235) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bqzHa-0007eu-2J for emacs-devel@gnu.org; Mon, 03 Oct 2016 05:11:34 -0400 Original-Received: by mail-wm0-x234.google.com with SMTP id b201so68082316wmb.0 for ; Mon, 03 Oct 2016 02:11:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to; bh=xg3gdwZq4x1P21qKfsiBc9rqOsrHLJq0u7q36tOHXyo=; b=Wl4b3Yn6KvD9jyudJN6IBq8BnHxaXELqVQOGrwnrMDM9UCYPF7ARuDHYmipP6nToYd n7sr84uBFmmrL3RdNeF+s2YQYN9vHnHrOYGdw42iWXTBAFBy1ilCbKYFhazMXHmwlZCR SpwYAf8PW4akT4H6TEiBcW+gWho5AqehC2bXz4z5/zmDSPS247k6mgClvDNBOnoNIfJp BNO6Fi3efKqSZ4OvnS3CMiF85gXrQVg7QxqVnmj0UVN3bX5cZ+bI4YgLpIYtpHXb58hU EnpcxHuxiiLOcWhTZUCVgGYuIjLS89pc/PpMRYXxCtTmYHqM1WM6juWwry+xB9thVPj3 Agxg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=xg3gdwZq4x1P21qKfsiBc9rqOsrHLJq0u7q36tOHXyo=; b=E1L1L2YAM7VA0XI+KEpoLpEaTseqhD2SggV4aVEfject9ZiNlw0b8Z7AAyhdTFhAXC Svqm38o6gubZahAQdYg9TVfL3XJ0vVnW9182GRUadRnWJZbYjTmC6w9+T51puVfcq20H GBnEaSXBtIZ1EpLDTnw0o6OZVU4FURlFhzYUv7XDygwYNrRrz22A8dsnGWp8vIrZZT1o G5LFQpfFj60JxphHB2r/2HRBWT3zt37e4zz7mitShdvgTDWnQ843bIRzgu7QsYQJT6hv LIjakf7cCd2A0fa8fEQXw88MHi1ga9lKPOcLTwaAg6iiSIOCitbE+n01XzpMb54nD7Ea vXRg== X-Gm-Message-State: AA6/9RmelnZe15g9mw+5GcQvGB8xWkqMt4TyuwUEQUzzhNMOrTmle25IoSjrF/BcOVz/QxZDx+/yv2xE6OMUrg== X-Received: by 10.28.139.19 with SMTP id n19mr8063134wmd.71.1475485892644; Mon, 03 Oct 2016 02:11:32 -0700 (PDT) Original-Received: by 10.194.87.136 with HTTP; Mon, 3 Oct 2016 02:11:02 -0700 (PDT) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2a00:1450:400c:c09::234 X-Mailman-Approved-At: Mon, 03 Oct 2016 05:54:01 -0400 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:207953 Archived-At: --001a11443fcc809723053df254c8 Content-Type: text/plain; charset=UTF-8 Here are the steps to reproduce this issue: 1. emacs -q 2. [M-x package-initialize] 3. [C-x C-f] to an file.sh 4. [M-x sh-mode] to enable sh-mode. 5. [M-: (require 'imenu)] to load imenu. (I don't explicitly load Imenu in my init files. but some packages load it automatically) 6. [M-x company-mode] to enable company-mode 7. in buffer, type fun, then got error: ``` imenu unavailable: "No items suitable for an index found in this buffer"" with args (candidates function) ``` Here is an discussion on GitHub: https://github.com/company-mode/company-mode/issues/386 [stardiviner] GPG key ID: 47C32433 IRC(freeenode): stardiviner Twitter: @numbchild Key fingerprint = 9BAA 92BC CDDD B9EF 3B36 CB99 B8C4 B8E5 47C3 2433 Blog: http://stardiviner.github.io/ --001a11443fcc809723053df254c8 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
= Here are the steps to reproduce thi= s issue:

1. emacs -q
2. [M-x package-initialize]
3. [C-x C-f] to an file.sh
4. [M-x sh-mode] to enable sh-mode.
5. [M-: (require 'imenu)] to load imenu. (I don't explicitly loa= d Imenu in my init files. but some packages load it automatically)
6.= [M-x company-mode] to enable company-mode
7. in buffer, type fun, th= en got error:

```
imenu unavailable: "No items = suitable for an index found in this buffer"" with args (candidate= s function)
```

Here is an discussion on GitHub:=C2=A0https://github.com/compa= ny-mode/company-mode/issues/386


[stardiv= iner]=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 <Hack = this world!>=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 GPG key ID: 47C32433
IRC(f= reeenode): stardiviner =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 Twitter:=C2= =A0 @numbchild
Key fingerprint =3D 9BAA 92BC CDDD B9EF 3B36=C2=A0 CB99 B= 8C4 B8E5 47C3 2433
Blog: http://stardiviner.github.io/
<= /div>
--001a11443fcc809723053df254c8--