all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: don@donarmstrong.com (Emacs bug Tracking System)
To: Chong Yidong <cyd@stupidchicken.com>
Subject: bug#851: marked as done (Takes several minutes to load 512k C header)
Date: Mon, 1 Sep 2008 11:45:03 -0700	[thread overview]
Message-ID: <handler.851.D851.122029426128842.ackdone@emacsbugs.donarmstrong.com> (raw)
In-Reply-To: 1220267774.4135.521.camel@linux-i64u.site

[-- Attachment #1: Type: text/plain, Size: 845 bytes --]


Your message dated Mon, 01 Sep 2008 14:39:54 -0400
with message-id <87iqtfg16t.fsf@cyd.mit.edu>
and subject line Re: Takes several minutes to load 512k C header
has caused the Emacs bug report #851,
regarding Takes several minutes to load 512k C header
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact don@donarmstrong.com
immediately.)


-- 
851: http://emacsbugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=851
Emacs Bug Tracking System
Contact don@donarmstrong.com with problems

[-- Attachment #2: Type: message/rfc822, Size: 63410 bytes --]

[-- Attachment #2.1.1: Type: text/plain, Size: 2757 bytes --]


	I try to load the attached file (when un-compressed). It's 512k of
text, but I have a fast multi-GHz machine with GBs of spare RAM etc. and
I can load 20+Mb .txt files in emacs just fine normally.

	Loading this generates several minutes of non-responsiveness.

	HTH,

		Michael.

In GNU Emacs 22.2.1 (i586-suse-linux-gnu, GTK+ Version 2.12.9)
 of 2008-06-07 on nepomuk
Windowing system distributor `The X.Org Foundation', version
11.0.10400090
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 -D_GNU_SOURCE -std=gnu89 -pipe -fno-strict-aliasing
-Wno-pointer-sign -Wno-unused-variable -Wno-unused-label
-Wno-unprototyped-calls -DSYSTEM_PURESIZE_EXTRA=55000
-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:
  show-paren-mode: t
  tooltip-mode: t
  tool-bar-mode: t
  mouse-wheel-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  unify-8859-on-encoding-mode: t
  utf-translate-cjk-mode: t
  auto-compression-mode: t
  column-number-mode: t
  line-number-mode: t
  transient-mark-mode: t
  abbrev-mode: t

Recent input:
C-x C-f C-a C-k / t m p <tab> h a n g . h <tab> <return> 
<return> <next> <next> <next> <next> <next> <C-end> 
C-x k <return> C-x C-f <up> <return> <down-mouse-1> 
<drag-mouse-1> q <up> q <down-mouse-1> <mouse-1> M-x 
e m a c s - r e p <tab> <backspace> <backspace> M-b 
M-b C-k r e m <backspace> p o r <tab> <return>

Recent messages:
For information about GNU Emacs and the GNU system, type C-h C-a.
Note: file is write protected
Loading cc-mode...
Loading advice...done
Loading cc-mode...done
Buffer is read-only: #<buffer hang.h>
Mark set
Note: file is write protected
Buffer is read-only: #<buffer hang.h> [2 times]
Loading emacsbug...done

-- 
 michael.meeks@novell.com  <><, Pseudo Engineer, itinerant idiot


[-- Attachment #2.1.2: hang.h.gz --]
[-- Type: application/x-gzip, Size: 43265 bytes --]

[-- Attachment #3: Type: message/rfc822, Size: 1640 bytes --]

From: Chong Yidong <cyd@stupidchicken.com>
To: martin rudalics <rudalics@gmx.at>
Cc: Michael Meeks <michael.meeks@novell.com>, 851-done@emacsbugs.donarmstrong.com
Subject: Re: Takes several minutes to load 512k C header
Date: Mon, 01 Sep 2008 14:39:54 -0400
Message-ID: <87iqtfg16t.fsf@cyd.mit.edu>

> It loads in a couple of seconds here.  Alan has tried to fix the
> handling of header files as discussed in this thread
>
> http://lists.gnu.org/archive/html/emacs-devel/2008-02/msg01613.html
>
> on 2008-03-07.  Can you check whether that fix made it into your
> Emacs?

Alan's fix isn't on the Emacs 22 branch, but it's too late to check it
in for Emacs 22.3, I think.

Michael: in the meantime, you could try to apply the patch to your
personal version of cc-engine.el (I believe it applies cleanly):

http://cvs.savannah.gnu.org/viewvc/emacs/lisp/progmodes/cc-engine.el?root=emacs&r1=1.56.2.10&r2=1.56.2.11&diff_format=c


      parent reply	other threads:[~2008-09-01 18:45 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <87iqtfg16t.fsf@cyd.mit.edu>
2008-09-01 11:16 ` bug#851: Takes several minutes to load 512k C header Michael Meeks
2008-09-01 17:30   ` martin rudalics
2008-09-01 18:45   ` Emacs bug Tracking System [this message]

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

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

  git send-email \
    --in-reply-to=handler.851.D851.122029426128842.ackdone@emacsbugs.donarmstrong.com \
    --to=don@donarmstrong.com \
    --cc=cyd@stupidchicken.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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.