Re: add-to-list on lexical vars (Re: Error on loading polyglossia.el)

2021-01-09 Thread Ikumi Keita
> Tassilo Horn writes: > Ikumi Keita writes: >> OK, the attached revised patch includes a new test. > Looks good. Is there a problem with just adding a > (defvar TeX-test-dummy-alist nil) > for the test variable and then declaring lexical-binding t for the file? > Usually, the test are

[AUCTeX-diffs] GNU AUCTeX branch, master, updated. b326502954199d5f4339f09e82dfd1dcb32ca1d6

2021-01-09 Thread Ikumi Keita
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "GNU AUCTeX". The branch, master has been updated via b326502954199d5f4339f09e82dfd1dcb32ca1d6 (commit) from

[AUCTeX-commit] GNU AUCTeX branch, master, updated. b326502954199d5f4339f09e82dfd1dcb32ca1d6

2021-01-09 Thread Ikumi Keita
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "GNU AUCTeX". The branch, master has been updated via b326502954199d5f4339f09e82dfd1dcb32ca1d6 (commit) from

Why does a `standalone` document set `TeX-PDF-from-DVI`?

2021-01-09 Thread Maximilian Wuttke
Hi, I recently made some graphics which I outsourced into their own files. I used the `standalone` document class for this. For some reason, in these files, the variable `TeX-PDF-from-DVI` is automatically set. Minimal example: > \documentclass[tikz,border=5pt]{standalone} > > \begin{document}

bug#39927: 12.2; preview-latex gs treatment off by one

2021-01-09 Thread Braun, Michael
Ikumi: It does appear to have fixed the problem. I am no longer getting the warnings. Thanks for the patch. Michael > On Jan 7, 2021, at 6:17 AM, Ikumi Keita wrote: > > Hi Itaï, Luke, Braun, > > Sorry for late response. It seems that I managed to fix the bug of > preview-latex you reported

Re: cannot get AUCTeX to work

2021-01-09 Thread Gennady Uraltsev
Hello, This may not be of direct use but I use AucTeX under Windows with emacs27. I use straight for package management and a simple: (straight-use-package 'auctex) in the init makes everything work out of the box. The only issue that I had is that I have to define keybindings in a hook that I

Re: cannot get AUCTeX to work

2021-01-09 Thread Greg Bognar via General discussion about AUCTeX
On Sat 9 Jan 2021 at 17:18 Joost Kremers wrote: > I do: > > ``` > (use-package tex-site > :ensure auctex > :config ...) > ``` > > Before use-package, before package.el even, `(require 'tex-site)` was the way > to > load AUCTeX, so I kept `tex-site` when I switched to use-package. > >

Re: add-to-list on lexical vars (Re: Error on loading polyglossia.el)

2021-01-09 Thread Tassilo Horn
Ikumi Keita writes: > OK, the attached revised patch includes a new test. Looks good. Is there a problem with just adding a (defvar TeX-test-dummy-alist nil) for the test variable and then declaring lexical-binding t for the file? Usually, the test are only run thru make, and then there's

[AUCTeX-diffs] GNU AUCTeX branch, master, updated. b465e383472725d6885b811f97985cc38f5226cd

2021-01-09 Thread Tassilo Horn
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "GNU AUCTeX". The branch, master has been updated via b465e383472725d6885b811f97985cc38f5226cd (commit) from

[AUCTeX-commit] GNU AUCTeX branch, master, updated. b465e383472725d6885b811f97985cc38f5226cd

2021-01-09 Thread Tassilo Horn
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "GNU AUCTeX". The branch, master has been updated via b465e383472725d6885b811f97985cc38f5226cd (commit) from

Re: cannot get AUCTeX to work

2021-01-09 Thread Tassilo Horn
Pastiche P writes: > The error is gone, but I'm not sure AUCTeX itself is properly > loaded. E.g., the command LaTeX-section is undefined. Or perhaps I'm > misunderstanding something? Sorry, I think I wanted to suggest this recipe: (use-package tex-site :ensure auctex :config (setq

Re: Error on loading polyglossia.el

2021-01-09 Thread Joost Kremers
Hi Tassilo, On Fri, Jan 08 2021, Tassilo Horn wrote: >> Anyone know what's going on? > > Yes, me! Fixed in Git. I've just released auctex 13.0.3 on ELPA with a > fix (just some hours after I've had released 13.0.2). :-) Thanks! Updated and now it works. :-) -- Joost Kremers Life has its

Re: cannot get AUCTeX to work

2021-01-09 Thread Joost Kremers
On Sat, Jan 09 2021, Greg Bognar via General discussion about AUCTeX wrote: >> Pastiche P writes: >> >> The error is gone, but I'm not sure AUCTeX itself is properly loaded. E.g., >> the command LaTeX-section is undefined. Or perhaps I'm misunderstanding >> something? > > In my experience, you

Re: cannot get AUCTeX to work

2021-01-09 Thread Greg Bognar via General discussion about AUCTeX
> Pastiche P writes: > > The error is gone, but I'm not sure AUCTeX itself is properly loaded. E.g., > the command LaTeX-section is undefined. Or perhaps I'm misunderstanding > something? In my experience, you need to do (use-package latex :ensure auctex :mode ("\\.tex\\'" . LaTeX-mode)

Re: add-to-list on lexical vars (Re: Error on loading polyglossia.el)

2021-01-09 Thread Ikumi Keita
> Tassilo Horn writes: > While you are at it, could you please add some TeX-add-to-alist tests to > our suite. Looking at your relevant diff hunk it is obvious that this > function isn't trivial and some tests are justified. OK, the attached revised patch includes a new test. >> and

Re: cannot get AUCTeX to work

2021-01-09 Thread Pastiche P
The error is gone, but I'm not sure AUCTeX itself is properly loaded. E.g., the command LaTeX-section is undefined. Or perhaps I'm misunderstanding something? Thanks! On Sat, 9 Jan 2021 at 11:18, Tassilo Horn wrote: > Pastiche P writes: > > Hi Pastiche, > > > I just installed AUCTeX 13.0.1

[AUCTeX-commit] GNU AUCTeX branch, master, updated. eba6bab8c1f9f699c51d381f4fad3d967128909d

2021-01-09 Thread Tassilo Horn
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "GNU AUCTeX". The branch, master has been updated via eba6bab8c1f9f699c51d381f4fad3d967128909d (commit) from

[AUCTeX-diffs] GNU AUCTeX branch, master, updated. eba6bab8c1f9f699c51d381f4fad3d967128909d

2021-01-09 Thread Tassilo Horn
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "GNU AUCTeX". The branch, master has been updated via eba6bab8c1f9f699c51d381f4fad3d967128909d (commit) from

[AUCTeX-commit] GNU AUCTeX branch, master, updated. 83d68ae7b43bb07b59d49748fc7099968bfd712e

2021-01-09 Thread Tassilo Horn
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "GNU AUCTeX". The branch, master has been updated via 83d68ae7b43bb07b59d49748fc7099968bfd712e (commit) from

[AUCTeX-diffs] GNU AUCTeX branch, master, updated. 83d68ae7b43bb07b59d49748fc7099968bfd712e

2021-01-09 Thread Tassilo Horn
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "GNU AUCTeX". The branch, master has been updated via 83d68ae7b43bb07b59d49748fc7099968bfd712e (commit) from

Re: cannot get AUCTeX to work

2021-01-09 Thread Tassilo Horn
Pastiche P writes: Hi Pastiche, > I just installed AUCTeX 13.0.1 using M-x list-packages. This is Emacs > 27.1 under Windows. > > I put this in my config: > > (use-package tex > :ensure auctex > :config > (setq TeX-auto-save t) > (setq TeX-parse-self t)) > > Whenever I open a *.tex

Re: add-to-list on lexical vars (Re: Error on loading polyglossia.el)

2021-01-09 Thread Tassilo Horn
Ikumi Keita writes: Hi Ikumi, >>> I did notice, BTW, that this function uses `add-to-list`, the doc >>> string of which warns against using it in Lisp code. > >> Yes, you should definitely not use it on lexical local variables. >> With AUCTeX 13, we switched to lexical-binding, and now that

[GNU ELPA] Auctex version 13.0.3

2021-01-09 Thread ELPA update
Version 13.0.3 of package Auctex has just been released in GNU ELPA. You can now find it in M-x package-list RET. Auctex describes itself as: Integrated environment for *TeX* More at https://elpa.gnu.org/packages/auctex.html

cannot get AUCTeX to work

2021-01-09 Thread Pastiche P
I just installed AUCTeX 13.0.1 using M-x list-packages. This is Emacs 27.1 under Windows. I put this in my config: (use-package tex :ensure auctex :config (setq TeX-auto-save t) (setq TeX-parse-self t)) Whenever I open a *.tex file, I get Debugger entered--Lisp error: (void-function

add-to-list on lexical vars (Re: Error on loading polyglossia.el)

2021-01-09 Thread Ikumi Keita
Hi Tassilo and all, > Tassilo Horn writes: >> I did notice, BTW, that this function uses `add-to-list`, the doc >> string of which warns against using it in Lisp code. > Yes, you should definitely not use it on lexical local variables. With > AUCTeX 13, we switched to lexical-binding, and

[AUCTeX-commit] GNU AUCTeX branch, master, updated. 74f5675333c40d58b441d87e964429f309ba4b91

2021-01-09 Thread Ikumi Keita
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "GNU AUCTeX". The branch, master has been updated via 74f5675333c40d58b441d87e964429f309ba4b91 (commit) from

[AUCTeX-diffs] GNU AUCTeX branch, master, updated. 74f5675333c40d58b441d87e964429f309ba4b91

2021-01-09 Thread Ikumi Keita
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "GNU AUCTeX". The branch, master has been updated via 74f5675333c40d58b441d87e964429f309ba4b91 (commit) from