Font lock is slow for large doctex document

2021-07-12 Thread Ikumi Keita
either such pseudo-empty lines nor true empty lines". I'm not sure whether that's right or not, so comments and suggestion are greatly appreciated. Best regards, Ikumi Keita >From 11f3af94b7283b9724cf36d0c37c658f1befb8ca Mon Sep 17 00:00:00 2001 From: Ikumi Keita Date: Thu, 8 Jul 2021 01:5

Re: Cleaning up temporal markers

2021-07-12 Thread Ikumi Keita
Hi all, I've pushed the change in the git repository, with fix of wrong position of `set-marker' in dinbrief.el. Please send back feedbacks if you encounter any troubles. Regards, Ikumi Keita

[AUCTeX-diffs] GNU AUCTeX branch, master, updated. 4a0bfe342160c7935159b37a5ffbf99cd0f3a21d

2021-07-12 Thread Ikumi Keita
--- commit 4a0bfe342160c7935159b37a5ffbf99cd0f3a21d Author: Ikumi Keita Date: Thu Jun 10 17:21:18 2021 +0900 Clean up temporal markers * latex.el (LaTeX-env-figure, LaTeX-fill-region-as-paragraph) (LaTeX-fill-region-as-para-do,LaTeX-fill-paragraph) (LaTeX-fill-region): * style/dinbrief.el (LaTeX-di

Re: Failed to skip from chapter tex file to master pdf file.

2021-07-11 Thread Ikumi Keita
r >> itself that this is a master file.", which isn't true. >> > I've read the above descriptions in the web manual and hence think all > things will be done intelligently. Ah, very sorry about it. We have to update obsolete descriptions further still remaining in the AUCTeX document. Best regards, Ikumi Keita

Re: Failed to skip from chapter tex file to master pdf file.

2021-07-11 Thread Ikumi Keita
e name, it's automatically quoted. More precisely, that occurs when TeX-master is customized to nil, as described above. > I don't remember giving auctex any special instructions to achieve > this. That's TeX-master-file-ask, bound to C-c _ and available in menu item LaTeX->Multifil

Re: LaTeX-math-list: Binding on key sequences?

2021-07-10 Thread Ikumi Keita
acro causes problems.  I will find out, > and if it should be of general interest (but I do not expect that), > I will report it. Please do so. If proper keyboard macro definitions conflict with AUCTeX, AUCTeX should be modified to coexist with them. Regards, Ikumi Keita

Re: LaTeX-math-list: Binding on key sequences?

2021-07-10 Thread Ikumi Keita
h the following init file first. I.e., (1) Backup your current ".emacs" (2) Save the following contents as ".emacs" (or ".emacs.d/init.el") (3) Restart emacs (4) Open some LaTeX document (5) Type "# g a" and see what happens. If that inserts "\alpha"

Re: LaTeX-math-list: Binding on key sequences?

2021-07-10 Thread Ikumi Keita
new start or loading. Hmm. I tried again and confirmed it does work for me. So I guess something in your personal configuration hinders it. Could you show us the output of M-x TeX-submit-bug-report RET ? Or it might be enough just to minimize the contents of your .emacs in order to find out the culprit. Regards, Ikumi Keita

Re: LaTeX-math-list: Binding on key sequences?

2021-07-09 Thread Ikumi Keita
ine-key LaTeX-math-mode-map (LaTeX-math-abbrev-prefix) LaTeX-math-keymap))) It works at least for me. Regards, Ikumi Keita

Re: Cleaning up temporal markers

2021-07-07 Thread Ikumi Keita
ribed above. Oh, really? I didn't know that! > IIRC the Emacs lisp reference is not clear about this point. It would > be good if someone gives a definite answer about my assumption above. Yeah, I'd appreciate if someone clarifies this point. Best, Ikumi Keita

Cleaning up temporal markers

2021-07-07 Thread Ikumi Keita
patch. I'd appreciate if you'd give it a try and send back feedbacks if any. (I haven't tested changes for dinbrief.el and letter.el myself.) Best regards, Ikumi Keita >From 9c0d617c8fea6499d8eb5ebabaf3a20501ecb204 Mon Sep 17 00:00:00 2001 From: Ikumi Keita Date: Thu, 10 Jun 2021 17:21:18 +0

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

2021-07-05 Thread Ikumi Keita
ow. - Log - commit a589542d9296cd18f117efbbd77e1f84d6a095a7 Author: Ikumi Keita Date: Sun Mar 28 01:21:17 2021 +0900 Add defensive `save-match-data' * preview.el.in (preview-set-texinputs): Follow the instruction "Simple Match Data Access"

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

2021-07-05 Thread Ikumi Keita
ow. - Log - commit a589542d9296cd18f117efbbd77e1f84d6a095a7 Author: Ikumi Keita Date: Sun Mar 28 01:21:17 2021 +0900 Add defensive `save-match-data' * preview.el.in (preview-set-texinputs): Follow the instruction "Simple Match Data Access"

Re: Let auctex run pdflatex command on the tex source when it has been changed.

2021-07-05 Thread Ikumi Keita
917.hatenablog.com/entry/2021/04/10/134230 (I don't use this setting myself, so I'm not sure whether this setting really works or not.) Regards, Ikumi Keita

Re: On the usage and function of TeX-auto-generate-global and TeX-auto-global.

2021-07-04 Thread Ikumi Keita
EXMFSYS tree at that time and generates support files which give completions etc. So you can obtain completions for packages which AUCTeX doesn't support by default. But beware that `TeX-auto-generate-global' is not so smart so that it sometimes introduces unexpected side effects.[1] Regards, Ikumi Ke

Re: On the usage and function of TeX-auto-generate-global and TeX-auto-global.

2021-07-04 Thread Ikumi Keita
EXMFSYS tree at that time and generates support files which give completions etc. So you can obtain completions for packages which AUCTeX doesn't support by default. But beware that `TeX-auto-generate-global' is not so smart so that it sometimes introduces unexpected side effects.[1] Regards, Ikumi Ke

Re: On the usage and function of TeX-auto-generate-global and TeX-auto-global.

2021-07-04 Thread Ikumi Keita
ed best practice? Unfortunately, there's no such best practice as far as I can see. You have to modify the generated elisp files by hand each time when you find some shortcomings. Regards, Ikumi Keita

Re: On the usage and function of TeX-auto-generate-global and TeX-auto-global.

2021-07-04 Thread Ikumi Keita
ed best practice? Unfortunately, there's no such best practice as far as I can see. You have to modify the generated elisp files by hand each time when you find some shortcomings. Regards, Ikumi Keita

Re: AUCTeX tool bar on emacs built with gtk3

2021-06-21 Thread Ikumi Keita
abel, at least for me. It seems that either emacs or gtk omits the >> label text "Preview at point" since it's too long to fit there.) >> >> What do you think about it? > Looks good to me. :-) Thanks, I committed it with reindent of the codes. Best, Ikumi Keita

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

2021-06-21 Thread Ikumi Keita
--- commit d81321326b9a547be168bfecee7165ffd58e32c8 Author: Ikumi Keita Date: Tue Jun 22 00:20:29 2021 +0900 Improve tool bar appearance * toolbar-x.el (toolbarx-emacs-add-button): Use built-in separator. Add :vert-only property to suppress labels unless vertical alignment is specified for labels.

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

2021-06-21 Thread Ikumi Keita
--- commit d81321326b9a547be168bfecee7165ffd58e32c8 Author: Ikumi Keita Date: Tue Jun 22 00:20:29 2021 +0900 Improve tool bar appearance * toolbar-x.el (toolbarx-emacs-add-button): Use built-in separator. Add :vert-only property to suppress labels unless vertical alignment is specified for labels.

Re: AUCTeX tool bar on emacs built with gtk3

2021-06-21 Thread Ikumi Keita
s. (In that case, "Preview" icon lacks the label, at least for me. It seems that either emacs or gtk omits the label text "Preview at point" since it's too long to fit there.) What do you think about it? Regards, Ikumi Keita >From 2bda2212936c7008ad91a242fe9de815d61ec1fc

Re: Document updates

2021-06-17 Thread Ikumi Keita
nd run pdftex again. But maybe that makes also sense for > users who have a working setup. > WDYT? I see. I'll do that when I feel like it. :-) Regards, Ikumi Keita

[AUCTeX-commit] GNU AUCTeX branch, master, updated. 30a7d81b4ecfbce248a5531fe47fbfb57b239b3d

2021-06-17 Thread Ikumi Keita
t appeared on any other notification email; so we list those revisions in full, below. - Log - commit 30a7d81b4ecfbce248a5531fe47fbfb57b239b3d Author: Ikumi Keita Date: Wed Jun 16 15:53:49 2021 +0900 Update document

[AUCTeX-diffs] GNU AUCTeX branch, master, updated. 30a7d81b4ecfbce248a5531fe47fbfb57b239b3d

2021-06-17 Thread Ikumi Keita
t appeared on any other notification email; so we list those revisions in full, below. - Log - commit 30a7d81b4ecfbce248a5531fe47fbfb57b239b3d Author: Ikumi Keita Date: Wed Jun 16 15:53:49 2021 +0900 Update document

bug#49036: The Glossaries command of auctex runs makeglossaries file.aux, but should makeglossaries file

2021-06-16 Thread Ikumi Keita
>>>>> Vladimir Nikishkin writes: > This patch seems to fix the problem on my machine. Thank you. Thank you for confirmation. I pushed the change to the git repository. Regards, Ikumi Keita ___ bug-auctex mailing list bug-au

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

2021-06-16 Thread Ikumi Keita
--- commit ae6a21dfad8b10035f9c8293160b22357170e51e Author: Ikumi Keita Date: Tue Jun 15 22:49:15 2021 +0900 Fix arguments given to makeglossaries * tex.el (TeX-expand-list-builtin): Add new placeholder "%(d-dir)". (TeX-command-list): Use it and give basename of the document, not .aux fil

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

2021-06-16 Thread Ikumi Keita
--- commit ae6a21dfad8b10035f9c8293160b22357170e51e Author: Ikumi Keita Date: Tue Jun 15 22:49:15 2021 +0900 Fix arguments given to makeglossaries * tex.el (TeX-expand-list-builtin): Add new placeholder "%(d-dir)". (TeX-command-list): Use it and give basename of the document, not .aux fil

bug#49036: The Glossaries command of auctex runs makeglossaries file.aux, but should makeglossaries file

2021-06-15 Thread Ikumi Keita
aries. Could you test if the attached patch fixes the problem, if possible? Regards, Ikumi Keita diff --git a/tex.el b/tex.el index 917678c7..777aaf56 100644 --- a/tex.el +++ b/tex.el @@ -218,7 +218,7 @@ If nil, none is specified." ("Ps2pdf" "ps2pdf %f %(O?pdf)" TeX-run-ps2pdf ni

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

2021-06-12 Thread Ikumi Keita
--- commit c5040934b0fdff4c5d69b2aad1790578a5c954e8 Author: Ikumi Keita Date: Sat Jun 12 23:43:24 2021 +0900 ; * latex.el: Avoid potential compiler warning. --- Summary of changes: latex.el | 1 + 1 file changed, 1 insertion(+) hooks/post-recei

:bibtex dialect defect?

2021-06-11 Thread Ikumi Keita
raphy management has been overlooked so far. What should we do? To fix style hook management so that AUCTeX built-in scheme works properly? Or to announce that "Use RefTeX always when bibtex management is needed" and stop support of built-in scheme? Or something else? Regards, Ikumi Keita foo.tar.gz Description: sample kit

bug#48914: 2021-06-07; C-cC-e environment insertion with first line of contents commented out

2021-06-10 Thread Ikumi Keita
faults to t. AUCTeX sets this option to t unconditionally in doctex mode, so the current default makes the standard latex mode to behave like doctex mode in some aspects. (I'm not sure why it defaults to t.) Some other commands are affected when you set this to nil, so please report if it brings any und

bug#36651: 12.1.2; isearch with TeX-fold-mode and outline-minor-mode

2021-06-09 Thread Ikumi Keita
og. So, feel free to change it. Thanks for your reply. I just pused a commit which don't alter `search-invisible' in the git repo. >>>> Gustavo Barros writes: > Hi Ikumi, (or Keita? I'm never sure. Sorry if I got it wrong.) Don't worry, both are we

[AUCTeX-diffs] GNU AUCTeX branch, master, updated. 32e93a0638fda83440c63af4f595eda49cff9615

2021-06-09 Thread Ikumi Keita
--- commit 32e93a0638fda83440c63af4f595eda49cff9615 Author: Ikumi Keita Date: Mon May 24 22:41:29 2021 +0900 Fix bug#36651 * tex-fold.el (TeX-fold-mode): Open folded portion when isearch matches the hidden text. diff --git a/tex-fold.el b/tex-fold.el index dd26742..7698721 100644 --- a/tex-fold.el +++ b/t

[AUCTeX-commit] GNU AUCTeX branch, master, updated. 32e93a0638fda83440c63af4f595eda49cff9615

2021-06-09 Thread Ikumi Keita
--- commit 32e93a0638fda83440c63af4f595eda49cff9615 Author: Ikumi Keita Date: Mon May 24 22:41:29 2021 +0900 Fix bug#36651 * tex-fold.el (TeX-fold-mode): Open folded portion when isearch matches the hidden text. --- Summary of changes: t

Re: AUCTeX and menu bar

2021-06-09 Thread Ikumi Keita
here would be wrong. That would be another reasonable solution, considering that ELPA installation always enable preview-latex (if I remember correctly) which in turn loads tex-buf for all LaTeX documents. So both approaches are fine with me. Regards, Ikumi Keita

bug#36651: 12.1.2; isearch with TeX-fold-mode and outline-minor-mode

2021-06-08 Thread Ikumi Keita
chooses the value t, disliking the default value `open'. Ralf, do you remember why you chose t, not the default value of `open', for `search-invisible' when you wrote `TeX-fold-mode'? Best regards, Ikumi Keita diff --git a/tex-fold.el b/tex-fold.el index dd267421..3ccae942 100644 --- a/tex-fold.el +++

Re: [AUCTeX] TeX-fold-mode and sectioning font lock mode

2021-06-07 Thread Ikumi Keita
t;> I can see the usual fontified text if I move with the cursor over the text >> and once I exit I recover the face that should have been there from the >> beginning >> >> I assume this is a bug in how TeX-fold works but I am having a hard time >> debugging it. Regards, Ikumi Keita

Re: [AUCTeX] Two TeX-fold issues

2021-06-07 Thread Ikumi Keita
Hi Juan, sorry for very late reply. >>>>> Ikumi Keita writes: >>>>> Juan Jose Garcia-Ripoll writes: >> The second one relates to fonts with TeX-fold-mode and subscripts.As you >> see below, the \psi macro is properly folded to a Unicode charact

bug#42209: 12.2.4; Text propogated wrong in TeX-fold-mode

2021-06-07 Thread Ikumi Keita
Hi Gennady, >>>>> Ikumi Keita writes: >>>>> writes: >> 2. Auctex makes the subscript of the integral in the equation small and >> lowered. >> *After folding the Greek symbols and the other macros they appear to >> be the same size a

[AUCTeX-diffs] GNU AUCTeX branch, master, updated. 1b1361c034c8bf0c671d5b58873581b29dcaa210

2021-06-07 Thread Ikumi Keita
--- commit 1b1361c034c8bf0c671d5b58873581b29dcaa210 Author: Ikumi Keita Date: Sun Aug 23 18:16:09 2020 +0900 Make TeX-fold-mode aware of superscript and subscript * tex-fold.el (TeX-fold-hide-item): Copy `display' property of underlying text to displayed text to raise superscript and lower subscript suita

[AUCTeX-commit] GNU AUCTeX branch, master, updated. 1b1361c034c8bf0c671d5b58873581b29dcaa210

2021-06-07 Thread Ikumi Keita
--- commit 1b1361c034c8bf0c671d5b58873581b29dcaa210 Author: Ikumi Keita Date: Sun Aug 23 18:16:09 2020 +0900 Make TeX-fold-mode aware of superscript and subscript * tex-fold.el (TeX-fold-hide-item): Copy `display' property of underlying text to displayed text to raise superscript and lower subscrip

bug#48524: 13.0.11; AUCTeX should not use LaTeX error message for non-LaTeX modes

2021-06-04 Thread Ikumi Keita
a new variable slightly and pushed the commit to git repo. I'll close bug#21595 and bug#21517 in addition to this bug. Regards, Ikumi Keita ___ bug-auctex mailing list bug-auctex@gnu.org https://lists.gnu.org/mailman/listinfo/bug-auctex

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

2021-06-04 Thread Ikumi Keita
--- commit cd63c114b6e99bfeb27dfdb3c327eab5e44fd55f Author: Ikumi Keita Date: Wed May 26 23:06:03 2021 +0900 Use own error description for LaTeX mode only * tex-buf.el (TeX-error-description-list): Move its value to new variable in latex.el. Now it holds user defined entries only and defaults to nil

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

2021-06-04 Thread Ikumi Keita
--- commit cd63c114b6e99bfeb27dfdb3c327eab5e44fd55f Author: Ikumi Keita Date: Wed May 26 23:06:03 2021 +0900 Use own error description for LaTeX mode only * tex-buf.el (TeX-error-description-list): Move its value to new variable in latex.el. Now it holds user defined entries only and defaults to nil

bug#48524: 13.0.11; AUCTeX should not use LaTeX error message for non-LaTeX modes

2021-06-02 Thread Ikumi Keita
ith the current AUCTeX that the customize option `TeX-error-description-list' can no longer have a fallback entry that matches any error, but I expect that there are few users who customized it. I included a news entry which warns the incompatibility in the attached patch. Does anyone have commen

bug#33227: 25.1; auctex: tex.el: TeX-local-master-p does not check if complete local variable block is valid

2021-06-02 Thread Ikumi Keita
e local variables are loaded correctly, otherwise the >> complete process will fail for example in TeX-master-file-ask with the >> error "Master file already set". >> >> Thank you for your help and best regards, >> Jan Now the issue is fixed

Re: Fix for TeX-local-master-p

2021-06-02 Thread Ikumi Keita
>>>>> Arash Esbati writes: > Ikumi Keita writes: >> Now that all emacsens supported by AUCTeX have >> `file-local-variables-alist', how about the attached patch? It fixes >> bug#33227[1] also. > LGTM, please go ahead and install. Thanks. Thanks, done. Best, Ikumi Keita

[AUCTeX-commit] GNU AUCTeX branch, master, updated. 93d66d1a29847092dc136444d4dbc38021634e16

2021-06-02 Thread Ikumi Keita
--- commit 93d66d1a29847092dc136444d4dbc38021634e16 Author: Ikumi Keita Date: Mon Mar 29 19:44:01 2021 +0900 Adapt for Texinfo mode * tex.el (TeX-local-master-p): Just look into `file-local-variables-alist' to return correct value even in TeXinfo mode. This fixes bug#332

[AUCTeX-diffs] GNU AUCTeX branch, master, updated. 93d66d1a29847092dc136444d4dbc38021634e16

2021-06-02 Thread Ikumi Keita
--- commit 93d66d1a29847092dc136444d4dbc38021634e16 Author: Ikumi Keita Date: Mon Mar 29 19:44:01 2021 +0900 Adapt for Texinfo mode * tex.el (TeX-local-master-p): Just look into `file-local-variables-alist' to return correct value even in TeXinfo mode. This fixes bug#33227 as well. diff --git a/tex.e

Fix for TeX-local-master-p

2021-06-02 Thread Ikumi Keita
alid "TeX-master:" entry in Local Variables section. Now that all emacsens supported by AUCTeX have `file-local-variables-alist', how about the attached patch? It fixes bug#33227[1] also. [1] https://debbugs.gnu.org/cgi/bugreport.cgi?bug=33227 Best, Ikumi Keita diff --git a/tex.el b/tex.e

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

2021-05-31 Thread Ikumi Keita
--- commit e7b25d14f4f6930672dd43885c78c04cc7c83be9 Author: Ikumi Keita Date: Mon Apr 19 04:52:05 2021 +0900 Use #' rather than ' to quote function names * latex.el (LaTeX-match-class-option, LaTeX-auto-cleanup): * style/beamer.el (LaTeX-beamer-after-insert-env): * style/doc.el (LaTeX-doc-after-insert

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

2021-05-31 Thread Ikumi Keita
--- commit e7b25d14f4f6930672dd43885c78c04cc7c83be9 Author: Ikumi Keita Date: Mon Apr 19 04:52:05 2021 +0900 Use #' rather than ' to quote function names * latex.el (LaTeX-match-class-option, LaTeX-auto-cleanup): * style/beamer.el (LaTeX-beamer-after-insert-env): * style/doc.el (LaTeX-doc-after-insert

[AUCTeX-diffs] GNU AUCTeX branch, master, updated. 1ded6fc217c617b3ef97d93c6e8705da44f256a0

2021-05-30 Thread Ikumi Keita
--- commit 1ded6fc217c617b3ef97d93c6e8705da44f256a0 Author: Ikumi Keita Date: Thu May 27 19:57:35 2021 +0900 Fix markups in documents * doc/auctex.texi (Internationalization): Fix markups. (Japanese): Reorder words so that unbreakable email addresses don't make the line ugly in pdf output. diff -

[AUCTeX-commit] GNU AUCTeX branch, master, updated. 1ded6fc217c617b3ef97d93c6e8705da44f256a0

2021-05-30 Thread Ikumi Keita
--- commit 1ded6fc217c617b3ef97d93c6e8705da44f256a0 Author: Ikumi Keita Date: Thu May 27 19:57:35 2021 +0900 Fix markups in documents * doc/auctex.texi (Internationalization): Fix markups. (Japanese): Reorder words so that unbreakable email addresses don't make the line ugly in

Re: Support for LaTeX hooks

2021-05-30 Thread Ikumi Keita
in his code and didn't obey the phrase "asked every time" there, letting the phrase be true only for `TeX-arg-input-file'. > I've changed my solution accordingly. Any comments welcome. It now looks good to me. ;-) Regards, Ikumi Keita

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

2021-05-28 Thread Ikumi Keita
--- commit b5f34a9438cabd2400e22aed9a25b7fe378e1daa Author: Ikumi Keita Date: Fri May 28 23:58:24 2021 +0900 Followup my commit on May 6 * tex-buf.el (TeX-LaTeX-sentinel): Use `insert-file-contents-literally' instead of `insert-fil

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

2021-05-28 Thread Ikumi Keita
--- commit b5f34a9438cabd2400e22aed9a25b7fe378e1daa Author: Ikumi Keita Date: Fri May 28 23:58:24 2021 +0900 Followup my commit on May 6 * tex-buf.el (TeX-LaTeX-sentinel): Use `insert-file-contents-literally' instead of `insert-file-contents'. diff --git a/tex-buf.el b/tex-buf.el index 1aca504..b8ba

[AUCTeX-commit] GNU AUCTeX branch, master, updated. 2a4cbbb2035b802f158fbfcee2e416a91ad5bf58

2021-05-27 Thread Ikumi Keita
--- commit 2a4cbbb2035b802f158fbfcee2e416a91ad5bf58 Author: Ikumi Keita Date: Fri May 28 02:47:20 2021 +0900 Improve `TeX-electric-macro' in Texinfo mode * tex.el (TeX-electric-macro): Compare with `last-command-event' rather than constant ?\ in case `@' is typed in Te

[AUCTeX-diffs] GNU AUCTeX branch, master, updated. 2a4cbbb2035b802f158fbfcee2e416a91ad5bf58

2021-05-27 Thread Ikumi Keita
--- commit 2a4cbbb2035b802f158fbfcee2e416a91ad5bf58 Author: Ikumi Keita Date: Fri May 28 02:47:20 2021 +0900 Improve `TeX-electric-macro' in Texinfo mode * tex.el (TeX-electric-macro): Compare with `last-command-event' rather than constant ?\ in case `@' is typed in Texinfo mode. diff --git a/tex.el b/te

bug#48524: 13.0.11; AUCTeX should not use LaTeX error message for non-LaTeX modes

2021-05-27 Thread Ikumi Keita
ING) as entries in `TeX-error-description-list' would need some work, so the attached rough hack might be of some interest for you. [1] https://debbugs.gnu.org/cgi/bugreport.cgi?bug=21595 Bye, Ikumi Keita patch.gz Description: Suppress LaTeX error message for plain TeX doc __

Re: Support for LaTeX hooks

2021-05-26 Thread Ikumi Keita
...] ;; class/(before|after)/ where is ;; optional ((member hook '("class/before" "class/after")) (let* ((TeX-file-extensions '("cls"))) (unless LaTeX-global-class-files (setq LaTeX-global-class-files (if (funcall search) (prog2 [...] Regards, Ikumi Keita

[AUCTeX-commit] GNU AUCTeX branch, master, updated. 81ce0ee78586693f37e6c30cbcbdf542f3a29d9b

2021-05-25 Thread Ikumi Keita
--- commit 81ce0ee78586693f37e6c30cbcbdf542f3a29d9b Author: Ikumi Keita Date: Wed May 26 02:45:13 2021 +0900 Add -dDELAYBIND only when necessary * preview.el.in (preview-pdf2dsc-sentinel): Add gs option -dDELAYBIND only when preview-latex tries to tweak foreground color. According to gs developer[1], -

[AUCTeX-diffs] GNU AUCTeX branch, master, updated. 81ce0ee78586693f37e6c30cbcbdf542f3a29d9b

2021-05-25 Thread Ikumi Keita
--- commit 81ce0ee78586693f37e6c30cbcbdf542f3a29d9b Author: Ikumi Keita Date: Wed May 26 02:45:13 2021 +0900 Add -dDELAYBIND only when necessary * preview.el.in (preview-pdf2dsc-sentinel): Add gs option -dDELAYBIND only when preview-latex tries to tweak foreground color. According to gs developer[1], -

Re: Recent preview-latex (or latex?) is again incompatible with ghostscript

2021-05-25 Thread Ikumi Keita
" only when preview-latex tries to tweak foreground color while adding "-dDELAYBIND" option always. After I modified the code to supply "-dDELAYBIND" only when necessary, the error disappeared. preview-latex works for both cases when it tries to tweak foreground color and does not. Thank you very much! Regards, Ikumi Keita

Recent preview-latex (or latex?) is again incompatible with ghostscript

2021-05-25 Thread Ikumi Keita
ckexchange.com/questions/534438/tikz-and-auctex-different-results/536029 We'd appreciate if you could confirm the problem and find a way to deal with this problem. Best regards, Ikumi Keita mwe.pdf Description: sample pdf file preview.dsc Description: sample dsc file

Document updates

2021-05-23 Thread Ikumi Keita
(It seems to me more useful for users to enable running texi2pdf than just texindex, so I suppose that it should be such entry rather than texindex entry that is to be added.) Comments and discussions are welcome. Best regards, Ikumi Keita

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

2021-05-23 Thread Ikumi Keita
--- commit a8e1a5d9b61d9f25b2bcade738f39e1fdef38f18 Author: Ikumi Keita Date: Mon Mar 29 01:37:10 2021 +0900 Update documentation * doc/auctex.texi (Internationalization): Update according to recent utf8-oriented change in LaTeX. (Modes and Hooks): Display mode function names in lower case because `

bug#48518: 13.0.11; LaTeX environment C-c C-e on region doesn't indent properly

2021-05-21 Thread Ikumi Keita
no reason why it shouldn't be the default). Pushed to the git repo. Thanks for your report. Regards, Ikumi Keita ___ bug-auctex mailing list bug-auctex@gnu.org https://lists.gnu.org/mailman/listinfo/bug-auctex

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

2021-05-21 Thread Ikumi Keita
--- commit afab0e08a4bdba406164c1368d7bb8476203f4d7 Author: Ikumi Keita Date: Fri May 21 17:17:37 2021 +0900 Indent region (bug#48518) * latex.el (LaTeX-insert-environment): Indent active region when `auto-fill-mode' is disabled. diff --git a/latex.el b/latex.el index 2e2d209..abad7ec 100644 --- a/late

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

2021-05-21 Thread Ikumi Keita
--- commit afab0e08a4bdba406164c1368d7bb8476203f4d7 Author: Ikumi Keita Date: Fri May 21 17:17:37 2021 +0900 Indent region (bug#48518) * latex.el (LaTeX-insert-environment): Indent active region when `auto-fill-mode' is disabled. --

bug#48518: 13.0.11; LaTeX environment C-c C-e on region doesn't indent properly

2021-05-21 Thread Ikumi Keita
! This is exactly what I am requesting :) Could you test the attached patch to see whether it works as expected? Regards, Ikumi Keita diff --git a/latex.el b/latex.el index 2e2d2098..abad7ecb 100644 --- a/latex.el +++ b/latex.el @@ -825,7 +825,9 @@ environment just inserted, the buffer position

bug#48518: 13.0.11; LaTeX environment C-c C-e on region doesn't indent properly

2021-05-20 Thread Ikumi Keita
6-03/msg00056.html What do you think about the rationale of the original poster of the above thread? Maybe AUCTeX should do only indentation, not filling, when `auto-fill-mode' is disabled. (I'm not sure what is the best behavior because I always enable `au

bug#48518: 13.0.11; LaTeX environment C-c C-e on region doesn't indent properly

2021-05-20 Thread Ikumi Keita
gin{environment} is indented correctly. I guess you didn't enable `auto-fill-mode'. Try `M-x auto-fill-mode' in the document buffer and do the same thing. If it works as expected, add (add-hook 'LaTeX-mode-hook 'turn-on-auto-fill) or (add-hook 'text-mode-hook 'turn-on-auto-fill) into your init file

Re: Support for LaTeX hooks

2021-05-20 Thread Ikumi Keita
asked y-or-n question even when "cmd" or "env" hook is entered. So call to this code should be deferred. Regards, Ikumi Keita

Re: Support for LaTeX hooks

2021-05-16 Thread Ikumi Keita
pout/foreground shipout/background shipout/firstpage shipout/lastpage > ;; file/(before|after)/ where is > ;; optional and must be with extension > ((string-match "\\`file" hook) Maybe `string-prefix-p' suits slightly better than `string-match', but of course they have practically no difference. > (setq result (mapconcat #'identity > `(,hook ,name ,where) > "/")) I think (concat hook "/" name "/" where) is equivalent to that `mapconcat' call and seems more simple and natural, IMHO. Regards, Ikumi Keita

[AUCTeX-diffs] GNU AUCTeX branch, master, updated. 605cfc2f0929f431f3ce57e57dfb2a2d8a89e4fa

2021-05-13 Thread Ikumi Keita
--- commit 605cfc2f0929f431f3ce57e57dfb2a2d8a89e4fa Author: Ikumi Keita Date: Thu May 13 02:33:37 2021 +0900 Add new test * tests/latex/font-latex-test.el (font-latex-unclosed-dollars): New test. * font-latex.el (font-latex-find-dollar-math): Clean up doc string and comment. diff --git a/font-latex

[AUCTeX-commit] GNU AUCTeX branch, master, updated. 605cfc2f0929f431f3ce57e57dfb2a2d8a89e4fa

2021-05-13 Thread Ikumi Keita
--- commit 605cfc2f0929f431f3ce57e57dfb2a2d8a89e4fa Author: Ikumi Keita Date: Thu May 13 02:33:37 2021 +0900 Add new test * tests/latex/font-latex-test.el (font-latex-unclosed-dollars): New test. * font-latex.el (font-latex-find-dollar-math): Clean up doc string and

bug#48365: 13.0.11; Dollars in distinct comments trigger math mode highlighting in text in-between

2021-05-13 Thread Ikumi Keita
ooked at `font-latex-find-dollar-math' carefully and noticed that it returns false t if LIMIT argument exceeds end of buffer. Regards, Ikumi Keita ___ bug-auctex mailing list bug-auctex@gnu.org https://lists.gnu.org/mailman/listinfo/bug-auctex

bug#48365: 13.0.11; Dollars in distinct comments trigger math mode highlighting in text in-between

2021-05-12 Thread Ikumi Keita
t;>> B foo_bar^bar{$} >>> % a comment >>> C foo_bar^bar >>> $ >>> % >>> % >>> >>> In case of file B, which differs only by an added %$ at end of the >>> \newcommand line, the \newcommand for

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

2021-05-12 Thread Ikumi Keita
--- commit a6121fb7356cc4c9398b2be6534007d3c5a84518 Author: Ikumi Keita Date: Thu May 13 01:58:09 2021 +0900 Fix fontification when $ is unclosed in buffer * font-latex.el (font-latex-match-dollar-math): Ensure that limit passed to `font-latex-find-dollar-math' doesn't exceed end of buffer. diff --git a/fon

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

2021-05-12 Thread Ikumi Keita
--- commit a6121fb7356cc4c9398b2be6534007d3c5a84518 Author: Ikumi Keita Date: Thu May 13 01:58:09 2021 +0900 Fix fontification when $ is unclosed in buffer * font-latex.el (font-latex-match-dollar-math): Ensure that limit passed to `font-latex-find-dollar-math' doesn't exceed end

bug#48365: 13.0.11; Dollars in distinct comments trigger math mode highlighting in text in-between

2021-05-12 Thread Ikumi Keita
Oups, sorry, I sent my previous email just before I saw this message! > Tassilo Horn writes: > Hi Jean-François, >>> I'm not sure what is worse. The restriction to have at least >>> balanced $ also in comments, or the now very restrictive workaround >>> form. We'll see if someone complains

bug#48365: 13.0.11; Dollars in distinct comments trigger math mode highlighting in text in-between

2021-05-12 Thread Ikumi Keita
de if it is preceded by odd numbers of $'s like this: foo bar blah % \$ Regards, Ikumi Keita diff --git a/font-latex.el b/font-latex.el index e852ea7f..78256ce5 100644 --- a/font-latex.el +++ b/font-latex.el @@ -1914,10 +1914,12 @@ signs to follow the point and must be 1 or 2."

Re: Value of `TeX-global-input-files'

2021-05-11 Thread Ikumi Keita
ue to cycle: … => (load "tex.el") => (macroexpand-all …) => (macroexpand (eval-when-compile …)) => (load "latex.el") => (load "tex.el") Eager macro-expansion failure: (error "Recursive `require' for feature `latex'") Regards, Ikumi Keita

Re: GS9.54 and Preview

2021-05-09 Thread Ikumi Keita
the fix is already in the development repository and will be available for "tlmgr update" soon. Regards, Ikumi Keita

Re: GS9.54 and Preview

2021-05-08 Thread Ikumi Keita
>>>>> Ikumi Keita writes: > So it is strongly suspected that pdf2dsc is broken on windows, after > some point of gs 9.50. Maybe ghostscript folks doesn't check the > availability of pdf2dsc on windows when they release new version? Ah, no, it's pdf2dsc (or gs)

Re: GS9.54 and Preview

2021-05-08 Thread Ikumi Keita
L Ghostscript 9.53.3: Unrecoverable error, exit code 1 -- So it is strongly suspected that pdf2dsc is broken on windows, after some point of gs 9.50. Maybe ghostscript folks doesn't check the availability of pdf2dsc on windows when they release new version? Regards, Ikumi Keita

Re: Value of `TeX-global-input-files'

2021-05-07 Thread Ikumi Keita
f arg (dolist (var TeX-XXX-YYY) (set var nil))) [...] (And latex.el and relevant style files such as graphicx.el should add their own variables to be initialized into TeX-XXX-YYY by `add-to-list' or `cl-pushnew'.) Regards, Ikumi Keita P.S. > I found that `TeX-global-input-fi

bug#48144: 13.0.11; TeX-run-format signals error in sentinel

2021-05-06 Thread Ikumi Keita
? > It works well here, thank you! Thanks for confirmation, pushed to the git repo. Bye, Ikumi Keita ___ bug-auctex mailing list bug-auctex@gnu.org https://lists.gnu.org/mailman/listinfo/bug-auctex

[AUCTeX-commit] GNU AUCTeX branch, master, updated. 95c3acff496eaaebed1cf38bf0bdaa8a034d46d4

2021-05-06 Thread Ikumi Keita
ow. - Log - commit 95c3acff496eaaebed1cf38bf0bdaa8a034d46d4 Author: Ikumi Keita Date: Thu May 6 21:54:26 2021 +0900 Ensure rawness of data to compute MD5 * tex-buf.el (TeX-run-TeX): Use `insert-file-contents-literally' instead of `insert-file-contents

[AUCTeX-diffs] GNU AUCTeX branch, master, updated. 95c3acff496eaaebed1cf38bf0bdaa8a034d46d4

2021-05-06 Thread Ikumi Keita
ow. - Log - commit 95c3acff496eaaebed1cf38bf0bdaa8a034d46d4 Author: Ikumi Keita Date: Thu May 6 21:54:26 2021 +0900 Ensure rawness of data to compute MD5 * tex-buf.el (TeX-run-TeX): Use `insert-file-contents-literally' instead of `insert-file-contents

bug#48144: 13.0.11; TeX-run-format signals error in sentinel

2021-05-06 Thread Ikumi Keita
n-TeX: For TeX output. ` Actually (again), not all the TeX-run-* series are maintained well. The ones which are seldom used sometimes have nonsense implementation: https://lists.gnu.org/archive/html/auctex-devel/2017-05/msg00014.html Regards, Ikumi Keita diff --git a/tex-buf.e

Re: Compiler warnings for latexinfo.el

2021-05-01 Thread Ikumi Keita
me anonymous ftp server, hence the prefix "makke:". It no longer seems to continue. Regards, Ikumi Keita

Re: GS9.54 and Preview

2021-05-01 Thread Ikumi Keita
ror, exit code 1 This looks similar as an error I encountered before: https://lists.gnu.org/r/bug-auctex/2019-10/msg00010.html Maybe the origin is similar... Best, Ikumi Keita

Re: AUCTeX in Aquamacs for pstricks and Ghostscript 9.53 with transparency

2021-04-23 Thread Ikumi Keita
member xelatex is developed on sourceforge. Try web search such as google. Bye, Ikumi Keita

[AUCTeX-commit] GNU AUCTeX branch, master, updated. 3d813cdeb8e7e7184dcf9d58f576584312cffae6

2021-04-23 Thread Ikumi Keita
--- commit 3d813cdeb8e7e7184dcf9d58f576584312cffae6 Author: Ikumi Keita Date: Fri Apr 23 17:10:31 2021 +0900 Add new test * tests/latex/latex-test.el (LaTeX-electric-pair-interaction): New test. * latex.el (LaTeX-insert-left-brace): Ad

[AUCTeX-diffs] GNU AUCTeX branch, master, updated. 3d813cdeb8e7e7184dcf9d58f576584312cffae6

2021-04-23 Thread Ikumi Keita
--- commit 3d813cdeb8e7e7184dcf9d58f576584312cffae6 Author: Ikumi Keita Date: Fri Apr 23 17:10:31 2021 +0900 Add new test * tests/latex/latex-test.el (LaTeX-electric-pair-interaction): New test. * latex.el (LaTeX-insert-left-brace): Add comments. diff --git a/latex.el b/latex.el index 767fe21..3330

Re: AUCTeX in Aquamacs for pstricks and Ghostscript 9.53 with transparency

2021-04-23 Thread Ikumi Keita
gt; with the above code of XeLaTeX. Do you know something? Sorry, I have no idea. Regards, Ikumi Keita

Re: AUCTeX in Aquamacs for pstricks and Ghostscript 9.53 with transparency

2021-04-22 Thread Ikumi Keita
riables by a section like %%% Local Variables: %%% TeX-command-extra-options: "-output-driver=\"xdvipdfmx -i dvipdfmx-unsafe.cfg -q -E\"" %%% End: at the last of your document. If you use that setting for every latex document, customize `TeX-command-extra-options' itself and save it. Regards, Ikumi Keita

<    5   6   7   8   9   10   11   12   13   14   >