unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Kenichi Handa <handa@m17n.org>
To: Jason Rumney <jasonr@gnu.org>
Cc: lekktu@gmail.com, emacs-devel@gnu.org
Subject: Re: ^M in the info files
Date: Wed, 09 Jul 2008 20:16:14 +0900	[thread overview]
Message-ID: <E1KGXeg-00053i-Rx@etlken.m17n.org> (raw)
In-Reply-To: <487481B2.3090302@gnu.org> (message from Jason Rumney on Wed, 09 Jul 2008 10:15:30 +0100)

In article <487481B2.3090302@gnu.org>, Jason Rumney <jasonr@gnu.org> writes:

> Kenichi Handa wrote:
> > In article <f7ccd24b0807081956o1c443d54k64cafc104d850aba@mail.gmail.com>, "Juanma Barranquero" <lekktu@gmail.com> writes:

> > Oops, sorry.  But, I can't see the ^M problem in info files.
> > Actually, on Windows, when I type C-h i, I get this error:
> > 
> >   Can't find the Info directory node
> > 
> > But, when I type C-u C-h i ~/emacs/info/efag RET (I built
> > Emacs under ~/emacs),  I see no '^M's.

> Perhaps the version of makeinfo you have is not generating files with
> DOS line ends. Mine is,

It seems so.

> and even opening info/efaq with C-x C-f shows
> the ^M characters, though I don't see any inconsistencies that should
> cause line-end detection to fail and Emacs 22.2 opens it correctly with
> a DOS coding system.

I've just found that the file "efaq" contains null-bytes
('\0') after "Concept Index\n********\n\n".  "viper" also
contains null-bytes.  So, Emacs detects that those files are
binary.  Hmmm, what should we do?  Make a new variable
inhibit-null-byte-detection (analogous to
inhibit-iso-escape-detection)?  Or, make the code of
null-byte detection checks the percentage of null-byte, and
conclude that the file is binary only when the percentage is
higher than some threshold?

---
Kenichi Handa
handa@ni.aist.go.jp




  reply	other threads:[~2008-07-09 11:16 UTC|newest]

Thread overview: 71+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-06-11  0:43 ^M in the info files Lennart Borgman (gmail)
2008-06-11  4:42 ` dhruva
2008-06-11 15:56   ` Juanma Barranquero
2008-07-09  1:51     ` Juanma Barranquero
2008-07-09  2:44       ` Kenichi Handa
2008-07-09  2:56         ` Juanma Barranquero
2008-07-09  4:33           ` Kenichi Handa
2008-07-09  9:15             ` Jason Rumney
2008-07-09 11:16               ` Kenichi Handa [this message]
2008-07-09 16:49                 ` Stefan Monnier
2008-07-09 17:58                   ` James Cloos
2008-07-09 20:19                     ` Juri Linkov
2008-07-14 11:44                       ` Kenichi Handa
2008-07-21 11:18                         ` Juanma Barranquero
2008-07-10 11:17                   ` Kenichi Handa
2008-07-10 16:02                     ` Stefan Monnier
2008-07-10 18:42                       ` Juri Linkov
2008-07-10 20:27                         ` Stefan Monnier
2008-07-10 20:47                           ` Juri Linkov
2008-07-10 22:11                             ` Stefan Monnier
2008-07-19 22:29                           ` Eli Zaretskii
2008-07-21  4:57                             ` Stefan Monnier
2008-07-21 15:08                               ` Eli Zaretskii
2008-07-21 18:20                                 ` Stefan Monnier
2008-07-09 10:02             ` Juanma Barranquero
2008-07-09 14:54               ` "no-conversion" coding system (was: ^M in the info files) Stefan Monnier
2008-07-09 23:31                 ` Kenichi Handa
2008-07-09 23:57                 ` Richard M Stallman
2008-07-10  0:31                   ` Kenichi Handa
2008-07-10  1:12                     ` "no-conversion" coding system Stefan Monnier
2008-07-14 23:19                       ` Eli Zaretskii
2008-07-15  1:39                         ` Stefan Monnier
2008-07-20 14:04                           ` Eli Zaretskii
2008-07-15  6:34                         ` Stephen J. Turnbull
2008-07-20 14:11                           ` Eli Zaretskii
  -- strict thread matches above, loose matches on Subject: below --
2008-08-06 11:09 A few bugs not in the bug tracker (I think) Juanma Barranquero
2008-08-06 12:31 ` Kenichi Handa
2008-08-06 13:14   ` Juanma Barranquero
2008-08-07  0:48     ` ^M in the info files Kenichi Handa
2008-08-07  3:20       ` Eli Zaretskii
2008-08-07  3:22       ` Juanma Barranquero
2008-08-07  3:47         ` Kenichi Handa
2008-08-07 13:01           ` Juanma Barranquero
2008-08-08  1:28             ` Kenichi Handa
2008-08-08 11:02               ` Juanma Barranquero
2008-08-13 10:08                 ` Kenichi Handa
2008-08-15 23:09                   ` Juanma Barranquero
2008-08-07 20:18       ` Stefan Monnier
2008-11-28 21:28         ` Drew Adams
2008-11-28 22:39           ` Eli Zaretskii
2008-11-28 22:44             ` Juanma Barranquero
2008-11-29 10:50               ` Eli Zaretskii
2008-11-29 11:56                 ` Juanma Barranquero
2008-11-28 22:49             ` Drew Adams
2008-11-29 10:51               ` Eli Zaretskii
2009-01-10 11:15             ` Eli Zaretskii
2009-01-10 12:14               ` Eli Zaretskii
2009-01-12 20:56                 ` Stefan Monnier
2009-01-12 22:04                   ` Eli Zaretskii
2009-01-10 14:07               ` Juanma Barranquero
2009-01-10 15:13                 ` Eli Zaretskii
2009-01-10 18:23                   ` Juanma Barranquero
2009-01-10 19:08                     ` Eli Zaretskii
2009-01-10 19:12                     ` Eli Zaretskii
2009-01-10 19:19                     ` Eli Zaretskii
2009-01-10 21:04                       ` Juanma Barranquero
2009-01-10 16:21               ` Drew Adams
2009-01-10 23:16                 ` Lennart Borgman
2009-01-11  5:41                   ` dhruva
2009-01-11  5:51                   ` dhruva
2009-01-12 20:54               ` Stefan Monnier
2009-01-12 22:13                 ` Eli Zaretskii
2009-01-12 22:27                   ` Glenn Morris
2009-01-13  4:01                     ` 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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=E1KGXeg-00053i-Rx@etlken.m17n.org \
    --to=handa@m17n.org \
    --cc=emacs-devel@gnu.org \
    --cc=jasonr@gnu.org \
    --cc=lekktu@gmail.com \
    /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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).