auctex-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Query for environment to include in `LaTeX-env-figure'


From: Keita Ikumi
Subject: Re: Query for environment to include in `LaTeX-env-figure'
Date: Thu, 30 Dec 2021 21:21:44 +0900 (JST)
User-agent: OWM Mail 3

Hi Arash,

I'm currently on new year holidays and have only smart phone as device to connect to the internet. So feel free to proceed without my involvement.
Have a good new year!

Bye,
Ikumi Keita

>------ Original Message ------
>
>Hi Keita,
>
>Ikumi Keita <ikumi@ikumi.que.jp> writes:
>
>>>>>>> Arash Esbati <arash@gnu.org> writes:
>>> I like the idea, but `LaTeX-default-tabular-environment' is notoriously
>>> the one I currently don't want.  Should we change this part a little in
>>> order to give users a chance to pick up what they want?  I'm thinking
>>> about a change like this:
>>
>> It looks basically good, though the patch actually doesn't apply for me
>> with an error saying "Patching file latex.el using Plan A...
>> patch: **** malformed patch at line 116: Over the time, we have to adjust the regexp, but it should get us".
>
>Sorry for my late response and thanks for looking into this.  I'm
>attaching the change, but I think it will now apply no more after the
>recent changes to latex.el.
>
>> But shouldn't we wait for Mosè to make a new release before making a
>> large change? (And what happend to him? Does anyone know?)
>
>I didn't consider this a big change, but I admit it is a change in a
>probably frequently used function.  So maybe we wait with this.
>
>Reg. the release, we were waiting for David to cook up something for the
>known preview bug.  This has now happened, but we'll have to go through
>some testing.  I will write a message about that as well.
>
>> Speaking about this part, maybe we should consider to exclude "expert"
>> environments:
>>        (let (result)
>>          (dolist (entry (LaTeX-environment-list-filtered) result)
>>            (when (string-match (concat
>>                                 "\\`tabular"
>>                                 "\\|"
>>                                 "\\(tabular\\|[a-zA-Z]+tables?\\)\\*?\\'")
>>                                (car entry))
>>              (push (car entry) result))))
>
>As Tassilo mentioned in his other message, expert environments are
>seldom used in our styles.  Hence, I didn't have that on my mind.  Do
>you think it should be considered?
>
>> ...but wait, I just noticed that the implementation of
>> `TeX-complete-make-expert-command-functions' seems to have a defect. I'm
>> currently not sure whether `LaTeX-environment-list-filtered' works as
>> expected or not. I'll write the detail in another message later.
>
>Thanks for raising and fixing this issue.
>
>Best, Arash
>

reply via email to

[Prev in Thread] Current Thread [Next in Thread]