From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Colin S. Miller" Newsgroups: gmane.emacs.help Subject: Re: How to enable the Major mode: ttcn-3-mode. Date: Tue, 10 Aug 2010 22:13:15 +0100 Organization: SunSITE.dk - Supporting Open source Message-ID: <4c61c0ec$0$273$14726298@news.sunsite.dk> References: <4c5e870d$0$285$14726298@news.sunsite.dk> <0f8021ca-52df-4a8f-bdae-6e996f8e3878@l25g2000prn.googlegroups.com> <4c5eb374$0$286$14726298@news.sunsite.dk> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=GB2312 Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1291856899 32517 80.91.229.12 (9 Dec 2010 01:08:19 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 9 Dec 2010 01:08:19 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Dec 09 02:08:15 2010 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PQUzX-0004kG-A7 for geh-help-gnu-emacs@m.gmane.org; Thu, 09 Dec 2010 02:08:15 +0100 Original-Received: from localhost ([127.0.0.1]:51772 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PQUzV-0000Vj-Oa for geh-help-gnu-emacs@m.gmane.org; Wed, 08 Dec 2010 20:08:13 -0500 Original-Path: usenet.stanford.edu!goblin2!goblin.stu.neva.ru!news.net.uni-c.dk!dotsrc.org!filter.dotsrc.org!news.dotsrc.org!not-for-mail User-Agent: Mozilla-Thunderbird 2.0.0.24 (X11/20100328) Original-Newsgroups: gnu.emacs.help In-Reply-To: Original-Lines: 46 Original-NNTP-Posting-Host: 62.56.60.192 Original-X-Trace: news.sunsite.dk DXC=]hGg=MMAX_?\:k25BLkF8; YSB=nbEKnk; aO@<>1k8HMEID8XG\>dU List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:76352 Archived-At: Hill wrote: > But getting wrong info: > File mode specification error: (error "Buffer CoffeeSuite.ttcn3 is not > a CC Mode buffer (c-set-style)") > > Any the emacs version I used on windows is emacs 23.1. > > I also try to install the ttcn3 on Ubuntu by running : sudo apt-get > install ttcn.el. All is going well. But when I open a ttcn3 file, it > give me the same error info: > File mode specification error: (error "Buffer CoffeeSuite.ttcn3 is not > a CC Mode buffer (c-set-style)") > I checked the version on my ubuntu is emacs 22. > > I was so confused, Is this a bug? Hill, I've just installed ttcn-el on my Debian box. On it, M-x ttcn-mode works, but M-x ttcn-3-mode reports "Buffer *scratch* is not a CC Mode buffer (c-set-style)" which is the same as you get. I don't have a sample ttcn file to see how well the mode works. I'm afaid I don't know enough about the internals of CC mode to help you much further. HTH, Colin S. Miller BTW, 1) Debian's packages can be searched here http://www.debian.org/distrib/packages#search_packages 2) A binary .deb file is a .ar of .tgz files; they can be opened manually on any Linux box (or even under cygwin) -- Replace the obvious in my email address with the first three letters of the hostname to reply.