emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: informat.el: `Info-split' split size


From: Eli Zaretskii
Subject: Re: informat.el: `Info-split' split size
Date: Thu, 25 Sep 2008 06:10:58 +0300

> Date: Thu, 25 Sep 2008 08:58:06 +0900
> From: Katsumi Yamaoka <address@hidden>
> Cc: address@hidden
> 
> > ,----[ <f1> f Info-split RET ]
> >| Info-split is an interactive autoloaded Lisp function in `informat'.
> >| (Info-split)
> >|
> >| Split an info file into an indirect file plus bounded-size subfiles.
> >| Each subfile will be up to 50,000 characters plus one node. [...]
> > `----
> 
> > I think the threshold should not be hard-coded and it's default should
> > be like makeinfo's so that we don't need such workarounds:
> 
> >> A workaround I added to the Japanese edition of the Gnus Info is:
> [...]
> >>   (require 'informat)
> >>   (let* ((fn (symbol-function 'Info-split))
> >>        (fns (prin1-to-string fn)))
> >>     (when (string-match "\\([\t\n ]+\\)50000\\([\t\n ]+\\)" fns)
> >>       (condition-case nil
> >>         (fset 'Info-split (read (replace-match "\\1200000\\2" nil nil 
> >> fns)))
> >>       (error
> >>        (fset 'Info-split fn)))))
> 
> Thank you for following it up.  How about the attached patch?
> While the threshold of makeinfo is 30000, I tried it with some
                                     ^^^^^
You mean 300000, right?




reply via email to

[Prev in Thread] Current Thread [Next in Thread]