From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: =?utf-8?Q?G=C3=B6ktu=C4=9F_Kayaalp?= Newsgroups: gmane.emacs.help Subject: Re: Build failure caused by a .tit file Date: Mon, 17 Apr 2017 18:55:30 +0300 Message-ID: <87lgqzav0t.fsf@gkayaalp.com> References: <87pogbb06p.fsf@gkayaalp.com> <83efwrdrej.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1492444583 22511 195.159.176.226 (17 Apr 2017 15:56:23 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 17 Apr 2017 15:56:23 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) Cc: help-gnu-emacs@gnu.org To: Eli Zaretskii Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Apr 17 17:56:18 2017 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d090i-0005eu-79 for geh-help-gnu-emacs@m.gmane.org; Mon, 17 Apr 2017 17:56:16 +0200 Original-Received: from localhost ([::1]:37271 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d090o-0001bl-2G for geh-help-gnu-emacs@m.gmane.org; Mon, 17 Apr 2017 11:56:22 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:39194) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d090A-0001aT-45 for help-gnu-emacs@gnu.org; Mon, 17 Apr 2017 11:55:43 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1d0909-0003NL-7h for help-gnu-emacs@gnu.org; Mon, 17 Apr 2017 11:55:42 -0400 Original-Received: from relay2-d.mail.gandi.net ([2001:4b98:c:538::194]:47438) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1d0902-0003A6-SU; Mon, 17 Apr 2017 11:55:34 -0400 Original-Received: from mfilter11-d.gandi.net (mfilter11-d.gandi.net [217.70.178.131]) by relay2-d.mail.gandi.net (Postfix) with ESMTP id 45EE6C5A50; Mon, 17 Apr 2017 17:55:33 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at mfilter11-d.gandi.net Original-Received: from relay2-d.mail.gandi.net ([IPv6:::ffff:217.70.183.194]) by mfilter11-d.gandi.net (mfilter11-d.gandi.net [::ffff:10.0.15.180]) (amavisd-new, port 10024) with ESMTP id O0JtkP8l2q7S; Mon, 17 Apr 2017 17:55:31 +0200 (CEST) X-Originating-IP: 46.2.17.92 Original-Received: from xi.xi (unknown [46.2.17.92]) (Authenticated sender: self@gkayaalp.com) by relay2-d.mail.gandi.net (Postfix) with ESMTPSA id 52DE2C5A63; Mon, 17 Apr 2017 17:55:31 +0200 (CEST) In-Reply-To: <83efwrdrej.fsf@gnu.org> (Eli Zaretskii's message of "Mon, 17 Apr 2017 17:45:24 +0300") X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4b98:c:538::194 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 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" Xref: news.gmane.org gmane.emacs.help:112791 Archived-At: On 2017-04-17 17:45 +0300, Eli Zaretskii wrote: > This is not a good place to report failures to build Emacs. I'm sorry. Should I rather post it to emacs-devel or report bug? > This error message comes from this snippet in titdic-cnv.el: > > ;; Decode the buffer contents from the encoding specified by a > ;; value of the key "ENCODE:". > (if (not (search-forward "\nBEGIN" nil t)) > (error "TIT dictionary doesn't have body part")) > > Is it really true that CCDOSPY.tit you have has no line that begins > with "BEGIN"? Otherwise, why doesn't the search-forward call succeed? The line 55-57 reads # the following line must not be removed BEGINDICTIONARY # and manually running M-: (search-forward "\nBEGIN" nil t) returns 1850. The snippet you've included when run via M-:, works as expected, i.e., no errors, moves to line 56, after first =E2=80=98N=E2=80= =99. > Did you try "make distclean" before building? Yes, I tried starting from scratch both via the build tool and fetching a clean copy of the repository. FWIW the file's coding is =E2=80=98euc-chi= na=E2=80=99 and it has 565 lines (another reply was asking whether the file was a big one).