From: Dieter Wilhelm <dieter@duenenhof-wilhelm.de>
To: emacs-devel@gnu.org
Cc: help-gnu-emacs@gnu.org
Subject: possible bug in M-/ (dabbrev-expand)
Date: Sat, 21 Apr 2007 18:14:17 +0200 [thread overview]
Message-ID: <87slatg0x2.fsf__14344.9993491688$1177172136$gmane$org@debby.local.net> (raw)
Hi
I deemed it an especially good idea to have function which is
searching something in a buffer when there are changes to the content.
(GNU Emacs 22.0.95.1 (i486-pc-linux-gnu, GTK+ Version 2.8.20) of
2007-03-02 on pacem, modified by Debian.)
When I install such a function in the following way (for example in
the *scratch* buffer):
$ emacs -Q -D
(defun bla ( &optional a b c) ;dummy variables
(interactive)
(save-excursion
(re-search-forward "a" nil 'noerror)))
(add-hook 'after-change-functions 'bla nil t)
and I try to M-/ something at the buffer beginning, the cursor does
not remain after the expansion but skips somewhere into the buffer.
I'm not sure whether this is a bug of M-/ or this is just a stupid
approach to have such an functionality after a buffer change? It
would be nice if you could give me some advice before I submit a
possibly unnecessary bug report.
--
Best wishes
H. Dieter Wilhelm
Darmstadt, Germany
next reply other threads:[~2007-04-21 16:14 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-04-21 16:14 Dieter Wilhelm [this message]
2007-04-21 18:13 ` possible bug in M-/ (dabbrev-expand) Dieter Wilhelm
-- strict thread matches above, loose matches on Subject: below --
2007-04-21 16:14 Dieter Wilhelm
2007-04-23 1:31 ` Stefan Monnier
2007-04-23 20:01 ` Dieter Wilhelm
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='87slatg0x2.fsf__14344.9993491688$1177172136$gmane$org@debby.local.net' \
--to=dieter@duenenhof-wilhelm.de \
--cc=emacs-devel@gnu.org \
--cc=help-gnu-emacs@gnu.org \
/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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.