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: Mon, 15 May 2023 09:29:44 +0800	[thread overview]
Message-ID: <CAGP6POJE3J_jaR=0c4nRnUqcAKFc53PHx81H3-QD+rP=8gbP8w@mail.gmail.com> (raw)
In-Reply-To: <878rdqtmlc.fsf@web.de>

On Mon, May 15, 2023 at 9:23 AM Michael Heerdegen
<michael_heerdegen@web.de> wrote:
>
> Hongyi Zhao <hongyi.zhao@gmail.com> writes:
>
> > Then in scratch buffer eval (featurep 'helm-bibtex) by C-x C-e gives nil.
>
> Then the package is not loaded, your init file does not load it.  And the
> variable is not known to Emacs.  Maybe there is an error on startup?

Then, I try to eval `(require 'helm-bibtex)` in scratch buffer and the
following error will be triggered:

Debugger entered--Lisp error: (file-missing "Cannot open load file"
"No such file or directory" "helm-config")
  require(helm-config)
  (progn (require 'helm-config) (defalias
'bibtex-completion-open-pdf-external #'(lambda (keys &optional
fallback-action) (let ((bibtex-completion-pdf-open-function #'...))
(bibtex-completion-open-pdf keys fallback-action))))
(helm-bibtex-helmify-action bibtex-completion-open-pdf-external
helm-bibtex-open-pdf-external) (helm-add-action-to-source 'helm-bibtex
'(("P" helm-bibtex-open-pdf-external "Open PDF file in external viewer
(if present)"))) (setq bibtex-completion-browser-function #'(lambda
(url _) (start-process "firefox" "*firefox*" "firefox" url))) t)
  (condition-case err (progn (require 'helm-config) (defalias
'bibtex-completion-open-pdf-external #'(lambda (keys &optional
fallback-action) (let ((bibtex-completion-pdf-open-function ...))
(bibtex-completion-open-pdf keys fallback-action))))
(helm-bibtex-helmify-action bibtex-completion-open-pdf-external
helm-bibtex-open-pdf-external) (helm-add-action-to-source 'helm-bibtex
'(("P" helm-bibtex-open-pdf-external "Open PDF file in external viewer
(if present)"))) (setq bibtex-completion-browser-function #'(lambda
(url _) (start-process "firefox" "*firefox*" "firefox" url))) t)
((debug error) (funcall use-package--warning56 :config err)))
  (lambda nil (condition-case err (progn (require 'helm-config)
(defalias 'bibtex-completion-open-pdf-external #'(lambda (keys
&optional fallback-action) (let (...) (bibtex-completion-open-pdf keys
fallback-action)))) (helm-bibtex-helmify-action
bibtex-completion-open-pdf-external helm-bibtex-open-pdf-external)
(helm-add-action-to-source 'helm-bibtex '(("P"
helm-bibtex-open-pdf-external "Open PDF file in external viewer (if
present)"))) (setq bibtex-completion-browser-function #'(lambda (url
_) (start-process "firefox" "*firefox*" "firefox" url))) t) ((debug
error) (funcall use-package--warning56 :config err))))()
  eval-after-load-helper("/home/werner/.emacs.d/straight/build/helm-bibtex/h...")
  run-hook-with-args(eval-after-load-helper
"/home/werner/.emacs.d/straight/build/helm-bibtex/h...")
  do-after-load-evaluation("/home/werner/.emacs.d/straight/build/helm-bibtex/h...")
  require(helm-bibtex)
  (progn (require 'helm-bibtex))
  eval((progn (require 'helm-bibtex)) t)
  elisp--eval-last-sexp(nil)
  eval-last-sexp(nil)
  funcall-interactively(eval-last-sexp nil)
  call-interactively(eval-last-sexp nil nil)
  command-execute(eval-last-sexp)


How to fix it?

Regards,
Zhao



  reply	other threads:[~2023-05-15  1:29 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 [this message]
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
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='CAGP6POJE3J_jaR=0c4nRnUqcAKFc53PHx81H3-QD+rP=8gbP8w@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).