all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: help-gnu-emacs@gnu.org
Subject: Re: Build failure caused by a .tit file
Date: Mon, 17 Apr 2017 19:21:21 +0300	[thread overview]
Message-ID: <838tmzdmym.fsf@gnu.org> (raw)
In-Reply-To: <87lgqzav0t.fsf@gkayaalp.com> (message from Göktuğ Kayaalp on Mon, 17 Apr 2017 18:55:30 +0300)

> From: Göktuğ Kayaalp <self@gkayaalp.com>
> Cc: help-gnu-emacs@gnu.org
> Date: Mon, 17 Apr 2017 18:55:30 +0300
> 
> > 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 ‘N’.

So if you manually invoke titdic-convert on CCDOSPY.tit, it does work?
And you do all this in the same Emacs binary, probably called
bootstrap-emacs, which runs the failing command during the build?



  reply	other threads:[~2017-04-17 16:21 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-04-17 14:03 Build failure caused by a .tit file Göktuğ Kayaalp
2017-04-17 14:41 ` 良ϖ
2017-04-17 15:57   ` Göktuğ Kayaalp
2017-04-17 14:45 ` Eli Zaretskii
2017-04-17 15:55   ` Göktuğ Kayaalp
2017-04-17 16:21     ` Eli Zaretskii [this message]
2017-04-17 23:08       ` Göktuğ Kayaalp
2017-04-18  2:43         ` Eli Zaretskii
2017-04-18 12:41           ` Göktuğ Kayaalp
2017-04-18 13:16             ` Göktuğ Kayaalp
2017-04-18 15:02               ` Eli Zaretskii
2017-04-18 14:56             ` Eli Zaretskii
2017-04-18 16:19               ` Göktuğ Kayaalp
2017-04-18 16:39                 ` Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=838tmzdmym.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.