feature/fix-mode-names-overlap 9c6f701a: Use `define-derived-mode' for AUCTeX major modes

2023-08-27 Thread Ikumi Keita
branch: feature/fix-mode-names-overlap commit 9c6f701a0c430f7208256185c1cd4889ff3bd777 Author: Ikumi Keita Commit: Ikumi Keita Use `define-derived-mode' for AUCTeX major modes * latex.el (LaTeX-mode-syntax-table): Use `make-syntax-table' to reduce overhead. (TeX-LaTeX-mode

master e4c48a5a: Improve tex-jp.el politeness

2023-08-27 Thread Ikumi Keita
branch: master commit e4c48a5a021254d6914a4c7aadbee93320b7f8fc Author: Ikumi Keita Commit: Ikumi Keita Improve tex-jp.el politeness * tex-jp.el (japanese-latex-mode-initialization): Override `LaTeX-default-style' only locally. (japanese-TeX-insert-punctuation): Don't

feature/fix-mode-names-overlap 9b6130ad: Revert menu title

2023-08-26 Thread Ikumi Keita
branch: feature/fix-mode-names-overlap commit 9b6130ad9ab12c968e4f23e0f90df8a0929d5f0f Author: Ikumi Keita Commit: Ikumi Keita Revert menu title * plain-tex.el (AmSTeX-mode-menu): Revert menu title. It must be the same as `TeX-base-mode-name', otherwise "Extend this

Re: master d486947c: Enable LaTeX abbrevs in docTeX mode buffer.

2023-08-25 Thread Ikumi Keita
uld I fix it? Oops, thanks. I fixed it ;-) Bye, Ikumi Keita #StandWithUkraine #StopWarInUkraine

master 66941e5a: ; * doc/changes.texi: Fix typo.

2023-08-25 Thread Ikumi Keita
branch: master commit 66941e5aad4d9ba86fbedc0df2cc71802e43104d Author: Ikumi Keita Commit: Ikumi Keita ; * doc/changes.texi: Fix typo. --- doc/changes.texi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/changes.texi b/doc/changes.texi index f9e7ee58..cbb341c6

feature/fix-mode-names-overlap updated (a6e53e53 -> ab8f73a1)

2023-08-23 Thread Ikumi Keita
ikumi pushed a change to branch feature/fix-mode-names-overlap. from a6e53e53 Refine management of mode redirection adds 4bcad477 Simplify handling of package options adds 2969b24b ; * style/wasysym.el: Silence warnings from 'make dynvars-check'. adds 93fa8bde

feature/fix-mode-names-overlap ab8f73a1: Merge branch 'master' into feature/fix-mode-names-overlap

2023-08-23 Thread Ikumi Keita
branch: feature/fix-mode-names-overlap commit ab8f73a1ccf03bcb314240ae3ef251e9140e6d7d Merge: a6e53e53 d486947c Author: Ikumi Keita Commit: Ikumi Keita Merge branch 'master' into feature/fix-mode-names-overlap --- bib-cite.el| 2 - context-nl.el | 3

Re: Abbrev table in doctex mode

2023-08-22 Thread Ikumi Keita
>>>>> Ikumi Keita writes: >> Consequently, the abbrevs defined in latex mode abbrev table >> aren't available in doctex mode buffer. >> That doesn't seem reasonable to me. Is there any reason that abbrevs for >> latex mode should

master d486947c: Enable LaTeX abbrevs in docTeX mode buffer.

2023-08-22 Thread Ikumi Keita
branch: master commit d486947cd8231c00d671ea42612ad3ebbc062d44 Author: Ikumi Keita Commit: Ikumi Keita Enable LaTeX abbrevs in docTeX mode buffer. * latex.el (): Enable LaTeX abbrevs in docTeX mode buffer. * doc/changes.texi: Mention the above change. Update copyright year

Re: Abbrev table in doctex mode

2023-08-22 Thread Ikumi Keita
>>>>> Ikumi Keita writes: > I'd like to discuss the abbrev table of doctex mode. [...] > Consequently, the abbrevs defined in latex mode abbrev table > aren't available in doctex mode buffer. > That doesn't seem reasonable to me. Is there any reason that abbr

Abbrev table in doctex mode

2023-08-20 Thread Ikumi Keita
em reasonable to me. Is there any reason that abbrevs for latex mode should be disabled in doctex mode? Regards, Ikumi Keita #StandWithUkraine #StopWarInUkraine

bug#64921: 13.2.1; Infinite loop in LaTeX-arg-biblatex-cites with RefTeX

2023-08-17 Thread Ikumi Keita
>>>>> Gustavo Barros writes: > On Tue, 15 Aug 2023 at 03:18, Ikumi Keita wrote: >> >> Thank you for suggestion. Does the attached patch give you good results? >> > It behaves the same as `reftex-citation`, so it looks good to me. > Thank you very m

master dc40d6e8: Fix bug#64921

2023-08-17 Thread Ikumi Keita
branch: master commit dc40d6e81266eb4e2d50564cf1d47af55beafb03 Author: Ikumi Keita Commit: Ikumi Keita Fix bug#64921 * style/biblatex.el (LaTeX-arg-biblatex-cites): Don't loop when RefTeX citation is done. --- style/biblatex.el | 10 +++--- 1 file changed, 7 insertions

feature/fix-mode-names-overlap a6e53e53: Refine management of mode redirection

2023-08-15 Thread Ikumi Keita
branch: feature/fix-mode-names-overlap commit a6e53e53d8667fae04412d4365b5d1de0743c3f4 Author: Ikumi Keita Commit: Ikumi Keita Refine management of mode redirection * tex-site.el.in (TeX-modes-set): Add redirection only when there isn't the same one. Delete only AUCTeX mode

bug#64921: 13.2.1; Infinite loop in LaTeX-arg-biblatex-cites with RefTeX

2023-08-15 Thread Ikumi Keita
tion. Does the attached patch give you good results? (By the way, the reason that "q"/"C-g" deletes the trace of the previous input is that `TeX-insert-macro' introduced `atomic-change-group' a year ago[1].) [1] Thread beginning with https://lists.gnu.org/r/auctex-devel/2022-08/msg00057

Re: In-buffer completion for macro/env arguments

2023-08-14 Thread Ikumi Keita
and, in my opinion, more clear. Acutually, (cl-letf (((symbol-function 'y-or-n-p) #'always)) (y-or-n-p "dummy")) and (cl-flet ((y-or-n-p #'always)) (y-or-n-p "dummy")) behave in the same way apparently. Regards, Ikumi Keita #StandWithUkraine #StopWarInUkraine

bug#65195: 13.2.1; (La)TeX-fold-math-spec-list have the wrong custom type

2023-08-12 Thread Ikumi Keita
-macro-spec-list' or >> `TeX-fold-env-spec-list' and may be a string or an integer. > ^ Oh, thanks. I fixed it as well. Regards, Ikumi Keita #StandWithUkraine #StopWarInUkraine ___

master b18e98cb: Follow-up fix for doc string (bug#65195)

2023-08-12 Thread Ikumi Keita
branch: master commit b18e98cbec427cb08fd372c74ca4f424372e3896 Author: Ikumi Keita Commit: Ikumi Keita Follow-up fix for doc string (bug#65195) * tex-fold.el (TeX-fold-make-overlay): Fix doc string. --- tex-fold.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff

master f69211af: Fix context nl mode

2023-08-11 Thread Ikumi Keita
branch: master commit f69211af6239da6d96864733c5b86e2ee3a5b6eb Author: Ikumi Keita Commit: Ikumi Keita Fix context nl mode * context-nl.el (ConTeXt-section-list-nl): Define `ConTeXt-section-list-nl' to avoid error. --- context-nl.el | 3 +++ 1 file changed, 3 insertions

master 65330be8: ; Trivial cleanups

2023-08-11 Thread Ikumi Keita
branch: master commit 65330be8e6d7a8626033f1c17c3623c8ebf2b340 Author: Ikumi Keita Commit: Ikumi Keita ; Trivial cleanups * context.el (ConTeXt-mode-common-initialization): Use #' rather than ' to quote function name. (ConTeXt-mode-common-initialization): * tex-jp.el

bug#64921: 13.2.1; Infinite loop in LaTeX-arg-biblatex-cites with RefTeX

2023-08-11 Thread Ikumi Keita
e a way for > `reftex-citation's UI to return nil. I don't see how. But, again, I > may be missing something... Your analysis seems right. I don't come up with a good solution yet. However, most users would type C-c [ to use `reftex-citation' direc

bug#65195: 13.2.1; (La)TeX-fold-math-spec-list have the wrong custom type

2023-08-11 Thread Ikumi Keita
ions called, like `TeX-fold-make-overlay' would also > have to have their documentation adjusted. Thanks for your report, I think it is actually a bug. I pushed the fix to the git repo according to your proposal. Regards, Ikumi Keita #StandWithUkraine #StopWarInUkraine ___ bug-auctex mailing list bug-auctex@gnu.org https://lists.gnu.org/mailman/listinfo/bug-auctex

master 3c03ee08: Add missing alternative for custom type

2023-08-11 Thread Ikumi Keita
branch: master commit 3c03ee089a2b74d0d5a0285f983a9eba82dc04a5 Author: Ikumi Keita Commit: Ikumi Keita Add missing alternative for custom type * tex-fold.el (TeX-fold-env-spec-list) (TeX-fold-math-spec-list): * latex.el (LaTeX-fold-macro-spec-list) (LaTeX-fold-env-spec

feature/fix-mode-names-overlap 52f903a4 2/2: Take care of `unload-feature'

2023-08-11 Thread Ikumi Keita
branch: feature/fix-mode-names-overlap commit 52f903a4e91b1325d696712a768d01fefdf2b25e Author: Ikumi Keita Commit: Ikumi Keita Take care of `unload-feature' * tex-site.el.in (tex-mode): Deactivate form registered by `with-eval-after-load' if `tex-site' is unloaded

feature/fix-mode-names-overlap updated (ef86afda -> 52f903a4)

2023-08-11 Thread Ikumi Keita
ikumi pushed a change to branch feature/fix-mode-names-overlap. from ef86afda Commit for initialization codes new 46f2f221 Inherit abbrevs saved in table with former mode name new 52f903a4 Take care of `unload-feature' Summary of changes: context.el | 2 +-

feature/fix-mode-names-overlap 46f2f221 1/2: Inherit abbrevs saved in table with former mode name

2023-08-11 Thread Ikumi Keita
branch: feature/fix-mode-names-overlap commit 46f2f2215d9b626f09700697a4231d9e1a805ad6 Author: Ikumi Keita Commit: Ikumi Keita Inherit abbrevs saved in table with former mode name * tex.el (TeX-abbrev-mode-setup): Add argument for additional parent abbrev table

Re: [ALMOST SOLVED] overriding frame insertion in beamer.el

2023-08-11 Thread Ikumi Keita
'imenu-default-create-index-function) >(setq-local imenu-generic-expression >'((nil ; put in top-level menu > "^begin{frame}\\(\\[[a-z,]+\\]\\)?{\\(.+\\)}" > 2 ; which bracketed expression goes in title > ))) > --- > so that I can use imenu to jump to a slide by title. Thanks, I'll see what I can do when I have enough spare time. Regards, Ikumi Keita #StandWithUkraine #StopWarInUkraine

Re: In-buffer completion for macro/env arguments

2023-08-09 Thread Ikumi Keita
le ‘LaTeX-section-label’ -- while emacs 27 and later don't. It seems that emacs 27 and later load latex.el before they compile tex.el, but I don't see the reason why emacs 26 doesn't then...) Regards, Ikumi Keita #StandWithUkraine #StopWarInUkraine

Re: After Debian upgrade labels not created

2023-08-05 Thread Ikumi Keita
-ASCII characters, > so you get something like > \subsection{Żółć} > \label{sec:o} > I can live with it, but I'm curious whether you are aware of it. RefTeX still sticks to older LaTeX rules. I think you can override it by (setq reftex-label-illegal-re "[^-a-zA-Z0-9_+=:;,.[:m

Re: The auto-completion behavior of parenthesis.

2023-07-28 Thread Ikumi Keita
Hi Hongyi, >>>>> Hongyi Zhao writes: > On Sat, Jul 29, 2023 at 12:03 AM Ikumi Keita wrote: >> >> >>>>> Hongyi Zhao writes: >> > I see, due to auctex has already been installed, I must test it as follows: >> >> > emacs

Re: The auto-completion behavior of parenthesis.

2023-07-28 Thread Ikumi Keita
ssed here. > See the attached screenshot for the results. What's wrong? It seems to me that it works as you expected. The round parens appear in pair in the screenshot. Regards, Ikumi Keita #StandWithUkraine #StopWarInUkraine

Re: The auto-completion behavior of parenthesis.

2023-07-28 Thread Ikumi Keita
d. > \end{document} > After opening the above file, eval the following setting: > M-: (setq LaTeX-electric-left-right-brace t) RET > Then, I observed the same effect as shown be you. Is that buffer in AUCTeX latex mode? I suspect that it's in emacs built-in latex mode due to '-Q' option. Regards, Ikumi Keita #StandWithUkraine #StopWarInUkraine

Re: bib-cite.el defines LaTeX-label-list

2023-06-11 Thread Ikumi Keita
TeX") > Any objections if we delete the line in bib-cite.el? No, I think we should get rid of that line. :-) Regards, Ikumi Keita #StandWithUkraine #StopWarInUkraine

Re: set the latex binaries, locally to different texlive distributions

2023-06-08 Thread Ikumi Keita
LaTeX. | | This variable may be risky if used as a file-local variable. | You can customize this variable. | ` Regards, Ikumi Keita #StandWithUkraine #StopWarInUkraine

Re: LaTeX-indent-environment-list void

2023-06-07 Thread Ikumi Keita
that isn't the case, please report the detailed procedure to reproduce the issue, beginning from "emacs -Q". Regards, Ikumi Keita #StandWithUkraine #StopWarInUkraine

bug#63573: 13.2.0; automatic style generation & loading unclear / does not work as expected

2023-05-26 Thread Ikumi Keita
Hi Sebastian, >>>>> Sebastian Drude writes: > Dear Ikumi, > thanks a lot for your helpful answers, and sorry for my late reply. > My comments below. > Thanks again, best greetings, You're welcome. Thanks for reporting back, I'll close this bug. Regards, Ik

bug#63573: 13.2.0; automatic style generation & loading unclear / does not work as expected

2023-05-19 Thread Ikumi Keita
--- > Where is the generation of style files and their loading described?  I > found the information in the AucTeX manual (info) not very helpful for > answering these questions.  But as I said, probably I am missing > something.  Please point me to the documentation that I was not a

Re: AUCTeX and "builtin latex mode" integration

2023-05-15 Thread Ikumi Keita
e. Does > this make sense? Do you mean that new prefix is used for only mode/hook/keymap/syntax table/abbrev table names and `LaTeX-mode-hook' etc. will be removed in future? Hmm. That might be a possible option, but it doesn't seem clean to me. Regards, Ikumi Keita #StandWithUkraine #StopWarInUkraine

Re: Soft wrap (again?)

2023-05-12 Thread Ikumi Keita
if increased `wrap-prefix' text property is given to the interval between the matching braces. If it were some "plugin" facility in a-w-p-mode which foreign library like AUCTeX could make use of to manipulate the `wrap-prefix' property, it might be possible to achieve extra indent inside br

bug#63441: Wrong Indentation with backslash in verb macros with braces

2023-05-11 Thread Ikumi Keita
count))) > Any comments oder better approaches? I don't think `fboundp' test is a right approach because it calls `LaTeX-verbatim-p' even in non-LaTeX mode buffers after the session loads latex.el. How about just (TeX-verbatim-p) instead of (and (fboundp 'LaTeX-verbatim-p)

Re: AUCTeX and "builtin latex mode" integration

2023-05-11 Thread Ikumi Keita
that maybe `set-auto-mode` should remember the name > of the "mode function" it called so we could consult this (in addition > to the value of `major-mode`) when applying directory-local vars? If that is possible, it will be a good solution. Regards, Ikumi Keita #StandWithUkraine #StopWarInUkraine

Re: AUCTeX and "builtin latex mode" integration

2023-05-09 Thread Ikumi Keita
e". Please tell me another name if you find >> a better one.) > I think we can live with that :-) I incorporated Stefan's idea. Thanks, Stefan. Regards, Ikumi Keita #StandWithUkraine #StopWarInUkraine

Re: font-latex.el: Introducing new keyword class 'function-noarg'

2023-05-09 Thread Ikumi Keita
tral to that idea, but it won't do particular harm. So I'm fine if you install it. Regards, Ikumi Keita #StandWithUkraine #StopWarInUkraine

Re: AUCTeX and "builtin latex mode" integration

2023-05-09 Thread Ikumi Keita
on)) (define-derived-mode plain-tex-mode tex-base-mode "TeX" [...] (define-derived-mode latex-mode tex-base-mode "LaTeX" [...] (defun tex-mode () (funcall (tex--guess-mode))) ------ I see this approach has two apparent incompatibilities, but I expect those doesn't matter practically: 1. Users can't have buffers of `tex-mode', not intended for a particular TeX variant. (They have to use `tex-base-mode' instead for that purpose.) 2. Directory local variable entry for `tex-mode' is no longer effective. (Users have to rewrite the entry to `tex-base-mode', but that isn't possible for read-only filesystem such as CD-ROM.) Regards, Ikumi Keita #StandWithUkraine #StopWarInUkraine

feature/fix-mode-names-overlap 938e82ed 1/6: Commit for plain TeX and AmS-TeX

2023-05-08 Thread Ikumi Keita
branch: feature/fix-mode-names-overlap commit 938e82ed8e2b9bde3e2d205f42f8bde0ef17544f Author: Ikumi Keita Commit: Ikumi Keita Commit for plain TeX and AmS-TeX * plain-tex.el: * tex.el: * preview.el.in: * style/amstex.el: * tex-fold.el: * tex-bar.el: Change

feature/fix-mode-names-overlap a3c34365 2/6: Commit for Texinfo mode

2023-05-08 Thread Ikumi Keita
branch: feature/fix-mode-names-overlap commit a3c343654c197a4b3f23b0687655528dfc125cf4 Author: Ikumi Keita Commit: Ikumi Keita Commit for Texinfo mode * tex-info.el: * tex-fold.el: * tex.el: * .dir-locals.el: Change major mode name. texinfo-mode -> Texinfo-m

feature/fix-mode-names-overlap e0738098 4/6: Commit for LaTeX mode and docTeX mode

2023-05-08 Thread Ikumi Keita
branch: feature/fix-mode-names-overlap commit e07380983065209f7e7bc6d6a8215758a725cf8a Author: Ikumi Keita Commit: Ikumi Keita Commit for LaTeX mode and docTeX mode * latex.el: * tex.el: * font-latex.el: * preview.el.in: * tests/latex/latex-test.el: * tests/tex

branch feature/fix-mode-names-overlap created (now ef86afda)

2023-05-08 Thread Ikumi Keita
ikumi pushed a change to branch feature/fix-mode-names-overlap. at ef86afda Commit for initialization codes This branch includes the following new commits: new 938e82ed Commit for plain TeX and AmS-TeX new a3c34365 Commit for Texinfo mode new ae43b622 Commit

feature/fix-mode-names-overlap ae43b622 3/6: Commit for ConTeXt modes

2023-05-08 Thread Ikumi Keita
branch: feature/fix-mode-names-overlap commit ae43b62283c4e56c4fc2cef26a3587473a0e Author: Ikumi Keita Commit: Ikumi Keita Commit for ConTeXt modes * context.el: * context-en.el: * context-nl.el: * tex.el: * tex-fold.el: Change major mode names. context

feature/fix-mode-names-overlap d42cd150 5/6: Commit for japanese LaTeX mode

2023-05-08 Thread Ikumi Keita
branch: feature/fix-mode-names-overlap commit d42cd150b546c583d9f3dd034546442b5e2a7c92 Author: Ikumi Keita Commit: Ikumi Keita Commit for japanese LaTeX mode * tex-jp.el: * tex.el: * tests/japanese/parse-timing.el: Change major mode names. japanese-plain-tex-mode

feature/fix-mode-names-overlap ef86afda 6/6: Commit for initialization codes

2023-05-08 Thread Ikumi Keita
branch: feature/fix-mode-names-overlap commit ef86afdac5d72e23096bb06fff7452b867545128 Author: Ikumi Keita Commit: Ikumi Keita Commit for initialization codes * tex-site.el.in: Arrange initialization code to work with new major mode names, making use of Emacs 29 new feature

Re: AUCTeX and "builtin latex mode" integration

2023-05-07 Thread Ikumi Keita
obsolete and there seems no practial users of ams-tex-mode. (2) I'd like to discuss good solutions for these issues. Regards, Ikumi Keita #StandWithUkraine #StopWarInUkraine patches.tar.gz Description: application/gzip

Re: Trigger Tex file compilation with latexmk automatically when its content is changed and saved.

2023-05-06 Thread Ikumi Keita
ase_name; > popd; > return $return; > } > add_cus_dep( 'svg', 'pdf', 0, 'makesvg2pdf' ); > sub makesvg2pdf { > system( "inkscape \"$_[0].svg\" --export-pdf=\"$_[0].pdf\"" ); > } Regards, Ikumi Keita #StandWithUkraine #StopWarInUkraine

master 6439edca 4/4: Clean up Texinfo mode

2023-05-04 Thread Ikumi Keita
branch: master commit 6439edca63b1afb4c68b69c8c78d9710898c67d2 Author: Ikumi Keita Commit: Ikumi Keita Clean up Texinfo mode * tex-info.el (Texinfo-mode-menu): Use `Texinfo-insert-node' instead of `texinfo-insert-@node'. (TeX-texinfo-mode): Fix value of `TeX-header-end

master updated (7e420cff -> 6439edca)

2023-05-04 Thread Ikumi Keita
ikumi pushed a change to branch master. from 7e420cff ; * style/soul.el ("soul"): Use `LaTeX-soul-auto-cleanup'. new 2017d97b Rewrite *-unload-hook to *-unload-function new 7a347cd3 Remove compatibility code for Emacs<26 new 5bfc2cb6 Clean up ConTeXt mode

master 2017d97b 1/4: Rewrite *-unload-hook to *-unload-function

2023-05-04 Thread Ikumi Keita
branch: master commit 2017d97b0e74a9edb92091bafcf2c4db6768599b Author: Ikumi Keita Commit: Ikumi Keita Rewrite *-unload-hook to *-unload-function * tex-site.el.in (tex-site-unload-function): According to loadhist.el, *-unload-hook is obsolete. Use *-unload-function instead

master 5bfc2cb6 3/4: Clean up ConTeXt mode

2023-05-04 Thread Ikumi Keita
branch: master commit 5bfc2cb68a3afd188b4851335c84aafd97f6defc Author: Ikumi Keita Commit: Ikumi Keita Clean up ConTeXt mode * context-en.el (ConTeXt-en-mode-initialization): * context-nl.el (ConTeXt-nl-mode-initialization): Revise comments. * context.el (ConTeXt

master 7a347cd3 2/4: Remove compatibility code for Emacs<26

2023-05-04 Thread Ikumi Keita
branch: master commit 7a347cd39464b841c9249d7f31de5b9140f7d7cb Author: Ikumi Keita Commit: Ikumi Keita Remove compatibility code for Emacs<26 * latex.el (latex-flymake, TeX-latex-mode): Support flymake always. * style/dinbrief.el (LaTeX-dinbrief-style): (LaTeX-dinbrief-

Re: Trigger Tex file compilation with latexmk automatically when its content is changed and saved.

2023-05-04 Thread Ikumi Keita
lt;- Type C-x C-e here and see echo area after you open the tex file?) (7) If the answer to (6) is `t', what does emacs return when you evaluate (smart-compile-string "latexmk -pv %f") <- Type C-x C-e here and see echo area in the emacs buffer of the tex file? Regards, Ikumi Keita #StandWithUkraine #StopWarInUkraine

Re: Expanding AUCTeX's Math Minor Mode

2023-05-04 Thread Ikumi Keita
onstructs built previously. Regards, Ikumi Keita #StandWithUkraine #StopWarInUkraine

bug#63228: 13.2.0; TeX-auto-generate-global TeX-auto-parse-region: Wrong type argument: stringp, nil

2023-05-04 Thread Ikumi Keita
to follow Arash's advice, writing custom style file for langscibook.cls instead of `TeX-auto-generate-global'. [1] https://lists.gnu.org/r/auctex/2021-01/msg00037.html Regards, Ikumi Keita #StandWithUkraine #StopWarInUkraine ___ bug-auctex mailing list bug-auctex@gnu.org https://lists.gnu.org/mailman/listinfo/bug-auctex

Re: "%%% TeX-master: t" appears twice.

2023-04-30 Thread Ikumi Keita
alled only in `TeX-master-file-ask' in AUCTeX source, and `TeX-master-file-ask' calls `TeX-add-local-master' only when there isn't "%%% TeX-master:" line yet. So I don't know why such duplication occured. (Maybe some 3rd party code calls `TeX-add-local-master'?) Regards, Ikumi Keita #StandWithUkraine #StopWarInUkraine

Re: master 04b9a6d1: Improve shortvrb.sty support

2023-04-30 Thread Ikumi Keita
they still say "Note: back-references in REGEXPs do not work." in its doc string, while 28.2 is OK. Anyway, we can migrate to `syntax-propertize-rules' in future. Good news. Regards, Ikumi Keita #StandWithUkraine #StopWarInUkraine

Re: master 04b9a6d1: Improve shortvrb.sty support

2023-04-28 Thread Ikumi Keita
we can rewrite all entries in AUCTeX source and introduce `syntax-propertize-rules', but if there are 3rd party codes using this form, they will fail :-( > Yes, I removed that bit. The current change is attached. Thanks, now it runs cleanly on my side, too. Regards, Ikumi Keita #StandWithUkraine #StopWarInUkraine

Re: master 04b9a6d1: Improve shortvrb.sty support

2023-04-26 Thread Ikumi Keita
el are no longer necessary, aren't they? ;; Syntax (when LaTeX-shortvrb-chars (let ((st (make-syntax-table (syntax-table (dolist (c LaTeX-shortvrb-chars) (modify-syntax-entry c "\"" st)) (set-syntax-table st))) Regards, Ikumi Keita #StandWithUkraine #StopWarInUkraine

Re: master 04b9a6d1: Improve shortvrb.sty support

2023-04-25 Thread Ikumi Keita
sc) "*\\)" > + "\\(" s "\\)") > +(1 "\"") (2 ".") (3 "\"") > + > + ;; Tell font-lock about the update > + (font-latex-set-syntactic-keywords) > (font-latex-add-keywords '(("MakeShortVerb" "*{") > ("DeleteShortVerb" "{")) > WDYT? It seems OK. I'm fine with your proposal. Regards, Ikumi Keita #StandWithUkraine #StopWarInUkraine

Re: Request for Features in DocTeX mode

2023-04-01 Thread Ikumi Keita
indentation in docTeX is done across comments. This is option ^^ > +is disabled by default. > +@end defopt Bye, Ikumi Keita #StandWithUkraine #StopWarInUkraine

Re: Request for Features in DocTeX mode

2023-03-30 Thread Ikumi Keita
acrocode` >> environments. > Thanks for the patch, seems to work. What do others think about this > change? It affects only doctex mode, so I think it's OK to incorporate the patch. Regards, Ikumi Keita #StandWithUkraine #StopWarInUkraine

bug#62220: In-buffer completion and LaTeX-math-cal

2023-03-18 Thread Ikumi Keita
ght now. Ah, indeed. Sorry for my poor memory.  Regards, Ikumi Keita #StandWithUkraine #StopWarInUkraine ___ bug-auctex mailing list bug-auctex@gnu.org https://lists.gnu.org/mailman/listinfo/bug-auctex

bug#62220: In-buffer completion and LaTeX-math-cal

2023-03-17 Thread Ikumi Keita
his issue. I'm afraid that we still need autoload declaration for seq-filter for compatibility with older emacsen. Best, Ikumi Keita #StandWithUkraine #StopWarInUkraine ___ bug-auctex mailing list bug-auctex@gnu.org https://lists.gnu.org/mailman/listinfo/bug-auctex

Re: "LaTeX-fill-paragraph" behavior for latex preamble

2023-03-14 Thread Ikumi Keita
ph'. In either way, we can check the preamble just once only when called interactively. However, I don't have a good idea to work consistently with the issue (2) yet. Does anyone see a good solution? Regards, Ikumi Keita #StandWithUkraine #StopWarInUkraine [1] https://debbugs.gnu.org/cgi/bugreport.cgi?bug=30704

Re: insert environment + automatic label (reftex) seems not to work correctly anymore

2023-03-09 Thread Ikumi Keita
quot; means that RefTeX, in addition to amsthm, isn't enabled? If so, it's likely that your RefTeX setting isn't reflected in the buffer. > I am very confused, was there a syntax change recently I am not aware of? I think there was no such change in AUCTeX side. (I'm not sure about the RefT

Re: AUCTeX does not ask for width for \includegraphics macro anymore

2023-03-06 Thread Ikumi Keita
low, AUCTeX completes to "width". When I type subsequently = TAB , AUCTeX completes to add a backslash so that the minibuffer contents becomes "width=\". I can complete, say, "width=\linewidth" after that. Maybe some in-buffer completion facility is interfering with you. R

Re: AUCTeX does not ask for width for \includegraphics macro anymore

2023-03-05 Thread Ikumi Keita
f AUCTeX: When you hit just RET for a query of optional argument, the rest of queries of optional argument is skipped. To avoid that behavior, customize `TeX-insert-macro-default-style' to `show-all-optional-args'. Regards, Ikumi Keita #StandWithUkraine #StopWarInUkraine

Re: AUCTeX does not ask for width for \includegraphics macro anymore

2023-03-05 Thread Ikumi Keita
which the function was kept in latex.el. That's the reason I overlooked it had gone. Thank you for taking care of this issue, Tassilo. Regards, Ikumi Keita #StandWithUkraine #StopWarInUkraine

master 3564d946: ; Fix typos

2023-02-22 Thread Ikumi Keita
branch: master commit 3564d9467e4f88f57d217916012e15a0d74ca37e Author: Ikumi Keita Commit: Ikumi Keita ; Fix typos * tests/latex/latex-filling-in.tex: * tests/latex/latex-filling-out.tex: Fix typos. --- tests/latex/latex-filling-in.tex | 2 +- tests/latex/latex-filling

master fbc6399b: Add new tests

2023-02-21 Thread Ikumi Keita
branch: master commit fbc6399b9949888eb48bd8b61406ab06d98c9d25 Author: Ikumi Keita Commit: Ikumi Keita Add new tests * tests/latex/nested-indent-in.tex: * tests/latex/nested-indent-out.tex: New files for additional test for bug#48518. * tests/latex/latex-test.el (AUCTeX

bug#61400: Different filling for verbatim macros

2023-02-16 Thread Ikumi Keita
(skip-chars-forward (concat "^" delimiter) (line-end-position))) , which isn't important much. (It makes difference only when closing delimiter is missing. In that case, the function doesn't return sensible result anyway.) Regards, Ikumi Keita #StandWithUkraine #StopWarInUkraine _

master bbb4e2ae: Fill \verb-like macros appropriately (bug#61400)

2023-02-16 Thread Ikumi Keita
branch: master commit bbb4e2ae23541870de60fa4929b410d6fa2ee769 Author: Ikumi Keita Commit: Ikumi Keita Fill \verb-like macros appropriately (bug#61400) * latex.el (LaTeX-verbatim-macro-boundaries): Attach an optional argument so that it can return boundaries of its argument

bug#61400: Different filling for verbatim macros

2023-02-16 Thread Ikumi Keita
ough in case we have > balanced braces in the argument (and only such are allowed). So I > suggest we change this part of the code like this: [...] > Then we only need to solve the fontification issue ;-) WDYT? Thanks, I included your suggestion. See the attachment. Regards, Ikumi Keita #Stan

bug#61400: Different filling for verbatim macros

2023-02-15 Thread Ikumi Keita
Hi Arash, >>>>> Arash Esbati writes: > Sorry for the confusion. I wanted to say that I like your suggestion > above, let's take this route :-) Thanks, now I'd like to push the attached commit. Any comments welcome. Regards, Ikumi Keita #StandWithUkraine #St

bug#61400: Different filling for verbatim macros

2023-02-14 Thread Ikumi Keita
at >> `LaTeX-verbatim-macro-boundaries' presumes there is nonempty string >> after the macro body. Should we cater for such corner case?) > I'd say let's fix the issue at hand and then see if others complain and > there is a real use for this corner case, and then we can touch that. > Does it make sense? I see, let's do so. Regards, Ikumi Keita #StandWithUkraine #StopWarInUkraine ___ bug-auctex mailing list bug-auctex@gnu.org https://lists.gnu.org/mailman/listinfo/bug-auctex

bug#61400: Different filling for verbatim macros

2023-02-14 Thread Ikumi Keita
, I noticed that `LaTeX-verbatim-p' raises error when "\verb" is at the end of the buffer without delimiters and its contents "|...|". In fact `LaTeX-verbatim-macro-boundaries' and `LaTeX-current-verbatim-macro' raise the same error. The reason is that `LaTeX-verbatim-macro-bou

bug#61410: texmathp and literal $

2023-02-13 Thread Ikumi Keita
Hi Arash, >>>>> Arash Esbati writes: > Following up myself, I was thinking about something like in the attached > patch. Any comments welcome. This looks good to me. It takes care of all possible difficulties I worried. :-) Bye, Ikumi Keita #StandWithUkra

bug#61400: Different filling for verbatim macros

2023-02-12 Thread Ikumi Keita
Following up myself. >>>>> Ikumi Keita writes: > (2) `LaTeX-verbatim-p' is currently used only in > `fill-nobreak-predicate', `LaTeX-search-forward-comment-start' and > `TeX-in-comment' (through `TeX-verbatim-p-function'): Sorry, there is another instance of usa

bug#61400: Different filling for verbatim macros

2023-02-12 Thread Ikumi Keita
LaTeX-verbatim-macro-boundaries' goes back to the previous line. Is there any \verb variant, say in fancyverb or fvextra, which allows newline in its argument?) Regards, Ikumi Keita #StandWithUkraine #StopWarInUkraine diff --git a/latex.el b/latex.el index fb862b76..3b681b1f 100644 --- a/latex.el +++ b

bug#61410: texmathp and literal $

2023-02-11 Thread Ikumi Keita
re? (I'm neutral to the importance.) Regards, Ikumi Keita #StandWithUkraine #StopWarInUkraine ___ bug-auctex mailing list bug-auctex@gnu.org https://lists.gnu.org/mailman/listinfo/bug-auctex

bug#61400: Different filling for verbatim macros

2023-02-11 Thread Ikumi Keita
(member (LaTeX-current-verbatim-macro) (LaTeX-verbatim-macros-with-delims)) is a bit inefficient because `LaTeX-current-verbatim-macro' only responds to macros included in `(LaTeX-verbatim-macros-with-delims)' for the first place.) Regards, Ikumi Keita #StandWithUkrai

bug#61400: Different filling for verbatim macros

2023-02-10 Thread Ikumi Keita
TeX-current-verbatim-macro | ""| ""| TeX-current-macro| "path"| "verb"| In this context, it doesn't seem appropriate `TeX-current-macro' returns non-nil. Regards, Ikumi Keita #StandWithUkraine #StopWarInUkraine ___ bug-auctex mailing list bug-auctex@gnu.org https://lists.gnu.org/mailman/listinfo/bug-auctex

bug#28382: 11.90.2.2017-07-25; Wrapping content in an equation with LaTeX-environment results in invalid LaTeX

2023-02-03 Thread Ikumi Keita
[ Responding to a year-old bug ] >>>>> Ikumi Keita writes: > Hi Thibaut, sorry for very late reply. >>>>> Thibaut Verron writes: >>> If now you insert the equation first, select it, and use `C-c C-e` to >>> wrap it in an "equation&quo

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

2023-02-03 Thread Ikumi Keita
Hi Arash, >>>>> Arash Esbati writes: > My tendency is to install the change. It seems to fix a bug, and fixes > before release are OK, at least in my book :-) Alright, I've pushed the commit. Regards, Ikumi Keita #StandWithUkra

master 992410a2: ; * style/physics.el: Fix trivial typo.

2023-02-03 Thread Ikumi Keita
branch: master commit 992410a201b9dde948ef74a28ed696ee2725e5f8 Author: Ikumi Keita Commit: Ikumi Keita ; * style/physics.el: Fix trivial typo. --- style/physics.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/style/physics.el b/style/physics.el index f805df1b

master 5cf1dd2a: Indent the active region (bug#48518, bug#28382)

2023-02-03 Thread Ikumi Keita
branch: master commit 5cf1dd2ae2cce3393481138fe57392aab14256ef Author: Ikumi Keita Commit: Ikumi Keita Indent the active region (bug#48518, bug#28382) * latex.el (LaTeX-insert-environment): Indent the active region so that indentation isn't broken even in nested environments

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

2023-02-03 Thread Ikumi Keita
a bit unsure whether there is regression with this fix or not. Do you think it should be delayed until the new tarball release is out? Regards, Ikumi Keita #StandWithUkraine #StopWarInUkraine [1] https://debbugs.gnu.org/cgi/bugreport.cgi?bug=28382 _

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

2023-02-03 Thread Ikumi Keita
sn't indent the active region if the environment is in `LaTeX-indent-environment-list'. I expect that it doesn't harm if it indents. Could you try the attached patch? Bye, Ikumi Keita #StandWithUkraine #StopWarInUkraine diff --git a/latex.el b/latex.el index 56992d54..85d83f38 100644 --- a/latex.el +++ b

Re: AUCTeX and "builtin latex mode" integration

2023-02-01 Thread Ikumi Keita
; way (tho I doubt AUCTeX would want to do that). Of course not. (At least I think so.) Bye, Ikumi Keita #StandWithUkraine #StopWarInUkraine

Re: AUCTeX and "builtin latex mode" integration

2023-02-01 Thread Ikumi Keita
must ask: > is this drastic change really needed? At least I don't want (and will not do myself) such heavy change in the key binding. Regards, Ikumi Keita #StandWithUkraine #StopWarInUkraine

Re: AUCTeX and "builtin latex mode" integration

2023-02-01 Thread Ikumi Keita
on, they don't need their own keymaps and syntax >> tables created by define-derived-mode. (Own hooks and abbrev tables may >> be useful, though.) > You can use `:keymap` and `:syntax-table` args to `define-derived-mode` > to avoid creating their own. Yes. It doesn't matter much

Re: AUCTeX and "builtin latex mode" integration

2023-01-31 Thread Ikumi Keita
ined below: >>>>> Stefan Monnier writes: >>>>>> Ikumi Keita writes: >> Then the idea of turning AUCTeX into minor mode itself does not help. > Not necessarily, but it could if we can arrange for latex-mode and > auctex-mode not to collide in their keymaps (an

master 38d8561a: Add a paragraph to Texdoc section in the documentation

2023-01-28 Thread Ikumi Keita
branch: master commit 38d8561add0197a10da965114293fa5480e6602d Author: Ikumi Keita Commit: Ikumi Keita Add a paragraph to Texdoc section in the documentation * doc/auctex.texi (Documentation): Add an notice that it isn't sure whether `TeX-documentation-texdoc' works for MiKTeX

<    1   2   3   4   5   6   7   8   9   10   >