From: Stefan Monnier <monnier@IRO.UMontreal.CA>
To: Fabian Ezequiel Gallina <galli.87@gmail.com>
Cc: Emacs-Devel devel <emacs-devel@gnu.org>
Subject: Re: imenu issue from Bug #13438
Date: Mon, 21 Jan 2013 20:07:31 -0500 [thread overview]
Message-ID: <jwvsj5u3u4a.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <CABq4mQujvYARk=EjugSi9AQ2t-h2GiTRFOZjpQSJNrK9vWkh5g@mail.gmail.com> (Fabian Ezequiel Gallina's message of "Mon, 21 Jan 2013 18:09:20 -0300")
> Here's a mindless quick patch that seems to fix the problem. I could
> install it myself but I'd like some input first.
Calling beginning-of-defun in such generic code is not an option,
because this function only works properly in those major modes that set
it up appropriately.
I think testing bobp makes more sense (and python's function should make
sure it eventually either returns nil or moves up to bob).
Stefan
next prev parent reply other threads:[~2013-01-22 1:07 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-01-21 21:09 imenu issue from Bug #13438 Fabian Ezequiel Gallina
2013-01-22 1:07 ` Stefan Monnier [this message]
2013-01-22 18:37 ` Fabian Ezequiel Gallina
2013-01-22 21:08 ` Stefan Monnier
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=jwvsj5u3u4a.fsf-monnier+emacs@gnu.org \
--to=monnier@iro.umontreal.ca \
--cc=emacs-devel@gnu.org \
--cc=galli.87@gmail.com \
/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).