From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Tassilo Horn Newsgroups: gmane.emacs.help Subject: Re: use pdf-tools in Emacs. Date: Thu, 27 Apr 2023 17:02:07 +0200 Message-ID: <87edo5bc61.fsf@gnu.org> References: <87r0s5efab.fsf@frege.mail-host-address-is-not-set> 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="6364"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: mu4e 1.11.3; emacs 30.0.50 Cc: help-gnu-emacs@gnu.org To: stefan-husmann@t-online.de Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Thu Apr 27 17:03:57 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 1ps3A4-0001Np-Qb for geh-help-gnu-emacs@m.gmane-mx.org; Thu, 27 Apr 2023 17:03:56 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ps39J-0004uL-Lb; Thu, 27 Apr 2023 11:03:09 -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 1ps39G-0004tt-Lp for help-gnu-emacs@gnu.org; Thu, 27 Apr 2023 11:03:06 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ps39G-0002z3-9h; Thu, 27 Apr 2023 11:03:06 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:In-reply-to:Date:Subject:To:From: References; bh=JXFmLrxPdLZ3deDcaPPlMFJtNVpyVKRHRjoJnGm8go8=; b=YwDyZP28T4VLIo ZMo/0XBq8ReW+MjofUfZUlxn2/AviMfh3mDqHeSqF+gm2Jc8pfct+S8LVDYE83RT3fKSfQCr6uJsl Ys+irhdhcsBEufXdq5NDCM1uxcQCvOirh8MA6A+YyRVLTU3EHI6hUETYvkuTAZcmTJ8BV6MgDUqdD 5MsN6s5foKFOMBuV4xLBtOrZ5Ps3C66HoYzKRm5HxbX7F2TVTt8t6ivIsykqOp7RAfOF0J5udVd79 md7WBSWkzAKTDABXA+U2aSI3Sqk3LxmQlO/EbKMLRF6Ucg4j5ZYBOq2aHh6DreTpohOdqEdLVuvSm OIEogTTeU2LMcIsKOhFA==; Original-Received: from auth2-smtp.messagingengine.com ([66.111.4.228]) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ps39G-0002gO-2R; Thu, 27 Apr 2023 11:03:06 -0400 Original-Received: from compute2.internal (compute2.nyi.internal [10.202.2.46]) by mailauth.nyi.internal (Postfix) with ESMTP id 74B2727C0054; Thu, 27 Apr 2023 11:03:05 -0400 (EDT) Original-Received: from mailfrontend1 ([10.202.2.162]) by compute2.internal (MEProxy); Thu, 27 Apr 2023 11:03:05 -0400 X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrfeduiedgkeegucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpehffgfhvfevufffjgfkgggtgfesth hqredttderjeenucfhrhhomhepvfgrshhsihhlohcujfhorhhnuceothhsughhsehgnhhu rdhorhhgqeenucggtffrrghtthgvrhhnpeehtdehieeuledvhfevfeevjeeljedvgeegfe duueevvddufffgteeikeevjeekgfenucffohhmrghinhepghhithhhuhgsrdgtohhmnecu vehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepthhhohhrnh domhgvshhmthhprghuthhhphgvrhhsohhnrghlihhthidqkeeijeefkeejkeegqdeifeeh vdelkedqthhsughhpeepghhnuhdrohhrghesfhgrshhtmhgrihhlrdhfmh X-ME-Proxy: Feedback-ID: ib2b94485:Fastmail Original-Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 27 Apr 2023 11:03:04 -0400 (EDT) In-reply-to: <87r0s5efab.fsf@frege.mail-host-address-is-not-set> 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:143422 Archived-At: stefan-husmann@t-online.de 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) >> ) >> > > Indeed this does notinstall anything. use-package is about loading, > not installing. Use package.el or straight.el (or any other package > manager) for installing. Well, you can add a :ensure t clause to the use-package recipe and it will tell package.el to install the package. Bye, Tassilo