From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: stefan-husmann@t-online.de Newsgroups: gmane.emacs.help Subject: Re: use pdf-tools in Emacs. Date: Thu, 27 Apr 2023 13:23:03 +0200 Message-ID: <87r0s5efab.fsf@frege.mail-host-address-is-not-set> References: 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="23495"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: mu4e 1.11.3; emacs 30.0.50 To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Thu Apr 27 13:29:17 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 1przoK-0005sy-TQ for geh-help-gnu-emacs@m.gmane-mx.org; Thu, 27 Apr 2023 13:29:16 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1prznd-0006J4-Hb; Thu, 27 Apr 2023 07:28:33 -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 1prznc-0006Iv-1T for help-gnu-emacs@gnu.org; Thu, 27 Apr 2023 07:28:32 -0400 Original-Received: from mailout12.t-online.de ([194.25.134.22]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1prznY-0003gU-9G for help-gnu-emacs@gnu.org; Thu, 27 Apr 2023 07:28:30 -0400 Original-Received: from fwd74.dcpf.telekom.de (fwd74.aul.t-online.de [10.223.144.100]) by mailout12.t-online.de (Postfix) with SMTP id 969B4F432 for ; Thu, 27 Apr 2023 13:27:28 +0200 (CEST) Original-Received: from frege ([217.235.14.149]) by fwd74.t-online.de with (TLSv1.3:TLS_AES_256_GCM_SHA384 encrypted) esmtp id 1przma-1yK0rh0; Thu, 27 Apr 2023 13:27:28 +0200 In-reply-to: X-TOI-EXPURGATEID: 150726::1682594848-8656CC08-36F3F13A/0/0 CLEAN NORMAL X-TOI-MSGID: d37e662e-b57f-4e94-83d1-455f6509d16f Received-SPF: none client-ip=194.25.134.22; envelope-from=stefan-husmann@t-online.de; helo=mailout12.t-online.de X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_NONE=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:143419 Archived-At: Hongyi Zhao writes: > > In fact, I already have the following configuration in my init.el > file, but it doesn't seem to automatically compile and install > pdf-tools: > > (use-package pdf-tools > ;;https://github.com/jwiegley/use-package#magic-handlers > :magic ("%PDF" . pdf-view-mode) > :config > (pdf-tools-install :no-query) > ;; C-h o pdf-loader-install RET > ;; This function acts as a replacement for =E2=80=98pdf-tools-install= =E2=80=99 and > ;; makes Emacs load and use PDF Tools as soon as a PDF file is > ;; opened, but not sooner. > ;;(pdf-loader-install) > ) > > Regards, > Zhao Indeed this does notinstall anything. use-package is about loading, not ins= talling. Use package.el or straight.el (or any other package manager) for installing. Best Regards