auctex-devel
[Top][All Lists]
Advanced

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

Re: another problem folding.el


From: Uwe Brauer
Subject: Re: another problem folding.el
Date: Mon, 12 Feb 2024 08:44:35 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)



Hi Keita,



> It seems that folding.el contains similar entry already. All I can think
> of is this portion of folding.el:
> ----------------------------------------------------------------------
>   ;;  XEmacs latex-mode, after (tex-site), indents the whole
>   ;;  fold 50 characters right. Don't do that.

>   (unless (string-match "latex" (symbol-name major-mode))
>     (indent-according-to-mode))
> ----------------------------------------------------------------------
> This conditional now yields nil for AUCTeX LaTeX-mode because
> `string-match' distinguishes cases by default.


Aha thanks. I then boldly added 
--8<---------------cut here---------------start------------->8---

  (when  (featurep 'xemacs)
    (unless (string-match "latex" (symbol-name major-mode))
      (indent-according-to-mode)))
--8<---------------cut here---------------end--------------->8---

And this solved the problem, thanks a lot!



> Regards,
> Ikumi Keita
> #StandWithUkraine #StopWarInUkraine
> #Gaza #StopMassiveKilling #CeasefireNOW

-- 
I strongly condemn Hamas heinous despicable pogroms/atrocities on Israel
I strongly condemn Putin's war of aggression against Ukraine.
I support to deliver weapons to Ukraine's military. 
I support the EU and NATO membership of Ukraine. 

Attachment: smime.p7s
Description: S/MIME cryptographic signature


reply via email to

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