From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Brian Millett Newsgroups: gmane.emacs.bugs Subject: Re: abbrev.c:201: undefined reference to `SYNTAX_ENTRY_FOLLOW_PARENT' Date: Thu, 19 Jul 2007 22:39:19 -0500 Message-ID: <46A02E67.4010404@gmail.com> References: <469F9B33.8020402@gmail.com> <0mfy3kz0iw.fsf@fencepost.gnu.org> <469FEBBC.40107@gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Trace: sea.gmane.org 1184902774 26512 80.91.229.12 (20 Jul 2007 03:39:34 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 20 Jul 2007 03:39:34 +0000 (UTC) Cc: bug-gnu-emacs@gnu.org To: Glenn Morris Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Jul 20 05:39:33 2007 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1IBjKx-00008z-RC for geb-bug-gnu-emacs@m.gmane.org; Fri, 20 Jul 2007 05:39:28 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IBjKx-0006Bj-5o for geb-bug-gnu-emacs@m.gmane.org; Thu, 19 Jul 2007 23:39:27 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IBjKv-0006Be-TB for bug-gnu-emacs@gnu.org; Thu, 19 Jul 2007 23:39:25 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IBjKt-0006Ar-BW for bug-gnu-emacs@gnu.org; Thu, 19 Jul 2007 23:39:24 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IBjKt-0006Ao-5P for bug-gnu-emacs@gnu.org; Thu, 19 Jul 2007 23:39:23 -0400 Original-Received: from an-out-0708.google.com ([209.85.132.240]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IBjKs-0004JL-LL for bug-gnu-emacs@gnu.org; Thu, 19 Jul 2007 23:39:22 -0400 Original-Received: by an-out-0708.google.com with SMTP id c25so137319ana for ; Thu, 19 Jul 2007 20:39:22 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:user-agent:mime-version:to:cc:subject:references:in-reply-to:content-type:content-transfer-encoding; b=QGnT6oyPzxJ8qn5W+GZ5E+KhQSC/qipIA5R7Xt7nv+sgHlmaXPKRswNNX81OCC0OOTHV8Hk5KdmFPKBr/dwQsPvrcKbl6PAifxNjsaDQY0P/qQM5qWqaZb6PLAFrgKiIvG061Drw9wy1TluD/813pWuH6UnRnWPc+pe59+mPqHc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:user-agent:mime-version:to:cc:subject:references:in-reply-to:content-type:content-transfer-encoding; b=in7jDLYgpDnOIeQiLFxeG6TuxwTAcPckyLRihi+9hpsbEeoQC5zUCA2lO4ugidQEUyt6xBlcmF3eijjZBIspnY62iEfVHTlWsM7rfcnI3mA/UAP6O00VyedK4gubmb+D68GrdV85nGcyrZHu9S1m8ofZlj3hDZyJC9pJ/BMFqDo= Original-Received: by 10.100.106.5 with SMTP id e5mr16741anc.1184902761754; Thu, 19 Jul 2007 20:39:21 -0700 (PDT) Original-Received: from ?198.18.100.101? ( [12.28.13.66]) by mx.google.com with ESMTPS id b32sm3324699ana.2007.07.19.20.39.20 (version=SSLv3 cipher=RC4-MD5); Thu, 19 Jul 2007 20:39:20 -0700 (PDT) User-Agent: Thunderbird 2.0.0.4 (X11/20070615) In-Reply-To: X-detected-kernel: Linux 2.6 (newer, 2) X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:16183 Archived-At: Glenn Morris escribĂ­o: > Brian Millett wrote: > >> Ok, so which list? Bugs only for Current Stable Release? > > M-x report-emacs-bug does the right thing, and also provides useful > debugging info. Generally, bug-gnu-emacs for releases, > emacs-pretest-bug for CVS. But we're here now... Thanks for clarifying that. >> :pserver:anonymous@cvs.savannah.gnu.org:/cvsroot/emacs >> >> did a cvs co emacs > > Then I'm baffled. That should get you the CVS trunk, and > SYNTAX_ENTRY_FOLLOW_PARENT is sitting there in src/syntax.h, at line > 71/86. Do you have a src/CVS/Tag file, and if so what are the > contents? Temacs-unicode-2 > Does your src/syntax.h look the same as: > http://cvs.savannah.gnu.org/viewvc/emacs/src/syntax.h?root=emacs&view=markup > Almost: [bpm]$ diff -wruN syntax.h.new syntax.h --- syntax.h.new 2007-07-19 22:33:53.000000000 -0500 +++ syntax.h 2007-01-26 00:15:07.000000000 -0600 @@ -59,36 +59,13 @@ /* Set the syntax entry VAL for char C in table TABLE. */ #define SET_RAW_SYNTAX_ENTRY(table, c, val) \ - ((((c) & 0xFF) == (c)) \ - ? (XCHAR_TABLE (table)->contents[(unsigned char) (c)] = (val)) \ - : Faset ((table), make_number (c), (val))) - -/* Fetch the syntax entry for char C in syntax table TABLE. - This macro is called only when C is less than CHAR_TABLE_ORDINARY_SLOTS. - Do inheritance. */ + CHAR_TABLE_SET ((table), c, (val)) -#ifdef __GNUC__ -#define SYNTAX_ENTRY_FOLLOW_PARENT(table, c) \ - ({ Lisp_Object _syntax_tbl = (table); \ - Lisp_Object _syntax_temp = XCHAR_TABLE (_syntax_tbl)->contents[(c)]; \ - while (NILP (_syntax_temp)) \ - { \ - _syntax_tbl = XCHAR_TABLE (_syntax_tbl)->parent; \ - if (NILP (_syntax_tbl)) \ - break; \ - _syntax_temp = XCHAR_TABLE (_syntax_tbl)->contents[(c)]; \ - } \ - _syntax_temp; }) -#else -extern Lisp_Object syntax_temp; -extern Lisp_Object syntax_parent_lookup P_ ((Lisp_Object, int)); +/* Set the syntax entry VAL for char-range RANGE in table TABLE. + RANGE is a cons (FROM . TO) specifying the range of characters. */ -#define SYNTAX_ENTRY_FOLLOW_PARENT(table, c) \ - (syntax_temp = XCHAR_TABLE (table)->contents[(c)], \ - (NILP (syntax_temp) \ - ? syntax_parent_lookup (table, (c)) \ - : syntax_temp)) -#endif +#define SET_RAW_SYNTAX_ENTRY_RANGE(table, range, val) \ + Fset_char_table_range ((table), (range), (val)) /* SYNTAX_ENTRY fetches the information from the entry for character C in syntax table TABLE, or from globally kept data (gl_state). @@ -106,12 +83,7 @@ # define CURRENT_SYNTAX_TABLE current_buffer->syntax_table #endif -#define SYNTAX_ENTRY_INT(c) \ - ((((c) & 0xFF) == (c)) \ - ? SYNTAX_ENTRY_FOLLOW_PARENT (CURRENT_SYNTAX_TABLE, \ - (unsigned char) (c)) \ - : Faref (CURRENT_SYNTAX_TABLE, \ - make_number (c))) +#define SYNTAX_ENTRY_INT(c) CHAR_TABLE_REF (CURRENT_SYNTAX_TABLE, (c)) /* Extract the information from the entry for character C in the current syntax table. */ @@ -138,6 +110,7 @@ ? XCDR (_syntax_temp) \ : Qnil); }) #else +extern Lisp_Object syntax_temp; #define SYNTAX(c) \ (syntax_temp = SYNTAX_ENTRY ((c)), \ (CONSP (syntax_temp) \ -- Brian Millett - [ Sinclair, "The Coming of Shadows"] "Stay close to the Vorlon and watch out for the Shadows. They move when you're not looking at them."