GNU bug report logs -
#21072
24.5; inconsistent behaviour of `C-M-h (mark-defun)' in Emacs Lisp
Previous Next
Reported by: Raffaele Ricciardi <rfflrccrd <at> gmail.com>
Date: Thu, 16 Jul 2015 06:13:01 UTC
Severity: minor
Found in version 24.5
Done: Marcin Borkowski <mbork <at> mbork.pl>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
> From: Marcin Borkowski <mbork <at> amu.edu.pl>
> Date: Mon, 25 Apr 2016 13:11:01 +0200
> Cc: 21072 <at> debbugs.gnu.org
>
> On 2015-07-16, at 08:12, Raffaele Ricciardi <rfflrccrd <at> gmail.com> wrote:
>
> > Dear Emacs maintainers,
> >
> > the documentation for `mark-defun' says:
> >
> > The defun marked is the one that contains point or follows point.
> >
> > However, Emacs may mark the preceding defun instead, and it may
> > mark an unrelated preceding comment along with the defun.
>
> Confirmed on GNU Emacs 25.1.50.8 (commit 912e915).
FWIW, I don't see why the behavior flagged "incorrect" is deemed
incorrect. It looks correct to me. In all of those examples point is
between 2 functions, so what exactly is "correct" is open to
discussion.
Am I missing something?
This bug report was last modified 8 years and 81 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.