From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Arash Esbati Newsgroups: gmane.emacs.devel Subject: Re: About LaTeX/TeX modes Date: Mon, 08 Aug 2022 16:29:38 +0200 Message-ID: <868rnyst9p.fsf@gnu.org> References: <2025344680.2113516.1659863015529@mail1.libero.it> <868ro0b968.fsf@gnu.org> <86mtcfdfeh.fsf@gnu.org> <25329.5664.292702.538737@retriever.mtv.corp.google.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="22796"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 Cc: angelo.g0@libero.it, emacs-devel@gnu.org To: "T.V Raman" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Aug 08 16:37:48 2022 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oL3t5-0005lw-CZ for ged-emacs-devel@m.gmane-mx.org; Mon, 08 Aug 2022 16:37:47 +0200 Original-Received: from localhost ([::1]:51322 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oL3t3-0002AN-35 for ged-emacs-devel@m.gmane-mx.org; Mon, 08 Aug 2022 10:37:45 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:45114) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oL3m9-0004rU-4H for emacs-devel@gnu.org; Mon, 08 Aug 2022 10:30:37 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:45598) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oL3m7-0001AH-Pr; Mon, 08 Aug 2022 10:30:35 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:References:In-Reply-To:Subject:To: From; bh=bTb1TLZrgs8QdyidvLWHZHaHryzcynMC4sfq2oAoEZM=; b=QbYWw3OTimkcLuljXA6A JqyVLqZht94QlNB93BCP2TcaIJZC234QF/AnbVZgJWb5q1l7IOGn+eCpr4FJRMpHqCCZk07Xg1832 fmeZq0GcD5LFqkguhHvtJhnBSV7hA5F07aQI9YLq3wQaumq7bRFjanrBhfIaizRA+LqOJ+YScvSLX 0X1KNW92jREoTB8au1h86lczlItgU7ZgdmdrUIOJ1fW6KVZ/Bt2SCgOomD48ycPQzAfkse4sPK4aO MbDDU8uLSNI6McgED+2erly9O9LfD4hZ/0/ZutlWPkhM2VtcbwpoxAUaIYJsJSiYGm043kBoZQRML 0CWs5UGNbMZN8Q==; Original-Received: from pd9fb77f7.dip0.t-ipconnect.de ([217.251.119.247]:64986 helo=MUTANT) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oL3m6-0007h5-VM; Mon, 08 Aug 2022 10:30:35 -0400 In-Reply-To: <25329.5664.292702.538737@retriever.mtv.corp.google.com> (T. V. Raman's message of "Mon, 8 Aug 2022 06:56:48 -0700") X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:293269 Archived-At: "T.V Raman" writes: > Could you say where/how you configured auctex to do the auto-insertion The relevant part of my AUCTeX configuration looks like this: --8<---------------cut here---------------start------------->8--- ;; Set before loading out of local repo: (setq TeX-data-directory "~/path/to/repo/auctex" TeX-lisp-directory TeX-data-directory) ;; Load AUCTeX out of repo: (load "~/path/to/repo/auctex/auctex.el" nil t t) ;; Always ask for TeX-master (setq-default TeX-master nil) --8<---------------cut here---------------end--------------->8--- I load AUCTeX from a local repo, so I have to set `TeX-data-directory' and `TeX-lisp-directory' before loading auctex.el, and then the final form for `TeX-master'. This is it. How did you install and configure AUCTeX? Best, Arash