On 2025/12/02 10:23:27 +0100, Arash Esbati wrote: > "Dr. Werner Fink" <[email protected]> writes: > > > thanks for pinging ... I've a simple patch to resolve this problem. > > Beside missing parentheses the correct order of the > > LaTeX-add-environments solve it for me. > > Thanks, I installed that change under your name (9b8d8499). While > skimming the code, what do think about this change: > > --8<---------------cut here---------------start------------->8--- > diff --git a/style/dinbrief.el b/style/dinbrief.el > index 3b3a800e..9e1ac4f3 100644 > --- a/style/dinbrief.el > +++ b/style/dinbrief.el > @@ -117,7 +117,7 @@ > (address (LaTeX-dinbrief-recipient)) > (date (TeX-read-string "Datum: " (LaTeX-dinbrief-today))) > (postremark (TeX-read-string "Postvermerk: ")) > - (fenster (TeX-read-string "Fenster (ja/nein): ")) > + (fenster (y-or-n-p "Fenster: ")) > (vermerk (TeX-read-string "Behandlungsvermerk: ")) > (verteil (TeX-read-string "Verteiler: ")) > (betreff (TeX-read-string "Betreff: ")) > @@ -125,7 +125,7 @@ > (closing (TeX-read-string "Schluss: ")) > (signature (TeX-read-string "Unterschrift: ")) > (anlage (TeX-read-string "Anlagen: "))) > - (if (string= fenster "ja") > + (if fenster > (progn > (LaTeX-dinbrief-insert TeX-esc "enabledraftstandard") > (newline-and-indent) > --8<---------------cut here---------------end--------------->8--- > > This should make it easier to select the "fenster" option; you don't > have to type "ja" or "nein". WDYT?
Sound reasonable indeed! Thanks for the proposal.
Werner
--
"Having a smoking section in a restaurant is like having
a peeing section in a swimming pool." -- Edward Burr
signature.asc
Description: PGP signature
_______________________________________________ bug-auctex mailing list [email protected] https://lists.gnu.org/mailman/listinfo/bug-auctex
