[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Build failure caused by a .tit file
From: |
Eli Zaretskii |
Subject: |
Re: Build failure caused by a .tit file |
Date: |
Mon, 17 Apr 2017 19:21:21 +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?
- Build failure caused by a .tit file, Göktuğ Kayaalp, 2017/04/17
- Re: Build failure caused by a .tit file, 良ϖ, 2017/04/17
- Re: Build failure caused by a .tit file, Eli Zaretskii, 2017/04/17
- Re: Build failure caused by a .tit file, Göktuğ Kayaalp, 2017/04/17
- Re: Build failure caused by a .tit file,
Eli Zaretskii <=
- Re: Build failure caused by a .tit file, Göktuğ Kayaalp, 2017/04/17
- Re: Build failure caused by a .tit file, Eli Zaretskii, 2017/04/17
- Re: Build failure caused by a .tit file, Göktuğ Kayaalp, 2017/04/18
- Re: Build failure caused by a .tit file, Göktuğ Kayaalp, 2017/04/18
- Re: Build failure caused by a .tit file, Eli Zaretskii, 2017/04/18
- Re: Build failure caused by a .tit file, Eli Zaretskii, 2017/04/18
- Re: Build failure caused by a .tit file, Göktuğ Kayaalp, 2017/04/18
- Re: Build failure caused by a .tit file, Eli Zaretskii, 2017/04/18