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
Message #32 received at 21072 <at> debbugs.gnu.org (full text, mbox):
On 2016-05-04, at 16:45, Eli Zaretskii <eliz <at> gnu.org> wrote:
>> From: Marcin Borkowski <mbork <at> mbork.pl>
>> Cc: rfflrccrd <at> gmail.com, 21072 <at> debbugs.gnu.org
>> Date: Tue, 03 May 2016 20:58:27 +0200
>>
>> > Me, I think that the current behavior is a kind of feature, since it
>> > lets the user control whether the leading commentary before a function
>> > will or won't be marked.
>>
>> I don't understand that. How do I control that?
>
> By invoking the command before or after the commentary that precedes a
> function.
Sorry, but I still don't get it. (I think this means at least that the
docs need rewording.) Take this text:
--8<---------------cut here---------------start------------->8---
(defun spam ()
(spam))
;; Lorem ipsum
(defun lorem-ipsum ()
"Lorem ipsum."
(message "Lorem ipsum."))
--8<---------------cut here---------------end--------------->8---
How do I place point so that `mark-defun' would mark `lorem-ipsum'
together with the comment before?
Best,
--
Marcin Borkowski
http://octd.wmi.amu.edu.pl/en/Marcin_Borkowski
Faculty of Mathematics and Computer Science
Adam Mickiewicz University
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.