Uwe Brauer <o...@mat.ucm.es> writes: Hi Uwe,
> Can't I just set > > --8<---------------cut here---------------start------------->8--- > (setq load-path (cons (expand-file-name > "~/emacs/site-lisp/packages/src/auctex-hg") load-path)) > --8<---------------cut here---------------end--------------->8--- > > And then a init file with > > --8<---------------cut here---------------start------------->8--- > (load "auctex.el" nil t t) > (load "preview-latex.el" nil t t) > --8<---------------cut here---------------end--------------->8--- > > As I did before Why do you insist on using a more complex recipe than what Arash gave you: (load "~/development/auctex/auctex-autoloads.el" nil t t) That's pretty much what an ELPA install would do automatically and which we know works. > In your other mail you suggest to use > > --8<---------------cut here---------------start------------->8--- > (add-to-list 'package-archives > '("elpa-devel" . "https://elpa.gnu.org/devel/") t) > (setq package-archive-priority > '(("elpa" . 10) > ("elpa-devel" . 5))) > (setq package-pinned-packages > '((auctex . "elpa-devel"))) > > --8<---------------cut here---------------end--------------->8--- > > But this seems to be something different. Yeah, that's for installing auctex from the ELPA-devel archive which also gives you the beleeding edge and you wouldn't need to run from a checkout. > Here is a scenario, you or Keita for that matter send me a patch > against the latest commit in main, as both of you did in the past. > > To try out the patch I need to compile the patched main branch and > restart emacs, I don't see you to do this using elpa as you suggest. > > Or do I miss here something? You could simply apply the path in ~/.emacs.d/elpa/auctex-<version>/ and then do M-x package-recompile RET auctex RET. Bye, Tassilo