From c92818d4830b807a4ec33ba41016ccd698cd37b8 Mon Sep 17 00:00:00 2001 From: Andreas Gerler Date: Sat, 21 Dec 2024 17:49:23 +0100 Subject: [PATCH] update pdf-tools Signed-off-by: Andreas Gerler --- elpa/pdf-tools-20230611.239/pdf-tools-pkg.el | 16 - .../README | 0 .../build/Makefile | 0 .../build/server/.gitignore | 0 .../build/server/Makefile.am | 0 .../build/server/autobuild | 15 +- .../build/server/autogen.sh | 0 .../build/server/configure.ac | 0 .../build/server/epdfinfo.c | 0 .../build/server/epdfinfo.h | 0 .../build/server/poppler-versions | 0 .../build/server/synctex_parser.c | 0 .../build/server/synctex_parser.h | 0 .../build/server/synctex_parser_advanced.h | 0 .../build/server/synctex_parser_local.h | 0 .../build/server/synctex_parser_readme.txt | 0 .../build/server/synctex_parser_utils.c | 0 .../build/server/synctex_parser_utils.h | 0 .../build/server/synctex_parser_version.txt | 0 .../build/server/synctex_version.h | 0 .../build/server/test/.gitignore | 0 .../build/server/test/docker/.gitignore | 0 .../build/server/test/docker/lib/run-tests | 0 .../build/server/test/docker/lib/yes-or-enter | 0 .../docker/templates/Dockerfile.common.in | 0 .../templates/arch.Dockerfile.in.FAILING | 0 .../templates/centos.Dockerfile.in.FAILING | 0 .../docker/templates/debian-10.Dockerfile.in | 0 .../docker/templates/debian-11.Dockerfile.in | 0 .../docker/templates/debian-9.Dockerfile.in | 0 .../docker/templates/emacs-26.Dockerfile.in | 0 .../docker/templates/emacs-27.Dockerfile.in | 0 .../docker/templates/emacs-28.Dockerfile.in | 0 .../docker/templates/emacs-29.Dockerfile.in | 0 .../docker/templates/fedora-34.Dockerfile.in | 0 .../docker/templates/fedora-35.Dockerfile.in | 0 .../docker/templates/fedora-36.Dockerfile.in | 0 .../templates/freebsd.Dockerfile.in.FAILING | 0 .../templates/gentoo.Dockerfile.in.FAILING | 0 .../templates/macos.Dockerfile.in.FAILING | 0 .../templates/msys2.Dockerfile.in.FAILING | 0 .../templates/nixos.Dockerfile.in.FAILING | 0 .../templates/openbsd.Dockerfile.in.FAILING | 0 .../templates/opensuse.Dockerfile.in.FAILING | 0 .../docker/templates/ubuntu-18.Dockerfile.in | 0 .../docker/templates/ubuntu-20.Dockerfile.in | 0 .../docker/templates/ubuntu-22.Dockerfile.in | 0 .../templates/void.Dockerfile.in.FAILING | 0 .../pdf-annot.el | 18 +- .../pdf-cache.el | 0 .../pdf-dev.el | 0 .../pdf-history.el | 0 .../pdf-info.el | 0 .../pdf-isearch.el | 0 .../pdf-links.el | 0 .../pdf-loader.el | 2 +- .../pdf-macs.el | 0 .../pdf-misc.el | 0 .../pdf-occur.el | 0 .../pdf-outline.el | 14 +- .../pdf-sync.el | 0 .../pdf-tools-autoloads.el | 469 ++++++++---------- elpa/pdf-tools-20240429.407/pdf-tools-pkg.el | 12 + .../pdf-tools.el | 9 +- .../pdf-util.el | 20 +- .../pdf-view.el | 29 +- .../pdf-virtual.el | 0 67 files changed, 279 insertions(+), 325 deletions(-) delete mode 100644 elpa/pdf-tools-20230611.239/pdf-tools-pkg.el rename elpa/{pdf-tools-20230611.239 => pdf-tools-20240429.407}/README (100%) rename elpa/{pdf-tools-20230611.239 => pdf-tools-20240429.407}/build/Makefile (100%) rename elpa/{pdf-tools-20230611.239 => pdf-tools-20240429.407}/build/server/.gitignore (100%) rename elpa/{pdf-tools-20230611.239 => pdf-tools-20240429.407}/build/server/Makefile.am (100%) rename elpa/{pdf-tools-20230611.239 => pdf-tools-20240429.407}/build/server/autobuild (96%) rename elpa/{pdf-tools-20230611.239 => pdf-tools-20240429.407}/build/server/autogen.sh (100%) rename elpa/{pdf-tools-20230611.239 => pdf-tools-20240429.407}/build/server/configure.ac (100%) rename elpa/{pdf-tools-20230611.239 => pdf-tools-20240429.407}/build/server/epdfinfo.c (100%) rename elpa/{pdf-tools-20230611.239 => pdf-tools-20240429.407}/build/server/epdfinfo.h (100%) rename elpa/{pdf-tools-20230611.239 => pdf-tools-20240429.407}/build/server/poppler-versions (100%) rename elpa/{pdf-tools-20230611.239 => pdf-tools-20240429.407}/build/server/synctex_parser.c (100%) rename elpa/{pdf-tools-20230611.239 => pdf-tools-20240429.407}/build/server/synctex_parser.h (100%) rename elpa/{pdf-tools-20230611.239 => pdf-tools-20240429.407}/build/server/synctex_parser_advanced.h (100%) rename elpa/{pdf-tools-20230611.239 => pdf-tools-20240429.407}/build/server/synctex_parser_local.h (100%) rename elpa/{pdf-tools-20230611.239 => pdf-tools-20240429.407}/build/server/synctex_parser_readme.txt (100%) rename elpa/{pdf-tools-20230611.239 => pdf-tools-20240429.407}/build/server/synctex_parser_utils.c (100%) rename elpa/{pdf-tools-20230611.239 => pdf-tools-20240429.407}/build/server/synctex_parser_utils.h (100%) rename elpa/{pdf-tools-20230611.239 => pdf-tools-20240429.407}/build/server/synctex_parser_version.txt (100%) rename elpa/{pdf-tools-20230611.239 => pdf-tools-20240429.407}/build/server/synctex_version.h (100%) rename elpa/{pdf-tools-20230611.239 => pdf-tools-20240429.407}/build/server/test/.gitignore (100%) rename elpa/{pdf-tools-20230611.239 => pdf-tools-20240429.407}/build/server/test/docker/.gitignore (100%) rename elpa/{pdf-tools-20230611.239 => pdf-tools-20240429.407}/build/server/test/docker/lib/run-tests (100%) rename elpa/{pdf-tools-20230611.239 => pdf-tools-20240429.407}/build/server/test/docker/lib/yes-or-enter (100%) rename elpa/{pdf-tools-20230611.239 => pdf-tools-20240429.407}/build/server/test/docker/templates/Dockerfile.common.in (100%) rename elpa/{pdf-tools-20230611.239 => pdf-tools-20240429.407}/build/server/test/docker/templates/arch.Dockerfile.in.FAILING (100%) rename elpa/{pdf-tools-20230611.239 => pdf-tools-20240429.407}/build/server/test/docker/templates/centos.Dockerfile.in.FAILING (100%) rename elpa/{pdf-tools-20230611.239 => pdf-tools-20240429.407}/build/server/test/docker/templates/debian-10.Dockerfile.in (100%) rename elpa/{pdf-tools-20230611.239 => pdf-tools-20240429.407}/build/server/test/docker/templates/debian-11.Dockerfile.in (100%) rename elpa/{pdf-tools-20230611.239 => pdf-tools-20240429.407}/build/server/test/docker/templates/debian-9.Dockerfile.in (100%) rename elpa/{pdf-tools-20230611.239 => pdf-tools-20240429.407}/build/server/test/docker/templates/emacs-26.Dockerfile.in (100%) rename elpa/{pdf-tools-20230611.239 => pdf-tools-20240429.407}/build/server/test/docker/templates/emacs-27.Dockerfile.in (100%) rename elpa/{pdf-tools-20230611.239 => pdf-tools-20240429.407}/build/server/test/docker/templates/emacs-28.Dockerfile.in (100%) rename elpa/{pdf-tools-20230611.239 => pdf-tools-20240429.407}/build/server/test/docker/templates/emacs-29.Dockerfile.in (100%) rename elpa/{pdf-tools-20230611.239 => pdf-tools-20240429.407}/build/server/test/docker/templates/fedora-34.Dockerfile.in (100%) rename elpa/{pdf-tools-20230611.239 => pdf-tools-20240429.407}/build/server/test/docker/templates/fedora-35.Dockerfile.in (100%) rename elpa/{pdf-tools-20230611.239 => pdf-tools-20240429.407}/build/server/test/docker/templates/fedora-36.Dockerfile.in (100%) rename elpa/{pdf-tools-20230611.239 => pdf-tools-20240429.407}/build/server/test/docker/templates/freebsd.Dockerfile.in.FAILING (100%) rename elpa/{pdf-tools-20230611.239 => pdf-tools-20240429.407}/build/server/test/docker/templates/gentoo.Dockerfile.in.FAILING (100%) rename elpa/{pdf-tools-20230611.239 => pdf-tools-20240429.407}/build/server/test/docker/templates/macos.Dockerfile.in.FAILING (100%) rename elpa/{pdf-tools-20230611.239 => pdf-tools-20240429.407}/build/server/test/docker/templates/msys2.Dockerfile.in.FAILING (100%) rename elpa/{pdf-tools-20230611.239 => pdf-tools-20240429.407}/build/server/test/docker/templates/nixos.Dockerfile.in.FAILING (100%) rename elpa/{pdf-tools-20230611.239 => pdf-tools-20240429.407}/build/server/test/docker/templates/openbsd.Dockerfile.in.FAILING (100%) rename elpa/{pdf-tools-20230611.239 => pdf-tools-20240429.407}/build/server/test/docker/templates/opensuse.Dockerfile.in.FAILING (100%) rename elpa/{pdf-tools-20230611.239 => pdf-tools-20240429.407}/build/server/test/docker/templates/ubuntu-18.Dockerfile.in (100%) rename elpa/{pdf-tools-20230611.239 => pdf-tools-20240429.407}/build/server/test/docker/templates/ubuntu-20.Dockerfile.in (100%) rename elpa/{pdf-tools-20230611.239 => pdf-tools-20240429.407}/build/server/test/docker/templates/ubuntu-22.Dockerfile.in (100%) rename elpa/{pdf-tools-20230611.239 => pdf-tools-20240429.407}/build/server/test/docker/templates/void.Dockerfile.in.FAILING (100%) rename elpa/{pdf-tools-20230611.239 => pdf-tools-20240429.407}/pdf-annot.el (99%) rename elpa/{pdf-tools-20230611.239 => pdf-tools-20240429.407}/pdf-cache.el (100%) rename elpa/{pdf-tools-20230611.239 => pdf-tools-20240429.407}/pdf-dev.el (100%) rename elpa/{pdf-tools-20230611.239 => pdf-tools-20240429.407}/pdf-history.el (100%) rename elpa/{pdf-tools-20230611.239 => pdf-tools-20240429.407}/pdf-info.el (100%) rename elpa/{pdf-tools-20230611.239 => pdf-tools-20240429.407}/pdf-isearch.el (100%) rename elpa/{pdf-tools-20230611.239 => pdf-tools-20240429.407}/pdf-links.el (100%) rename elpa/{pdf-tools-20230611.239 => pdf-tools-20240429.407}/pdf-loader.el (98%) rename elpa/{pdf-tools-20230611.239 => pdf-tools-20240429.407}/pdf-macs.el (100%) rename elpa/{pdf-tools-20230611.239 => pdf-tools-20240429.407}/pdf-misc.el (100%) rename elpa/{pdf-tools-20230611.239 => pdf-tools-20240429.407}/pdf-occur.el (100%) rename elpa/{pdf-tools-20230611.239 => pdf-tools-20240429.407}/pdf-outline.el (98%) rename elpa/{pdf-tools-20230611.239 => pdf-tools-20240429.407}/pdf-sync.el (100%) rename elpa/{pdf-tools-20230611.239 => pdf-tools-20240429.407}/pdf-tools-autoloads.el (69%) create mode 100644 elpa/pdf-tools-20240429.407/pdf-tools-pkg.el rename elpa/{pdf-tools-20230611.239 => pdf-tools-20240429.407}/pdf-tools.el (98%) rename elpa/{pdf-tools-20230611.239 => pdf-tools-20240429.407}/pdf-util.el (98%) rename elpa/{pdf-tools-20230611.239 => pdf-tools-20240429.407}/pdf-view.el (98%) rename elpa/{pdf-tools-20230611.239 => pdf-tools-20240429.407}/pdf-virtual.el (100%) diff --git a/elpa/pdf-tools-20230611.239/pdf-tools-pkg.el b/elpa/pdf-tools-20230611.239/pdf-tools-pkg.el deleted file mode 100644 index 80486a76..00000000 --- a/elpa/pdf-tools-20230611.239/pdf-tools-pkg.el +++ /dev/null @@ -1,16 +0,0 @@ -(define-package "pdf-tools" "20230611.239" "Support library for PDF documents" - '((emacs "26.3") - (tablist "1.0") - (let-alist "1.0.4")) - :commit "c69e7656a4678fe25afbd29f3503dd19ee7f9896" :authors - '(("Andreas Politz" . "mail@andreas-politz.de")) - :maintainers - '(("Vedang Manerikar" . "vedang.manerikar@gmail.com")) - :maintainer - '("Vedang Manerikar" . "vedang.manerikar@gmail.com") - :keywords - '("files" "multimedia") - :url "http://github.com/vedang/pdf-tools/") -;; Local Variables: -;; no-byte-compile: t -;; End: diff --git a/elpa/pdf-tools-20230611.239/README b/elpa/pdf-tools-20240429.407/README similarity index 100% rename from elpa/pdf-tools-20230611.239/README rename to elpa/pdf-tools-20240429.407/README diff --git a/elpa/pdf-tools-20230611.239/build/Makefile b/elpa/pdf-tools-20240429.407/build/Makefile similarity index 100% rename from elpa/pdf-tools-20230611.239/build/Makefile rename to elpa/pdf-tools-20240429.407/build/Makefile diff --git a/elpa/pdf-tools-20230611.239/build/server/.gitignore b/elpa/pdf-tools-20240429.407/build/server/.gitignore similarity index 100% rename from elpa/pdf-tools-20230611.239/build/server/.gitignore rename to elpa/pdf-tools-20240429.407/build/server/.gitignore diff --git a/elpa/pdf-tools-20230611.239/build/server/Makefile.am b/elpa/pdf-tools-20240429.407/build/server/Makefile.am similarity index 100% rename from elpa/pdf-tools-20230611.239/build/server/Makefile.am rename to elpa/pdf-tools-20240429.407/build/server/Makefile.am diff --git a/elpa/pdf-tools-20230611.239/build/server/autobuild b/elpa/pdf-tools-20240429.407/build/server/autobuild similarity index 96% rename from elpa/pdf-tools-20230611.239/build/server/autobuild rename to elpa/pdf-tools-20240429.407/build/server/autobuild index d5a594d2..91ee3a52 100755 --- a/elpa/pdf-tools-20230611.239/build/server/autobuild +++ b/elpa/pdf-tools-20240429.407/build/server/autobuild @@ -362,9 +362,12 @@ os_macos() { PKGARGS=install PACKAGES="pkg-config poppler autoconf automake" PKG_INSTALL_AS_ROOT= - # brew installs libffi as keg-only, meaning we need to set - # PKG_CONFIG_PATH manually so configure can find it - export PKG_CONFIG_PATH="${PKG_CONFIG_PATH}:$(brew --prefix libffi)/lib/pkgconfig/:$(brew --prefix zlib)/lib/pkgconfig/" + # We need to set PKG_CONFIG_PATH manually so configure can + # find these dependencies. I don't know why (one possible + # explanation has to do with 'keg-only' installs). If you do, + # please update: + # https://github.com/vedang/pdf-tools/issues/270 + export PKG_CONFIG_PATH="${PKG_CONFIG_PATH}:$(brew --prefix libffi)/lib/pkgconfig/:$(brew --prefix zlib)/lib/pkgconfig/:$(brew --prefix glib)/lib/pkgconfig/" elif which port >/dev/null 2>&1; then PKGCMD=port PKGARGS=install @@ -408,10 +411,10 @@ os_gentoo() { PACKAGES="app-text/poppler dev-util/pkgconf media-libs/libpng - sys-devel/autoconf - sys-devel/automake + dev-build/autoconf + dev-build/automake sys-devel/gcc - sys-devel/make + dev-build/make sys-libs/glibc sys-libs/zlib" return 0 diff --git a/elpa/pdf-tools-20230611.239/build/server/autogen.sh b/elpa/pdf-tools-20240429.407/build/server/autogen.sh similarity index 100% rename from elpa/pdf-tools-20230611.239/build/server/autogen.sh rename to elpa/pdf-tools-20240429.407/build/server/autogen.sh diff --git a/elpa/pdf-tools-20230611.239/build/server/configure.ac b/elpa/pdf-tools-20240429.407/build/server/configure.ac similarity index 100% rename from elpa/pdf-tools-20230611.239/build/server/configure.ac rename to elpa/pdf-tools-20240429.407/build/server/configure.ac diff --git a/elpa/pdf-tools-20230611.239/build/server/epdfinfo.c b/elpa/pdf-tools-20240429.407/build/server/epdfinfo.c similarity index 100% rename from elpa/pdf-tools-20230611.239/build/server/epdfinfo.c rename to elpa/pdf-tools-20240429.407/build/server/epdfinfo.c diff --git a/elpa/pdf-tools-20230611.239/build/server/epdfinfo.h b/elpa/pdf-tools-20240429.407/build/server/epdfinfo.h similarity index 100% rename from elpa/pdf-tools-20230611.239/build/server/epdfinfo.h rename to elpa/pdf-tools-20240429.407/build/server/epdfinfo.h diff --git a/elpa/pdf-tools-20230611.239/build/server/poppler-versions b/elpa/pdf-tools-20240429.407/build/server/poppler-versions similarity index 100% rename from elpa/pdf-tools-20230611.239/build/server/poppler-versions rename to elpa/pdf-tools-20240429.407/build/server/poppler-versions diff --git a/elpa/pdf-tools-20230611.239/build/server/synctex_parser.c b/elpa/pdf-tools-20240429.407/build/server/synctex_parser.c similarity index 100% rename from elpa/pdf-tools-20230611.239/build/server/synctex_parser.c rename to elpa/pdf-tools-20240429.407/build/server/synctex_parser.c diff --git a/elpa/pdf-tools-20230611.239/build/server/synctex_parser.h b/elpa/pdf-tools-20240429.407/build/server/synctex_parser.h similarity index 100% rename from elpa/pdf-tools-20230611.239/build/server/synctex_parser.h rename to elpa/pdf-tools-20240429.407/build/server/synctex_parser.h diff --git a/elpa/pdf-tools-20230611.239/build/server/synctex_parser_advanced.h b/elpa/pdf-tools-20240429.407/build/server/synctex_parser_advanced.h similarity index 100% rename from elpa/pdf-tools-20230611.239/build/server/synctex_parser_advanced.h rename to elpa/pdf-tools-20240429.407/build/server/synctex_parser_advanced.h diff --git a/elpa/pdf-tools-20230611.239/build/server/synctex_parser_local.h b/elpa/pdf-tools-20240429.407/build/server/synctex_parser_local.h similarity index 100% rename from elpa/pdf-tools-20230611.239/build/server/synctex_parser_local.h rename to elpa/pdf-tools-20240429.407/build/server/synctex_parser_local.h diff --git a/elpa/pdf-tools-20230611.239/build/server/synctex_parser_readme.txt b/elpa/pdf-tools-20240429.407/build/server/synctex_parser_readme.txt similarity index 100% rename from elpa/pdf-tools-20230611.239/build/server/synctex_parser_readme.txt rename to elpa/pdf-tools-20240429.407/build/server/synctex_parser_readme.txt diff --git a/elpa/pdf-tools-20230611.239/build/server/synctex_parser_utils.c b/elpa/pdf-tools-20240429.407/build/server/synctex_parser_utils.c similarity index 100% rename from elpa/pdf-tools-20230611.239/build/server/synctex_parser_utils.c rename to elpa/pdf-tools-20240429.407/build/server/synctex_parser_utils.c diff --git a/elpa/pdf-tools-20230611.239/build/server/synctex_parser_utils.h b/elpa/pdf-tools-20240429.407/build/server/synctex_parser_utils.h similarity index 100% rename from elpa/pdf-tools-20230611.239/build/server/synctex_parser_utils.h rename to elpa/pdf-tools-20240429.407/build/server/synctex_parser_utils.h diff --git a/elpa/pdf-tools-20230611.239/build/server/synctex_parser_version.txt b/elpa/pdf-tools-20240429.407/build/server/synctex_parser_version.txt similarity index 100% rename from elpa/pdf-tools-20230611.239/build/server/synctex_parser_version.txt rename to elpa/pdf-tools-20240429.407/build/server/synctex_parser_version.txt diff --git a/elpa/pdf-tools-20230611.239/build/server/synctex_version.h b/elpa/pdf-tools-20240429.407/build/server/synctex_version.h similarity index 100% rename from elpa/pdf-tools-20230611.239/build/server/synctex_version.h rename to elpa/pdf-tools-20240429.407/build/server/synctex_version.h diff --git a/elpa/pdf-tools-20230611.239/build/server/test/.gitignore b/elpa/pdf-tools-20240429.407/build/server/test/.gitignore similarity index 100% rename from elpa/pdf-tools-20230611.239/build/server/test/.gitignore rename to elpa/pdf-tools-20240429.407/build/server/test/.gitignore diff --git a/elpa/pdf-tools-20230611.239/build/server/test/docker/.gitignore b/elpa/pdf-tools-20240429.407/build/server/test/docker/.gitignore similarity index 100% rename from elpa/pdf-tools-20230611.239/build/server/test/docker/.gitignore rename to elpa/pdf-tools-20240429.407/build/server/test/docker/.gitignore diff --git a/elpa/pdf-tools-20230611.239/build/server/test/docker/lib/run-tests b/elpa/pdf-tools-20240429.407/build/server/test/docker/lib/run-tests similarity index 100% rename from elpa/pdf-tools-20230611.239/build/server/test/docker/lib/run-tests rename to elpa/pdf-tools-20240429.407/build/server/test/docker/lib/run-tests diff --git a/elpa/pdf-tools-20230611.239/build/server/test/docker/lib/yes-or-enter b/elpa/pdf-tools-20240429.407/build/server/test/docker/lib/yes-or-enter similarity index 100% rename from elpa/pdf-tools-20230611.239/build/server/test/docker/lib/yes-or-enter rename to elpa/pdf-tools-20240429.407/build/server/test/docker/lib/yes-or-enter diff --git a/elpa/pdf-tools-20230611.239/build/server/test/docker/templates/Dockerfile.common.in b/elpa/pdf-tools-20240429.407/build/server/test/docker/templates/Dockerfile.common.in similarity index 100% rename from elpa/pdf-tools-20230611.239/build/server/test/docker/templates/Dockerfile.common.in rename to elpa/pdf-tools-20240429.407/build/server/test/docker/templates/Dockerfile.common.in diff --git a/elpa/pdf-tools-20230611.239/build/server/test/docker/templates/arch.Dockerfile.in.FAILING b/elpa/pdf-tools-20240429.407/build/server/test/docker/templates/arch.Dockerfile.in.FAILING similarity index 100% rename from elpa/pdf-tools-20230611.239/build/server/test/docker/templates/arch.Dockerfile.in.FAILING rename to elpa/pdf-tools-20240429.407/build/server/test/docker/templates/arch.Dockerfile.in.FAILING diff --git a/elpa/pdf-tools-20230611.239/build/server/test/docker/templates/centos.Dockerfile.in.FAILING b/elpa/pdf-tools-20240429.407/build/server/test/docker/templates/centos.Dockerfile.in.FAILING similarity index 100% rename from elpa/pdf-tools-20230611.239/build/server/test/docker/templates/centos.Dockerfile.in.FAILING rename to elpa/pdf-tools-20240429.407/build/server/test/docker/templates/centos.Dockerfile.in.FAILING diff --git a/elpa/pdf-tools-20230611.239/build/server/test/docker/templates/debian-10.Dockerfile.in b/elpa/pdf-tools-20240429.407/build/server/test/docker/templates/debian-10.Dockerfile.in similarity index 100% rename from elpa/pdf-tools-20230611.239/build/server/test/docker/templates/debian-10.Dockerfile.in rename to elpa/pdf-tools-20240429.407/build/server/test/docker/templates/debian-10.Dockerfile.in diff --git a/elpa/pdf-tools-20230611.239/build/server/test/docker/templates/debian-11.Dockerfile.in b/elpa/pdf-tools-20240429.407/build/server/test/docker/templates/debian-11.Dockerfile.in similarity index 100% rename from elpa/pdf-tools-20230611.239/build/server/test/docker/templates/debian-11.Dockerfile.in rename to elpa/pdf-tools-20240429.407/build/server/test/docker/templates/debian-11.Dockerfile.in diff --git a/elpa/pdf-tools-20230611.239/build/server/test/docker/templates/debian-9.Dockerfile.in b/elpa/pdf-tools-20240429.407/build/server/test/docker/templates/debian-9.Dockerfile.in similarity index 100% rename from elpa/pdf-tools-20230611.239/build/server/test/docker/templates/debian-9.Dockerfile.in rename to elpa/pdf-tools-20240429.407/build/server/test/docker/templates/debian-9.Dockerfile.in diff --git a/elpa/pdf-tools-20230611.239/build/server/test/docker/templates/emacs-26.Dockerfile.in b/elpa/pdf-tools-20240429.407/build/server/test/docker/templates/emacs-26.Dockerfile.in similarity index 100% rename from elpa/pdf-tools-20230611.239/build/server/test/docker/templates/emacs-26.Dockerfile.in rename to elpa/pdf-tools-20240429.407/build/server/test/docker/templates/emacs-26.Dockerfile.in diff --git a/elpa/pdf-tools-20230611.239/build/server/test/docker/templates/emacs-27.Dockerfile.in b/elpa/pdf-tools-20240429.407/build/server/test/docker/templates/emacs-27.Dockerfile.in similarity index 100% rename from elpa/pdf-tools-20230611.239/build/server/test/docker/templates/emacs-27.Dockerfile.in rename to elpa/pdf-tools-20240429.407/build/server/test/docker/templates/emacs-27.Dockerfile.in diff --git a/elpa/pdf-tools-20230611.239/build/server/test/docker/templates/emacs-28.Dockerfile.in b/elpa/pdf-tools-20240429.407/build/server/test/docker/templates/emacs-28.Dockerfile.in similarity index 100% rename from elpa/pdf-tools-20230611.239/build/server/test/docker/templates/emacs-28.Dockerfile.in rename to elpa/pdf-tools-20240429.407/build/server/test/docker/templates/emacs-28.Dockerfile.in diff --git a/elpa/pdf-tools-20230611.239/build/server/test/docker/templates/emacs-29.Dockerfile.in b/elpa/pdf-tools-20240429.407/build/server/test/docker/templates/emacs-29.Dockerfile.in similarity index 100% rename from elpa/pdf-tools-20230611.239/build/server/test/docker/templates/emacs-29.Dockerfile.in rename to elpa/pdf-tools-20240429.407/build/server/test/docker/templates/emacs-29.Dockerfile.in diff --git a/elpa/pdf-tools-20230611.239/build/server/test/docker/templates/fedora-34.Dockerfile.in b/elpa/pdf-tools-20240429.407/build/server/test/docker/templates/fedora-34.Dockerfile.in similarity index 100% rename from elpa/pdf-tools-20230611.239/build/server/test/docker/templates/fedora-34.Dockerfile.in rename to elpa/pdf-tools-20240429.407/build/server/test/docker/templates/fedora-34.Dockerfile.in diff --git a/elpa/pdf-tools-20230611.239/build/server/test/docker/templates/fedora-35.Dockerfile.in b/elpa/pdf-tools-20240429.407/build/server/test/docker/templates/fedora-35.Dockerfile.in similarity index 100% rename from elpa/pdf-tools-20230611.239/build/server/test/docker/templates/fedora-35.Dockerfile.in rename to elpa/pdf-tools-20240429.407/build/server/test/docker/templates/fedora-35.Dockerfile.in diff --git a/elpa/pdf-tools-20230611.239/build/server/test/docker/templates/fedora-36.Dockerfile.in b/elpa/pdf-tools-20240429.407/build/server/test/docker/templates/fedora-36.Dockerfile.in similarity index 100% rename from elpa/pdf-tools-20230611.239/build/server/test/docker/templates/fedora-36.Dockerfile.in rename to elpa/pdf-tools-20240429.407/build/server/test/docker/templates/fedora-36.Dockerfile.in diff --git a/elpa/pdf-tools-20230611.239/build/server/test/docker/templates/freebsd.Dockerfile.in.FAILING b/elpa/pdf-tools-20240429.407/build/server/test/docker/templates/freebsd.Dockerfile.in.FAILING similarity index 100% rename from elpa/pdf-tools-20230611.239/build/server/test/docker/templates/freebsd.Dockerfile.in.FAILING rename to elpa/pdf-tools-20240429.407/build/server/test/docker/templates/freebsd.Dockerfile.in.FAILING diff --git a/elpa/pdf-tools-20230611.239/build/server/test/docker/templates/gentoo.Dockerfile.in.FAILING b/elpa/pdf-tools-20240429.407/build/server/test/docker/templates/gentoo.Dockerfile.in.FAILING similarity index 100% rename from elpa/pdf-tools-20230611.239/build/server/test/docker/templates/gentoo.Dockerfile.in.FAILING rename to elpa/pdf-tools-20240429.407/build/server/test/docker/templates/gentoo.Dockerfile.in.FAILING diff --git a/elpa/pdf-tools-20230611.239/build/server/test/docker/templates/macos.Dockerfile.in.FAILING b/elpa/pdf-tools-20240429.407/build/server/test/docker/templates/macos.Dockerfile.in.FAILING similarity index 100% rename from elpa/pdf-tools-20230611.239/build/server/test/docker/templates/macos.Dockerfile.in.FAILING rename to elpa/pdf-tools-20240429.407/build/server/test/docker/templates/macos.Dockerfile.in.FAILING diff --git a/elpa/pdf-tools-20230611.239/build/server/test/docker/templates/msys2.Dockerfile.in.FAILING b/elpa/pdf-tools-20240429.407/build/server/test/docker/templates/msys2.Dockerfile.in.FAILING similarity index 100% rename from elpa/pdf-tools-20230611.239/build/server/test/docker/templates/msys2.Dockerfile.in.FAILING rename to elpa/pdf-tools-20240429.407/build/server/test/docker/templates/msys2.Dockerfile.in.FAILING diff --git a/elpa/pdf-tools-20230611.239/build/server/test/docker/templates/nixos.Dockerfile.in.FAILING b/elpa/pdf-tools-20240429.407/build/server/test/docker/templates/nixos.Dockerfile.in.FAILING similarity index 100% rename from elpa/pdf-tools-20230611.239/build/server/test/docker/templates/nixos.Dockerfile.in.FAILING rename to elpa/pdf-tools-20240429.407/build/server/test/docker/templates/nixos.Dockerfile.in.FAILING diff --git a/elpa/pdf-tools-20230611.239/build/server/test/docker/templates/openbsd.Dockerfile.in.FAILING b/elpa/pdf-tools-20240429.407/build/server/test/docker/templates/openbsd.Dockerfile.in.FAILING similarity index 100% rename from elpa/pdf-tools-20230611.239/build/server/test/docker/templates/openbsd.Dockerfile.in.FAILING rename to elpa/pdf-tools-20240429.407/build/server/test/docker/templates/openbsd.Dockerfile.in.FAILING diff --git a/elpa/pdf-tools-20230611.239/build/server/test/docker/templates/opensuse.Dockerfile.in.FAILING b/elpa/pdf-tools-20240429.407/build/server/test/docker/templates/opensuse.Dockerfile.in.FAILING similarity index 100% rename from elpa/pdf-tools-20230611.239/build/server/test/docker/templates/opensuse.Dockerfile.in.FAILING rename to elpa/pdf-tools-20240429.407/build/server/test/docker/templates/opensuse.Dockerfile.in.FAILING diff --git a/elpa/pdf-tools-20230611.239/build/server/test/docker/templates/ubuntu-18.Dockerfile.in b/elpa/pdf-tools-20240429.407/build/server/test/docker/templates/ubuntu-18.Dockerfile.in similarity index 100% rename from elpa/pdf-tools-20230611.239/build/server/test/docker/templates/ubuntu-18.Dockerfile.in rename to elpa/pdf-tools-20240429.407/build/server/test/docker/templates/ubuntu-18.Dockerfile.in diff --git a/elpa/pdf-tools-20230611.239/build/server/test/docker/templates/ubuntu-20.Dockerfile.in b/elpa/pdf-tools-20240429.407/build/server/test/docker/templates/ubuntu-20.Dockerfile.in similarity index 100% rename from elpa/pdf-tools-20230611.239/build/server/test/docker/templates/ubuntu-20.Dockerfile.in rename to elpa/pdf-tools-20240429.407/build/server/test/docker/templates/ubuntu-20.Dockerfile.in diff --git a/elpa/pdf-tools-20230611.239/build/server/test/docker/templates/ubuntu-22.Dockerfile.in b/elpa/pdf-tools-20240429.407/build/server/test/docker/templates/ubuntu-22.Dockerfile.in similarity index 100% rename from elpa/pdf-tools-20230611.239/build/server/test/docker/templates/ubuntu-22.Dockerfile.in rename to elpa/pdf-tools-20240429.407/build/server/test/docker/templates/ubuntu-22.Dockerfile.in diff --git a/elpa/pdf-tools-20230611.239/build/server/test/docker/templates/void.Dockerfile.in.FAILING b/elpa/pdf-tools-20240429.407/build/server/test/docker/templates/void.Dockerfile.in.FAILING similarity index 100% rename from elpa/pdf-tools-20230611.239/build/server/test/docker/templates/void.Dockerfile.in.FAILING rename to elpa/pdf-tools-20240429.407/build/server/test/docker/templates/void.Dockerfile.in.FAILING diff --git a/elpa/pdf-tools-20230611.239/pdf-annot.el b/elpa/pdf-tools-20240429.407/pdf-annot.el similarity index 99% rename from elpa/pdf-tools-20230611.239/pdf-annot.el rename to elpa/pdf-tools-20240429.407/pdf-annot.el index 344a5c0d..7c63dd2c 100644 --- a/elpa/pdf-tools-20230611.239/pdf-annot.el +++ b/elpa/pdf-tools-20240429.407/pdf-annot.el @@ -26,11 +26,13 @@ (require 'pdf-info) (require 'pdf-cache) (require 'pdf-misc) +(require 'pdf-util) (require 'facemenu) ;; list-colors-duplicates (require 'faces) ;; color-values (require 'org) ;; org-create-formula-image (require 'tablist) (require 'cl-lib) +(require 'seq) ;; * ================================================================== * @@ -1098,7 +1100,7 @@ Adjust X and Y accordingly, if the position would render the annotation off-page. Merge ICON as a icon property with PROPERTY-ALIST and -`pdf-annot-default-text-annotation-properties' and apply the +`pdf-annot-default-annotation-properties' and apply the result to the created annotation. See also `pdf-annot-add-annotation'. @@ -1135,7 +1137,6 @@ Return the new annotation." (pdf-annot-merge-alists (and icon `((icon . ,icon))) property-alist - pdf-annot-default-text-annotation-properties (cdr (assq 'text pdf-annot-default-annotation-properties)) (cdr (assq t pdf-annot-default-annotation-properties)) `((color . ,(car pdf-annot-color-history)))))))) @@ -1165,7 +1166,7 @@ TYPE should be one of `squiggly', `underline', `strike-out' or `highlight'. Merge COLOR as a color property with PROPERTY-ALIST and -`pdf-annot-default-markup-annotation-properties' and apply the +`pdf-annot-default-annotation-properties' and apply the result to the created annotation. See also `pdf-annot-add-annotation'. @@ -1185,7 +1186,6 @@ Return the new annotation." (pdf-annot-merge-alists (and color `((color . ,color))) property-alist - pdf-annot-default-markup-annotation-properties (cdr (assq type pdf-annot-default-annotation-properties)) (cdr (assq t pdf-annot-default-annotation-properties)) (when pdf-annot-color-history @@ -1238,12 +1238,10 @@ properties. See also `pdf-annot-add-markup-annotation'." Offer `pdf-annot-color-history' as default values." (let* ((defaults (append - (delq nil - (list - (cdr (assq 'color - pdf-annot-default-markup-annotation-properties)) - (cdr (assq 'color - pdf-annot-default-text-annotation-properties)))) + (seq-map #'cdr + (seq-filter (lambda (x) (eq 'color (car x))) + (seq-mapcat #'cdr + pdf-annot-default-annotation-properties))) pdf-annot-color-history)) (prompt (format "%s%s: " diff --git a/elpa/pdf-tools-20230611.239/pdf-cache.el b/elpa/pdf-tools-20240429.407/pdf-cache.el similarity index 100% rename from elpa/pdf-tools-20230611.239/pdf-cache.el rename to elpa/pdf-tools-20240429.407/pdf-cache.el diff --git a/elpa/pdf-tools-20230611.239/pdf-dev.el b/elpa/pdf-tools-20240429.407/pdf-dev.el similarity index 100% rename from elpa/pdf-tools-20230611.239/pdf-dev.el rename to elpa/pdf-tools-20240429.407/pdf-dev.el diff --git a/elpa/pdf-tools-20230611.239/pdf-history.el b/elpa/pdf-tools-20240429.407/pdf-history.el similarity index 100% rename from elpa/pdf-tools-20230611.239/pdf-history.el rename to elpa/pdf-tools-20240429.407/pdf-history.el diff --git a/elpa/pdf-tools-20230611.239/pdf-info.el b/elpa/pdf-tools-20240429.407/pdf-info.el similarity index 100% rename from elpa/pdf-tools-20230611.239/pdf-info.el rename to elpa/pdf-tools-20240429.407/pdf-info.el diff --git a/elpa/pdf-tools-20230611.239/pdf-isearch.el b/elpa/pdf-tools-20240429.407/pdf-isearch.el similarity index 100% rename from elpa/pdf-tools-20230611.239/pdf-isearch.el rename to elpa/pdf-tools-20240429.407/pdf-isearch.el diff --git a/elpa/pdf-tools-20230611.239/pdf-links.el b/elpa/pdf-tools-20240429.407/pdf-links.el similarity index 100% rename from elpa/pdf-tools-20230611.239/pdf-links.el rename to elpa/pdf-tools-20240429.407/pdf-links.el diff --git a/elpa/pdf-tools-20230611.239/pdf-loader.el b/elpa/pdf-tools-20240429.407/pdf-loader.el similarity index 98% rename from elpa/pdf-tools-20230611.239/pdf-loader.el rename to elpa/pdf-tools-20240429.407/pdf-loader.el index b1eab34a..6b4634e3 100644 --- a/elpa/pdf-tools-20230611.239/pdf-loader.el +++ b/elpa/pdf-tools-20240429.407/pdf-loader.el @@ -57,7 +57,7 @@ see." (defun pdf-loader--load (&rest args) (pdf-loader--uninstall) (save-selected-window - (pdf-tools-install args))) + (apply #'pdf-tools-install args))) (defun pdf-loader--install (loader) (pdf-loader--uninstall) diff --git a/elpa/pdf-tools-20230611.239/pdf-macs.el b/elpa/pdf-tools-20240429.407/pdf-macs.el similarity index 100% rename from elpa/pdf-tools-20230611.239/pdf-macs.el rename to elpa/pdf-tools-20240429.407/pdf-macs.el diff --git a/elpa/pdf-tools-20230611.239/pdf-misc.el b/elpa/pdf-tools-20240429.407/pdf-misc.el similarity index 100% rename from elpa/pdf-tools-20230611.239/pdf-misc.el rename to elpa/pdf-tools-20240429.407/pdf-misc.el diff --git a/elpa/pdf-tools-20230611.239/pdf-occur.el b/elpa/pdf-tools-20240429.407/pdf-occur.el similarity index 100% rename from elpa/pdf-tools-20230611.239/pdf-occur.el rename to elpa/pdf-tools-20240429.407/pdf-occur.el diff --git a/elpa/pdf-tools-20230611.239/pdf-outline.el b/elpa/pdf-tools-20240429.407/pdf-outline.el similarity index 98% rename from elpa/pdf-tools-20230611.239/pdf-outline.el rename to elpa/pdf-tools-20240429.407/pdf-outline.el index fc75b027..f62923a2 100644 --- a/elpa/pdf-tools-20230611.239/pdf-outline.el +++ b/elpa/pdf-tools-20240429.407/pdf-outline.el @@ -88,12 +88,12 @@ Set to nil to disable line wrapping." (define-key kmap (kbd "p") #'previous-line) (define-key kmap (kbd "n") #'next-line) (define-key kmap (kbd "b") #'outline-backward-same-level) - (define-key kmap (kbd "d") #'hide-subtree) - (define-key kmap (kbd "a") #'show-all) - (define-key kmap (kbd "s") #'show-subtree) + (define-key kmap (kbd "d") #'outline-hide-subtree) + (define-key kmap (kbd "a") #'outline-show-all) + (define-key kmap (kbd "s") #'outline-show-subtree) (define-key kmap (kbd "f") #'outline-forward-same-level) (define-key kmap (kbd "u") #'pdf-outline-up-heading) - (define-key kmap (kbd "Q") #'hide-sublevels) + (define-key kmap (kbd "Q") #'outline-hide-sublevels) (define-key kmap (kbd "<") #'beginning-of-buffer) (define-key kmap (kbd ">") #'pdf-outline-end-of-buffer) (define-key kmap (kbd "TAB") #'outline-toggle-children) @@ -175,7 +175,7 @@ rebound to their respective last character. (setq buffer-read-only t) (when (> (count-lines 1 (point-max)) (* 1.5 (frame-height))) - (hide-sublevels 1)) + (outline-hide-sublevels 1)) (message "%s" (substitute-command-keys (concat @@ -405,8 +405,8 @@ Then quit the outline window." (save-excursion (outline-back-to-heading) (if (not (outline-invisible-p (line-end-position))) - (hide-subtree) - (show-subtree)))) + (outline-hide-subtree) + (outline-show-subtree)))) (defun pdf-outline-move-to-page (page) "Move to an outline item corresponding to PAGE." diff --git a/elpa/pdf-tools-20230611.239/pdf-sync.el b/elpa/pdf-tools-20240429.407/pdf-sync.el similarity index 100% rename from elpa/pdf-tools-20230611.239/pdf-sync.el rename to elpa/pdf-tools-20240429.407/pdf-sync.el diff --git a/elpa/pdf-tools-20230611.239/pdf-tools-autoloads.el b/elpa/pdf-tools-20240429.407/pdf-tools-autoloads.el similarity index 69% rename from elpa/pdf-tools-20230611.239/pdf-tools-autoloads.el rename to elpa/pdf-tools-20240429.407/pdf-tools-autoloads.el index a5cc8c12..efc944d8 100644 --- a/elpa/pdf-tools-20230611.239/pdf-tools-autoloads.el +++ b/elpa/pdf-tools-20240429.407/pdf-tools-autoloads.el @@ -1,114 +1,88 @@ -;;; pdf-tools-autoloads.el --- automatically extracted autoloads -*- lexical-binding: t -*- -;; +;;; pdf-tools-autoloads.el --- automatically extracted autoloads (do not edit) -*- lexical-binding: t -*- +;; Generated by the `loaddefs-generate' function. + +;; This file is part of GNU Emacs. + ;;; Code: -(add-to-list 'load-path (directory-file-name - (or (file-name-directory #$) (car load-path)))) +(add-to-list 'load-path (or (and load-file-name (directory-file-name (file-name-directory load-file-name))) (car load-path))) + -;;;### (autoloads nil "pdf-annot" "pdf-annot.el" (0 0 0 0)) ;;; Generated autoloads from pdf-annot.el (autoload 'pdf-annot-minor-mode "pdf-annot" "\ Support for PDF Annotations. -This is a minor mode. If called interactively, toggle the -`Pdf-Annot minor mode' mode. If the prefix argument is positive, -enable the mode, and if it is zero or negative, disable the mode. - -If called from Lisp, toggle the mode if ARG is `toggle'. Enable -the mode if ARG is nil, omitted, or is a positive number. -Disable the mode if ARG is a negative number. +\\{pdf-annot-minor-mode-map} -To check whether the minor mode is enabled in the current buffer, -evaluate `pdf-annot-minor-mode'. +This is a minor mode. If called interactively, toggle the `Pdf-Annot +minor mode' mode. If the prefix argument is positive, enable the mode, +and if it is zero or negative, disable the mode. -The mode's hook is called both when the mode is enabled and when -it is disabled. +If called from Lisp, toggle the mode if ARG is `toggle'. Enable the +mode if ARG is nil, omitted, or is a positive number. Disable the mode +if ARG is a negative number. -\\{pdf-annot-minor-mode-map} +To check whether the minor mode is enabled in the current buffer, +evaluate the variable `pdf-annot-minor-mode'. -\(fn &optional ARG)" t nil) +The mode's hook is called both when the mode is enabled and when it is +disabled. +(fn &optional ARG)" t) (register-definition-prefixes "pdf-annot" '("pdf-annot-")) -;;;*** -;;;### (autoloads nil "pdf-cache" "pdf-cache.el" (0 0 0 0)) ;;; Generated autoloads from pdf-cache.el (register-definition-prefixes "pdf-cache" '("boundingbox" "define-pdf-cache-function" "page" "pdf-cache-" "textregions")) -;;;*** -;;;### (autoloads nil "pdf-dev" "pdf-dev.el" (0 0 0 0)) ;;; Generated autoloads from pdf-dev.el (register-definition-prefixes "pdf-dev" '("pdf-dev-")) -;;;*** -;;;### (autoloads nil "pdf-history" "pdf-history.el" (0 0 0 0)) ;;; Generated autoloads from pdf-history.el (autoload 'pdf-history-minor-mode "pdf-history" "\ Keep a history of previously visited pages. -This is a minor mode. If called interactively, toggle the -`Pdf-History minor mode' mode. If the prefix argument is -positive, enable the mode, and if it is zero or negative, disable -the mode. - -If called from Lisp, toggle the mode if ARG is `toggle'. Enable -the mode if ARG is nil, omitted, or is a positive number. -Disable the mode if ARG is a negative number. - -To check whether the minor mode is enabled in the current buffer, -evaluate `pdf-history-minor-mode'. - -The mode's hook is called both when the mode is enabled and when -it is disabled. - This is a simple stack-based history. Turning the page or following a link pushes the left-behind page on the stack, which may be navigated with the following keys. \\{pdf-history-minor-mode-map} -\(fn &optional ARG)" t nil) +This is a minor mode. If called interactively, toggle the `Pdf-History +minor mode' mode. If the prefix argument is positive, enable the mode, +and if it is zero or negative, disable the mode. + +If called from Lisp, toggle the mode if ARG is `toggle'. Enable the +mode if ARG is nil, omitted, or is a positive number. Disable the mode +if ARG is a negative number. +To check whether the minor mode is enabled in the current buffer, +evaluate the variable `pdf-history-minor-mode'. + +The mode's hook is called both when the mode is enabled and when it is +disabled. + +(fn &optional ARG)" t) (register-definition-prefixes "pdf-history" '("pdf-history-")) -;;;*** -;;;### (autoloads nil "pdf-info" "pdf-info.el" (0 0 0 0)) ;;; Generated autoloads from pdf-info.el (register-definition-prefixes "pdf-info" '("pdf-info-")) -;;;*** -;;;### (autoloads nil "pdf-isearch" "pdf-isearch.el" (0 0 0 0)) ;;; Generated autoloads from pdf-isearch.el (autoload 'pdf-isearch-minor-mode "pdf-isearch" "\ Isearch mode for PDF buffer. -This is a minor mode. If called interactively, toggle the -`Pdf-Isearch minor mode' mode. If the prefix argument is -positive, enable the mode, and if it is zero or negative, disable -the mode. - -If called from Lisp, toggle the mode if ARG is `toggle'. Enable -the mode if ARG is nil, omitted, or is a positive number. -Disable the mode if ARG is a negative number. - -To check whether the minor mode is enabled in the current buffer, -evaluate `pdf-isearch-minor-mode'. - -The mode's hook is called both when the mode is enabled and when -it is disabled. - When this mode is enabled \\[isearch-forward], among other keys, starts an incremental search in this PDF document. Since this mode uses external programs to highlight found matches via @@ -116,14 +90,14 @@ image-processing, proceeding to the next match may be slow. Therefore two isearch behaviours have been defined: Normal isearch and batch mode. The later one is a minor mode -\(`pdf-isearch-batch-mode'), which when activated inhibits isearch +(`pdf-isearch-batch-mode'), which when activated inhibits isearch from stopping at and highlighting every single match, but rather display them batch-wise. Here a batch means a number of matches currently visible in the selected window. The kind of highlighting is determined by three faces `pdf-isearch-match' (for the current match), `pdf-isearch-lazy' -\(for all other matches) and `pdf-isearch-batch' (when in batch +(for all other matches) and `pdf-isearch-batch' (when in batch mode), which see. Colors may also be influenced by the minor-mode @@ -137,32 +111,29 @@ that not every isearch command work as expected. \\{pdf-isearch-active-mode-map} -\(fn &optional ARG)" t nil) +This is a minor mode. If called interactively, toggle the `Pdf-Isearch +minor mode' mode. If the prefix argument is positive, enable the mode, +and if it is zero or negative, disable the mode. + +If called from Lisp, toggle the mode if ARG is `toggle'. Enable the +mode if ARG is nil, omitted, or is a positive number. Disable the mode +if ARG is a negative number. + +To check whether the minor mode is enabled in the current buffer, +evaluate the variable `pdf-isearch-minor-mode'. + +The mode's hook is called both when the mode is enabled and when it is +disabled. +(fn &optional ARG)" t) (register-definition-prefixes "pdf-isearch" '("pdf-isearch-")) -;;;*** -;;;### (autoloads nil "pdf-links" "pdf-links.el" (0 0 0 0)) ;;; Generated autoloads from pdf-links.el (autoload 'pdf-links-minor-mode "pdf-links" "\ Handle links in PDF documents.\\ -This is a minor mode. If called interactively, toggle the -`Pdf-Links minor mode' mode. If the prefix argument is positive, -enable the mode, and if it is zero or negative, disable the mode. - -If called from Lisp, toggle the mode if ARG is `toggle'. Enable -the mode if ARG is nil, omitted, or is a positive number. -Disable the mode if ARG is a negative number. - -To check whether the minor mode is enabled in the current buffer, -evaluate `pdf-links-minor-mode'. - -The mode's hook is called both when the mode is enabled and when -it is disabled. - If this mode is enabled, most links in the document may be activated by clicking on them or by pressing \\[pdf-links-action-perform] and selecting one of the displayed keys, or by using isearch limited to @@ -170,8 +141,21 @@ links via \\[pdf-links-isearch-link]. \\{pdf-links-minor-mode-map} -\(fn &optional ARG)" t nil) +This is a minor mode. If called interactively, toggle the `Pdf-Links +minor mode' mode. If the prefix argument is positive, enable the mode, +and if it is zero or negative, disable the mode. + +If called from Lisp, toggle the mode if ARG is `toggle'. Enable the +mode if ARG is nil, omitted, or is a positive number. Disable the mode +if ARG is a negative number. + +To check whether the minor mode is enabled in the current buffer, +evaluate the variable `pdf-links-minor-mode'. + +The mode's hook is called both when the mode is enabled and when it is +disabled. +(fn &optional ARG)" t) (autoload 'pdf-links-action-perform "pdf-links" "\ Follow LINK, depending on its type. @@ -185,13 +169,10 @@ sufficient number of characters have been read, the corresponding link's link is invoked. Additionally, SPC may be used to scroll the current page. -\(fn LINK)" t nil) - +(fn LINK)" t) (register-definition-prefixes "pdf-links" '("pdf-links-")) -;;;*** -;;;### (autoloads nil "pdf-loader" "pdf-loader.el" (0 0 0 0)) ;;; Generated autoloads from pdf-loader.el (autoload 'pdf-loader-install "pdf-loader" "\ @@ -204,108 +185,97 @@ opened, but not sooner. The arguments are passed verbatim to `pdf-tools-install', which see. -\(fn &optional NO-QUERY-P SKIP-DEPENDENCIES-P NO-ERROR-P FORCE-DEPENDENCIES-P)" nil nil) - +(fn &optional NO-QUERY-P SKIP-DEPENDENCIES-P NO-ERROR-P FORCE-DEPENDENCIES-P)") (register-definition-prefixes "pdf-loader" '("pdf-loader--")) -;;;*** -;;;### (autoloads nil "pdf-macs" "pdf-macs.el" (0 0 0 0)) ;;; Generated autoloads from pdf-macs.el (register-definition-prefixes "pdf-macs" '("pdf-view-")) -;;;*** -;;;### (autoloads nil "pdf-misc" "pdf-misc.el" (0 0 0 0)) ;;; Generated autoloads from pdf-misc.el (autoload 'pdf-misc-minor-mode "pdf-misc" "\ FIXME: Not documented. -This is a minor mode. If called interactively, toggle the -`Pdf-Misc minor mode' mode. If the prefix argument is positive, -enable the mode, and if it is zero or negative, disable the mode. +This is a minor mode. If called interactively, toggle the `Pdf-Misc +minor mode' mode. If the prefix argument is positive, enable the mode, +and if it is zero or negative, disable the mode. -If called from Lisp, toggle the mode if ARG is `toggle'. Enable -the mode if ARG is nil, omitted, or is a positive number. -Disable the mode if ARG is a negative number. +If called from Lisp, toggle the mode if ARG is `toggle'. Enable the +mode if ARG is nil, omitted, or is a positive number. Disable the mode +if ARG is a negative number. To check whether the minor mode is enabled in the current buffer, -evaluate `pdf-misc-minor-mode'. +evaluate the variable `pdf-misc-minor-mode'. -The mode's hook is called both when the mode is enabled and when -it is disabled. - -\(fn &optional ARG)" t nil) +The mode's hook is called both when the mode is enabled and when it is +disabled. +(fn &optional ARG)" t) (autoload 'pdf-misc-size-indication-minor-mode "pdf-misc" "\ Provide a working size indication in the mode-line. This is a minor mode. If called interactively, toggle the -`Pdf-Misc-Size-Indication minor mode' mode. If the prefix -argument is positive, enable the mode, and if it is zero or -negative, disable the mode. +`Pdf-Misc-Size-Indication minor mode' mode. If the prefix argument is +positive, enable the mode, and if it is zero or negative, disable the +mode. -If called from Lisp, toggle the mode if ARG is `toggle'. Enable -the mode if ARG is nil, omitted, or is a positive number. -Disable the mode if ARG is a negative number. +If called from Lisp, toggle the mode if ARG is `toggle'. Enable the +mode if ARG is nil, omitted, or is a positive number. Disable the mode +if ARG is a negative number. To check whether the minor mode is enabled in the current buffer, -evaluate `pdf-misc-size-indication-minor-mode'. - -The mode's hook is called both when the mode is enabled and when -it is disabled. +evaluate the variable `pdf-misc-size-indication-minor-mode'. -\(fn &optional ARG)" t nil) +The mode's hook is called both when the mode is enabled and when it is +disabled. +(fn &optional ARG)" t) (autoload 'pdf-misc-menu-bar-minor-mode "pdf-misc" "\ Display a PDF Tools menu in the menu-bar. This is a minor mode. If called interactively, toggle the `Pdf-Misc-Menu-Bar minor mode' mode. If the prefix argument is -positive, enable the mode, and if it is zero or negative, disable -the mode. +positive, enable the mode, and if it is zero or negative, disable the +mode. -If called from Lisp, toggle the mode if ARG is `toggle'. Enable -the mode if ARG is nil, omitted, or is a positive number. -Disable the mode if ARG is a negative number. +If called from Lisp, toggle the mode if ARG is `toggle'. Enable the +mode if ARG is nil, omitted, or is a positive number. Disable the mode +if ARG is a negative number. To check whether the minor mode is enabled in the current buffer, -evaluate `pdf-misc-menu-bar-minor-mode'. +evaluate the variable `pdf-misc-menu-bar-minor-mode'. -The mode's hook is called both when the mode is enabled and when -it is disabled. - -\(fn &optional ARG)" t nil) +The mode's hook is called both when the mode is enabled and when it is +disabled. +(fn &optional ARG)" t) (autoload 'pdf-misc-context-menu-minor-mode "pdf-misc" "\ Provide a right-click context menu in PDF buffers. +\\{pdf-misc-context-menu-minor-mode-map} + This is a minor mode. If called interactively, toggle the -`Pdf-Misc-Context-Menu minor mode' mode. If the prefix argument -is positive, enable the mode, and if it is zero or negative, -disable the mode. +`Pdf-Misc-Context-Menu minor mode' mode. If the prefix argument is +positive, enable the mode, and if it is zero or negative, disable the +mode. -If called from Lisp, toggle the mode if ARG is `toggle'. Enable -the mode if ARG is nil, omitted, or is a positive number. -Disable the mode if ARG is a negative number. +If called from Lisp, toggle the mode if ARG is `toggle'. Enable the +mode if ARG is nil, omitted, or is a positive number. Disable the mode +if ARG is a negative number. To check whether the minor mode is enabled in the current buffer, -evaluate `pdf-misc-context-menu-minor-mode'. - -The mode's hook is called both when the mode is enabled and when -it is disabled. - -\\{pdf-misc-context-menu-minor-mode-map} +evaluate the variable `pdf-misc-context-menu-minor-mode'. -\(fn &optional ARG)" t nil) +The mode's hook is called both when the mode is enabled and when it is +disabled. +(fn &optional ARG)" t) (register-definition-prefixes "pdf-misc" '("pdf-misc-")) -;;;*** -;;;### (autoloads nil "pdf-occur" "pdf-occur.el" (0 0 0 0)) ;;; Generated autoloads from pdf-occur.el (autoload 'pdf-occur "pdf-occur" "\ @@ -317,14 +287,12 @@ in which case this functions performs a string search. If `pdf-occur-prefer-string-search' is non-nil, the meaning of the prefix-arg is inverted. -\(fn STRING &optional REGEXP-P)" t nil) - +(fn STRING &optional REGEXP-P)" t) (autoload 'pdf-occur-multi-command "pdf-occur" "\ Perform `pdf-occur' on multiple buffer. For a programmatic search of multiple documents see -`pdf-occur-search'." t nil) - +`pdf-occur-search'." t) (defvar pdf-occur-global-minor-mode nil "\ Non-nil if Pdf-Occur-Global minor mode is enabled. See the `pdf-occur-global-minor-mode' command @@ -332,156 +300,128 @@ for a description of this minor mode. Setting this variable directly does not take effect; either customize it (see the info node `Easy Customization') or call the function `pdf-occur-global-minor-mode'.") - (custom-autoload 'pdf-occur-global-minor-mode "pdf-occur" nil) - (autoload 'pdf-occur-global-minor-mode "pdf-occur" "\ Enable integration of Pdf Occur with other modes. -This is a minor mode. If called interactively, toggle the -`Pdf-Occur-Global minor mode' mode. If the prefix argument is -positive, enable the mode, and if it is zero or negative, disable -the mode. - -If called from Lisp, toggle the mode if ARG is `toggle'. Enable -the mode if ARG is nil, omitted, or is a positive number. -Disable the mode if ARG is a negative number. - -To check whether the minor mode is enabled in the current buffer, -evaluate `(default-value \\='pdf-occur-global-minor-mode)'. - -The mode's hook is called both when the mode is enabled and when -it is disabled. - This global minor mode enables (or disables) `pdf-occur-ibuffer-minor-mode' and `pdf-occur-dired-minor-mode' in all current and future ibuffer/dired buffer. -\(fn &optional ARG)" t nil) - -(autoload 'pdf-occur-ibuffer-minor-mode "pdf-occur" "\ -Hack into ibuffer's do-occur binding. - -This is a minor mode. If called interactively, toggle the -`Pdf-Occur-Ibuffer minor mode' mode. If the prefix argument is -positive, enable the mode, and if it is zero or negative, disable -the mode. +This is a global minor mode. If called interactively, toggle the +`Pdf-Occur-Global minor mode' mode. If the prefix argument is positive, +enable the mode, and if it is zero or negative, disable the mode. -If called from Lisp, toggle the mode if ARG is `toggle'. Enable -the mode if ARG is nil, omitted, or is a positive number. -Disable the mode if ARG is a negative number. +If called from Lisp, toggle the mode if ARG is `toggle'. Enable the +mode if ARG is nil, omitted, or is a positive number. Disable the mode +if ARG is a negative number. To check whether the minor mode is enabled in the current buffer, -evaluate `pdf-occur-ibuffer-minor-mode'. +evaluate `(default-value \\='pdf-occur-global-minor-mode)'. -The mode's hook is called both when the mode is enabled and when -it is disabled. +The mode's hook is called both when the mode is enabled and when it is +disabled. + +(fn &optional ARG)" t) +(autoload 'pdf-occur-ibuffer-minor-mode "pdf-occur" "\ +Hack into ibuffer's do-occur binding. This mode remaps `ibuffer-do-occur' to `pdf-occur-ibuffer-do-occur', which will start the PDF Tools version of `occur', if all marked buffer's are in `pdf-view-mode' and otherwise fallback to `ibuffer-do-occur'. -\(fn &optional ARG)" t nil) - -(autoload 'pdf-occur-dired-minor-mode "pdf-occur" "\ -Hack into dired's `dired-do-search' binding. - This is a minor mode. If called interactively, toggle the -`Pdf-Occur-Dired minor mode' mode. If the prefix argument is -positive, enable the mode, and if it is zero or negative, disable -the mode. +`Pdf-Occur-Ibuffer minor mode' mode. If the prefix argument is +positive, enable the mode, and if it is zero or negative, disable the +mode. -If called from Lisp, toggle the mode if ARG is `toggle'. Enable -the mode if ARG is nil, omitted, or is a positive number. -Disable the mode if ARG is a negative number. +If called from Lisp, toggle the mode if ARG is `toggle'. Enable the +mode if ARG is nil, omitted, or is a positive number. Disable the mode +if ARG is a negative number. To check whether the minor mode is enabled in the current buffer, -evaluate `pdf-occur-dired-minor-mode'. +evaluate the variable `pdf-occur-ibuffer-minor-mode'. -The mode's hook is called both when the mode is enabled and when -it is disabled. +The mode's hook is called both when the mode is enabled and when it is +disabled. + +(fn &optional ARG)" t) +(autoload 'pdf-occur-dired-minor-mode "pdf-occur" "\ +Hack into dired's `dired-do-search' binding. This mode remaps `dired-do-search' to `pdf-occur-dired-do-search', which will start the PDF Tools version of `occur', if all marked buffer's are in `pdf-view-mode' and otherwise fallback to `dired-do-search'. -\(fn &optional ARG)" t nil) +This is a minor mode. If called interactively, toggle the +`Pdf-Occur-Dired minor mode' mode. If the prefix argument is positive, +enable the mode, and if it is zero or negative, disable the mode. + +If called from Lisp, toggle the mode if ARG is `toggle'. Enable the +mode if ARG is nil, omitted, or is a positive number. Disable the mode +if ARG is a negative number. +To check whether the minor mode is enabled in the current buffer, +evaluate the variable `pdf-occur-dired-minor-mode'. + +The mode's hook is called both when the mode is enabled and when it is +disabled. + +(fn &optional ARG)" t) (register-definition-prefixes "pdf-occur" '("pdf-occur-")) -;;;*** -;;;### (autoloads nil "pdf-outline" "pdf-outline.el" (0 0 0 0)) ;;; Generated autoloads from pdf-outline.el (autoload 'pdf-outline-minor-mode "pdf-outline" "\ Display an outline of a PDF document. -This is a minor mode. If called interactively, toggle the -`Pdf-Outline minor mode' mode. If the prefix argument is -positive, enable the mode, and if it is zero or negative, disable -the mode. - -If called from Lisp, toggle the mode if ARG is `toggle'. Enable -the mode if ARG is nil, omitted, or is a positive number. -Disable the mode if ARG is a negative number. - -To check whether the minor mode is enabled in the current buffer, -evaluate `pdf-outline-minor-mode'. - -The mode's hook is called both when the mode is enabled and when -it is disabled. - This provides a PDF's outline on the menu bar via imenu. Additionally the same outline may be viewed in a designated buffer. \\{pdf-outline-minor-mode-map} -\(fn &optional ARG)" t nil) +This is a minor mode. If called interactively, toggle the `Pdf-Outline +minor mode' mode. If the prefix argument is positive, enable the mode, +and if it is zero or negative, disable the mode. + +If called from Lisp, toggle the mode if ARG is `toggle'. Enable the +mode if ARG is nil, omitted, or is a positive number. Disable the mode +if ARG is a negative number. + +To check whether the minor mode is enabled in the current buffer, +evaluate the variable `pdf-outline-minor-mode'. +The mode's hook is called both when the mode is enabled and when it is +disabled. + +(fn &optional ARG)" t) (autoload 'pdf-outline "pdf-outline" "\ Display an PDF outline of BUFFER. BUFFER defaults to the current buffer. Select the outline buffer, unless NO-SELECT-WINDOW-P is non-nil. -\(fn &optional BUFFER NO-SELECT-WINDOW-P)" t nil) - +(fn &optional BUFFER NO-SELECT-WINDOW-P)" t) (autoload 'pdf-outline-imenu-enable "pdf-outline" "\ -Enable imenu in the current PDF buffer." t nil) - +Enable imenu in the current PDF buffer." t) (register-definition-prefixes "pdf-outline" '("pdf-outline")) -;;;*** -;;;### (autoloads nil "pdf-sync" "pdf-sync.el" (0 0 0 0)) ;;; Generated autoloads from pdf-sync.el (autoload 'pdf-sync-minor-mode "pdf-sync" "\ Correlate a PDF position with the TeX file. + \\ This works via SyncTeX, which means the TeX sources need to have been compiled with `--synctex=1'. In AUCTeX this can be done by setting `TeX-source-correlate-method' to `synctex' (before AUCTeX is loaded) and enabling `TeX-source-correlate-mode'. -This is a minor mode. If called interactively, toggle the -`Pdf-Sync minor mode' mode. If the prefix argument is positive, -enable the mode, and if it is zero or negative, disable the mode. - -If called from Lisp, toggle the mode if ARG is `toggle'. Enable -the mode if ARG is nil, omitted, or is a positive number. -Disable the mode if ARG is a negative number. - -To check whether the minor mode is enabled in the current buffer, -evaluate `pdf-sync-minor-mode'. - -The mode's hook is called both when the mode is enabled and when -it is disabled. - Then \\[pdf-sync-backward-search-mouse] in the PDF buffer will open the corresponding TeX location. @@ -492,20 +432,29 @@ function displays the PDF page corresponding to the current position in the TeX buffer. This function only works together with AUCTeX. -\(fn &optional ARG)" t nil) +This is a minor mode. If called interactively, toggle the `Pdf-Sync +minor mode' mode. If the prefix argument is positive, enable the mode, +and if it is zero or negative, disable the mode. + +If called from Lisp, toggle the mode if ARG is `toggle'. Enable the +mode if ARG is nil, omitted, or is a positive number. Disable the mode +if ARG is a negative number. +To check whether the minor mode is enabled in the current buffer, +evaluate the variable `pdf-sync-minor-mode'. + +The mode's hook is called both when the mode is enabled and when it is +disabled. + +(fn &optional ARG)" t) (register-definition-prefixes "pdf-sync" '("pdf-sync-")) -;;;*** -;;;### (autoloads nil "pdf-tools" "pdf-tools.el" (0 0 0 0)) ;;; Generated autoloads from pdf-tools.el (defvar pdf-tools-handle-upgrades t "\ Whether PDF Tools should handle upgrading itself.") - (custom-autoload 'pdf-tools-handle-upgrades "pdf-tools" t) - (autoload 'pdf-tools-install "pdf-tools" "\ Install PDF-Tools in all current and future PDF buffers. @@ -535,30 +484,23 @@ value (e.g. ~/bin/epdfinfo) before calling this function. See `pdf-view-mode' and `pdf-tools-enabled-modes'. -\(fn &optional NO-QUERY-P SKIP-DEPENDENCIES-P NO-ERROR-P FORCE-DEPENDENCIES-P)" t nil) - +(fn &optional NO-QUERY-P SKIP-DEPENDENCIES-P NO-ERROR-P FORCE-DEPENDENCIES-P)" t) (autoload 'pdf-tools-enable-minor-modes "pdf-tools" "\ Enable MODES in the current buffer. MODES defaults to `pdf-tools-enabled-modes'. -\(fn &optional MODES)" t nil) - +(fn &optional MODES)" t) (autoload 'pdf-tools-help "pdf-tools" "\ -Show a Help buffer for `pdf-tools'." t nil) - +Show a Help buffer for `pdf-tools'." t) (register-definition-prefixes "pdf-tools" '("pdf-tools-")) -;;;*** -;;;### (autoloads nil "pdf-util" "pdf-util.el" (0 0 0 0)) ;;; Generated autoloads from pdf-util.el (register-definition-prefixes "pdf-util" '("display-buffer-split-below-and-attach" "pdf-util-")) -;;;*** -;;;### (autoloads nil "pdf-view" "pdf-view.el" (0 0 0 0)) ;;; Generated autoloads from pdf-view.el (autoload 'pdf-view-bookmark-jump-handler "pdf-view" "\ @@ -566,25 +508,20 @@ The bookmark handler-function interface for bookmark BMK. See also `pdf-view-bookmark-make-record'. -\(fn BMK)" nil nil) - +(fn BMK)") (register-definition-prefixes "pdf-view" '("cua-copy-region--pdf-view-advice" "pdf-view-")) -;;;*** -;;;### (autoloads nil "pdf-virtual" "pdf-virtual.el" (0 0 0 0)) ;;; Generated autoloads from pdf-virtual.el (autoload 'pdf-virtual-edit-mode "pdf-virtual" "\ Major mode when editing a virtual PDF buffer. -\(fn)" t nil) - +(fn)" t) (autoload 'pdf-virtual-view-mode "pdf-virtual" "\ Major mode in virtual PDF buffers. -\(fn)" t nil) - +(fn)" t) (defvar pdf-virtual-global-minor-mode nil "\ Non-nil if Pdf-Virtual-Global minor mode is enabled. See the `pdf-virtual-global-minor-mode' command @@ -592,46 +529,42 @@ for a description of this minor mode. Setting this variable directly does not take effect; either customize it (see the info node `Easy Customization') or call the function `pdf-virtual-global-minor-mode'.") - (custom-autoload 'pdf-virtual-global-minor-mode "pdf-virtual" nil) - (autoload 'pdf-virtual-global-minor-mode "pdf-virtual" "\ Enable recognition and handling of VPDF files. -This is a minor mode. If called interactively, toggle the +This is a global minor mode. If called interactively, toggle the `Pdf-Virtual-Global minor mode' mode. If the prefix argument is -positive, enable the mode, and if it is zero or negative, disable -the mode. +positive, enable the mode, and if it is zero or negative, disable the +mode. -If called from Lisp, toggle the mode if ARG is `toggle'. Enable -the mode if ARG is nil, omitted, or is a positive number. -Disable the mode if ARG is a negative number. +If called from Lisp, toggle the mode if ARG is `toggle'. Enable the +mode if ARG is nil, omitted, or is a positive number. Disable the mode +if ARG is a negative number. To check whether the minor mode is enabled in the current buffer, evaluate `(default-value \\='pdf-virtual-global-minor-mode)'. -The mode's hook is called both when the mode is enabled and when -it is disabled. - -\(fn &optional ARG)" t nil) +The mode's hook is called both when the mode is enabled and when it is +disabled. +(fn &optional ARG)" t) (autoload 'pdf-virtual-buffer-create "pdf-virtual" "\ -\(fn &optional FILENAMES BUFFER-NAME DISPLAY-P)" t nil) - +(fn &optional FILENAMES BUFFER-NAME DISPLAY-P)" t) (register-definition-prefixes "pdf-virtual" '("pdf-virtual-")) - -;;;*** -;;;### (autoloads nil nil ("pdf-tools-pkg.el") (0 0 0 0)) +;;; End of scraped data + +(provide 'pdf-tools-autoloads) -;;;*** - ;; Local Variables: ;; version-control: never ;; no-byte-compile: t ;; no-update-autoloads: t -;; coding: utf-8 +;; no-native-compile: t +;; coding: utf-8-emacs-unix ;; End: + ;;; pdf-tools-autoloads.el ends here diff --git a/elpa/pdf-tools-20240429.407/pdf-tools-pkg.el b/elpa/pdf-tools-20240429.407/pdf-tools-pkg.el new file mode 100644 index 00000000..8db5ae3d --- /dev/null +++ b/elpa/pdf-tools-20240429.407/pdf-tools-pkg.el @@ -0,0 +1,12 @@ +;; -*- no-byte-compile: t; lexical-binding: nil -*- +(define-package "pdf-tools" "20240429.407" + "Support library for PDF documents." + '((emacs "26.3") + (tablist "1.0") + (let-alist "1.0.4")) + :url "https://github.com/vedang/pdf-tools" + :commit "30b50544e55b8dbf683c2d932d5c33ac73323a16" + :revdesc "30b50544e55b" + :keywords '("files" "multimedia") + :authors '(("Andreas Politz" . "mail@andreas-politz.de")) + :maintainers '(("Vedang Manerikar" . "vedang.manerikar@gmail.com"))) diff --git a/elpa/pdf-tools-20230611.239/pdf-tools.el b/elpa/pdf-tools-20240429.407/pdf-tools.el similarity index 98% rename from elpa/pdf-tools-20230611.239/pdf-tools.el rename to elpa/pdf-tools-20240429.407/pdf-tools.el index 62113697..0b02934e 100644 --- a/elpa/pdf-tools-20230611.239/pdf-tools.el +++ b/elpa/pdf-tools-20240429.407/pdf-tools.el @@ -7,7 +7,8 @@ ;; URL: http://github.com/vedang/pdf-tools/ ;; Keywords: files, multimedia ;; Package: pdf-tools -;; Version: 1.1.0 +;; Package-Version: 20240429.407 +;; Package-Revision: 30b50544e55b ;; Package-Requires: ((emacs "26.3") (tablist "1.0") (let-alist "1.0.4")) ;; This program is free software; you can redistribute it and/or modify @@ -212,11 +213,13 @@ PDF buffers." (defcustom pdf-tools-installer-os nil "Specifies which installer to use. -If nil the installer is chosen automatically. This variable is +If nil, the installer is chosen automatically. This variable is useful if you have multiple installers present on your system (e.g. nix on arch linux)" :group 'pdf-tools - :type 'string) + :type '(choice + (const :tag "Choose automatically" nil) + string)) (defun pdf-tools-identify-build-directory (directory) "Return non-nil, if DIRECTORY appears to contain the epdfinfo source. diff --git a/elpa/pdf-tools-20230611.239/pdf-util.el b/elpa/pdf-tools-20240429.407/pdf-util.el similarity index 98% rename from elpa/pdf-tools-20230611.239/pdf-util.el rename to elpa/pdf-tools-20240429.407/pdf-util.el index 1e3b7be5..d0a123c0 100644 --- a/elpa/pdf-tools-20230611.239/pdf-util.el +++ b/elpa/pdf-tools-20240429.407/pdf-util.el @@ -607,12 +607,18 @@ string." ;; requires us :-( (defvar pdf-view-midnight-colors) +(when (and (> emacs-major-version 28) + (not (boundp 'x-gtk-use-system-tooltips))) + ;; The x-gtk prefix has been dropped Emacs 29 + (defvaralias 'x-gtk-use-system-tooltips 'use-system-tooltips)) + (defun pdf-util-tooltip-arrow (image-top &optional timeout) (pdf-util-assert-pdf-window) (when (floatp image-top) (setq image-top (round (* image-top (cdr (pdf-view-image-size)))))) - (let* (x-gtk-use-system-tooltips ;allow for display property in tooltip + (let* ((x-gtk-use-system-tooltips nil) + ;; ^ allow for display text property in tooltip (dx (+ (or (car (window-margins)) 0) (car (window-fringes)))) (dy image-top) @@ -901,21 +907,23 @@ frame's PPI is larger than 180. Otherwise, return 1." (executable-find "convert")) "Absolute path to the convert program." :group 'pdf-tools - :type 'executable) + :type '(choice (const :tag "Unset" nil) file)) (defcustom pdf-util-fast-image-format nil "An image format appropriate for fast displaying. -This should be a cons \(TYPE . EXT\) where type is the Emacs -image-type and EXT the appropriate file extension starting with a -dot. If nil, the value is determined automatically. +This should be a cons (TYPE . EXT) where type is the Emacs +`image-type' and EXT the appropriate file extension starting with +a dot. If nil, the value is determined automatically. Different formats have different properties, with respect to Emacs loading time, convert creation time and the file-size. In general, uncompressed formats are faster, but may need a fair amount of (temporary) disk space." :group 'pdf-tools - :type '(cons symbol string)) + :type '(choice + (const :tag "Determine automatically" nil) + (cons symbol string))) (defun pdf-util-assert-convert-program () (unless (and pdf-util-convert-program diff --git a/elpa/pdf-tools-20230611.239/pdf-view.el b/elpa/pdf-tools-20240429.407/pdf-view.el similarity index 98% rename from elpa/pdf-tools-20230611.239/pdf-view.el rename to elpa/pdf-tools-20240429.407/pdf-view.el index f2b89227..96b4237c 100644 --- a/elpa/pdf-tools-20230611.239/pdf-view.el +++ b/elpa/pdf-tools-20240429.407/pdf-view.el @@ -466,20 +466,32 @@ PNG images in Emacs buffers." "Read a password, if the document is encrypted and open it." (interactive) (when (pdf-info-encrypted-p) - (let ((prompt (format "Enter password for `%s': " - (abbreviate-file-name - (buffer-file-name)))) - (key (concat "/pdf-tools" (buffer-file-name))) + (let ((fn (buffer-file-name)) + (prompt "Enter password for pdf document: ") (i 3) - password) + key password) + + (when fn + (setq prompt (format "Enter password for `%s': " + (abbreviate-file-name fn))) + (setq key (concat "/pdf-tools" fn)) + ;; First, try with a cached password + (when (setq password (password-read-from-cache key)) + (ignore-errors (pdf-info-open nil password)) + (when (pdf-info-encrypted-p) + (password-cache-remove key)))) + (while (and (> i 0) (pdf-info-encrypted-p)) (setq i (1- i)) - (setq password (password-read prompt key)) + ;; Cached password was not present or valid, try reading a new password + ;; without cache. + (setq password (password-read prompt)) (setq prompt "Invalid password, try again: ") (ignore-errors (pdf-info-open nil password))) (pdf-info-open nil password) - (password-cache-add key password))) + (when key + (password-cache-add key password)))) nil) (defun pdf-view-buffer-file-name () @@ -541,6 +553,7 @@ Optional parameters IGNORE-AUTO and NOCONFIRM are defined as in after-revert-hook))) (prog1 (revert-buffer ignore-auto noconfirm 'preserve-modes) + (pdf-view-decrypt-document) (pdf-view-redisplay t)))) (defun pdf-view-close-document () @@ -812,7 +825,7 @@ at the bottom edge of the page moves to the next page." (image-bob) (image-bol 1)) (image-set-window-hscroll hscroll))) - (image-next-line 1))) + (image-next-line arg))) (defun pdf-view-previous-line-or-previous-page (&optional arg) "Scroll downward by ARG lines if possible, else go to the previous page. diff --git a/elpa/pdf-tools-20230611.239/pdf-virtual.el b/elpa/pdf-tools-20240429.407/pdf-virtual.el similarity index 100% rename from elpa/pdf-tools-20230611.239/pdf-virtual.el rename to elpa/pdf-tools-20240429.407/pdf-virtual.el -- 2.47.3