GNU bug report logs - #22361
11.89; No completion of \implies or \iff math symbols

Previous Next

Package: auctex;

Reported by: Aiko Kyle <aikokyle <at> gmail.com>

Date: Wed, 13 Jan 2016 07:25:02 UTC

Severity: normal

Found in version 11.89

Done: Mosè Giordano <mose <at> gnu.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 22361 in the body.
You can then email your comments to 22361 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-auctex <at> gnu.org:
bug#22361; Package auctex. (Wed, 13 Jan 2016 07:25:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Aiko Kyle <aikokyle <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-auctex <at> gnu.org. (Wed, 13 Jan 2016 07:25:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Aiko Kyle <aikokyle <at> gmail.com>
To: bug-auctex <at> gnu.org
Subject: 11.89; No completion of \implies or \iff math symbols
Date: Tue, 12 Jan 2016 20:58:11 -0700
[Message part 1 (text/plain, inline)]
Hi,

I use company-auctex for completion of latex symbols and I noticed that
while \Longrightarrow \Longleftrightarrow are completed, \imples and
\iff are not completed. I checked company-auctex's source and I believe
it ultimately gets these completions from the LaTeX-math-default
symbol defined in latex.el. I was hoping that \implies and \iff could be
added to LaTeX-math-default so that it would be possible to get these as
possible canidates for completion.

Thanks!

Emacs  : GNU Emacs 24.5.1 (x86_64-apple-darwin13.4.0, NS
apple-appkit-1265.21)
 of 2015-04-10 on builder10-9.porkrind.org
Package: 11.89

current state:
==============
(setq
 AUCTeX-date "2015-11-13"
 window-system 'ns
 LaTeX-version "2e"
 TeX-style-path '("/usr/local/var/auctex"
"/Users/akyle/.emacs.d/elpa/auctex-11.89/style"
                  "/Users/akyle/.emacs.d/auctex/auto"
"/Users/akyle/.emacs.d/auctex/style" "auto"
                  "style")
 TeX-auto-save nil
 TeX-parse-self t
 TeX-master t
 TeX-command-list '(("TeX"
                     "%(PDF)%(tex) %(file-line-error) %(extraopts)
%`%S%(PDFout)%(mode)%' %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) %t" TeX-run-compile
nil (texinfo-mode)
                     :help "Run Makeinfo with Info output")
                    ("Makeinfo HTML" "makeinfo %(extraopts) --html %t"
TeX-run-compile nil
                     (texinfo-mode) :help "Run Makeinfo with HTML output")
                    ("AmSTeX" "amstex %(PDFout) %(extraopts) %`%S%(mode)%'
%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 %s" TeX-run-BibTeX nil t :help "Run
BibTeX")
                    ("Biber" "biber %s" TeX-run-Biber nil t :help "Run
Biber")
                    ("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 t :help
                     "Generate PostScript file")
                    ("Dvips" "%(o?)dvips %d -o %f " TeX-run-dvips nil t
:help
                     "Convert DVI file to PostScript")
                    ("Ps2pdf" "ps2pdf %f" TeX-run-ps2pdf nil t :help
                     "Convert PostScript file to PDF")
                    ("Index" "makeindex %s" TeX-run-index nil t :help
                     "Run makeindex to create index file")
                    ("Xindy" "texindy %s" TeX-run-command nil t :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"))
 )
[Message part 2 (text/html, inline)]

Reply sent to Mosè Giordano <mose <at> gnu.org>:
You have taken responsibility. (Sun, 17 Jan 2016 15:21:02 GMT) Full text and rfc822 format available.

Notification sent to Aiko Kyle <aikokyle <at> gmail.com>:
bug acknowledged by developer. (Sun, 17 Jan 2016 15:21:02 GMT) Full text and rfc822 format available.

Message #10 received at 22361-done <at> debbugs.gnu.org (full text, mbox):

From: Mosè Giordano <mose <at> gnu.org>
To: Aiko Kyle <aikokyle <at> gmail.com>
Cc: 22361-done <at> debbugs.gnu.org
Subject: Re: bug#22361: 11.89; No completion of \implies or \iff math symbols
Date: Sun, 17 Jan 2016 16:19:59 +0100
Hi Aiko,

2016-01-13 4:58 GMT+01:00 Aiko Kyle <aikokyle <at> gmail.com>:
> Hi,
>
> I use company-auctex for completion of latex symbols and I noticed that
> while \Longrightarrow \Longleftrightarrow are completed, \imples and
> \iff are not completed. I checked company-auctex's source and I believe
> it ultimately gets these completions from the LaTeX-math-default
> symbol defined in latex.el. I was hoping that \implies and \iff could be
> added to LaTeX-math-default so that it would be possible to get these as
> possible canidates for completion.

I don't know if company-auctex is aware of it, but in general you can
add custom mathematical symbols to `LaTeX-math-list'.  Anyway, the
arrows you suggested are standard AMS symbols, thus I added them to
`LaTeX-math-default'.  Thanks for your help!

Bye,
Mosè




Information forwarded to bug-auctex <at> gnu.org:
bug#22361; Package auctex. (Sat, 23 Jan 2016 09:27:02 GMT) Full text and rfc822 format available.

Message #13 received at 22361 <at> debbugs.gnu.org (full text, mbox):

From: Tassilo Horn <tsdh <at> gnu.org>
To: 22361 <at> debbugs.gnu.org
Cc: aikokyle <at> gmail.com, mose <at> gnu.org
Subject: Re: bug#22361: 11.89; No completion of \implies or \iff math symbols
Date: Sat, 23 Jan 2016 10:26:34 +0100
Mosè Giordano <mose <at> gnu.org> writes:

Hi Mosè,

> I don't know if company-auctex is aware of it, but in general you can
> add custom mathematical symbols to `LaTeX-math-list'.  Anyway, the
> arrows you suggested are standard AMS symbols, thus I added them to
> `LaTeX-math-default'.

I think \iff is even a standard LaTeX symbol.

Bye,
Tassilo




Information forwarded to bug-auctex <at> gnu.org:
bug#22361; Package auctex. (Sat, 23 Jan 2016 13:07:02 GMT) Full text and rfc822 format available.

Message #16 received at 22361 <at> debbugs.gnu.org (full text, mbox):

From: Mosè Giordano <mose <at> gnu.org>
To: Tassilo Horn <tsdh <at> gnu.org>
Cc: Aiko Kyle <aikokyle <at> gmail.com>, 22361 <at> debbugs.gnu.org
Subject: Re: bug#22361: 11.89; No completion of \implies or \iff math symbols
Date: Sat, 23 Jan 2016 14:05:44 +0100
Hi Tassilo,

2016-01-23 10:26 GMT+01:00 Tassilo Horn <tsdh <at> gnu.org>:
> Mosè Giordano <mose <at> gnu.org> writes:
>
> Hi Mosè,
>
>> I don't know if company-auctex is aware of it, but in general you can
>> add custom mathematical symbols to `LaTeX-math-list'.  Anyway, the
>> arrows you suggested are standard AMS symbols, thus I added them to
>> `LaTeX-math-default'.
>
> I think \iff is even a standard LaTeX symbol.

I saw \iff was defined in amsmath.sty, but... well... it was redefined
with \renewcommand!  It's actually defined it fontmath.ltx.  Fixed,
thanks!

Bye,
Mosè




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sun, 21 Feb 2016 12:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 9 years and 121 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.