From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Chris Mooooore Newsgroups: gmane.emacs.bugs Subject: infinite loop in help-make-xrefs (help.el) Date: Sat, 19 Apr 2003 22:27:17 +0000 Sender: bug-gnu-emacs-bounces+gnu-bug-gnu-emacs=m.gmane.org@gnu.org Message-ID: <3EA1CD45.5070405@seznam.cz> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Trace: main.gmane.org 1050791717 5227 80.91.224.249 (19 Apr 2003 22:35:17 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sat, 19 Apr 2003 22:35:17 +0000 (UTC) Original-X-From: bug-gnu-emacs-bounces+gnu-bug-gnu-emacs=m.gmane.org@gnu.org Sun Apr 20 00:35:15 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1970vS-0001Lr-00 for ; Sun, 20 Apr 2003 00:35:14 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 1970vt-0004sw-04 for gnu-bug-gnu-emacs@m.gmane.org; Sat, 19 Apr 2003 18:35:41 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 1970vX-0004Rl-00 for bug-gnu-emacs@gnu.org; Sat, 19 Apr 2003 18:35:19 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 1970vG-0003X9-00 for bug-gnu-emacs@gnu.org; Sat, 19 Apr 2003 18:35:07 -0400 Original-Received: from smtp.seznam.cz ([212.80.76.43] helo=email.seznam.cz) by monty-python.gnu.org with smtp (Exim 4.10.13) id 1970vA-0000rM-00 for bug-gnu-emacs@gnu.org; Sat, 19 Apr 2003 18:34:56 -0400 Original-Received: (qmail 11651 invoked from network); 19 Apr 2003 22:27:30 -0000 Original-Received: from ppp345.praha.worldonline.cz (HELO seznam.cz) (212.11.98.100) by smtp.seznam.cz with SMTP; 19 Apr 2003 22:27:30 -0000 User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4a) Gecko/20030401 X-Accept-Language: en, en-us, cs Original-To: bug-gnu-emacs@gnu.org X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Bug reports for GNU Emacs, the Swiss army knife of text editors List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: bug-gnu-emacs-bounces+gnu-bug-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.bugs:4841 X-Report-Spam: http://spam.gmane.org/gmane.emacs.bugs:4841 In GNU Emacs 21.2.1 (i386-msvc-nt5.1.2600) of 2002-03-19 on buffy configured using `configure --with-msvc (12.00)' 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: ENG locale-coding-system: iso-latin-1 default-enable-multibyte-characters: t If you define a function which starts like this: (defun my-function () "This is my function. And this is dired-mode-map: \\{dired-mode-map}." (message "hello")) ie. with a \\{some-map} in the last line of the documentation, then trying to describe-function on that function causes Emacs to enter an infinite loop in help-make-xrefs, in help.el. The loop condition is based on (not (looking-at "\n\\s-*\n")) - ie. it expects the keymap to be followed by a line of just whitespace, followed by a newline. If the keymap is the last thing in the documentation of the function then the looking-at is never satisfied. Chris.