From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: 3246251196ryan@gmail.com Newsgroups: gmane.emacs.help Subject: Re: Emacs *-mode add-hook functions (not working>) Date: Mon, 10 Nov 2014 07:49:32 -0800 (PST) Message-ID: <2cd53f5b-d707-4362-b013-31afed98a96a@googlegroups.com> References: <83d28zrr8f.fsf@gnu.org> <13f9c811-a41d-446d-a795-932d95939a63@googlegroups.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1415634671 20265 80.91.229.3 (10 Nov 2014 15:51:11 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 10 Nov 2014 15:51:11 +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 Nov 10 16:51:04 2014 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 1XnrFA-0007Rh-A8 for geh-help-gnu-emacs@m.gmane.org; Mon, 10 Nov 2014 16:51:04 +0100 Original-Received: from localhost ([::1]:43883 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XnrF9-0004P7-T6 for geh-help-gnu-emacs@m.gmane.org; Mon, 10 Nov 2014 10:51:04 -0500 X-Received: by 10.182.165.104 with SMTP id yx8mr25033583obb.15.1415634572173; Mon, 10 Nov 2014 07:49:32 -0800 (PST) X-Received: by 10.140.41.147 with SMTP id z19mr506427qgz.1.1415634572144; Mon, 10 Nov 2014 07:49:32 -0800 (PST) Original-Path: usenet.stanford.edu!news.kjsl.com!news.glorb.com!h15no1654660igd.0!news-out.google.com!m4ni0qag.1!nntp.google.com!u7no586101qaz.1!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help In-Reply-To: <13f9c811-a41d-446d-a795-932d95939a63@googlegroups.com> Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=194.39.218.10; posting-account=yK8oPQoAAAA1qIT_h_OI91dtN6mGEacV Original-NNTP-Posting-Host: 194.39.218.10 User-Agent: G2/1.0 Injection-Date: Mon, 10 Nov 2014 15:49:32 +0000 Original-Xref: usenet.stanford.edu gnu.emacs.help:208609 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:100887 Archived-At: On Sunday, 9 November 2014 23:15:06 UTC, 3246251...@gmail.com wrote: > I will test out whether or not the hook function gets called tomorrow. Okay, the hook function is actually working which is strange. So the proble= m remains: That I must firstly open a C++ file in order to get CEDET to parse the head= ers. Once I do that I there is no problem opening up a .h file, it works. H= owever, if I start emacs and firstly open a .h file I am forced to do M-x c= -mode - but once that is done everything is fine thereafter. =20 Just trying to figure out why this is the case.