GNU bug report logs - #24114
11.89; commath macros not accessible via TeX-insert-macro

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: auctex; Reported by: "Anton S." <emacs@HIDDEN>; dated Sat, 30 Jul 2016 16:42:01 UTC; Maintainer for auctex is bug-auctex@HIDDEN.

Message received at 24114 <at> debbugs.gnu.org:


Received: (at 24114) by debbugs.gnu.org; 10 Aug 2016 15:11:53 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Aug 10 11:11:53 2016
Received: from localhost ([127.0.0.1]:52389 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1bXVAf-0000Nt-K6
	for submit <at> debbugs.gnu.org; Wed, 10 Aug 2016 11:11:53 -0400
Received: from mo4-p05-ob.smtp.rzone.de ([81.169.146.180]:13352)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <esbati@HIDDEN>) id 1bXVAd-0000Nh-O8
 for 24114 <at> debbugs.gnu.org; Wed, 10 Aug 2016 11:11:52 -0400
X-RZG-AUTH: :LX4FZkiIfuylNuAdMHQ4lncSR35KjR0W31pc2hVA+gGPWP397mKhJmm3cffS
X-RZG-CLASS-ID: mo05
Received: from mutant (p4FED1A62.dip0.t-ipconnect.de [79.237.26.98])
 by smtp.strato.de (RZmta 38.13 DYNA|AUTH)
 with ESMTPSA id j0750cs7AAfjnPx
 (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (curve secp521r1 with
 521 ECDH bits, eq. 15360 bits RSA))
 (Client did not present a certificate);
 Wed, 10 Aug 2016 12:41:45 +0200 (CEST)
From: Arash Esbati <esbati@HIDDEN>
To: =?iso-8859-1?Q?Mos=E8?= Giordano <mose@HIDDEN>
Subject: Re: bug#24114: 11.89;
 commath macros not accessible via TeX-insert-macro
References: <CAKtYQqS7_XcEg1AEFyr7ixL0gLB3Nvbqs+rhHZrDNfukf11wWQ@HIDDEN>
 <64a1c8a0-7661-6fd8-3bf6-407bbe020563@HIDDEN>
 <nnqocd$4mu$1@HIDDEN>
 <CAKtYQqQM2Sjtoi+XSw8Te0seheePriv-YQJ4AHO0xG6J80EwKQ@HIDDEN>
Date: Wed, 10 Aug 2016 12:41:11 +0200
In-Reply-To: <CAKtYQqQM2Sjtoi+XSw8Te0seheePriv-YQJ4AHO0xG6J80EwKQ@HIDDEN>
 (=?iso-8859-1?Q?=22Mos=E8?= Giordano"'s message of "Sun, 7 Aug 2016
 17:14:39 +0200")
Message-ID: <861t1w3nzs.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: 0.2 (/)
X-Debbugs-Envelope-To: 24114
Cc: 24114 <at> debbugs.gnu.org, "Anton S." <emacs@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: 0.2 (/)

Hi Mos=E8,

Mos=E8 Giordano <mose@HIDDEN> writes:

> 2016-08-02 20:21 GMT+02:00 Arash Esbati <esbati@HIDDEN>:
>>
>> Mos=E8 Giordano <mose@HIDDEN> writes:
>>
>>> AUCTeX doesn't have a style file for `commath' just because no one
>>> ever wrote it.
>>
>> You've found a volunteer ;-)  Looking at the documentation, the AUCTeX
>> style is quite straight forward.
>>
>> @Anton: Can you test the style and report back if it does what it
>> should?  I will install it then.
>
> Looks good to me, please go ahead.

Thanks for checking.  I've just pushed the style.

> PS: I'm not sure debbugs forwards emails to the bug reporter.  At
> least once, I was completely left out of the discussion on a issue
> because the first person that replied to my report didn't care about
> keeping me in CC.  So, I once more suggest you to use the "reply to
> all" feature when you reply to a mailing list ;-)

Huh, I dared to ignore your advice? ;-)  I've used to read and write via
Gmane, but I am in the middle of transition.  I will send mails directly
to ML in future.

Best, Arash




Information forwarded to bug-auctex@HIDDEN:
bug#24114; Package auctex. Full text available.

Message received at 24114 <at> debbugs.gnu.org:


Received: (at 24114) by debbugs.gnu.org; 7 Aug 2016 15:15:39 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Aug 07 11:15:39 2016
Received: from localhost ([127.0.0.1]:59180 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1bWPne-0000NB-QQ
	for submit <at> debbugs.gnu.org; Sun, 07 Aug 2016 11:15:38 -0400
Received: from eggs.gnu.org ([208.118.235.92]:38603)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <mose@HIDDEN>) id 1bWPnc-0000Mz-U3
 for 24114 <at> debbugs.gnu.org; Sun, 07 Aug 2016 11:15:37 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <mose@HIDDEN>) id 1bWPnU-0003xB-9i
 for 24114 <at> debbugs.gnu.org; Sun, 07 Aug 2016 11:15:31 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=0.4 required=5.0 tests=BAYES_50,RP_MATCHES_RCVD
 autolearn=disabled version=3.3.2
Received: from fencepost.gnu.org ([2001:4830:134:3::e]:47523)
 by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <mose@HIDDEN>)
 id 1bWPnU-0003x7-7J
 for 24114 <at> debbugs.gnu.org; Sun, 07 Aug 2016 11:15:28 -0400
Received: from mail-wm0-f46.google.com ([74.125.82.46]:36869)
 by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128)
 (Exim 4.82) (envelope-from <mose@HIDDEN>) id 1bWPnT-0005uQ-MY
 for 24114 <at> debbugs.gnu.org; Sun, 07 Aug 2016 11:15:27 -0400
Received: by mail-wm0-f46.google.com with SMTP id i5so98489708wmg.0
 for <24114 <at> debbugs.gnu.org>; Sun, 07 Aug 2016 08:15:27 -0700 (PDT)
X-Gm-Message-State: AEkoout9EzTNYAwhUM6+OMK/LBEoUd3mNMGsm1agojU63Z893b3LaVVl3kP97qExTOqDyCDRfDy8tRU532zZng==
X-Received: by 10.194.173.4 with SMTP id bg4mr80508208wjc.28.1470582920055;
 Sun, 07 Aug 2016 08:15:20 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.194.23.170 with HTTP; Sun, 7 Aug 2016 08:14:39 -0700 (PDT)
In-Reply-To: <nnqocd$4mu$1@HIDDEN>
References: <CAKtYQqS7_XcEg1AEFyr7ixL0gLB3Nvbqs+rhHZrDNfukf11wWQ@HIDDEN>
 <64a1c8a0-7661-6fd8-3bf6-407bbe020563@HIDDEN>
 <nnqocd$4mu$1@HIDDEN>
From: =?UTF-8?Q?Mos=C3=A8_Giordano?= <mose@HIDDEN>
Date: Sun, 7 Aug 2016 17:14:39 +0200
X-Gmail-Original-Message-ID: <CAKtYQqQM2Sjtoi+XSw8Te0seheePriv-YQJ4AHO0xG6J80EwKQ@HIDDEN>
Message-ID: <CAKtYQqQM2Sjtoi+XSw8Te0seheePriv-YQJ4AHO0xG6J80EwKQ@HIDDEN>
Subject: Re: bug#24114: 11.89;
 commath macros not accessible via TeX-insert-macro
To: "Anton S." <emacs@HIDDEN>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Received-From: 2001:4830:134:3::e
X-Spam-Score: -5.5 (-----)
X-Debbugs-Envelope-To: 24114
Cc: 24114 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -5.5 (-----)

Hi Arash,

2016-08-02 20:21 GMT+02:00 Arash Esbati <esbati@HIDDEN>:
> Hi Mos=C4=8D,
>
> Mos=C4=8D Giordano <mose@HIDDEN> writes:
>
>> AUCTeX doesn't have a style file for `commath' just because no one
>> ever wrote it.
>
> You've found a volunteer ;-)  Looking at the documentation, the AUCTeX
> style is quite straight forward.
>
> @Anton: Can you test the style and report back if it does what it
> should?  I will install it then.

Looks good to me, please go ahead.

Bye,
Mos=C3=A8

PS: I'm not sure debbugs forwards emails to the bug reporter.  At
least once, I was completely left out of the discussion on a issue
because the first person that replied to my report didn't care about
keeping me in CC.  So, I once more suggest you to use the "reply to
all" feature when you reply to a mailing list ;-)




Information forwarded to bug-auctex@HIDDEN:
bug#24114; Package auctex. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 6 Aug 2016 18:22:38 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Aug 06 14:22:38 2016
Received: from localhost ([127.0.0.1]:58147 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1bW6F4-000570-AQ
	for submit <at> debbugs.gnu.org; Sat, 06 Aug 2016 14:22:38 -0400
Received: from eggs.gnu.org ([208.118.235.92]:34250)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <geab-bug-auctex@HIDDEN>) id 1bW6F3-00056p-K5
 for submit <at> debbugs.gnu.org; Sat, 06 Aug 2016 14:22:37 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <geab-bug-auctex@HIDDEN>) id 1bW6Ex-0007t3-Pc
 for submit <at> debbugs.gnu.org; Sat, 06 Aug 2016 14:22:32 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=0.0 required=5.0 tests=BAYES_20,FREEMAIL_FROM
 autolearn=disabled version=3.3.2
Received: from lists.gnu.org ([2001:4830:134:3::11]:37507)
 by eggs.gnu.org with esmtp (Exim 4.71)
 (envelope-from <geab-bug-auctex@HIDDEN>) id 1bW6Ex-0007sl-Mg
 for submit <at> debbugs.gnu.org; Sat, 06 Aug 2016 14:22:31 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:53450)
 by lists.gnu.org with esmtp (Exim 4.71)
 (envelope-from <geab-bug-auctex@HIDDEN>) id 1bW6Ev-00077W-Iy
 for bug-auctex@HIDDEN; Sat, 06 Aug 2016 14:22:30 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <geab-bug-auctex@HIDDEN>) id 1bW6Es-0007ry-DT
 for bug-auctex@HIDDEN; Sat, 06 Aug 2016 14:22:29 -0400
Received: from [195.159.176.226] (port=54992 helo=blaine.gmane.org)
 by eggs.gnu.org with esmtp (Exim 4.71)
 (envelope-from <geab-bug-auctex@HIDDEN>) id 1bW6Es-0007qL-5V
 for bug-auctex@HIDDEN; Sat, 06 Aug 2016 14:22:26 -0400
Received: from list by blaine.gmane.org with local (Exim 4.84_2)
 (envelope-from <geab-bug-auctex@HIDDEN>) id 1bUeKa-0001gY-2W
 for bug-auctex@HIDDEN; Tue, 02 Aug 2016 20:22:20 +0200
X-Injected-Via-Gmane: http://gmane.org/
Mail-Followup-To: bug-auctex@HIDDEN
To: bug-auctex@HIDDEN
From: Arash Esbati <esbati@HIDDEN>
Subject: Re: bug#24114: 11.89;
 commath macros not accessible via TeX-insert-macro
Date: Tue, 02 Aug 2016 20:21:56 +0200
Lines: 140
Message-ID: <nnqocd$4mu$1@HIDDEN>
References: <64a1c8a0-7661-6fd8-3bf6-407bbe020563@HIDDEN>
 <CAKtYQqS7_XcEg1AEFyr7ixL0gLB3Nvbqs+rhHZrDNfukf11wWQ@HIDDEN>
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="=-=-="
X-Complaints-To: usenet@HIDDEN
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1
Mail-Copies-To: never
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 2001:4830:134:3::11
X-Spam-Score: -5.0 (-----)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -5.0 (-----)

--=-=-=
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit

Hi MosŤ,

MosŤ Giordano <mose@HIDDEN> writes:

> AUCTeX doesn't have a style file for `commath' just because no one
> ever wrote it.

You've found a volunteer ;-)  Looking at the documentation, the AUCTeX
style is quite straight forward.

@Anton: Can you test the style and report back if it does what it
should?  I will install it then.

> However, until someone writes a style file for `commath', you can
> exploit AUCTeX's ability to automatically create a basic style file:
> issue the command
>
>     M-x TeX-auto-generate RET <path-to-commath.sty> RET RET
>
> (replace <path-to-commath.sty> with the path to your commath.sty file)
> and after you restart Emacs you can get autocompletion.

I'm also interested to hear how good AUCTeX parses the package.

Best, Arash


--=-=-=
Content-Type: application/emacs-lisp
Content-Disposition: attachment; filename=commath.el
Content-Transfer-Encoding: quoted-printable

;;; commath.el --- AUCTeX style for `commath.sty' (v0.3)

;; Copyright (C) 2016 Free Software Foundation, Inc.

;; Author: Arash Esbati <arash.esbati'at'gmail.com>
;; Maintainer: auctex-devel@HIDDEN
;; Created: 2016-07-31
;; Keywords: tex

;; This file is part of AUCTeX.

;; AUCTeX is free software; you can redistribute it and/or modify it
;; under the terms of the GNU General Public License as published by
;; the Free Software Foundation; either version 3, or (at your option)
;; any later version.

;; AUCTeX is distributed in the hope that it will be useful, but
;; WITHOUT ANY WARRANTY; without even the implied warranty of
;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
;; General Public License for more details.

;; You should have received a copy of the GNU General Public License
;; along with AUCTeX; see the file COPYING.  If not, write to the Free
;; Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
;; 02110-1301, USA.

;;; Commentary:

;; This file adds support for `commath.sty' (v0.3) from 2006/07/18.
;; `commath.sty' is part of TeXLive.

;;; Code:

(TeX-add-style-hook
 "commath"
 (lambda ()

   ;; Only load amsmath.el, ifthen.el is not necessary
   (TeX-run-style-hooks "amsmath")

   (TeX-add-symbols
    '("dif" 0)
    '("Dif" 0)
    '("od" [ "Order of differentiation" ] "Function" "Variable")
    '("tod" [ "Order of differentiation" ] "Function" "Variable")
    '("dod" [ "Order of differentiation" ] "Function" "Variable")
    '("pd" [ "Order of differentiation" ] "Function" "Variable")
    '("tpd" [ "Order of differentiation" ] "Function" "Variable")
    '("dpd" [ "Order of differentiation" ] "Function" "Variable")
    '("md" 6)
    '("tmd" 6)
    '("dmd" 6)
    '("del" [ "Size argument (between 0 and 4)" ] "Argument")
    '("cbr" [ "Size argument (between 0 and 4)" ] "Argument")
    '("set" [ "Size argument (between 0 and 4)" ] "Argument")
    '("sbr" [ "Size argument (between 0 and 4)" ] "Argument")
    '("intoo" [ "Size argument (between 0 and 4)" ] "Argument")
    '("intcc" [ "Size argument (between 0 and 4)" ] "Argument")
    '("intoc" [ "Size argument (between 0 and 4)" ] "Argument")
    '("intco" [ "Size argument (between 0 and 4)" ] "Argument")
    '("eval" [ "Size argument (between 0 and 4)" ] t)
    '("sVert" [ "Size argument (between 0 and 4)" ])
    '("envert" [ "Size argument (between 0 and 4)" ] "Argument")
    '("abs" [ "Size argument (between 0 and 4)" ] "Argument")
    '("enVert" [ "Size argument (between 0 and 4)" ] "Argument")
    '("norm" [ "Size argument (between 0 and 4)" ] "Argument")
    '("fullfunction" 5)

    ;; Referencing macros
    '("thmref" TeX-arg-ref)
    '("exref" TeX-arg-ref)
    '("defnref" TeX-arg-ref)
    '("secref" TeX-arg-ref)
    '("lemref" TeX-arg-ref)
    '("propref" TeX-arg-ref)
    '("remref" TeX-arg-ref)
    '("figref" TeX-arg-ref)
    '("colref" TeX-arg-ref)
    '("appref" TeX-arg-ref)
    '("assref" TeX-arg-ref))

   ;; Fontification
   (when (and (featurep 'font-latex)
	      (eq TeX-install-font-lock 'font-latex-setup))
     (font-latex-add-keywords '(("thmref"  "{")
				("exref"   "{")
				("defnref" "{")
				("secref"  "{")
				("lemref"  "{")
				("propref" "{")
				("remref"  "{")
				("figref"  "{")
				("colref"  "{")
				("appref"  "{")
				("assref"  "{"))
			      'reference)))
 LaTeX-dialect)

(defvar LaTeX-commath-package-options nil
  "Package options for the commath package.")

;;; commath.el ends here

--=-=-=--





Information forwarded to bug-auctex@HIDDEN:
bug#24114; Package auctex. Full text available.

Message received at 24114 <at> debbugs.gnu.org:


Received: (at 24114) by debbugs.gnu.org; 31 Jul 2016 11:07:01 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Jul 31 07:07:01 2016
Received: from localhost ([127.0.0.1]:51953 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1bToaD-0004I4-2P
	for submit <at> debbugs.gnu.org; Sun, 31 Jul 2016 07:07:01 -0400
Received: from eggs.gnu.org ([208.118.235.92]:44861)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <mose@HIDDEN>) id 1bToaB-0004Hp-8X
 for 24114 <at> debbugs.gnu.org; Sun, 31 Jul 2016 07:06:59 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <mose@HIDDEN>) id 1bToa2-0001dB-UM
 for 24114 <at> debbugs.gnu.org; Sun, 31 Jul 2016 07:06:54 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=-0.5 required=5.0 tests=BAYES_50,RP_MATCHES_RCVD
 autolearn=disabled version=3.3.2
Received: from fencepost.gnu.org ([2001:4830:134:3::e]:56579)
 by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <mose@HIDDEN>)
 id 1bToa2-0001cz-Qn
 for 24114 <at> debbugs.gnu.org; Sun, 31 Jul 2016 07:06:50 -0400
Received: from mail-wm0-f52.google.com ([74.125.82.52]:36982)
 by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128)
 (Exim 4.82) (envelope-from <mose@HIDDEN>) id 1bToa1-0003tA-43
 for 24114 <at> debbugs.gnu.org; Sun, 31 Jul 2016 07:06:49 -0400
Received: by mail-wm0-f52.google.com with SMTP id i5so206897485wmg.0
 for <24114 <at> debbugs.gnu.org>; Sun, 31 Jul 2016 04:06:49 -0700 (PDT)
X-Gm-Message-State: AEkoouudXfIywIws5Ed8C+cwJ9pL4Fu4eiVq9Zzvrc0VbC21EM/NKbxCo2TNhIsOx086//yZZczMjEdpciL56g==
X-Received: by 10.28.196.136 with SMTP id u130mr8707771wmf.83.1469963208057;
 Sun, 31 Jul 2016 04:06:48 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.28.170.211 with HTTP; Sun, 31 Jul 2016 04:06:08 -0700 (PDT)
In-Reply-To: <64a1c8a0-7661-6fd8-3bf6-407bbe020563@HIDDEN>
References: <64a1c8a0-7661-6fd8-3bf6-407bbe020563@HIDDEN>
From: =?UTF-8?Q?Mos=C3=A8_Giordano?= <mose@HIDDEN>
Date: Sun, 31 Jul 2016 13:06:08 +0200
X-Gmail-Original-Message-ID: <CAKtYQqS7_XcEg1AEFyr7ixL0gLB3Nvbqs+rhHZrDNfukf11wWQ@HIDDEN>
Message-ID: <CAKtYQqS7_XcEg1AEFyr7ixL0gLB3Nvbqs+rhHZrDNfukf11wWQ@HIDDEN>
Subject: Re: bug#24114: 11.89;
 commath macros not accessible via TeX-insert-macro
To: "Anton S." <emacs@HIDDEN>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Received-From: 2001:4830:134:3::e
X-Spam-Score: -6.3 (------)
X-Debbugs-Envelope-To: 24114
Cc: 24114 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -6.3 (------)

Hi Anton,

2016-07-30 14:12 GMT+02:00 Anton S. <emacs@HIDDEN>:
> The macros defined by the commath package are not accessible with
> TeX-insert-macro.
> The package is included via \usepackgage and compilation of a file with
> commath works. The commath macros are not in TeX-symbol-list. Even
> though debug mode is enabled, no error is thrown.
>
> Expected behavior:
> C-c <RET> od
> should produce \od{}{}
>
> Actual behavior:
> C-C <RET> od
> produces: \od
>
> Reproducible: always
>
> Minimal sample:
>
> \documentclass{article}
>
> \usepackage{commath}
>
> \begin{document}
> \begin{equation}
> \od{f}{x}
> \end{equation}
>
> \end{document}

AUCTeX doesn't have a style file for `commath' just because no one
ever wrote it.  The fact that you can compile your document doesn't
depend on the style files shipped with AUCTeX, so it's no surprise
that compilation works.

However, until someone writes a style file for `commath', you can
exploit AUCTeX's ability to automatically create a basic style file:
issue the command

    M-x TeX-auto-generate RET <path-to-commath.sty> RET RET

(replace <path-to-commath.sty> with the path to your commath.sty file)
and after you restart Emacs you can get autocompletion.

Bye,
Mos=C3=A8




Information forwarded to bug-auctex@HIDDEN:
bug#24114; Package auctex. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 30 Jul 2016 16:41:36 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Jul 30 12:41:36 2016
Received: from localhost ([127.0.0.1]:51637 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1bTXKR-0001pv-Lj
	for submit <at> debbugs.gnu.org; Sat, 30 Jul 2016 12:41:36 -0400
Received: from eggs.gnu.org ([208.118.235.92]:35204)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <dienste@HIDDEN>) id 1bTTET-0004Id-H6
 for submit <at> debbugs.gnu.org; Sat, 30 Jul 2016 08:19:09 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <dienste@HIDDEN>) id 1bTTEN-0005u7-3f
 for submit <at> debbugs.gnu.org; Sat, 30 Jul 2016 08:19:04 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,T_DKIM_INVALID
 autolearn=disabled version=3.3.2
Received: from lists.gnu.org ([2001:4830:134:3::11]:41860)
 by eggs.gnu.org with esmtp (Exim 4.71)
 (envelope-from <dienste@HIDDEN>) id 1bTTEN-0005tv-0L
 for submit <at> debbugs.gnu.org; Sat, 30 Jul 2016 08:19:03 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:54402)
 by lists.gnu.org with esmtp (Exim 4.71)
 (envelope-from <dienste@HIDDEN>) id 1bTTEK-0001L8-II
 for bug-auctex@HIDDEN; Sat, 30 Jul 2016 08:19:01 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <dienste@HIDDEN>) id 1bTTEH-0005rz-9v
 for bug-auctex@HIDDEN; Sat, 30 Jul 2016 08:19:00 -0400
Received: from mo6-p00-ob.smtp.rzone.de ([2a01:238:20a:202:5300::12]:32873)
 by eggs.gnu.org with esmtp (Exim 4.71)
 (envelope-from <dienste@HIDDEN>) id 1bTTEG-0005qg-SP
 for bug-auctex@HIDDEN; Sat, 30 Jul 2016 08:18:57 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1469881133; l=3990;
 s=domk; d=alshu.de;
 h=Content-Type:MIME-Version:Date:Subject:From:To;
 bh=AexR2DA8TnPqo2r+sVnRLvpneTsesWJYBtxCiqI8FTc=;
 b=Jsdzt8hj3ALVjT4nzi6PYh/2inQSbaFH0TPRHxg/0Htx8AaNt98RLQyINeje7mfTL/A
 mUmUYF6Ft8ok0QrWPV0WVEV2Q4ECyesTjyvHIBXu7ZEXVgUQc3omDEIl709g79kUMBtpR
 xuBEauY2DJwXwetgwGHGCsviqp17pFWJ5gw=
X-RZG-AUTH: :KGUBe1O8ft+ulmeXaKjJc0U/3ecy8rkwcqgnXuovxiM05/whmTf9x+gujfYR
X-RZG-CLASS-ID: mo00
Received: from [10.191.255.200] (host181-2.natpool.mwn.de [138.246.2.181])
 by smtp.strato.de (RZmta 38.13 AUTH) with ESMTPSA id 9058cfs6UCCoxms
 (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA (curve secp521r1 with 521 ECDH
 bits, eq. 15360 bits RSA)) (Client did not present a certificate)
 for <bug-auctex@HIDDEN>; Sat, 30 Jul 2016 14:12:50 +0200 (CEST)
To: bug-auctex@HIDDEN
From: "Anton S." <emacs@HIDDEN>
Subject: 11.89; commath macros not accessible via TeX-insert-macro
Message-ID: <64a1c8a0-7661-6fd8-3bf6-407bbe020563@HIDDEN>
Date: Sat, 30 Jul 2016 14:12:49 +0200
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101
 Thunderbird/45.1.1
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="------------C38AA220FC85BA1FE30C3148"
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 2001:4830:134:3::11
X-Spam-Score: -5.0 (-----)
X-Debbugs-Envelope-To: submit
X-Mailman-Approved-At: Sat, 30 Jul 2016 12:41:34 -0400
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -5.0 (-----)

This is a multi-part message in MIME format.
--------------C38AA220FC85BA1FE30C3148
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit

The macros defined by the commath package are not accessible with
TeX-insert-macro.
The package is included via \usepackgage and compilation of a file with
commath works. The commath macros are not in TeX-symbol-list. Even
though debug mode is enabled, no error is thrown.

Expected behavior:
C-c <RET> od
should produce \od{}{}

Actual behavior:
C-C <RET> od
produces: \od

Reproducible: always

Minimal sample:

\documentclass{article}

\usepackage{commath}

\begin{document}
\begin{equation}
\od{f}{x}
\end{equation}

\end{document}


Emacs  : GNU Emacs 24.5.1 (x86_64-redhat-linux-gnu, GTK+ Version 3.18.9)
  of 2016-04-11 on buildvm-25.phx2.fedoraproject.org
Package: 11.89

current state:
==============
(setq
  AUCTeX-date "2015-11-13"
  window-system 'x
  LaTeX-version "2e"
  TeX-style-path '("/var/auctex" "/usr/share/emacs/site-lisp/auctex/style"
           "/home/ash1125/.emacs.d/auctex/auto"
           "/home/ash1125/.emacs.d/auctex/style" "auto" "style")
  TeX-auto-save nil
  TeX-parse-self nil
  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")
             ("Dvipdfmx" "dvipdfmx %d" TeX-run-dvipdfmx nil t :help
              "Convert DVI file to PDF with dvipdfmx")
             ("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")
             )


--------------C38AA220FC85BA1FE30C3148
Content-Type: text/x-tex;
 name="textest2.tex"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
 filename="textest2.tex"

\documentclass{article}

\usepackage{commath}

\begin{document}
\begin{equation}
\od{f}{x}
\end{equation}

\end{document}

--------------C38AA220FC85BA1FE30C3148--




Acknowledgement sent to "Anton S." <emacs@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-auctex@HIDDEN. Full text available.
Report forwarded to bug-auctex@HIDDEN:
bug#24114; Package auctex. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Mon, 25 Nov 2019 12:00:02 UTC

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