unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* infinite loop in help-make-xrefs (help.el)
@ 2003-04-19 22:27 Chris Mooooore
  0 siblings, 0 replies; only message in thread
From: Chris Mooooore @ 2003-04-19 22:27 UTC (permalink / raw)


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.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2003-04-19 22:27 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-04-19 22:27 infinite loop in help-make-xrefs (help.el) Chris Mooooore

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).