From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Husmann Newsgroups: gmane.emacs.help Subject: Re: tex-mode-hook not working anymore? Date: Mon, 18 Mar 2013 19:13:25 +0100 Message-ID: <51475945.5040200@t-online.de> References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1363630445 30336 80.91.229.3 (18 Mar 2013 18:14:05 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 18 Mar 2013 18:14:05 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Mar 18 19:14:25 2013 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1UHeZf-0007IM-5H for geh-help-gnu-emacs@m.gmane.org; Mon, 18 Mar 2013 19:14:19 +0100 Original-Received: from localhost ([::1]:40830 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UHeZI-0003pV-4a for geh-help-gnu-emacs@m.gmane.org; Mon, 18 Mar 2013 14:13:56 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:58199) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UHeZ4-0003oc-5p for help-gnu-emacs@gnu.org; Mon, 18 Mar 2013 14:13:44 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UHeZ1-0001UE-T7 for help-gnu-emacs@gnu.org; Mon, 18 Mar 2013 14:13:42 -0400 Original-Received: from mailout04.t-online.de ([194.25.134.18]:40959) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UHeZ1-0001So-MC for help-gnu-emacs@gnu.org; Mon, 18 Mar 2013 14:13:39 -0400 Original-Received: from fwd15.aul.t-online.de (fwd15.aul.t-online.de ) by mailout04.t-online.de with smtp id 1UHeYz-0002eC-1j; Mon, 18 Mar 2013 19:13:37 +0100 Original-Received: from [192.168.178.21] (GMT9T8Zegh3JOD66Mt5F7dWZwtGC9eWyXNbC5TQXmeygtG7UIj4m6cxHMNVx9IJQLf@[91.4.39.129]) by fwd15.t-online.de with esmtp id 1UHeYo-3vvkrA0; Mon, 18 Mar 2013 19:13:26 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130311 Thunderbird/17.0.4 In-Reply-To: X-ID: GMT9T8Zegh3JOD66Mt5F7dWZwtGC9eWyXNbC5TQXmeygtG7UIj4m6cxHMNVx9IJQLf X-TOI-MSGID: 7ad90d12-c28c-4753-bade-232e07eae816 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 194.25.134.18 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:89586 Archived-At: Am 18.03.2013 12:57, schrieb Fabrice Delente: > It seems that AUCTeX is loaded instead of the standard old tex/latex > mode! That's why tex-mode-hook is not taken into account. How can I > remove AUCTeX? > That depends how you installed it. What system do you use? Did AUCTeX come with a package manager of your distribution? Then use your package manager to remove it? Did it come with ELPA? Then remove the directory under ~/.emacs.d/ containing AUCTeX. You ma also want to just bind the .tex suffix to latex-mode rather than LaTeX-mode or tex-mode rather than TeX-mode. Best Regards Stefan