From: Marcin Borkowski <mbork@mbork.pl>
To: Eli Zaretskii <eliz@gnu.org>
Cc: 25015@debbugs.gnu.org, 25015-done@debbugs.gnu.org
Subject: bug#25015: 26.0.50; beginning-of-defun-raw goes too far
Date: Thu, 24 Nov 2016 22:18:28 +0100 [thread overview]
Message-ID: <877f7sr2zf.fsf@mbork.pl> (raw)
In-Reply-To: <83d1hk6cga.fsf@gnu.org>
On 2016-11-24, at 17:59, Eli Zaretskii <eliz@gnu.org> wrote:
>> From: Marcin Borkowski <mbork@mbork.pl>
>> Date: Thu, 24 Nov 2016 14:03:30 +0100
>>
>> consider this in an Elisp-mode buffer:
>>
>> --8<---------------cut here---------------start------------->8---
>> ;; Comment header
>>
>> -!-(defun func-1 (arg)
>> "docstring"
>> body)
>> --8<---------------cut here---------------end--------------->8---
>>
>> (-!- means the point).
>
> This means point is actually _before_ the function, right?
Now that I think of it... yes.
>> Type M-x beginning-of-defun-raw. The point moves to the beginning
>> of buffer instead of staying where it is.
>
> Do you still think it's a problem?
Yes and no. I can see now that this is not necessarily a bug. OTOH, if
you now press M-h instead of e.g. C-M-a, you will see why I considered
this a problem. (And this is in stock mark-defun; my version has the
same problem, I'll have to think how to deal with it.)
I'm thus closing this, and sorry for the noise.
--
Marcin Borkowski
prev parent reply other threads:[~2016-11-24 21:18 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-11-24 13:03 bug#25015: 26.0.50; beginning-of-defun-raw goes too far Marcin Borkowski
2016-11-24 16:59 ` Eli Zaretskii
2016-11-24 17:18 ` Andreas Röhler
2016-11-24 21:18 ` Marcin Borkowski [this message]
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=877f7sr2zf.fsf@mbork.pl \
--to=mbork@mbork.pl \
--cc=25015-done@debbugs.gnu.org \
--cc=25015@debbugs.gnu.org \
--cc=eliz@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.