From: Dmitry Gutov <dgutov@yandex.ru>
To: Andreas Politz <politza@hochschule-trier.de>, 24238@debbugs.gnu.org
Subject: bug#24238: 25.1.50; error in capf in sh-script if imenu-index is empty
Date: Sun, 16 Oct 2016 12:02:15 +0300 [thread overview]
Message-ID: <19face13-5be6-2171-eb8e-7e23fb1c318b@yandex.ru> (raw)
In-Reply-To: <87k2fhuc7v.fsf@hochschule-trier.de>
On 15.08.2016 21:19, Andreas Politz wrote:
>
> The completion function sh--cmd-completion-table in sh-script.el may use
> imenu--make-index-alist to create a list of candidates. But this
> function signals the error imenu-unavailable, if the index is empty.
> This is a commonly the case, e.g. if the scripts is new.
>
> Solution: Catch the error condition.
Looks good to me. Do you have commit access?
next prev parent reply other threads:[~2016-10-16 9:02 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-08-15 18:19 bug#24238: 25.1.50; error in capf in sh-script if imenu-index is empty Andreas Politz
2016-10-16 9:02 ` Dmitry Gutov [this message]
2016-10-16 11:29 ` Andreas Politz
2016-10-16 13:57 ` 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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=19face13-5be6-2171-eb8e-7e23fb1c318b@yandex.ru \
--to=dgutov@yandex.ru \
--cc=24238@debbugs.gnu.org \
--cc=politza@hochschule-trier.de \
/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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.