From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: jpff Newsgroups: gmane.emacs.bugs Subject: (no subject) Date: Thu, 07 Feb 2008 10:01:38 +0000 Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1202378608 3688 80.91.229.12 (7 Feb 2008 10:03:28 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 7 Feb 2008 10:03:28 +0000 (UTC) To: jpff@codemist.co.uk, bug-gnu-emacs@gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Feb 07 11:03:49 2008 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1JN3bJ-0001Ny-OI for geb-bug-gnu-emacs@m.gmane.org; Thu, 07 Feb 2008 11:03:26 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JN3ar-0004ft-43 for geb-bug-gnu-emacs@m.gmane.org; Thu, 07 Feb 2008 05:02:57 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JN3Zm-0004Om-La for bug-gnu-emacs@gnu.org; Thu, 07 Feb 2008 05:01:50 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JN3Zl-0004O6-Df for bug-gnu-emacs@gnu.org; Thu, 07 Feb 2008 05:01:49 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JN3Zl-0004Np-43 for bug-gnu-emacs@gnu.org; Thu, 07 Feb 2008 05:01:49 -0500 Original-Received: from rutherford.zen.co.uk ([212.23.3.142]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JN3Zj-0007Eh-Ri for bug-gnu-emacs@gnu.org; Thu, 07 Feb 2008 05:01:48 -0500 Original-Received: from [217.155.197.248] (helo=west.codemist.co.uk) by rutherford.zen.co.uk with esmtp (Exim 4.63) (envelope-from ) id 1JN3Zi-0005dt-Mf for bug-gnu-emacs@gnu.org; Thu, 07 Feb 2008 10:01:46 +0000 Original-Received: from cardew.codemist.co.uk ([172.16.4.17]) by west.codemist.co.uk with esmtp (Exim 4.69) (envelope-from ) id 1JN3Zi-0008Dy-3g; Thu, 07 Feb 2008 10:01:46 +0000 Original-Received: from jpff by cardew.codemist.co.uk with local (Exim 4.69) (envelope-from ) id 1JN3Za-0004dS-Ox; Thu, 07 Feb 2008 10:01:38 +0000 User-Agent: Heirloom mailx 12.2 01/07/07 X-Originating-Rutherford-IP: [217.155.197.248] X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3) X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:17492 Archived-At: Date: Thu, 7 Feb 2008 10:01:38 +0000 Message-Id: <3895-Thu07Feb2008100138+0000-jpff@codemist.co.uk> X-Mailer: emacs 22.1.1 (via feedmail 8 I) BCC: jpff@codemist.co.uk From: jpff To: bug-gnu-emacs@gnu.org Subject: More on RMAIL problem I am running rmail-mode under gdb. So far it has been running for 45 minutes at over 90% CPU. It seems to be in coding.c running the function detect_coding_system. This seems to be going through the mail file character at a time, but not very fast! src is currently 0xb48fe1f6 and src_end is 0xb4d89219 But sometime src seems to return to an earlier value when returning from detect_coding_iso_2022 (just now 0xb01e9c41) Have not understood the code but it looks like at least n^2 and my mail file is 97Mb Please, do I have to give up on emacs after 20 years? PS o=in src/coding.c line 2535 there is a typo codig->coding In GNU Emacs 22.1.1 (i586-suse-linux-gnu, GTK+ Version 2.12.0) of 2007-11-23 on dede Windowing system distributor `The X.Org Foundation', version 11.0.70200000 configured using `configure '--with-gcc' '--with-pop' '--without-hesiod' '--with-kerberos' '--with-kerberos5' '--with-leim' '--with-xim' '--with-system-malloc' '--prefix=/usr' '--infodir=/usr/share/info' '--mandir=/usr/share/man' '--localstatedir=/var' '--sharedstatedir=/var/lib' '--libexecdir=/usr/lib' '--with-x' '--with-sound' '--with-xpm' '--with-jpeg' '--with-tiff' '--with-gif' '--with-png' '--with-x-toolkit=gtk' '--x-includes=/usr/include' '--x-libraries=/usr/lib:/usr/share/X11' '--build=i586-suse-linux-gnu' 'build_alias=i586-suse-linux-gnu' 'CC=gcc' 'CFLAGS=-O2 -march=i586 -mtune=i686 -fmessage-length=0 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -g -pipe -fno-strict-aliasing -D_GNU_SOURCE -Wno-pointer-sign -Wno-unused-variable -Wno-unused-label -DSYSTEM_PURESIZE_EXTRA=5500 0 -DSITELOAD_PURESIZE_EXTRA=10000 ' 'LDFLAGS='' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: en_GB.UTF-8 locale-coding-system: utf-8 default-enable-multibyte-characters: t Major mode: C/l Minor modes in effect: auto-image-file-mode: t display-time-mode: t encoded-kbd-mode: t tooltip-mode: t mouse-wheel-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t unify-8859-on-encoding-mode: t utf-translate-cjk-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t abbrev-mode: t Recent input: * . c C-v C-v C-v C-x C-f l s i s p / m a i r m a i . e C-s b a b y l C-s C-s C-s C-s C-s C-a C-v C-v C-v C-s C-w C-w C-w C-w C-s C-a C-v C-x b M-x g r e p SPC * . c C-s C-w C-w C-w C-s C-s C-s C-s C-a C-x 1 C-x C-x M-v M-v M-v M-v M-v M-v M-v M-v C-v C-v C-v C-v C-v < C-u 2 7 4 0 C-n C-b M-m C-x k M-m r e p o r C-x k M-x r e p o r t - Recent messages: Loading vc-cvs...done Mark saved where search started [2 times] Mark set Loading cc-mode...done Loading imenu...done Mark saved where search started Mark set Auto save file for draft message exists; consider M-x mail-recover Making completion list... Loading emacsbug...done ==John ffitch