From debbugs-submit-bounces@debbugs.gnu.org Thu Apr 14 14:01:10 2022 Received: (at submit) by debbugs.gnu.org; 14 Apr 2022 18:01:10 +0000 Received: from localhost ([127.0.0.1]:57316 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nf3mI-00071p-7V for submit@debbugs.gnu.org; Thu, 14 Apr 2022 14:01:10 -0400 Received: from lists.gnu.org ([209.51.188.17]:58690) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nf3mG-00071h-EZ for submit@debbugs.gnu.org; Thu, 14 Apr 2022 14:01:08 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:58502) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nf3mG-0000Fr-51 for bug-auctex@gnu.org; Thu, 14 Apr 2022 14:01:08 -0400 Received: from mail-pj1-x102a.google.com ([2607:f8b0:4864:20::102a]:53007) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nf3mE-0006HP-Aw for bug-auctex@gnu.org; Thu, 14 Apr 2022 14:01:07 -0400 Received: by mail-pj1-x102a.google.com with SMTP id 2so5799718pjw.2 for ; Thu, 14 Apr 2022 11:01:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:subject:date:message-id:mime-version; bh=YnpPFHa2hTlaXqFW2nHyCvGxZ+ulwsKSspkiEvAhXYI=; b=jLpyGyybJM2kYChq8otXvTPRTjDzEVkYTZyGpLJ4K3fSmBk6ERSRUieiNu9CGppKy9 zVMRe5X5HxYVim9UgUTvzAFUQ0IREoKIE0de/JKtL773beWoUwUswj4Di1FVYWsrp6KV OS41zIYfQ0/rYtWaUlDO8LdHv5asV+AyNzA4qgNQni21ksgf+WTFfe3+q/BQreGd5xoz zhD5ifnq7C2AggB65Lwa5CKNgnVzJ61GGAMfuUcSjIedhr6qxSUeCxLuRyUNNm6QtCPG /tDLmRDUm9W97iaINPNmfh0x891bwH7QynMC4q2ulI+FmpnHtyu31eBVSVQnIuyhYRsx Pxzg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:date:message-id:mime-version; bh=YnpPFHa2hTlaXqFW2nHyCvGxZ+ulwsKSspkiEvAhXYI=; b=vf6zxBrt4hNXRApqkeh1paCLzNSVgHa3GKGaO7/kSdUD0vOEURbYyUObsdxKysCCNq PFQhYgxQpwnM/ufWsYaG0PdM+l47cHQrwxrSxMySQIXahyNKLKJO+ckDnPV7RQ6vAP02 8qI+UqNmkOPQX3QBG7E1iEWABel+BDGxJDQeFGRSnwPEqDry9gwsPOMoAB7pe24axOdM FohfKZsVvCr2ede+H1lHETQR31viqCm60r53PqwFRyMQ2bL7vVJrMHDJh61QpAt8Pzsj giBqhmBAHsGP0iNasIlDK1Kbp7SZJrWaGNdfhhmzzlTm6IzOQODUexJIx2ZTiW3ohGd4 2PMw== X-Gm-Message-State: AOAM532rMj9UK87rrUGxYv5nRFXCLYXwH+8DvBSELHGEd1sHfRP6ga7o QDypyGSkq0PfdnrAN8QGC9u6E37/knY= X-Google-Smtp-Source: ABdhPJz4Xq0JPt2lRD00+XW2VLSljBvkJEhbaHOngSThnSOxaDFU6mSYSn0LrAlu9Op0Ou9LYuyBXA== X-Received: by 2002:a17:902:ecc7:b0:158:603c:4f5b with SMTP id a7-20020a170902ecc700b00158603c4f5bmr21176494plh.131.1649959263702; Thu, 14 Apr 2022 11:01:03 -0700 (PDT) Received: from Ruiyangs-MBP (44-165-135-150.dynamic.arizona.edu. [150.135.165.44]) by smtp.gmail.com with ESMTPSA id l2-20020a637c42000000b003644cfa0dd1sm2377540pgn.79.2022.04.14.11.01.03 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Apr 2022 11:01:03 -0700 (PDT) From: Ruiyang Wu To: bug-auctex@gnu.org Subject: 13.1.2; \iff messes up indentation in math mode Date: Thu, 14 Apr 2022 11:00:56 -0700 Message-ID: MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::102a; envelope-from=ywwry66@gmail.com; helo=mail-pj1-x102a.google.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.1 (-) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.1 (--) Hi there, As the title suggests, \iff used in math mode will increase indentation level while it is not supposed to behave like this. I have briefly skimmed through the code and it seems to be related to the new function LaTeX-indent-commands-regexp-make introduced in 0ce906c. The relevant code is: (funcall func LaTeX-indent-begin-list "if[a-zA-Z@]*\\b" 'LaTeX-indent-begin-regexp-local) Best, Ruiyang Emacs : GNU Emacs 28.1 (build 1, aarch64-apple-darwin21.4.0, Carbon Version 165 AppKit 2113.4) of 2022-04-09 Package: 13.1.2 current state: ============== (setq AUCTeX-date "2022-04-08" window-system 'mac LaTeX-version "2e" TeX-style-path '("~/.emacs.d/auctex" "/Users/ruiyangwu/.emacs.d/elpa/auctex-13.1.2/style" "/Users/ruiyangwu/.emacs.d/auctex/auto" "/Users/ruiyangwu/.emacs.d/auctex/style" "auto" "style") TeX-auto-save t TeX-parse-self t TeX-master t TeX-command-list '(("TeX" "%(PDF)%(tex) %(file-line-error) %`%(extraopts) %S%(PDFout)%(mode)%' %(output-dir) %t" TeX-run-TeX nil (plain-tex-mode ams-tex-mode texinfo-mode) :help "Run plain TeX") ("LaTeX" "%`%l%(mode)%' %T" TeX-run-TeX nil (latex-mode doctex-mode) :help "Run LaTeX") ("Makeinfo" "makeinfo %(extraopts) %(o-dir) %t" TeX-run-compile nil (texinfo-mode) :help "Run Makeinfo with Info output") ("Makeinfo HTML" "makeinfo %(extraopts) %(o-dir) --html %t" TeX-run-compile nil (texinfo-mode) :help "Run Makeinfo with HTML output") ("AmSTeX" "amstex %(PDFout) %`%(extraopts) %S%(mode)%' %(output-dir) %t" TeX-run-TeX nil (ams-tex-mode) :help "Run AMSTeX") ("ConTeXt" "%(cntxcom) --once --texutil %(extraopts) %(execopts)%t" TeX-run-TeX nil (context-mode) :help "Run ConTeXt once") ("ConTeXt Full" "%(cntxcom) %(extraopts) %(execopts)%t" TeX-run-TeX nil (context-mode) :help "Run ConTeXt until completion") ("BibTeX" "bibtex %(O?aux)" TeX-run-BibTeX nil (plain-tex-mode latex-mode doctex-mode ams-tex-mode texinfo-mode context-mode) :help "Run BibTeX") ("Biber" "biber %(output-dir) %s" TeX-run-Biber nil (plain-tex-mode latex-mode doctex-mode ams-tex-mode texinfo-mode) :help "Run Biber") ("Texindex" "texindex %s.??" TeX-run-command nil (texinfo-mode) :help "Run Texindex") ("Texi2dvi" "%(PDF)texi2dvi %t" TeX-run-command nil (texinfo-mode) :help "Run Texi2dvi or Texi2pdf") ("View" "%V" TeX-run-discard-or-function t t :help "Run Viewer") ("Print" "%p" TeX-run-command t t :help "Print the file") ("Queue" "%q" TeX-run-background nil t :help "View the printer queue" :visible TeX-queue-command) ("File" "%(o?)dvips %d -o %f " TeX-run-dvips t (plain-tex-mode latex-mode doctex-mode ams-tex-mode texinfo-mode) :help "Generate PostScript file") ("Dvips" "%(o?)dvips %d -o %f " TeX-run-dvips nil (plain-tex-mode latex-mode doctex-mode ams-tex-mode texinfo-mode) :help "Convert DVI file to PostScript") ("Dvipdfmx" "dvipdfmx -o %(O?pdf) %d" TeX-run-dvipdfmx nil (plain-tex-mode latex-mode doctex-mode ams-tex-mode texinfo-mode) :help "Convert DVI file to PDF with dvipdfmx") ("Ps2pdf" "ps2pdf %f %(O?pdf)" TeX-run-ps2pdf nil (plain-tex-mode latex-mode doctex-mode ams-tex-mode texinfo-mode) :help "Convert PostScript file to PDF") ("Glossaries" "makeglossaries %(d-dir) %s" TeX-run-command nil (plain-tex-mode latex-mode doctex-mode ams-tex-mode texinfo-mode) :help "Run makeglossaries to create glossary file") ("Index" "makeindex %(O?idx)" TeX-run-index nil (plain-tex-mode latex-mode doctex-mode ams-tex-mode texinfo-mode) :help "Run makeindex to create index file") ("upMendex" "upmendex %(O?idx)" TeX-run-index t (plain-tex-mode latex-mode doctex-mode ams-tex-mode texinfo-mode) :help "Run upmendex to create index file") ("Xindy" "texindy %s" TeX-run-command nil (plain-tex-mode latex-mode doctex-mode ams-tex-mode texinfo-mode) :help "Run xindy to create index file") ("Check" "lacheck %s" TeX-run-compile nil (latex-mode) :help "Check LaTeX file for correctness") ("ChkTeX" "chktex -v6 %s" TeX-run-compile nil (latex-mode) :help "Check LaTeX file for common mistakes") ("Spell" "(TeX-ispell-document \"\")" TeX-run-function nil t :help "Spell-check the document") ("Clean" "TeX-clean" TeX-run-function nil t :help "Delete generated intermediate files") ("Clean All" "(TeX-clean t)" TeX-run-function nil t :help "Delete generated intermediate and output files") ("Other" "" TeX-run-command t t :help "Run an arbitrary command")) ) From debbugs-submit-bounces@debbugs.gnu.org Sat Apr 16 11:46:14 2022 Received: (at 54943-done) by debbugs.gnu.org; 16 Apr 2022 15:46:14 +0000 Received: from localhost ([127.0.0.1]:34132 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nfkco-0007do-7y for submit@debbugs.gnu.org; Sat, 16 Apr 2022 11:46:14 -0400 Received: from eggs.gnu.org ([209.51.188.92]:38114) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nfkcl-0007db-5s for 54943-done@debbugs.gnu.org; Sat, 16 Apr 2022 11:46:12 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:34546) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nfkcf-0005s4-QP; Sat, 16 Apr 2022 11:46:05 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To: From; bh=frStqCmKe58y8PbIVV75ESVJhiGDH5A0qyxFDROPvrs=; b=DDtVC2IxJTgW4+qAmW+6 7L4Pqfn7AuRTxfHA+A4VLjj6MWBy2RuRrGiFQknzaH65TJ+iTQEtF3tfSVazlPHpSbx9Q4Hnp2yCf B9Zbzl9qdxFMDpqA34wQJ/tvwyQZC9z5zh+5pBbGkNtNXgcX8TJO8H2zp7W/kDqjOMHroInBuUe63 HkUmg5t/BnVKeEgY7JK4EM16aNaOWzhqyWRxoQ/z42bLXfBXQMK724MzkoqfUR2xqScf/msHEjbnH GPFOmQpOq/g3+mi+6Hl/au9hJvO8DVfujjiQtzYl50IBgbTanECS/E1stZWRf9T+TrSnENQkpkdTd BxFBf+90yelgng==; Received: from p5b326363.dip0.t-ipconnect.de ([91.50.99.99]:65467 helo=MUTANT) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nfkcd-0007Fb-W3; Sat, 16 Apr 2022 11:46:05 -0400 From: Arash Esbati To: Ruiyang Wu Subject: Re: bug#54943: 13.1.2; \iff messes up indentation in math mode References: Date: Sat, 16 Apr 2022 17:45:46 +0200 In-Reply-To: (Ruiyang Wu's message of "Thu, 14 Apr 2022 11:00:56 -0700") Message-ID: <86o811niad.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 54943-done Cc: 54943-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Hi Ruiyang, Ruiyang Wu writes: > As the title suggests, \iff used in math mode will increase indentation > level while it is not supposed to behave like this. I have briefly > skimmed through the code and it seems to be related to the new function > LaTeX-indent-commands-regexp-make introduced in 0ce906c. The relevant > code is: > > (funcall func > LaTeX-indent-begin-list > "if[a-zA-Z@]*\\b" > 'LaTeX-indent-begin-regexp-local) Thanks for reporting this. Indeed, an entry if 'iff' was missing in the function you mentioned above. I've fixed this issue now (fa547aa71e) which will be available with the next release. Please don't hesitate to report if other macros are still missing. I'm closing this report. Best, Arash From debbugs-submit-bounces@debbugs.gnu.org Sat Apr 16 15:20:38 2022 Received: (at 54943-done) by debbugs.gnu.org; 16 Apr 2022 19:20:38 +0000 Received: from localhost ([127.0.0.1]:34317 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nfnyH-0004jX-S1 for submit@debbugs.gnu.org; Sat, 16 Apr 2022 15:20:38 -0400 Received: from mail-pg1-f169.google.com ([209.85.215.169]:34729) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nfnyG-0004jJ-9J for 54943-done@debbugs.gnu.org; Sat, 16 Apr 2022 15:20:36 -0400 Received: by mail-pg1-f169.google.com with SMTP id t4so11968180pgc.1 for <54943-done@debbugs.gnu.org>; Sat, 16 Apr 2022 12:20:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=48xjJTe750OW4gk/YhV25wyi4gwuCyj2j8x6G6qr1X4=; b=L1sFtNez90cXeTSaio0s4jE2JpM+uwhNbYwCe/ugBsIA+oxo5xxaQEpDj7BykApUeb AlKuf7ujjsS6abbp4ZSVQ/mlVTCkNbGNo8+STh40T1IFm1eEdL/YSGBzFHvooP9bbQvY xKDW7vt3tjgO01H+J3JxLFCTEE6CF3bmc86UI6VQCsA3pEy7vMSisGvEc0iielDqvo0T Hb34T50ECTkcozC8P6ExR1By4ZuHkulfjXVXnHp3S2EJ0z6Y4amL1cPFg465+gNIgoNr xkXlKmszfpDEeP9mVxXZj15QqoFp118w6cNjuS9aBmVp+ATsTCtKF7/xVb9Wy5DR2+3R AUfQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=48xjJTe750OW4gk/YhV25wyi4gwuCyj2j8x6G6qr1X4=; b=2Um5teBxpyp7YIDx9D4WVQHyCCQaNmQDbVWZo8eWNryMYLS/5BEd6ZNLkpiFGmzOK3 amSRRsRLxD4d/fwQh/QPLjPENm8ixhW2q+Cwl2lwDCXpSUHD5TqiYO1OBQVUE3rXLH65 h6h8VEpqrhjXSHPYtVdcGLZ+RdRPZixi0zGjUm+TL951Rf0jYGwIUEcHSF5wVXj1Rjs+ lihx7Ny3NcpfyoY0YPsZW0CZimwvTAJ2d1GmXjqkkmxfd50rA7yKRtanx5TYRDKBaaAb L12byUTGS7YRWWuvRrJZ+ZrpoFXk/TazSqy7pDmHgUKYib0QmZnKWuJVCMKGcLPEFfS8 NIEQ== X-Gm-Message-State: AOAM533DYZWYqxNsUftT6bQt/8F9bScHZcBJM9Hl96/JJl4bU4x3UnDa 7t1cfY9tYe81nrxRo+sgVVg= X-Google-Smtp-Source: ABdhPJwCqySZPRN+LrLEx7SLv+uqJB3fxpnlS3yshxdSjjwZ+gRsepncNtzkeEDTtW7/pM+UND8yrA== X-Received: by 2002:a63:788f:0:b0:386:3116:818c with SMTP id t137-20020a63788f000000b003863116818cmr3852833pgc.414.1650136830515; Sat, 16 Apr 2022 12:20:30 -0700 (PDT) Received: from smtpclient.apple ([2600:8800:7105:cc00:7813:d387:683a:3656]) by smtp.gmail.com with ESMTPSA id k137-20020a633d8f000000b0039800918b00sm7970154pga.77.2022.04.16.12.20.29 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Sat, 16 Apr 2022 12:20:29 -0700 (PDT) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3696.80.82.1.1\)) Subject: Re: bug#54943: 13.1.2; \iff messes up indentation in math mode From: Ruiyang Wu In-Reply-To: <86o811niad.fsf@gnu.org> Date: Sat, 16 Apr 2022 12:20:28 -0700 Content-Transfer-Encoding: 7bit Message-Id: References: <86o811niad.fsf@gnu.org> To: Arash Esbati X-Mailer: Apple Mail (2.3696.80.82.1.1) X-Spam-Score: 0.2 (/) X-Debbugs-Envelope-To: 54943-done Cc: 54943-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.8 (/) Hi Arash, Thanks for the quick fix. Best, Ruiyang > On Apr 16, 2022, at 8:45 AM, Arash Esbati wrote: > > Hi Ruiyang, > > Ruiyang Wu writes: > >> As the title suggests, \iff used in math mode will increase indentation >> level while it is not supposed to behave like this. I have briefly >> skimmed through the code and it seems to be related to the new function >> LaTeX-indent-commands-regexp-make introduced in 0ce906c. The relevant >> code is: >> >> (funcall func >> LaTeX-indent-begin-list >> "if[a-zA-Z@]*\\b" >> 'LaTeX-indent-begin-regexp-local) > > Thanks for reporting this. Indeed, an entry if 'iff' was missing in the > function you mentioned above. I've fixed this issue now (fa547aa71e) > which will be available with the next release. Please don't hesitate to > report if other macros are still missing. > > I'm closing this report. > > Best, Arash From unknown Tue Jun 17 22:20:38 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sun, 15 May 2022 11:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator