unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
Subject: Re: Defining your own defun breaks find-function-search-for-symbol
Date: Mon, 10 Apr 2006 14:41:55 -0400	[thread overview]
Message-ID: <jwvodz9qnsf.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <30417.1144454556@olgas.newt.com> (Bill Wohler's message of "Fri, 07 Apr 2006 17:02:36 -0700")

> We've (the MH-E team) developed mh-defun-compat (and mh-defmacro-compat)
[...]
> The problem is that if perform describe-function or describe-variable on
> the functions and variables that these functions define, and then click
> on the file in which they are defined, you get an error:

>   Cannot find definition of `mh-letter-fill-column' in library `mh-e.el'

I believe the patch below which I've just installed fixes the problem.


        Stefan


--- orig/lisp/emacs-lisp/find-func.el
+++ mod/lisp/emacs-lisp/find-func.el
@@ -229,7 +229,7 @@
 	    (goto-char (point-min))
 	    (if (or (re-search-forward regexp nil t)
 		    (re-search-forward
-		     (concat "^([^ ]+" find-function-space-re "['(]"
+		     (concat "^([^ ]+" find-function-space-re "['(]?"
 			     (regexp-quote (symbol-name symbol))
 			     "\\_>")
 		     nil t))

  parent reply	other threads:[~2006-04-10 18:41 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-04-08  0:02 Defining your own defun breaks find-function-search-for-symbol Bill Wohler
2006-04-08 22:34 ` Richard Stallman
2006-04-10  0:06   ` Bill Wohler
2006-04-10 18:26     ` Richard Stallman
2006-04-10 22:35       ` Bill Wohler
2006-04-11 16:57         ` Richard Stallman
2006-04-11 17:10           ` Bill Wohler
2006-04-10 18:41 ` Stefan Monnier [this message]
2006-04-10 21:34   ` Bill Wohler

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=jwvodz9qnsf.fsf-monnier+emacs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    /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 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).