all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / 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 08:14:45 +0800	[thread overview]
Message-ID: <CAGP6POKMqYPCivWNhtPERcRBpaQR4_kKM_x=PrL_MPD0-z0qmg@mail.gmail.com> (raw)
In-Reply-To: <87bkilnqzt.fsf@web.de>

On Tue, May 16, 2023 at 6:57 AM Michael Heerdegen
<michael_heerdegen@web.de> wrote:
>
> Hongyi Zhao <hongyi.zhao@gmail.com> writes:
>
> > I tried to start as follows, but still did not see any error reports:
> >
> > werner@X10DAi:~$ emacs --debug-init
>
> Then
>
> (1) Does the *Messages* buffer maybe contain something useful after
> startup?

See below:

;;;;;;;;;;; begin log
Loading server...done
Iedit default key binding is C-;
Loading /home/werner/.emacs.d/var/recentf-save.el (source)...done
Cleaning up the recentf list...done (0 removed)
Using default formatter emacs-lisp
For information about GNU Emacs and the GNU system, type C-h C-a.
Wrote /home/werner/.emacs.d/var/recentf-save.el
Package cl is deprecated
;;;;;;;;;;; end log

> (2) Does (require 'helm-bibtex) succeed without error?

Eval it in scratch buffer gives the following:

;;;;;;;;;;; begin log
Debugger entered--Lisp error: (wrong-number-of-arguments (3 . 4) 2)
  helm-add-action-to-source(helm-bibtex (("P"
helm-bibtex-open-pdf-external "Open PDF file in external viewer (if
present)")))
  (progn (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 (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 (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)
;;;;;;;;;;; end log


N.B.: The `(require 'helm-config)` is really not needed now, and I've
removed it from init.el, see [1] for more details.

[1] https://github.com/tmalsburg/helm-bibtex/issues/432#issuecomment-1547348865

> Michael.

Regards,
Zhao



  reply	other threads:[~2023-05-16  0:14 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 [this message]
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

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

  git send-email \
    --in-reply-to='CAGP6POKMqYPCivWNhtPERcRBpaQR4_kKM_x=PrL_MPD0-z0qmg@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.
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.