From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Hongyi Zhao Newsgroups: gmane.emacs.help Subject: Re: Tab completion doesn't work. Date: Mon, 15 May 2023 09:29:44 +0800 Message-ID: References: <87353yv4rj.fsf@web.de> <87mt26tor8.fsf@web.de> <878rdqtmlc.fsf@web.de> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="36636"; mail-complaints-to="usenet@ciao.gmane.io" Cc: help-gnu-emacs@gnu.org To: Michael Heerdegen Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Mon May 15 03:30:31 2023 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1pyN2l-0009ME-1V for geh-help-gnu-emacs@m.gmane-mx.org; Mon, 15 May 2023 03:30:31 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pyN2I-0005lk-HB; Sun, 14 May 2023 21:30:02 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pyN2G-0005lB-QY for help-gnu-emacs@gnu.org; Sun, 14 May 2023 21:30:00 -0400 Original-Received: from mail-ej1-x633.google.com ([2a00:1450:4864:20::633]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pyN2F-0000w9-84 for help-gnu-emacs@gnu.org; Sun, 14 May 2023 21:30:00 -0400 Original-Received: by mail-ej1-x633.google.com with SMTP id a640c23a62f3a-966400ee79aso1802642066b.0 for ; Sun, 14 May 2023 18:29:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1684114196; x=1686706196; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=JP1JkDf0wbKeVUpl/FYlW7hY6iFnsMHU81kxw3IK7dc=; b=Vw+UGFviccm7QIF58dSBvj3Pl8Gf4+aFYjmFI0wDbhfqPbspBvg7RqZpt/wAEyQaV4 HvDEoBo/H7zOg1jsTPSpQTpdbvgIDJMdB9R3IB49mUpfx0cFUxAJGCGVE1WjdBDVHeSj 1Smt8hDIGftxPE2yg8W16QuZBZ9bTDTaTixo/SllHaf5ypat1VW6d6Qp4SqKXQBtvAzr DH4+oN+9h5OLcQdRCS1yXD1DIcH2oZZdiRXhhi0l1QmsT7TVZR4ML29uCSNU0SpaKa33 uZOj16k9HNNEzezgYmSuxokir6Dnhlc5F//n5C753BCPKVeL6tBQU2T0p1Aem+vXzI+c wiyQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1684114196; x=1686706196; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=JP1JkDf0wbKeVUpl/FYlW7hY6iFnsMHU81kxw3IK7dc=; b=IVvWYaDQmOZGVxyyTo2c+m9GiMahfpB7dEa0pQwJu8AsOVwvmsXkACgxaPal29rmbG MsdDvh/rD6RXmwaiAw2wFRkflGWUS2qKbkZj+LWyhyBmdw32SueQCEz6iU3MJ4QgeMdM +tgE51AYZgdfc6oS/lKfED/nJIp47cTFCJHu0lYbP41Amd+BH75lq9hIgC6fe3YCHgME gjc9VPCldDrAg2nB7twAHH2sTwEnBMi97yRgtlyWEynhGoo3dfL+Wb8QJ4PTWzbpxSvz bOlFI4dI70U3VPAhIiK08vjjMmXNRBD8HF6947pE0oRKXq1FYaJU8ESju3L4X9u/hXQK v1ww== X-Gm-Message-State: AC+VfDy9v6fSAPOYDgE3xuSmdWTP0HZJTk/dPh1amiI/1rYJ350eMYIu h4cEgQzw+fivu0ogQqlXBR3XO0yuBn9ur4koXg87TPduKreS8+6S X-Google-Smtp-Source: ACHHUZ5QSgImRko59+fTawJzGF7j/1pHbvSxjkfrQPI5Bzm19PEgIpWuhiemR6z04QjbJ973qQtj4QtinJo03aq5oaE= X-Received: by 2002:a17:907:86a3:b0:96a:8e03:35b3 with SMTP id qa35-20020a17090786a300b0096a8e0335b3mr8931099ejc.63.1684114195998; Sun, 14 May 2023 18:29:55 -0700 (PDT) In-Reply-To: <878rdqtmlc.fsf@web.de> Received-SPF: pass client-ip=2a00:1450:4864:20::633; envelope-from=hongyi.zhao@gmail.com; helo=mail-ej1-x633.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.help:143604 Archived-At: On Mon, May 15, 2023 at 9:23=E2=80=AFAM Michael Heerdegen wrote: > > Hongyi Zhao writes: > > > Then in scratch buffer eval (featurep 'helm-bibtex) by C-x C-e gives ni= l. > > 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-bibte= x/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