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

bug#40577: Auctex can't open anymore documentation

2023-01-28 Thread Ikumi Keita
Hi Tobias, >>>>> Ikumi Keita writes: >>>>> Tobias Bora writes: >> I don't know why, but I updated recently my .emacs file (which may >> downloaded a recent version of auctex), and since then I can't open >> documentation anymore. Ind

Re: TeX-documentation-texdoc

2023-01-28 Thread Ikumi Keita
Hi, >>>>> Arash Esbati writes: > Hi Keita, > Ikumi Keita writes: >> That's a good idea. Can I leave that work to you? > Yes, you can :-) I'll try to work on this soonish. Thank you. I pushed the commit except the prompt formatting. Regards, Ikumi Keita #StandWithUkraine #StopWarInUkraine

master 2bc07b78 1/2: Fix `TeX-documentation-texdoc' for okular

2023-01-28 Thread Ikumi Keita
branch: master commit 2bc07b78fff81da3eb705ab6bc93da35ddb4ba76 Author: Ikumi Keita Commit: Ikumi Keita Fix `TeX-documentation-texdoc' for okular We used `start-process-shell-command' for these 4 years. However, it turned out that that invalidated okular. (See bug#40577

master edc5e2ff 2/2: Call Texdoc coherently

2023-01-28 Thread Ikumi Keita
branch: master commit edc5e2ff63f6777d81e0293eb69d47d3b5a0658f Author: Ikumi Keita Commit: Ikumi Keita Call Texdoc coherently * tex.el (TeX-documentation-texdoc): Use `call-process' rather than `shell-command-to-string' to invoke Texdoc. Bind buffer object of working buffer

master updated (f5d40daa -> edc5e2ff)

2023-01-28 Thread Ikumi Keita
ikumi pushed a change to branch master. from f5d40daa ; * style/nameref.el ("nameref"): Fix comment. new 2bc07b78 Fix `TeX-documentation-texdoc' for okular new edc5e2ff Call Texdoc coherently Summary of changes: tex.el | 123

Re: TeX-documentation-texdoc

2023-01-27 Thread Ikumi Keita
gt; have this in tex.el: > Then we could write: > (setq pkg (TeX-read-string (TeX-format-prompt > "View documentation for" pkg) >nil nil pkg)) > Adjusting the other 30 occurrences in the repo should be easy. WDYT?

Re: TeX-documentation-texdoc

2023-01-26 Thread Ikumi Keita
he patch #2. It also turns INITIAL-INPUT argument for `TeX-read-string' into DEFAULT, taking your effort into accout. What do you think about it? Regards, Ikumi Keita #StandWithUkraine #StopWarInUkraine 0001-Make-TeX-documentation-texdoc-work-for-okular.patch.gz Description: Fix for okular 0002-

Re: TeX-documentation-texdoc

2023-01-24 Thread Ikumi Keita
le-find' to test whether texdoc is | ;; available. ` Thus I'm fine to follow your suggestion. Regards, Ikumi Keita #StandWithUkraine #StopWarInUkraine

Re: TeX-documentation-texdoc

2023-01-23 Thread Ikumi Keita
doc isn't available) to run Texdoc. This has a drawback that the user who sticks to older TeX Live distribution isn't notified at all when the given keyword didn't match any documentation, but I expect it's permissible. Mosè, what do you think about it? Regards, Ikumi Keita #StandWithUkraine #

Re: TeX-documentation-texdoc

2023-01-22 Thread Ikumi Keita
s, then could you provide the value of the following environment variables in the emacs shell (M-x shell)? That is, type "echo $PDFVIEWER RET" etc. in that shell. PDFVIEWER PDFVIEWER_texdoc TEXDOCVIEW_pdf TEXDOC_VIEWER_PDF I'd like to know whether there is something bad in your viewer setting to run inside emacs while safe in a vanilla shell. Regards, Ikumi Keita #StandWithUkraine #StopWarInUkraine

Re: TeX-documentation-texdoc

2023-01-22 Thread Ikumi Keita
577 Can you test whether the following code works for you? This was used before my commit mentioned in [1]. I'd like to know whether my commit harmed okular or not. Regards, Ikumi Keita #StandWithUkraine #StopWarInUkraine -- (def

master e7379b3f: Simplify version and date specification

2023-01-17 Thread Ikumi Keita
branch: master commit e7379b3fec138f87e9a415750334c0f1327f9a1f Author: Ikumi Keita Commit: Ikumi Keita Simplify version and date specification * latex/preview.dtx (section{The Implementation}): Don't use RCS tags for version and date. Declare manually instead. (): Update

Re: Syntax classes of text in href

2023-01-13 Thread Ikumi Keita
Hi Arash and Al, >>>>> Arash Esbati writes: > Ikumi Keita writes: >> But maybe it's a corner case that we don't have to worry about. I'm not >> sure. > This is indeed a corner case: Packages like fvextra.sty which allow > things like \Verb{content} explici

Re: Syntax classes of text in href

2023-01-13 Thread Ikumi Keita
ex-syntactic-keywords-extra)) Hmm. That would fail if some verbatim macro has an intentional unpaired "{" in its argument like \foobar{aaa"{"bbb} . But maybe it's a corner case that we don't have to worry about. I'm not sure. What do others think about this? Regards, Ikumi Keita #StandWithUkraine #StopWarInUkraine

Re: Syntax classes of text in href

2023-01-12 Thread Ikumi Keita
x run as you say, so I realized that hyperref.sty treats "%", in addtion to "#" and "~", as special. Hmm, this is diffcult... Regards, Ikumi Keita #StandWithUkraine #StopWarInUkraine

Re: Syntax classes of text in href

2023-01-12 Thread Ikumi Keita
)*\\(}\\)") >(1 "|") (2 "|" > ...) Is it appropriate to treat the URL argument of \href as verbatim? According to hyperdoc document, only "#" and "~" are special there. Maybe we should reconsider not to add "href" (and alikes as well?) to `LaTeX-verbatim-macros-with-braces-local' in style/hyperref.el. Regards, Ikumi Keita #StandWithUkraine #StopWarInUkraine

Re: a problem with LaTeX-fill-environment

2023-01-09 Thread Ikumi Keita
gt; f(x) \right|_{x=x_{c}} > \end{equation*} > Which looks odd to me. Can somebody confirm this? No, it doesn't reproduce for me. The environment stays the original form when I type C-c C-q C-e inside the equation* environment. I guess something in your personal customization are i

Re: Patch for possible bug in TeX-find-macro-end-helper

2023-01-08 Thread Ikumi Keita
>>>>> Ikumi Keita writes: > Hi all, > I'd like to apply the attached fix for this issue. If no objection, I'll > install it with some regression tests. Done. Thanks, Enrico. Regards, Ikumi Keita #StandWithUkraine #StopWarInUkraine

master f9b378a4: Support detached arguments

2023-01-08 Thread Ikumi Keita
branch: master commit f9b378a45c89b16a183f46830e4c7ec7b2aec7c5 Author: Ikumi Keita Commit: Ikumi Keita Support detached arguments * tex.el (TeX-find-macro-boundaries): Skip white spaces between a macro argument and comment starter. Fix doc string. Add FIXME comment

Re: Patch for possible bug in TeX-find-macro-end-helper

2023-01-05 Thread Ikumi Keita
Hi all, I'd like to apply the attached fix for this issue. If no objection, I'll install it with some regression tests. Regards, Ikumi Keita #StandWithUkraine #StopWarInUkraine >From a496210874133b219d8e881f9a7178d7c9e23e91 Mon Sep 17 00:00:00 2001 From: Ikumi Keita Date: Fri, 6 Jan 2023 01

RefTeX doc strings patch

2022-12-21 Thread Ikumi Keita
Hi all, Can somebody with write permission for Emacs repository kindly apply the attached patch to RefTeX? Regards, Ikumi Keita #StandWithUkraine #StopWarInUkraine diff -r 2672391e6055 lisp/textmodes/reftex-cite.el --- a/lisp/textmodes/reftex-cite.el Sat Mar 27 02:34:27 2021 +0900 +++ b/lisp

master 906e57df: ; * style/physics.el: Write proper date.

2022-12-20 Thread Ikumi Keita
branch: master commit 906e57dfb87d0a297164364f0c771151a86d8f9c Author: Ikumi Keita Commit: Ikumi Keita ; * style/physics.el: Write proper date. --- style/physics.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/style/physics.el b/style/physics.el index 8676a696

master 54c82bd0: New style file physics.el

2022-12-20 Thread Ikumi Keita
branch: master commit 54c82bd093aec4b1fa9264ac91b70cf30da737b6 Author: Ikumi Keita Commit: Ikumi Keita New style file physics.el * style/physics.el: New style file. * Makefile.in (STYLESRC): Add it. --- Makefile.in | 3 +- style/physics.el | 418

Re: Patch for possible bug in TeX-find-macro-end-helper

2022-12-20 Thread Ikumi Keita
ult behavior; "allowspaces" package option can disable it.) Thus if we are to be very strict, AUCTeX shouldn't consider separated brackets as optional arguments for these cases. (I'm not sure whether it's worth discriminating such strictly.) Regards, Ikumi Keita #StandWithUkraine #StopWarInUkraine

master bf66b302: Improve the previous commit slightly

2022-12-18 Thread Ikumi Keita
branch: master commit bf66b302a4afa297fc2322a875935fd9a4d47525 Author: Ikumi Keita Commit: Ikumi Keita Improve the previous commit slightly * latex.el (LaTeX-current-environment,LaTeX-backward-up-environment): Move the task to find out the environment name from the latter

Re: LaTeX-find-matching-{begin,end} and LaTeX-current-environment

2022-12-17 Thread Ikumi Keita
>>>>> Ikumi Keita writes: > My current status is the attached patch, but it fails with regression > test `LaTeX-change-environment-with-esc', of course. Mosè, Tassilo, do > you think that `LaTeX-modify-environment' should keep the ability to > change environment na

master a57e6272 2/3: Improve consistency between similar functions

2022-12-17 Thread Ikumi Keita
branch: master commit a57e627284383e2a28082b8be652b2714a366766 Author: Ikumi Keita Commit: Ikumi Keita Improve consistency between similar functions Include doctex mode special treatment of `LaTeX-current-environmnet' into `LaTeX-find-matching-begin' and `LaTeX-find-matching

master 5f129b5d 1/3: Support starred variant name

2022-12-17 Thread Ikumi Keita
branch: master commit 5f129b5dcab1d1c3b3b987348cfa841e265548c4 Author: Ikumi Keita Commit: Ikumi Keita Support starred variant name * latex.el (LaTeX-find-matching-end): (LaTeX-find-matching-begin): Find correct begin or end when the point is just after the asterisk

master updated (28866558 -> d3ab64f8)

2022-12-17 Thread Ikumi Keita
ikumi pushed a change to branch master. from 28866558 Use `symbol-value' instead of `eval' new 5f129b5d Support starred variant name new a57e6272 Improve consistency between similar functions new d3ab64f8 Reduce redundancy in regexp Summary of changes:

master d3ab64f8 3/3: Reduce redundancy in regexp

2022-12-17 Thread Ikumi Keita
branch: master commit d3ab64f89394d16473ee1af144d5cf6bde77380c Author: Ikumi Keita Commit: Ikumi Keita Reduce redundancy in regexp * latex.el (LaTeX-environment-name-regexp): Don't quote regexp inside [^...]. (LaTeX-modify-environment): Omit spurious regexp group. (already

master 28866558: Use `symbol-value' instead of `eval'

2022-12-15 Thread Ikumi Keita
branch: master commit 288665587a4fcb6b7fc356e86a86ee9670186232 Author: Ikumi Keita Commit: Ikumi Keita Use `symbol-value' instead of `eval' * multi-prompt.el (multi-prompt-expand-completion-table): Use `symbol-value' explicitly instead of `eval' to obtain the value

Re: doc string of TeX-read-key-val and multi-prompt-key-value

2022-12-15 Thread Ikumi Keita
>>>>> Arash Esbati writes: > Ikumi Keita writes: >> All right, then my propsal is the attached one. > Thanks, LGTM. Thank you, pushed to the git repo. Bye, Ikumi Keita #StandWithUkraine #StopWarInUkraine

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