[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#21072: 24.5; inconsistent behaviour of `C-M-h (mark-defun)' in Emacs
From: |
Marcin Borkowski |
Subject: |
bug#21072: 24.5; inconsistent behaviour of `C-M-h (mark-defun)' in Emacs Lisp |
Date: |
Fri, 06 May 2016 14:27:49 +0200 |
User-agent: |
mu4e 0.9.13; emacs 25.1.50.9 |
On 2016-05-04, at 16:45, Eli Zaretskii <eliz@gnu.org> wrote:
>> From: Marcin Borkowski <mbork@mbork.pl>
>> Cc: rfflrccrd@gmail.com, 21072@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
- bug#21072: 24.5; inconsistent behaviour of `C-M-h (mark-defun)' in Emacs Lisp, Eli Zaretskii, 2016/05/01
- bug#21072: 24.5; inconsistent behaviour of `C-M-h (mark-defun)' in Emacs Lisp, Marcin Borkowski, 2016/05/01
- bug#21072: 24.5; inconsistent behaviour of `C-M-h (mark-defun)' in Emacs Lisp, Eli Zaretskii, 2016/05/01
- bug#21072: 24.5; inconsistent behaviour of `C-M-h (mark-defun)' in Emacs Lisp, Marcin Borkowski, 2016/05/01
- bug#21072: 24.5; inconsistent behaviour of `C-M-h (mark-defun)' in Emacs Lisp, Eli Zaretskii, 2016/05/01
- bug#21072: 24.5; inconsistent behaviour of `C-M-h (mark-defun)' in Emacs Lisp, Marcin Borkowski, 2016/05/03
- bug#21072: 24.5; inconsistent behaviour of `C-M-h (mark-defun)' in Emacs Lisp, Eli Zaretskii, 2016/05/04
- bug#21072: 24.5; inconsistent behaviour of `C-M-h (mark-defun)' in Emacs Lisp,
Marcin Borkowski <=
- bug#21072: 24.5; inconsistent behaviour of `C-M-h (mark-defun)' in Emacs Lisp, Eli Zaretskii, 2016/05/06
- bug#21072: 24.5; inconsistent behaviour of `C-M-h (mark-defun)' in Emacs Lisp, Marcin Borkowski, 2016/05/06
- bug#21072: 24.5; inconsistent behaviour of `C-M-h (mark-defun)' in Emacs Lisp, Drew Adams, 2016/05/07
- bug#21072: 24.5; inconsistent behaviour of `C-M-h (mark-defun)' in Emacs Lisp, Eli Zaretskii, 2016/05/07