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
[Message part 1 (text/plain, inline)]
On 2017-02-16, at 14:22, Stefan Monnier <monnier <at> iro.umontreal.ca> wrote:
>> Understood. Do you have then any better idea for the name of this
>> function? beginning-of-defun--incomment-line-p seems to specific,
>> in-comment-line-p _may_ be indeed too general.
>
> I'll let someone else decide if it deserves a "non-prefixed" name, but
> as for the name after the potential prefix, I think focusing on
> "comment" is the wrong idea. Maybe `insignificant-line-p`? Or `emptyish-line-p`?
OK, so I have renamed it and expanded the docstring. I attach
a corrected patch (the second one, the first one is the same as before).
Is there anything else I can do before we may apply this patch and
consider bug#21072 fixed?
(Notice that three places could be still corrected: two when bug#24427
is fixed and possibly another one when the strange behavior of
(beginning-of-defun 0) is fixed - I will officially file a bug about it
later. But these apparently will have to wait.)
Best,
--
Marcin Borkowski
[0002-Fix-bug-21072-and-rework-mark-defun.patch (text/x-diff, attachment)]
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.