master 5fdc2350: Generalize some error description regexp

2024-05-05 Thread Arash Esbati
branch: master commit 5fdc23508032d08097b1c1a82928267426b0f03b Author: Paul Nelson Commit: Arash Esbati Generalize some error description regexp * latex.el (LaTeX-error-description-list): Generalize regexp for begin/end mismatch error, so that a line number may be given

master updated (2d0c7011 -> 06c0df55)

2024-05-04 Thread Arash Esbati
esbati pushed a change to branch master. from 2d0c7011 Allow multiple preview preprocessors new 8b6a6bbc Allow programmatic preview abortion new 06c0df55 Expand default auto-reveal options Summary of changes: preview.el.in | 19 --- tex-fold.el | 4

master 06c0df55 2/2: Expand default auto-reveal options

2024-05-04 Thread Arash Esbati
branch: master commit 06c0df55a49cf1946042ec540a0c5ac503279cfb Author: Paul Nelson Commit: Arash Esbati Expand default auto-reveal options * preview.el.in (preview-auto-reveal-commands): * tex-fold.el (TeX-fold-auto-reveal-commands): Add pop-to-mark-command and undo

master 8b6a6bbc 1/2: Allow programmatic preview abortion

2024-05-04 Thread Arash Esbati
branch: master commit 8b6a6bbce4704ac3b759a5f09ea0844dfd624892 Author: Paul Nelson Commit: Arash Esbati Allow programmatic preview abortion * preview.el.in (preview-abort-flag): New variable. (preview-TeX-inline-sentinel): Use it. (bug#70630) --- preview.el.in | 15

master 2d0c7011: Allow multiple preview preprocessors

2024-05-02 Thread Arash Esbati
branch: master commit 2d0c70114e5c475f311c1c481dae060c3e2cd882 Author: Paul Nelson Commit: Arash Esbati Allow multiple preview preprocessors * preview.el.in (preview-preprocessor-functions): New variable, replacing `preview-preprocessor-function'. (preview-region): Use

master 8db1e90b: Make auto-reveal customizations easier to extend

2024-05-02 Thread Arash Esbati
branch: master commit 8db1e90b6d25beb72b5ebbc706b6def64794dcf8 Author: Paul Nelson Commit: Arash Esbati Make auto-reveal customizations easier to extend * preview.el.in (preview-auto-reveal-commands): New user option. (preview-auto-reveal): Use it. * doc/preview-latex.texi

master 63968cc5: * tex.el (TeX-one-master): Consider .ltx as ordinary TeX files.

2024-04-28 Thread Arash Esbati
branch: master commit 63968cc5cf56a0bcbabca55e49861865578b5bd5 Author: Arash Esbati Commit: Arash Esbati * tex.el (TeX-one-master): Consider .ltx as ordinary TeX files. --- tex.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tex.el b/tex.el index d2864b5f..cda1d7f6

master f5546d1d: ; * NEWS.org: Update the file.

2024-04-25 Thread Arash Esbati
branch: master commit f5546d1da0feacc43d0673dab262a7a7f44f26e9 Author: Arash Esbati Commit: Arash Esbati ; * NEWS.org: Update the file. --- NEWS.org | 4 1 file changed, 4 insertions(+) diff --git a/NEWS.org b/NEWS.org index 21b98e30..10e890e0 100644 --- a/NEWS.org +++ b/NEWS.org

master a401c3fc: Silence the compiler for the "main" branch

2024-04-25 Thread Arash Esbati
branch: master commit a401c3fcc678541384b0cda915069c7998729fe0 Author: Arash Esbati Commit: Arash Esbati Silence the compiler for the "main" branch * latex.el: * plain-tex.el: * tex.el: Declare functions which are reported as not known to be defined when

Re: emacs 29.1 more problems

2024-04-25 Thread Arash Esbati
Hi Uwe, Uwe Brauer writes: > I concentrated on the repository that I cloned with git. > > I compiled and installed GNU emacs > commit 1d4e90341782 > 31.05.2022, where the function loaddefs-generate-batch was introduced. If you look at this page, you'll see that the function/functionality went

Re: [can't compile the main branch]

2024-04-25 Thread Arash Esbati
Tassilo Horn writes: > And there it is! So it seems to work now; you can stop knocking. ;-) And I like the way the manual is formatted. Compare this: https://www.gnu.org/software/auctex/manual/auctex.html with this: https://elpa.gnu.org/devel/doc/auctex.html Thanks! Best, Arash

Re: [can't compile the main branch]: SOLVED

2024-04-25 Thread Arash Esbati
Tassilo Horn writes: > Ah, ok, and you do that probably over multiple emacs sessions so that > the buffer isn't there anymore. Yes, my workflow is to write the ChangeLog entry directly after the change and not before the actual commit, hence I need a file. > You might as well customize

main 80f47a4b: * GNUmakefile (clean): Don't clean up ChangeLog.

2024-04-25 Thread Arash Esbati
branch: main commit 80f47a4b72eeac0d1b5a83badfa7482b5f9378eb Author: Arash Esbati Commit: Arash Esbati * GNUmakefile (clean): Don't clean up ChangeLog. --- GNUmakefile | 1 - 1 file changed, 1 deletion(-) diff --git a/GNUmakefile b/GNUmakefile index 999861cb..507d69fd 100644

Re: [can't compile the main branch]: SOLVED

2024-04-25 Thread Arash Esbati
Tassilo Horn writes: > We are lucky. Good that we have him.  > It depends on how clean the clean target should make. I went for very > clean but wouldn't mind if the ChangeLog was kept. For what purpose? I maintain a ChangeLog: I use 'C-x 4 a' to make a ChangeLog entry and depending on

Re: [can't compile the main branch]: SOLVED

2024-04-25 Thread Arash Esbati
Tassilo Horn writes: > I totally don't mind when you fix my errors and oversights. That's > exactly why I've hired you. ;-) And I rely on Keita looknig after me ;-) I have another question about this rule: clean: rm -f $(ALL_GENERATED_FILES) \ $(wildcard

main 16a5896f: ; * GNUmakefile: Fix last change.

2024-04-25 Thread Arash Esbati
branch: main commit 16a5896f6d61c3ab693bfe374608b088163a2b69 Author: Arash Esbati Commit: Arash Esbati ; * GNUmakefile: Fix last change. --- GNUmakefile | 11 ++- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/GNUmakefile b/GNUmakefile index 892d1c3c..999861cb 100644

Re: [can't compile the main branch]: SOLVED

2024-04-25 Thread Arash Esbati
Tassilo Horn writes: > Done. Thanks. Do you mind if I add this change to it: --8<---cut here---start->8--- diff --git a/GNUmakefile b/GNUmakefile index 892d1c3c..999861cb 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -83,7 +83,8 @@ clean: rm -f

Re: [can't compile the main branch]: SOLVED

2024-04-25 Thread Arash Esbati
Tassilo Horn writes: > If you have more than those, yes: > > In bib-find-next: > bib-cite.el:944:8: Warning: ‘find-tag’ is an obsolete function (as of > 25.1); use ‘xref-find-definitions’ instead. > > In end of data: > tex-info.el: Warning: the function ‘cl-member’ might not be defined at >

Re: [can't compile the main branch]: SOLVED

2024-04-25 Thread Arash Esbati
Uwe Brauer writes: > First of all thanks Arash, that might have been a bit complicated. I > appreciate it. You're welcome. Actually not, I took most of it from our old Makefile.in. > I was late yesterday night, so since Tassilo already applied the patch, > > * From my git clone > > I pulled

Re: [can't compile the main branch]

2024-04-25 Thread Arash Esbati
Tassilo Horn writes: > Thanks, applied with the minor change that I use $(wildcard *.el) > instead of listing all lisp files and binding them to AUCSRC. Thanks. Yes, $(wildcard *.el) is easier. I removed also some code remainder. Best, Arash

main 4714c740: ; * GNUmakefile: Delete code remainder.

2024-04-25 Thread Arash Esbati
branch: main commit 4714c740616b42997d1cca09a0297753d8246a91 Author: Arash Esbati Commit: Arash Esbati ; * GNUmakefile: Delete code remainder. --- GNUmakefile | 8 1 file changed, 8 deletions(-) diff --git a/GNUmakefile b/GNUmakefile index c10a6cd8..1b4499a3 100644

Re: [can't compile the main branch]

2024-04-24 Thread Arash Esbati
Stefan Monnier writes: >> AFAIU, using `update-file-autoloads' again means keeping track of all >> AUCTeX files in the new GNUmakefile, or is there a better solution? > > You should be able to use `update-directory-autoloads`. > It's a bit more cumbersome to use than `loaddefs-generate` but

Re: [can't compile the main branch]

2024-04-24 Thread Arash Esbati
Tassilo Horn writes: > I just wanted to say that I'll have a look about making the build > succeed in the absence of git or when running it not in a normal git > clone when I find some spare time. Thanks Tassilo. One other issue Uwe brought up was that `loaddefs-generate' isn't available for

Re: [can't compile the main branch]

2024-04-24 Thread Arash Esbati
Stefan Monnier writes: >> +# If this is not a Git repository, just generate an empty ChangeLog. >> +test -d .git || { >> + >"$output" >> + exit >> +} >> + >> # Get the new value for gen_origin from the latest version in the >> repository. >> new_origin=`git log --pretty=format:%H 'HEAD^!'`

Re: [can't compile the main branch]

2024-04-24 Thread Arash Esbati
Stefan Monnier writes: > IMO `build-aux/gitlog-to-auctexlog` should gracefully fail > (e.g. generate an empty file, or put the Git error into that > file). Hmm, build-aux/gitlog-to-auctexlog contains[1]: --8<---cut here---start->8--- # If this is not a Git

Re: compilation using git needs 10 minutes and fails

2024-04-24 Thread Arash Esbati
Uwe Brauer writes: > This function is not defined. > > emacs-version is a variable defined in ‘C source code’. > > Its value is "29.0.50" > > Version numbers of this version of Emacs. > > But > > , > | emacs-repository-version is a variable defined in ‘version.el’. > | > | Its value is

Re: compilation using git needs 10 minutes and fails

2024-04-24 Thread Arash Esbati
Uwe Brauer writes: > Well, it compiled from master but 29.0.5 so pre 29.1 What do you see if you do: • emacs -Q • C-h f loaddefs-generate-batch RET in scratch This is what I get: --8<---cut here---start->8--- loaddefs-generate-batch is an autoloaded

Re: Making AUCTeX ELPA releases from the master branch

2024-04-23 Thread Arash Esbati
Stefan Monnier writes: > That works as well, indeed. There are many ways to skin this cat.  Meow!  > Ah, OK. Not sure why you find it ugly, but there's no accounting > for taste. I find it a bit unnatural to load a file containing the autoloads by hand. But maybe I have to change my

Re: compilation using git needs 10 minutes and fails

2024-04-23 Thread Arash Esbati
Uwe Brauer writes: > Time needed 56 sec on my X1 Thinkpad form 2017 > > I switched to main > > 1) make distclean > 2) git switch main > 3) make > 4) after 10 min! I obtain > > Error: void-function (loaddefs-generate-batch) > mapbacktrace(#f(compiled-function (evald func args

Re: Making AUCTeX ELPA releases from the master branch

2024-04-23 Thread Arash Esbati
Stefan Monnier writes: > I use it with `emacs -Q ...` when I want to try and isolate a problem. Thanks for the hint. My approach to that for package `foo' until now was: (progn (package-initialize t) (package-activate 'foo)) > Indeed, usually `package-activate(-all)` performs those

Re: Making AUCTeX ELPA releases from the master branch

2024-04-23 Thread Arash Esbati
Stefan Monnier writes: >> I think we need to adapt our instructions. To run straight from the >> clone, this seems to work fine: >> >> (add-to-list 'load-path "~/Repos/el/auctex") >> (load "~/Repos/el/auctex/loaddefs.el" nil t t) > > Side note: an AUCTeX installed with `package.el`

Re: Making AUCTeX ELPA releases from the master branch

2024-04-23 Thread Arash Esbati
Tassilo Horn writes: > I think we need to adapt our instructions. To run straight from the > clone, this seems to work fine: > > (add-to-list 'load-path "~/Repos/el/auctex") > (load "~/Repos/el/auctex/loaddefs.el" nil t t) Thanks, this does the job. Yes, we will have to adapt our

Re: Making AUCTeX ELPA releases from the master branch

2024-04-23 Thread Arash Esbati
Tassilo Horn writes: > Ok, I've adjusted the elpa recipe and merged from master to main. So > hopefully there will be some new devel package anytime soon at > > https://elpa.gnu.org/devel/auctex.html > > If that works fine, we can bump the Version in auctex.el and do a > regular ELPA release.

Re: Making AUCTeX ELPA releases from the master branch

2024-04-23 Thread Arash Esbati
Stefan Monnier writes: > FWIW, while we don't have good statistics to confirm it, I believe that > very few users routinely install packages from GNU-devel: contrary to > Melpa where the system is setup to encourage the use of Melpa over > Melpa-stable, the GNU ELPA archive is setup so as to

Re: reftex-citation is not able to deal with several databases

2024-04-23 Thread Arash Esbati
Uwe Brauer via Discussion list for AUCTeX developers writes: > Thanks for your answer. I found a solution that I posted, but it did not > land in the same thread sorry. Ah, Ok, I must have missed that, sorry. > So the solution I found in >

Re: Making AUCTeX ELPA releases from the master branch

2024-04-23 Thread Arash Esbati
Hi Tassilo, Tassilo Horn writes: > I've created a "main" branch (split off externals/auctex) and adjusted > it such that it should be buildable on elpa and the mere act of changing > the Version number in auctex.el in a commit would trigger a new ELPA > release. And every other commit would at

Re: reftex-citation is not able to deal with several databases

2024-04-23 Thread Arash Esbati
Hi Uwe, Uwe Brauer writes: > More and more I need more than one bibtex/biblatex database. > > If I stick for the moment to bibtex, the following is perfectly possible: > > \bibliography{bibgraf,mahir} > > Bibtex will find the citations form both databases > > However reftex-citations is not

master 4731168e: Allow opened previews to remain visible

2024-04-22 Thread Arash Esbati
branch: master commit 4731168eca3f103732a026f70912597faef8bd99 Author: Paul Nelson Commit: Arash Esbati Allow opened previews to remain visible * preview.el.in (preview-leave-open-previews-visible): New user option. (preview-gs-place, preview-disable, preview-inactive

master 23b7267e: ; * NEWS.org: Update the file.

2024-04-21 Thread Arash Esbati
branch: master commit 23b7267e84abb02c9b31ca9b178f1209c4df274b Author: Arash Esbati Commit: Arash Esbati ; * NEWS.org: Update the file. --- NEWS.org | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/NEWS.org b/NEWS.org index 6ce49b99..b0c8676a 100644 --- a/NEWS.org

master 03f1145c: ; * NEWS.org: Update the file.

2024-04-21 Thread Arash Esbati
branch: master commit 03f1145c8b22f0e349f83b53ecaee7c20432134a Author: Arash Esbati Commit: Arash Esbati ; * NEWS.org: Update the file. --- NEWS.org | 4 1 file changed, 4 insertions(+) diff --git a/NEWS.org b/NEWS.org index 9a3a0ce7..6ce49b99 100644 --- a/NEWS.org +++ b/NEWS.org

Re: tex-continuous.el: latexmk, auctex, flymake

2024-04-21 Thread Arash Esbati
Hi Paul, Paul Nelson writes: > I thought I'd share a package I'm hoping to eventually submit to ELPA. > It may be topical in view of the recent discussion here concerning > latexmk. I would appreciate any advice or suggestions, particularly > on ways that I could better leverage existing

master 0e8c03d9: ; * NEWS.org: Update the file.

2024-04-18 Thread Arash Esbati
branch: master commit 0e8c03d9071bfa3df79beefdc912697665c5579f Author: Arash Esbati Commit: Arash Esbati ; * NEWS.org: Update the file. --- NEWS.org | 27 ++- 1 file changed, 18 insertions(+), 9 deletions(-) diff --git a/NEWS.org b/NEWS.org index 1c741b10..9a3a0ce7

master d427c245: ; * doc/auctex.texi (Folding): Fix keybindings.

2024-04-18 Thread Arash Esbati
branch: master commit d427c245dd38139feee0e9e910ed15996fab3b90 Author: Arash Esbati Commit: Arash Esbati ; * doc/auctex.texi (Folding): Fix keybindings. --- doc/auctex.texi | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/doc/auctex.texi b/doc/auctex.texi

master 128e8a04: ; Silence the compiler after commit f61de0abe6

2024-04-18 Thread Arash Esbati
branch: master commit 128e8a0451117a8b3523b8a6446c176eac52cc82 Author: Arash Esbati Commit: Arash Esbati ; Silence the compiler after commit f61de0abe6 * tex-fold.el (LaTeX-mark-section): Autoload the function. --- tex-fold.el | 1 + 1 file changed, 1 insertion(+) diff --git

Re: Supporting LatexMK in AUCTeX OOTB

2024-04-18 Thread Arash Esbati
Hi Keita, Ikumi Keita writes: > I think most Latexmk users have their own .latexmkrc because the stock > Latexmk just runs latex enough times and generate .dvi file. (no pdflatex > and no .pdf output) So I guess they are accustomed to have full control > over the options with their .latexmkrc.

master 4a345e22: Add preliminary support for LaTeXMk

2024-04-18 Thread Arash Esbati
branch: master commit 4a345e2234df74f1ad98046ef1372f7ca6fb357d Author: Arash Esbati Commit: Arash Esbati Add preliminary support for LaTeXMk * tex.el (TeX-command-list): Add an entry for LaTeXMk. (TeX-expand-list-builtin): Add an expansion string for LaTeXMk. (TeX-clean

master ab221151: Keep track of when previews are being generated

2024-04-18 Thread Arash Esbati
branch: master commit ab22115111ae95b85661be8239fb980f735c0edd Author: Paul Nelson Commit: Arash Esbati Keep track of when previews are being generated * preview.el.in (preview-current-region): New variable, replacing `preview--region-begin'. (preview-place-preview, preview

master 7ea85682: Add new custom option `preview-protect-point'

2024-04-18 Thread Arash Esbati
branch: master commit 7ea85682098b831eb5d04b9be4c780ed8ab56e8c Author: Paul Nelson Commit: Arash Esbati Add new custom option `preview-protect-point' * preview.el.in (preview-protect-point): New custom option. (preview-parse-messages): Use it. * doc/preview-latex.texi

Re: Showing Changes for ELPA releases

2024-04-18 Thread Arash Esbati
Tassilo Horn writes: > Not yet but maybe soon. Thanks, so let't wait and see  Best, Arash

Re: Showing Changes for ELPA releases

2024-04-18 Thread Arash Esbati
Arash Esbati writes: > Tassilo Horn writes: > >> Yes, sounds good. :-) > > Thanks. I'll wait another day or two to see if there are other ideas, > otherwise I'll install the attached file. Would you then make the > necessary change inside the ELPA repo? Hi Tassilo, n

master 07c2cf38: * NEWS.org: New file.

2024-04-18 Thread Arash Esbati
branch: master commit 07c2cf38a110d44ba3ec1583d5b05848d614eafb Author: Arash Esbati Commit: Arash Esbati * NEWS.org: New file. --- NEWS.org | 43 +++ 1 file changed, 43 insertions(+) diff --git a/NEWS.org b/NEWS.org new file mode 100644 index

Re: tex-numbers.el

2024-04-17 Thread Arash Esbati
Paul Nelson writes: > OK, many thanks. Is the procedure then that I just post on > emacs-devel about this to initiate the review, mentioning that it'll > be synched to auctex 14.0.5? Yes, I think this is it. One thing I suggest is, depending on how many pending patches you have on your HD,

master ed374576: ; Fix commit e4def30851

2024-04-17 Thread Arash Esbati
branch: master commit ed37457621d755bb6c1758fb8a26b666fd16711b Author: Arash Esbati Commit: Arash Esbati ; Fix commit e4def30851 * preview.el.in (preview-parse-messages): Add missing paren. Remove unused lexical variable. (bug#70348) --- preview.el.in | 5 ++--- 1 file

master 18a3dc7b: Make preview section commands preserve mark

2024-04-17 Thread Arash Esbati
branch: master commit 18a3dc7b436fd366a5581726f543980b7859eaff Author: Paul Nelson Commit: Arash Esbati Make preview section commands preserve mark * preview.el (preview-section, preview-clearout-section): Change `save-excursion' to `save-mark-and-excursion'. (bug#70379

master 2fe75e67: Make "locating previews..." message configurable

2024-04-17 Thread Arash Esbati
branch: master commit 2fe75e6726791b4f37141807c8ee1f3f0201147e Author: Paul Nelson Commit: Arash Esbati Make "locating previews..." message configurable * preview.el (preview-locating-previews-message): New variable. (preview-parse-messages): Use it.

master f61de0ab: Add section folding commands

2024-04-17 Thread Arash Esbati
branch: master commit f61de0abe6139e10343fc8406d76db121193a283 Author: Paul Nelson Commit: Arash Esbati Add section folding commands * tex-fold.el (TeX-fold-section, TeX-fold-clearout-section): New commands. (TeX-fold-keymap): Bind them. * tex.el (TeX-fold-menu): Add

master 5abc3d7f: Change some `mark-active' to `(TeX-active-mark)'

2024-04-17 Thread Arash Esbati
branch: master commit 5abc3d7f68ddc69cf3d15bca524db57a30c6f52b Author: Paul Nelson Commit: Arash Esbati Change some `mark-active' to `(TeX-active-mark)' * tex-fold.el (TeX-fold-post-command): * preview.el.in (LaTeX-preview-setup): * tex.el (TeX-mode-specific-command-menu

master e4def308: Make preview placement more flexible

2024-04-17 Thread Arash Esbati
branch: master commit e4def30851678ca9114d08348b24ccb197617c7f Author: Paul Nelson Commit: Arash Esbati Make preview placement more flexible * preview.el.in (preview-find-end-function): New variable. (preview-parse-messages): Use it. (bug#70348) --- preview.el.in | 36

Re: tex-numbers.el

2024-04-17 Thread Arash Esbati
Paul Nelson writes: > Do I understand correctly that your suggestion is that I simply add > :around advice to LaTeX-completion-label-annotation-function, > appending the label number? (I agree that that's the simplest way to > do this, but had the general idea that packages should avoid advice.

Re: tex-numbers.el

2024-04-17 Thread Arash Esbati
Hi Paul, Paul Nelson writes: > Thanks, your comments were very helpful. I implemented them (with > mild modification). You're welcome. > Your suggestion about incorporating the numbers into CAPF features > seems worth pursuing. I didn't quickly spot a way to hook into > TeX-complete-symbol

Re: tex-numbers.el

2024-04-16 Thread Arash Esbati
Hi Paul, Paul Nelson writes: > I wanted to share a package that I'd like to eventually submit to > ELPA. It augments the preview/fold features of AUCTeX with correct > numbering when possible, and provides an interface that would allow > other packages to retrieve label numbers. It's attached

Re: Supporting LatexMK in AUCTeX OOTB

2024-04-16 Thread Arash Esbati
Hi Keita, Ikumi Keita writes: > I think we can omit "-recorder" option. It seems that Latexmk adds > "-recorder" option to latex command by default. The reason why I put > "-recorder-" in my proposal was to suppress that option; when %l > expansion includes "\input", Latexmk puts "-recorder"

Re: Supporting LatexMK in AUCTeX OOTB

2024-04-15 Thread Arash Esbati
Hi Keita, Ikumi Keita writes: > This isn't quite correct because this clause covers cases for Japanese > LaTeX engines (`TeX-engine' being ptex or uptex※) as well. > > ※ `jtex' engine became obsolete and isn't maintained anymore as far as > I know. Thanks for your comments. Yes, I ignored

master 5970fbf4: * .dir-locals.el: Catch up with Emacs' .dir-locals.

2024-04-14 Thread Arash Esbati
branch: master commit 5970fbf499d6a51826e45b508f0570c14159bb74 Author: Arash Esbati Commit: Arash Esbati * .dir-locals.el: Catch up with Emacs' .dir-locals. --- .dir-locals.el | 13 ++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/.dir-locals.el b/.dir-locals.el

master 5f40b686: Call custom folding functions with consistent point

2024-04-13 Thread Arash Esbati
branch: master commit 5f40b686b46f74c441441839ad67703b743c900f Author: Paul Nelson Commit: Arash Esbati Call custom folding functions with consistent point * tex-fold.el (TeX-fold-hide-item): Call folding spec with point at beginning of item. * doc/auctex.texi (Folding

master ec48f765: Allow preview to work in non-file buffers

2024-04-11 Thread Arash Esbati
branch: master commit ec48f765fb511fe5ccc947496fb8863c8575a787 Author: Paul Nelson Commit: Arash Esbati Allow preview to work in non-file buffers * tex.el (TeX-region-create): Only make file name relative to master when file name is not "". (bug#70307) ---

master d74338a1: Add new custom option `TeX-fold-region-functions'

2024-04-11 Thread Arash Esbati
branch: master commit d74338a1dbdb7031666b2c193ef5d829b6f5a0ba Author: Paul Nelson Commit: Arash Esbati Add new custom option `TeX-fold-region-functions' * tex-fold.el (TeX-fold-region-functions): New custom option. (TeX-fold-region): Use it. * doc/auctex.texi (Folding

Re: Showing Changes for ELPA releases

2024-04-10 Thread Arash Esbati
Tassilo Horn writes: > Yes, sounds good. :-) Thanks. I'll wait another day or two to see if there are other ideas, otherwise I'll install the attached file. Would you then make the necessary change inside the ELPA repo? Best, Arash #+TITLE: AUCTeX -- News about ELPA Releases #+AUTHOR: AUCTeX

Re: Supporting LatexMK in AUCTeX OOTB

2024-04-10 Thread Arash Esbati
Hi Keita, Ikumi Keita writes: > I realized that %l played an important role for Japanese LaTeX document, > too; it gave latex binary name such as "platex" as well as its > supplementary option such as "-kanji=xxx". > However, I haven't come up with a good solution which is compatible for > both

Re: Making AUCTeX ELPA releases from the master branch

2024-04-10 Thread Arash Esbati
Hi Tassilo, Tassilo Horn writes: > Ah, no. What I mean is renaming the externals/elpa branch to "main" > (which I currently have set to push to > git.savannah.gnu.org/srv/git/emacs/elpa.git) in our own git > (git.sv.gnu.org:/srv/git/auctex.git) and then use that as the same way > as we're

Re: Making AUCTeX ELPA releases from the master branch

2024-04-10 Thread Arash Esbati
Tassilo Horn writes: > I think it would be great if we could make it so that everyone of us > could trigger a new ELPA release directly from the master branch by just > incrementing the Version header which currently resides in auctex.el Hi Tassilo, besides the issues we have to resolve, I

master d9f8ff12: Support mcite compat macros provided by biblatex

2024-04-09 Thread Arash Esbati
branch: master commit d9f8ff12b12ee1d2d2ac9f39ebb470ac3d4f6fe8 Author: Arash Esbati Commit: Arash Esbati Support mcite compat macros provided by biblatex * style/biblatex.el (LaTeX-arg-biblatex-mcite): New function. ("biblatex"): Use it and support mcite compat macr

master 49c9feb1: Allow preprocessing of previews

2024-04-09 Thread Arash Esbati
branch: master commit 49c9feb133e38a34d4eacbce248bc46e5c315715 Author: Paul Nelson Commit: Arash Esbati Allow preprocessing of previews * preview.el.in (preview-preprocess-function): New variable. (preview-region): Use the new variable (if non-nil) to preprocess the region

master b4dde3e3: Fix `preview-region' on repeated math constructs

2024-04-08 Thread Arash Esbati
branch: master commit b4dde3e325034f832b0a7a35f3c2acae3fd754af Author: Paul Nelson Commit: Arash Esbati Fix `preview-region' on repeated math constructs * preview.el.in (preview--region-begin): New variable. (preview-parse-messages, preview-region): Use and set the new

master 9ba0093b: Fix spelling of biblatex macro names

2024-04-06 Thread Arash Esbati
branch: master commit 9ba0093becb994493f8d4e69d3216dd9f3224b8e Author: Arash Esbati Commit: Arash Esbati Fix spelling of biblatex macro names * style/biblatex.el ("biblatex"): Fix entries for \pvolcite and \ftvolcite macros. (bug#31132) --- style/biblatex.el | 6

master 5343cf2e: Be aware of comments in docTeX-mode

2024-04-05 Thread Arash Esbati
branch: master commit 5343cf2ec39f34805353f572b9f993e5a30c2784 Author: Arash Esbati Commit: Arash Esbati Be aware of comments in docTeX-mode * latex.el (LaTeX-completion-find-argument-boundaries): Don't ignore comments in docTeX-mode. --- latex.el | 2 +- 1 file changed, 1

Re: Showing Changes for ELPA releases

2024-04-04 Thread Arash Esbati
Tassilo Horn writes: > IMO, it's confusing when CHANGES.org is manually written and summarized > in changes.texi which in turn is used to generate CHANGES. :-) I admit that's a valid point :-) > Isn't there another term? NEWS.org? Best, Arash

Re: Showing Changes for ELPA releases

2024-04-04 Thread Arash Esbati
Uwe Brauer writes: > I see, sorry for nitpicking but wouldn't be CHANGES.org or something > like this, less confusing? Yes, we can consider that if CHANGELOG.org is confusing; CHANGES.org works for me as well. Thanks, Arash

master 0aa50102: Update style/verbatim.el to package v1.5x

2024-04-04 Thread Arash Esbati
branch: master commit 0aa5010255a07cdeb553bbc41c0acbe610c64cfb Author: Arash Esbati Commit: Arash Esbati Update style/verbatim.el to package v1.5x * style/verbatim.el ("verbatim"): Support starred version of \verbatiminput macro incl. fontification. --- style/verba

Re: Supporting LatexMK in AUCTeX OOTB

2024-04-04 Thread Arash Esbati
Hi Keita, Ikumi Keita writes: > It would need to write a new sentinel for latexmk if we are going to > provide the most suitable candidate in all cases. And I was hoping we can avoid that :-| > AUCTeX users can deginate latex binary file names through > `TeX-engine-alist' and `LaTeX-command',

Re: Showing Changes for ELPA releases

2024-04-03 Thread Arash Esbati
Uwe Brauer writes: > I am not talking about commit messages, I am talking about ChangeLogs. > So I still did not understand how you generated that org file. Ah, I think you were confused by the name of the file: I wrote that file, 100% manually :) Best, Arash

master 03793072: * tex.el (TeX-command): Adjust macOS version and name.

2024-04-03 Thread Arash Esbati
branch: master commit 03793072c1d05b01023ddf8efb57afc89f172e1e Author: Arash Esbati Commit: Arash Esbati * tex.el (TeX-command): Adjust macOS version and name. --- tex.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tex.el b/tex.el index 053a0ade..c905981d 100644

Re: Showing Changes for ELPA releases

2024-04-03 Thread Arash Esbati
Uwe Brauer writes: > Two questions: > > 1. is there any tools that convert the classical (Emacs) Changelogs > to the org style changelos? What do you mean by "org style changelogs"? Nowadays, ChangeLogs are generated from the commit messages. Such a converter wouldn't make sense,

Re: Showing Changes for ELPA releases

2024-04-03 Thread Arash Esbati
Tassilo Horn writes: > It's basically a fineer-grained version of changes.texi, right? Yes. > So basically we could write CHANGELOG.org and summarize that in > changes.texi before a tarball release. Again, yes, that was my thinking. > Well, but then the changes in the manual would be

Showing Changes for ELPA releases (was: [GNU ELPA] Auctex version 14.0.4)

2024-04-02 Thread Arash Esbati
Arash Esbati writes: > Tassilo Horn writes: > >> I've just looked. It uses a NEWS file but I could also specify an entry >> :news "CHANGES" so that our CHANGES file is shown there. > > Thanks. I briefly had a look at other ELPA packages and it seems ther

Re: Supporting LatexMK in AUCTeX OOTB

2024-04-02 Thread Arash Esbati
Hi Keita, Ikumi Keita writes: > I expect the attached patch basically works. Thanks for picking this up as well. > It still has shortcomings: > 1. It uses single quote to prevent variable expansion of '$dvipdf' in > the shell command line. However, it doesn't work for windows. Yes, that

Re: Supporting LatexMK in AUCTeX OOTB

2024-03-30 Thread Arash Esbati
Hi Keita, Ikumi Keita writes: > I'm fine with your idea. AUCTeX already has plenty of supplementary > entries in `TeX-command-list', so it would be good to have another one > :-) I knew you would understand me ;-) Can you do me a favor please and have a look at the code I posted? I'm not sure

Re: Supporting LatexMK in AUCTeX OOTB

2024-03-30 Thread Arash Esbati
Colin Baxter writes: > What is being proposed? See my other message to this thread. > This already works > > (add-hook 'LaTeX-mode-hook > (lambda() > (add-to-list > 'TeX-command-list > '("LaTeXMK" "latexmk %s" TeX-run-TeX nil t >

Re: Supporting LatexMK in AUCTeX OOTB

2024-03-30 Thread Arash Esbati
Hi Basil, "Basil L. Contovounesios" writes: > Arash Esbati [2024-03-28 13:09 +0100] wrote: > > Indeed, with the exception of important bugs which can be fixed at > https://github.com/emacsmirror/auctex-latexmk (this is the fork/mirror > that MELPA serves).

Supporting LatexMK in AUCTeX OOTB

2024-03-28 Thread Arash Esbati
Hi all, I was looking through our old bugs and I saw bug#48144[1] which was about LatexMK and the issue is resolved. Looking at auctex-latexmk package[2], it seems dormant. Acc. to this message[3], the fix in #48144 was helpful and adding LatexMK support to AUCTeX isn't hard. I don't use

Re: [GNU ELPA] Auctex version 14.0.4

2024-03-21 Thread Arash Esbati
Hi Tassilo, Tassilo Horn writes: > I've just looked. It uses a NEWS file but I could also specify an entry > :news "CHANGES" so that our CHANGES file is shown there. Thanks. I briefly had a look at other ELPA packages and it seems there is a variety of options: ASCII files, markdown, org

master dfa05bf6: Track the latest version of fntguide.tex

2024-03-21 Thread Arash Esbati
branch: master commit dfa05bf69d80247ba04877bf7949f743c57d95b0 Author: Arash Esbati Commit: Arash Esbati Track the latest version of fntguide.tex * latex.el (LaTeX-common-initialization): Add entries for \fontseriesforce and \fontshapeforce. * style/ltx-base.el (&quo

Re: [GNU ELPA] Auctex version 14.0.4

2024-03-19 Thread Arash Esbati
ELPA update writes: > Version 14.0.4 of package Auctex has just been released in GNU ELPA. > You can now find it in M-x list-packages RET. > > Auctex describes itself as: > > > Integrated environment for *TeX* > > > More at

Re: Emacs 27 problem with :local keyword in defcustom

2024-03-17 Thread Arash Esbati
Hi Keita, Ikumi Keita writes: >>>>>> Arash Esbati writes: >> I pushed a change 509a71b436 which should fix this issue. Can you please >> give it a new try with 27.1? If the result is Ok, I'll ask Tassilo to >> make a new ELPA release. > > It works

master 2ee39c4e: ; * latex.el: Fix copyright year after last revert.

2024-03-17 Thread Arash Esbati
branch: master commit 2ee39c4e2652bed94e230abdbdd129bec6b5c883 Author: Arash Esbati Commit: Arash Esbati ; * latex.el: Fix copyright year after last revert. --- latex.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/latex.el b/latex.el index 8dfbf4fe..cd87bd99 100644

Re: Emacs 27 problem with :local keyword in defcustom

2024-03-17 Thread Arash Esbati
Arash Esbati writes: > Agreed. I will try to revert the change above ASAP, next week > hopefully. I pushed a change 509a71b436 which should fix this issue. Can you please give it a new try with 27.1? If the result is Ok, I'll ask Tassilo to make a new ELPA release. TIA. Best, Arash

master 509a71b4: Revert "Mark options as buffer-local with the :local keyword"

2024-03-17 Thread Arash Esbati
branch: master commit 509a71b4369c9913401791344fdd6ec3d9b3e79f Author: Arash Esbati Commit: Arash Esbati Revert "Mark options as buffer-local with the :local keyword" This reverts commit 77a02f837a0d32e2f7b47764d6e7f64ad76001ba. The defcustom :local tag isn

Re: Emacs 27 problem with :local keyword in defcustom

2024-03-15 Thread Arash Esbati
and `TeX-auto-x-parse-length' > are both nil in the circ.tex buffer. > > It seems that it is due to introduction of :local keyword in defcustom: > , > | 77a02f837a0d32e2f7b47764d6e7f64ad76001ba > | Author: Arash Esbati > | AuthorDate: Thu Jan 18 22:55:12 2024 +0100 &

Re: Deleting compat code from commit 087b030001

2024-03-15 Thread Arash Esbati
Ikumi Keita writes: > Yes, I think so. Please go ahead. Thanks for your response. Done with commit 074e1c9fd1. Best, Arash

master 074e1c9f: * tex.el: Delete Emacs<27 compat code from commit 087b030001.

2024-03-15 Thread Arash Esbati
branch: master commit 074e1c9fd16602cd5fe6cf2e66a24ad28d9138bf Author: Arash Esbati Commit: Arash Esbati * tex.el: Delete Emacs<27 compat code from commit 087b030001. --- tex.el | 6 -- 1 file changed, 6 deletions(-) diff --git a/tex.el b/tex.el index da2f91fe..f24752b7 100

  1   2   3   4   5   6   7   8   9   10   >