unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Hongyi Zhao <hongyi.zhao@gmail.com>
To: Michael Heerdegen <michael_heerdegen@web.de>
Cc: help-gnu-emacs@gnu.org
Subject: Re: Tab completion doesn't work.
Date: Tue, 16 May 2023 11:53:02 +0800	[thread overview]
Message-ID: <CAGP6POLFAvU+Ke04fr7Di1iweyK930x8B4RCk5r9r3qjWEDfUA@mail.gmail.com> (raw)
In-Reply-To: <CAGP6PO+8M9-mNzVjeLHEXBoYv3LvBTz0d6SU7-HCoW6wf3pejw@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 1678 bytes --]

On Tue, May 16, 2023 at 11:44 AM Hongyi Zhao <hongyi.zhao@gmail.com> wrote:
>
> On Tue, May 16, 2023 at 11:21 AM Michael Heerdegen
> <michael_heerdegen@web.de> wrote:
> >
> > Hongyi Zhao <hongyi.zhao@gmail.com> writes:
> >
> > > But I don't know how to pinpoint the culprit.
> >
> > Unless I'm missing something, we found the problematic lines in your
> > config and you just have to specify the Helm source you want to add the
> > action to in the problematic expression I cited.
>
> Yes. It solved the problem discussed here with the following configuration:
>
> ;;;;;;;;;;;;;;;;;;; begin config
> ;; https://github.com/emacs-helm/helm/wiki#if-installed-from-source
> ;; First issue the following command
> /home/werner/.emacs.d/straight/repos/helm$ make
> (use-package helm :config (require 'helm-autoloads))
>
> (use-package helm-bibtex
>   :init
>   (setq
>    bibtex-completion-pdf-field "File"
>    ;;https://github.com/tmalsburg/helm-bibtex#insert-latex-cite-commands
>    bibtex-completion-cite-prompt-for-optional-arguments nil)
>
>   :bind-keymap
>   ("<menu>" . helm-command-prefix)
>   :bind
>   (
>    :map helm-command-map
>    ("b" . helm-bibtex)
>    ("B" . helm-bibtex-with-local-bibliography)
>    ("n" . helm-bibtex-with-notes)
>    ("<menu>" . helm-resume)
>    )
>   )
> ;;;;;;;;;;;;;;;;;;; end config
>
> See the attached screenshot for the completion results, which include
> `bibtex-completion-cite-commands`.

And this also fixed the Tab completion problem discussed in this
thread, aka, `bib <Tab>` will give the desired completion, as shown in
the screenshot.

> > Michael.
>
> Regards,
> Zhao

[-- Attachment #2: image.png --]
[-- Type: image/png, Size: 33379 bytes --]

  reply	other threads:[~2023-05-16  3:53 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-05-14 14:28 Tab completion doesn't work Hongyi Zhao
2023-05-15  0:04 ` Michael Heerdegen
2023-05-15  0:27   ` Hongyi Zhao
2023-05-15  0:35     ` Michael Heerdegen
2023-05-15  0:46       ` Hongyi Zhao
2023-05-15  1:22         ` Michael Heerdegen
2023-05-15  1:29           ` Hongyi Zhao
2023-05-15  1:58             ` Michael Heerdegen
2023-05-15  3:24               ` Hongyi Zhao
2023-05-15  3:36                 ` Michael Heerdegen
2023-05-15  3:58                   ` Hongyi Zhao
2023-05-15  4:20                     ` Michael Heerdegen
2023-05-15  4:48                       ` Hongyi Zhao
2023-05-15  5:35                         ` Michael Heerdegen
2023-05-15  6:21                           ` Hongyi Zhao
2023-05-15 22:56                             ` Michael Heerdegen
2023-05-16  0:14                               ` Hongyi Zhao
2023-05-16  1:31                                 ` Michael Heerdegen
2023-05-16  1:50                                   ` Hongyi Zhao
2023-05-16  2:11                                     ` Michael Heerdegen
2023-05-16  2:55                                       ` Hongyi Zhao
2023-05-16  3:21                                         ` Michael Heerdegen
2023-05-16  3:44                                           ` Hongyi Zhao
2023-05-16  3:53                                             ` Hongyi Zhao [this message]
2023-05-16  4:24                                               ` Michael Heerdegen
2023-05-16  6:18                                                 ` Hongyi Zhao
2023-05-16 20:01                                                   ` Michael Heerdegen

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=CAGP6POLFAvU+Ke04fr7Di1iweyK930x8B4RCk5r9r3qjWEDfUA@mail.gmail.com \
    --to=hongyi.zhao@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    --cc=michael_heerdegen@web.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.
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).