From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Dhruva Krishnamurthy Newsgroups: gmane.emacs.devel Subject: emacs-unicode-2 specific: c-mode indentation error Date: Thu, 28 Oct 2004 14:40:07 +0530 Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Message-ID: <68c73b1a0410280210b166389@mail.gmail.com> Reply-To: Dhruva Krishnamurthy NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1098954659 17401 80.91.229.6 (28 Oct 2004 09:10:59 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 28 Oct 2004 09:10:59 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Oct 28 11:10:52 2004 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1CN6J2-0005Dl-00 for ; Thu, 28 Oct 2004 11:10:52 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CN6Qp-0001wm-18 for ged-emacs-devel@m.gmane.org; Thu, 28 Oct 2004 05:18:55 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1CN6QV-0001tt-F7 for emacs-devel@gnu.org; Thu, 28 Oct 2004 05:18:35 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1CN6QR-0001tU-Ux for emacs-devel@gnu.org; Thu, 28 Oct 2004 05:18:32 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CN6QR-0001tR-QG for emacs-devel@gnu.org; Thu, 28 Oct 2004 05:18:31 -0400 Original-Received: from [64.233.184.196] (helo=wproxy.gmail.com) by monty-python.gnu.org with esmtp (Exim 4.34) id 1CN6IS-0003Oi-Je for emacs-devel@gnu.org; Thu, 28 Oct 2004 05:10:16 -0400 Original-Received: by wproxy.gmail.com with SMTP id 55so456851wri for ; Thu, 28 Oct 2004 02:10:07 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type:content-transfer-encoding; b=Se/DwcNJmhLFMUWJnCg4rviZ1zzGR4UztrK+1h0JKcPFROlNUAokIdQ97T66ww7naXCbDHo0wQG3dZA8fZAvGJuK2KRH0SBWkw7gBpc3/n8wwegetLayJDNHiorTH37LMRDFwdZuqR9rHFGepW33kRffNp4vt2s3ytS6ojrrcqk= Original-Received: by 10.38.181.44 with SMTP id d44mr1248127rnf; Thu, 28 Oct 2004 02:10:07 -0700 (PDT) Original-Received: by 10.38.102.20 with HTTP; Thu, 28 Oct 2004 02:10:07 -0700 (PDT) Original-To: Emacs-Devel X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 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.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:29102 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:29102 Hello, I am noticing a problem in emacs-unicode-2 and _not_ in HEAD. When I try to indent a 'C' code in c-mode, I get the following error only in emacs-unicode-2 branch. The file can contain just 1 line: /* hello world */ I get the following trace: Debugger entered--Lisp error: (wrong-type-argument number-or-marker-p nil) c-end-of-current-token() c-forward-token-2(0 nil 12) c-guess-basic-syntax() c-indent-region(1 13) indent-region(1 13 nil) call-interactively(indent-region) execute-extended-command(nil) call-interactively(execute-extended-command) with best regards, dhruva -- Proud FSF member: #1935 http://schemer.fateback.com/