From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/67443 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel,gmane.emacs.gnus.general Subject: Re: informat.el: `Info-split' split size Date: Thu, 25 Sep 2008 06:10:58 +0300 Message-ID: References: <87abfkmuko.fsf@jondo.cante.net> <86bpzlt5cq.fsf@lifelogs.com> <87prnut63f.fsf@catnip.gol.com> <86vdxlfdtn.fsf@lifelogs.com> <87zlmwoyvs.fsf@marauder.physik.uni-ulm.de> <86zlmvkg8p.fsf_-_@lifelogs.com> <86vdwxnmzf.fsf_-_@lifelogs.com> <8763ow9ssf.fsf@freemail.hu> <86iqswnr9w.fsf@lifelogs.com> <86bpykjefp.fsf@lifelogs.com> <87d4iuu0vc.fsf@marauder.physik.uni-ulm.de> <87r679qysj.fsf_-_@marauder.physik.uni-ulm.de> Reply-To: Eli Zaretskii NNTP-Posting-Host: lo.gmane.org X-Trace: ger.gmane.org 1222312342 22489 80.91.229.12 (25 Sep 2008 03:12:22 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 25 Sep 2008 03:12:22 +0000 (UTC) Cc: ding@gnus.org, emacs-devel@gnu.org To: Katsumi Yamaoka Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Sep 25 05:13:19 2008 connect(): Connection refused Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1KihI6-0002gh-DB for ged-emacs-devel@m.gmane.org; Thu, 25 Sep 2008 05:13:18 +0200 Original-Received: from localhost ([127.0.0.1]:53334 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KihH3-00040z-V8 for ged-emacs-devel@m.gmane.org; Wed, 24 Sep 2008 23:12:13 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KihGz-00040u-2K for emacs-devel@gnu.org; Wed, 24 Sep 2008 23:12:09 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KihGy-00040a-3o for emacs-devel@gnu.org; Wed, 24 Sep 2008 23:12:08 -0400 Original-Received: from [199.232.76.173] (port=45506 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KihGx-00040X-VM for emacs-devel@gnu.org; Wed, 24 Sep 2008 23:12:08 -0400 Original-Received: from mtaout5.012.net.il ([84.95.2.13]:34483) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KihGx-00023Q-Nk for emacs-devel@gnu.org; Wed, 24 Sep 2008 23:12:07 -0400 Original-Received: from HOME-C4E4A596F7 ([77.127.170.116]) by i_mtaout5.012.net.il (HyperSendmail v2004.12) with ESMTPA id <0K7Q00F7UE80BZB0@i_mtaout5.012.net.il> for emacs-devel@gnu.org; Thu, 25 Sep 2008 06:12:00 +0300 (IDT) In-reply-to: X-012-Sender: halo1@inter.net.il X-detected-operating-system: by monty-python.gnu.org: Solaris 9.1 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:104129 gmane.emacs.gnus.general:67443 Archived-At: > Date: Thu, 25 Sep 2008 08:58:06 +0900 > From: Katsumi Yamaoka > Cc: ding@gnus.org > > > ,----[ 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?