unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Lars Ingebrigtsen <larsi@gnus.org>
To: Ali AlipourR <alipoor90@gmail.com>
Cc: 25272@debbugs.gnu.org, Dmitry Gutov <dgutov@yandex.ru>
Subject: bug#25272: problem with imenu and company-mode
Date: Mon, 30 Nov 2020 12:30:15 +0100	[thread overview]
Message-ID: <87360raxq0.fsf@gnus.org> (raw)
In-Reply-To: <CABvhJLi47Zpb0PMdLN-QiVK_c9HsM2rtJtUokUL-+2G2jXaRWg@mail.gmail.com> (Ali AlipourR's message of "Mon, 26 Dec 2016 06:10:07 +0330")

Ali AlipourR <alipoor90@gmail.com> writes:

> Hi
> I'm not sure this is really a "problem" with imenu, but here are the details: 
> https://github.com/company-mode/company-mode/issues/624
>
> Thanks

(This bug report unfortunately got no response at the time.)

The relevant bits from that bug report seems to be:

---

 1 open this file  
 2 M-x sh-mode (this should recognize the shebang line and take you to  
  shell-script[bash] mode)  
 3 M-x company-mode  
   
 and it should give you suggestions, define a new long name function/variable  
 and ...  
   
 Thanks  
@dgutov 
SVG Image Copy link 
Member 

@dgutov 
dgutov commented Dec 25, 2016 

 Thanks. I though I was doing exactly that, but apparently not. I can reproduce  
 this now.  
   
 It's a problem in Emacs (which was apparent from the outset, since the backend  
 is company-capf), and it goes like this: the completion function takes the  
 generated IMenu index to get the list of functions.  
   
 IMenu, however, uses imenu-max-item-length to truncate the lengths of its items.  
   
 So please M-x report-emacs-bug so we can get this fixed, one way or another. In  
 the meantime, you can customize imenu-max-item-length to some larger value  
 as a workaround.  
SVG Image
@dgutov 
dgutov added the third party issue label Dec 25, 2016 
SVG Image
@SudoerReodus 
SudoerReodus closed this Dec 26, 2016 
@dgutov 
SVG Image Copy link 
Member 

@dgutov 
dgutov commented Dec 26, 2016 

 To be clear, it's a bug in sh-mode, not in IMenu.  

---

It's not really that clear what the issue is -- at least not to me.  :-)
Dmitry?

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





  reply	other threads:[~2020-11-30 11:30 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-12-26  2:40 bug#25272: problem with imenu and company-mode Ali AlipourR
2020-11-30 11:30 ` Lars Ingebrigtsen [this message]
2020-12-01  0:50   ` Dmitry Gutov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87360raxq0.fsf@gnus.org \
    --to=larsi@gnus.org \
    --cc=25272@debbugs.gnu.org \
    --cc=alipoor90@gmail.com \
    --cc=dgutov@yandex.ru \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).