all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Mathias Dahl <brakjoller@gmail.com>
Subject: Re: Problem with large buffers
Date: Fri, 22 Jul 2005 13:13:54 +0200	[thread overview]
Message-ID: <uoe8vgkjx.fsf@gmail.com> (raw)
In-Reply-To: m3oe8viglm.fsf@loki.cmears.id.au

Chris Mears <chris@cmears.id.au> writes:


> I have encountered a problem with large buffers in CVS Emacs.  When some
> commands are run on large-ish buffers Emacs seems to overflow some
> internal limit.
>
> Steps to reproduce:
>
> - emacs -q
> - C-x b a-big-buffer RET
> - M-: (dotimes (i 60000) (insert "hello world!\n"))
> - Move point to start of buffer
> - M-x replace-regexp RET w.* RET RET
>
> (replace-regexp is just an example; I have noticed the same problem
> occurring with other commands on large buffers.  M-x version gives "GNU
> Emacs 22.0.50.1 (i686-pc-linux-gnu, X toolkit, Xaw3d scroll bars) of
> 2005-07-22 on loki.cmears.id.au".)
>
> Emacs highlights the first "world!" that is about to replace, then in
> the echo area I see:
>
>   "Error in menu-bar-update-hook: (error Variable binding depth exceeds
>    max-specpdl-size)"
>
> The replacing begins to occur, but it is very slow and Emacs becomes
> rather unresponsive.  Can anyone else reproduce this?

On my system it worked well (i.e. all rows now says "hello"). This is
my setup:

GNU Emacs 22.0.50.2 (i386-mingw-nt5.1.2600) of 2005-04-17 on LAPTOP

Running on Windows XP.

  reply	other threads:[~2005-07-22 11:13 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-07-22  4:56 Problem with large buffers Chris Mears
2005-07-22 11:13 ` Mathias Dahl [this message]
2005-07-22 11:53 ` Chris Mears
2005-07-22 18:12   ` Juri Linkov
2005-07-22 22:51 ` Richard M. Stallman
2005-07-23  0:05   ` Chris Mears
2005-07-24  0:00     ` Richard M. Stallman

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=uoe8vgkjx.fsf@gmail.com \
    --to=brakjoller@gmail.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.