Giter Club home page Giter Club logo

qpdf.el's People

Contributors

mjoerg avatar orgtre avatar vedang avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

qpdf.el's Issues

Issue with loading transient (void-function transient-define-prefix)

Dear orgtre,

I have been using your package qpdf.el and really like it. Unfortunately, I receive the following error when loading qpdf.el

Debugger entered--Lisp error: (void-function transient-define-prefix)
  (transient-define-prefix qpdf nil "Transient dispatcher for the qpdf shell command.\nS..." :init-value 'qpdf--set-defaults :transient-non-suffix 'qpdf-transient-non-suffix :incompatible qpdf-incompatible qpdf-prefix-groups)
  straight--activate-package-autoloads((:host github :repo "orgtre/qpdf.el" :package "qpdf.el" :type git :local-repo "qpdf.el"))
  #f(compiled-function () #<bytecode -0x3c3d842388c2d95>)()
  straight--transaction-exec(use-package-\"4cc620bdd6706bfca2b10ccb355b5a73\"-nil-nil :now #f(compiled-function () #<bytecode -0x3c3d842388c2d95>))
  straight-use-package((qpdf.el :host github :repo "orgtre/qpdf.el"))
  load-with-code-conversion("/home/<user>/.emacs.d/init.el" "/home/<user>/.emacs.d/init.el" t t)
  load("/home/<user>/.emacs.d/init" noerror nomessage)
  startup--load-user-init-file(#f(compiled-function () #<bytecode -0x19da930056f1201f>) #f(compiled-function () #<bytecode -0x1f3c6feddc0acb35>) t)
  command-line()
  normal-top-level()

The error can be reproduced with the following minimal configuration file:

(defvar bootstrap-version)
(let ((bootstrap-file
           (expand-file-name "straight/repos/straight.el/bootstrap.el" user-emacs-directory))
          (bootstrap-version 5))
  (unless (file-exists-p bootstrap-file)
        (with-current-buffer
        (url-retrieve-synchronously
         "https://raw.githubusercontent.com/raxod502/straight.el/develop/install.el"
         'silent 'inhibit-cookies)
          (goto-char (point-max))
          (eval-print-last-sexp)))
  (load bootstrap-file nil 'nomessage))

(setq package-enable-at-startup nil)
(straight-use-package 'use-package)
(setq straight-use-package-by-default t)

;; disable verbose warnings related to native-compilation
(require 'comp nil t)
(when (fboundp 'native-compile)
  (setq native-comp-async-report-warnings-errors nil))

(use-package qpdf.el
  :straight (:host github :repo "orgtre/qpdf.el")
  :commands qpdf)

It looks like that (require 'transient) in l. 11 does somehow not take effect.
Adding an explicit (require 'transient)-statement in front of the (use-package...)-statement resolves the error.
Do you have an idea what causes this problem here?

Thank you very much for providing and maintaining qpdf.el.

Best regards,
jgru

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.