darth10/chordy 131
A Ruby DSL for printing guitar chords
darth10/akhilwedsmegha.github.io 0
A Simple Wedding Invitation using Octopress/Jekyll
GitHub Android App
darth10/angular-express-bootstrap-seed 0
A great starting point for writing AngularJS apps sauced with Twitter Bootstrap and backed by an Express-powered node.js server.
An automagical REST API server
darth10/asp-advanced-swagger-codegen 0
A Swagger Codegen module for serious .NET Core model generation
ASP.NET Core rate limiting middleware
Simple algorithms with really big numbers
bm.el -- Visual Bookmarks for GNU Emacs
startedstyfle/awesome-online-ide
started time in 13 hours
issue commentraxod502/straight.el
Change the variable's default value of a package with straight.el
Powered by straight, auctex, eglot, texlab, and company, I finally figured out a working vanilla Emacs based LaTeX document preparation system. See here for more detailed info, and the following screenshot for a rough impression:

comment created time in a day
issue commentraxod502/straight.el
Change the variable's default value of a package with straight.el
Thank you for pointing this out.
comment created time in a day
issue commentraxod502/straight.el
I recently got drawn into issues with mu4e again. I've got a fix below.
I encountered this during a doom upgrade:
> Building mu4e...
x There was an unexpected error
Message: error
Data: (error . ":pre-build command error in \"mu4e\" recipe in command \"(\\\"./autogen.sh\\\")\"")
Backtrace:
(signal error (":pre-build command error in \"mu4e\" recipe in command \"(
(error ":pre-build command error in %S recipe in command %S" "mu4e" "(\"./
(condition-case err (if (cl-every #'stringp command) (if (apply #'straight
(let ((command (car --dolist-tail--))) (condition-case err (if (cl-every #
(while --dolist-tail-- (let ((command (car --dolist-tail--))) (condition-c
(let ((--dolist-tail-- (if (cl-every #'listp commands) commands (list comm
(let ((default-directory repo) (commanderror nil)) (let ((--dolist-tail--
(if repo (let ((default-directory repo) (commanderror nil)) (let ((--dolis
(let* ((commands (and t (if post post-build pre-build))) (repo (and comman
(let* ((--cl-rest-- recipe) (pre-build (car (cdr (plist-member --cl-rest--
My mu4e is symlinked out of a nix directory. nix likes to keep everything read-only, and I see no autogen.sh to run. There are already .elc files there (I assume the nix derivation build put them there). So I disabled the pre-build step:
(package! mu4e
:recipe (
:local-repo "~/.nix-profile/share/emacs/site-lisp/mu4e"
;; pre-build must be disabled when using the nix derivation - in part
;; because it is alreadt built, but also because the directory is
;; read-only because that's how nix likes to do things.
:pre-build ()
)
)
"~/.nix-profile/share/emacs/site-lisp/mu4e" comes from a symlink, which is documented earlier in this thread.
I apologize if this necro-posting is considered distasteful. My (perhaps poor) justification is that searches for pre-build issues relating to straight.el and mu4e bring me back here. Perhaps this will help someone else.
comment created time in a day
issue commentraxod502/straight.el
Change the variable's default value of a package with straight.el
That's an abuse of the :pre-build keyword. It was not designed to configure packages. The :pre-build steps are only run when the package is built/rebuild, so if you quit Emacs and restart and no build is necessary, TeX-auto-global will not be set to your desired variable.
comment created time in a day
startedcariboulabs/cariboulite
started time in a day
starteddirien/k3sair-cli
started time in a day
release PowerShell/PowerShell
powershell-7.2.0-preview.7-linux-alpine-x64.tar.gz 62.55MB
powershell-7.2.0-preview.7-linux-arm32.tar.gz 60.51MB
powershell-7.2.0-preview.7-linux-arm64.tar.gz 59.36MB
powershell-7.2.0-preview.7-linux-x64-fxdependent.tar.gz 20.57MB
powershell-7.2.0-preview.7-linux-x64.tar.gz 63.89MB
powershell-7.2.0-preview.7-osx-x64.pkg 62.05MB
powershell-7.2.0-preview.7-osx-x64.tar.gz 61.88MB
PowerShell-7.2.0-preview.7-win-arm32.zip 61.84MB
PowerShell-7.2.0-preview.7-win-arm64.zip 62.19MB
PowerShell-7.2.0-preview.7-win-fxdependent.zip 21.75MB
PowerShell-7.2.0-preview.7-win-fxdependentWinDesktop.zip 20.53MB
PowerShell-7.2.0-preview.7-win-x64.msi 96.61MB
PowerShell-7.2.0-preview.7-win-x64.zip 98.04MB
PowerShell-7.2.0-preview.7-win-x86.msi 87.61MB
PowerShell-7.2.0-preview.7-win-x86.zip 88.96MB
released time in a day
issue commentraxod502/straight.el
Change the variable's default value of a package with straight.el
Thank you. Based on your hints, the following does the trick:
(straight-use-package
`( auctex :type git :host nil :repo "https://git.savannah.gnu.org/git/auctex.git"
:pre-build ,(pcase system-type
(`berkeley-unix '("gmake"))
(_ '(
`("bash" "-c" "cd" ,(straight--repos-dir "auctex"))
("./autogen.sh")
("./configure")
("make")
("sudo" "make" "install")))))
(setq TeX-auto-global "~/.local/var/auctex/")
)
comment created time in a day
issue closedraxod502/straight.el
Change the variable's default value of a package with straight.el
On Ubuntu 20.04, I use the following code snippet to install auctex:
(straight-use-package
`( auctex :type git :host nil :repo "https://git.savannah.gnu.org/git/auctex.git"
:pre-build ,(pcase system-type
(`berkeley-unix '("gmake"))
(_ '(
`("bash" "-c" "cd" ,(straight--repos-dir "auctex"))
("./autogen.sh")
("./configure")
("make")
("sudo" "make" "install"))))
:init
(setq TeX-auto-global "~/.local/var/auctex/")
))
In the above settings, I want to change the value of the variable TeX-auto-global, which will be used by the function TeX-auto-generate-global to hold the generated macros and environments info files.
But when I check its value with C-h v TeX-auto-global RET, it still assigned with its original value as shown below:

Any hints for this problem?
Regards, HY
closed time in 2 days
hongyi-zhaoissue commentraxod502/straight.el
Change the variable's default value of a package with straight.el
You are confusing straight-use-package with use-package. The former has no :init keyword.
comment created time in 2 days
PR opened raxod502/straight.el
Function is only called during straight-expand-files-directive'. We can usecl-pushnew` instead.
I believe this will be equivalent. Seem OK to you @raxod502?
pr created time in 2 days
release helm/helm
helm-v3.6.1-darwin-amd64.tar.gz.asc 0.81KB
helm-v3.6.1-darwin-amd64.tar.gz.sha256.asc 0.81KB
helm-v3.6.1-darwin-amd64.tar.gz.sha256sum.asc 0.81KB
helm-v3.6.1-darwin-arm64.tar.gz.asc 0.81KB
helm-v3.6.1-darwin-arm64.tar.gz.sha256.asc 0.81KB
helm-v3.6.1-darwin-arm64.tar.gz.sha256sum.asc 0.81KB
helm-v3.6.1-linux-386.tar.gz.asc 0.81KB
helm-v3.6.1-linux-386.tar.gz.sha256.asc 0.81KB
helm-v3.6.1-linux-386.tar.gz.sha256sum.asc 0.81KB
helm-v3.6.1-linux-amd64.tar.gz.asc 0.81KB
helm-v3.6.1-linux-amd64.tar.gz.sha256.asc 0.81KB
helm-v3.6.1-linux-amd64.tar.gz.sha256sum.asc 0.81KB
helm-v3.6.1-linux-arm.tar.gz.asc 0.81KB
helm-v3.6.1-linux-arm.tar.gz.sha256.asc 0.81KB
helm-v3.6.1-linux-arm.tar.gz.sha256sum.asc 0.81KB
helm-v3.6.1-linux-arm64.tar.gz.asc 0.81KB
helm-v3.6.1-linux-arm64.tar.gz.sha256.asc 0.81KB
helm-v3.6.1-linux-arm64.tar.gz.sha256sum.asc 0.81KB
helm-v3.6.1-linux-ppc64le.tar.gz.asc 0.81KB
helm-v3.6.1-linux-ppc64le.tar.gz.sha256.asc 0.81KB
helm-v3.6.1-linux-ppc64le.tar.gz.sha256sum.asc 0.81KB
helm-v3.6.1-linux-s390x.tar.gz.asc 0.81KB
helm-v3.6.1-linux-s390x.tar.gz.sha256.asc 0.81KB
helm-v3.6.1-linux-s390x.tar.gz.sha256sum.asc 0.81KB
helm-v3.6.1-windows-amd64.zip.asc 0.81KB
released time in 2 days
startedhzeller/air-purifier-box
started time in 3 days
issue closedraxod502/straight.el
According to the instruction given in auctex's INSTALL file, I compose the following lisp snippet for using it from local Git repo:
(straight-use-package
`( auctex :type git :host nil :repo "https://git.savannah.gnu.org/git/auctex.git"
:pre-build ,(pcase system-type
(`berkeley-unix '("gmake"))
(_ '(
("bash" "-c" "cd ~/.emacs.d/straight/repos/auctex")
("./autogen.sh")
("./configure" "--without-texmf-dir" "--with-lispdir=.")
("make")
)))))
(setq TeX-data-directory (straight--repos-dir "auctex")
TeX-lisp-directory TeX-data-directory)
(eval-after-load 'info
'(add-to-list 'Info-additional-directory-list
(concat (straight--repos-dir "auctex") "doc")))
(load "auctex.el" nil t t)
(load "preview-latex.el" nil t t)
(setq TeX-auto-save t)
(setq TeX-parse-self t)
(setq-default TeX-master nil)
As we have discussed before, the lisp code line below is needless due to straight.el's inner operation mechanism:
("bash" "-c" "cd ~/.emacs.d/straight/repos/auctex")
But from a technical point, I want to know if I can pass straight's function result, i.e., (straight--repos-dir "auctex") to the above shell command for convenient variable substitute.
Regards, HY
closed time in 3 days
hongyi-zhaoissue commentraxod502/straight.el
Should be unnecessary.
Thank you for letting me know this.
Since the entire recipe is in a backquoted list,
Based on your hints, I tried out the following expression in the *scratch* buffer:
(shell-command "bash" "-c"("cd" (straight--repos-dir "auctex")))`
So the corresponding code line used in ~/.emacs.d/init.el should look as below:
("bash" "-c"("cd" (straight--repos-dir "auctex")))`
comment created time in 3 days