emacs-pretest-bug
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Subject: Emacs CVS loops on evaluation of badly formed Elisp code


From: Richard M. Stallman
Subject: Re: Subject: Emacs CVS loops on evaluation of badly formed Elisp code
Date: Fri, 01 Jul 2005 00:04:02 -0400

    2) Put this code in a buffer:

    (defun url-dl-callback-save(to-file url)
      (when (= 0 (buffer-size)) (url-dl-do-redir)))
      (goto-char (point-min))
      (let ((redirsts (search-forward-regexp 
    "\\(300\\|301\\|302\\|307\\|303\\)" 20 t)))
        ))

    3) M-x eval-buffer

    => Emacs loops.

That's because it executes (goto-char (point-min))
and starts reading again from the beginning.
It is not an Emacs bug.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]