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
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
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
uld I fix it?
Oops, thanks. I fixed it ;-)
Bye,
Ikumi Keita
#StandWithUkraine #StopWarInUkraine
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
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
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
>>>>> 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
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
>>>>> 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
em reasonable to me. Is there any reason that abbrevs for
latex mode should be disabled in doctex mode?
Regards,
Ikumi Keita
#StandWithUkraine #StopWarInUkraine
>>>>> 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
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
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
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
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
-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
___
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
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
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
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
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
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
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
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 +-
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
'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
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
-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
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
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
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
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
LaTeX.
|
| This variable may be risky if used as a file-local variable.
| You can customize this variable.
|
`
Regards,
Ikumi Keita
#StandWithUkraine #StopWarInUkraine
that isn't the case, please report the detailed procedure to
reproduce the issue, beginning from "emacs -Q".
Regards,
Ikumi Keita
#StandWithUkraine #StopWarInUkraine
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
---
> 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
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
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
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)
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
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
tral to that idea, but it won't do particular harm. So I'm fine
if you install it.
Regards,
Ikumi Keita
#StandWithUkraine #StopWarInUkraine
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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-
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
onstructs built previously.
Regards,
Ikumi Keita
#StandWithUkraine #StopWarInUkraine
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
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
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
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
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
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
indentation in docTeX is done across comments. This is option
^^
> +is disabled by default.
> +@end defopt
Bye,
Ikumi Keita
#StandWithUkraine #StopWarInUkraine
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
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
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
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
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
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
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
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
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
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
(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
_
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
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
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
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
, 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
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
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
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
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
(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
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
[ 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
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
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
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
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
_
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
; way (tho I doubt AUCTeX would want to do that).
Of course not. (At least I think so.)
Bye,
Ikumi Keita
#StandWithUkraine #StopWarInUkraine
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
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
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
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
301 - 400 of 1985 matches
Mail list logo