unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Problem with large buffers
@ 2005-07-22  4:56 Chris Mears
  2005-07-22 11:13 ` Mathias Dahl
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Chris Mears @ 2005-07-22  4:56 UTC (permalink / raw)


Hi,

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?

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2005-07-24  0:00 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-07-22  4:56 Problem with large buffers Chris Mears
2005-07-22 11:13 ` Mathias Dahl
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

Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).