From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#19393: 25.0.50; Emacs cannot determine coding system of ISO-8859 encoded files Date: Thu, 18 Dec 2014 19:34:09 +0200 Message-ID: <83tx0suajy.fsf@gnu.org> References: <87sigfpqmx.fsf@thinkpad-t440p.tsdh.org> <85oar3xwc1.fsf@iznogoud.viz> <871tnzs7y6.fsf@thinkpad-t440p.tsdh.org> <85mw6m4aqs.fsf@iznogoud.viz> <83zjamuvgf.fsf@gnu.org> <85egry464g.fsf@iznogoud.viz> <83y4q6us1v.fsf@gnu.org> <85bnn1pvr1.fsf@iznogoud.viz> <83388dudvt.fsf@gnu.org> <85vbl8nce4.fsf@iznogoud.viz> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1418924125 9347 80.91.229.3 (18 Dec 2014 17:35:25 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 18 Dec 2014 17:35:25 +0000 (UTC) Cc: 19393@debbugs.gnu.org To: Wolfgang Jenkner Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Dec 18 18:35:17 2014 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Y1eyq-0002F9-UG for geb-bug-gnu-emacs@m.gmane.org; Thu, 18 Dec 2014 18:35:17 +0100 Original-Received: from localhost ([::1]:55097 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y1eyq-0003cW-6S for geb-bug-gnu-emacs@m.gmane.org; Thu, 18 Dec 2014 12:35:16 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:48177) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y1eyj-0003a8-0q for bug-gnu-emacs@gnu.org; Thu, 18 Dec 2014 12:35:14 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Y1eyd-0007XT-M3 for bug-gnu-emacs@gnu.org; Thu, 18 Dec 2014 12:35:08 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:41073) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y1eyd-0007XB-Ja for bug-gnu-emacs@gnu.org; Thu, 18 Dec 2014 12:35:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1Y1eyd-0005GK-0T for bug-gnu-emacs@gnu.org; Thu, 18 Dec 2014 12:35:03 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 18 Dec 2014 17:35:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 19393 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: notabug Original-Received: via spool by 19393-submit@debbugs.gnu.org id=B19393.141892405720159 (code B ref 19393); Thu, 18 Dec 2014 17:35:02 +0000 Original-Received: (at 19393) by debbugs.gnu.org; 18 Dec 2014 17:34:17 +0000 Original-Received: from localhost ([127.0.0.1]:50439 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Y1ext-0005F4-4u for submit@debbugs.gnu.org; Thu, 18 Dec 2014 12:34:17 -0500 Original-Received: from mtaout25.012.net.il ([80.179.55.181]:57451) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Y1exr-0005Es-Fd for 19393@debbugs.gnu.org; Thu, 18 Dec 2014 12:34:16 -0500 Original-Received: from conversion-daemon.mtaout25.012.net.il by mtaout25.012.net.il (HyperSendmail v2007.08) id <0NGS00800GF5LN00@mtaout25.012.net.il> for 19393@debbugs.gnu.org; Thu, 18 Dec 2014 19:30:01 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by mtaout25.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NGS003HOGM0CK60@mtaout25.012.net.il>; Thu, 18 Dec 2014 19:30:01 +0200 (IST) In-reply-to: <85vbl8nce4.fsf@iznogoud.viz> X-012-Sender: halo1@inter.net.il X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:97531 Archived-At: > From: Wolfgang Jenkner > Cc: 19393@debbugs.gnu.org > Date: Thu, 18 Dec 2014 17:36:19 +0100 > > On Thu, Dec 18 2014, Eli Zaretskii wrote: > > >> - cygwin|mingw32|freebsd|irix6-5) use_mmap_for_buffers=yes ;; > >> + cygwin|mingw32|irix6-5) use_mmap_for_buffers=yes ;; > [...] > >> However, this still took around 10 minutes (I tested with emacs -Q in > >> both cases, of course). > > > > That's expected: when you disable mmap, Emacs uses ralloc.c, which > > still has this problem. > > Shouldn't other systems for which the native malloc is not used have > a similar problem then? There are almost none of them. But yes, those which do should have a similar problem. > > Btw, is this with the compressed file or after decompressing it? My > > guess is the former. > > No, with the uncompressed file. Then it's probably some inefficiency in insert-file-contents, when it is called to revert a buffer. If you have time, please take a look what happens there, I suspect we reallocate the buffer in very small chunks, instead of doing it with larger increments. (With compressed files, it's hard to do, because the size of the uncompressed file is not known in advance.) Thanks.