[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Don't move to eol in end-of-defun?
From: |
Richard Stallman |
Subject: |
Re: Don't move to eol in end-of-defun? |
Date: |
Thu, 04 Aug 2022 00:04:16 -0400 |
[[[ To any NSA and FBI agents reading my email: please consider ]]]
[[[ whether defending the US Constitution against all enemies, ]]]
[[[ foreign or domestic, requires you to follow Snowden's example. ]]]
> Yes, that will be the behavior. This post and example were about moving
> over the braces vs. moving into them, and <4> will really be on blank
> line between defuns.
We may be partly miscommunicating. With other languages, such as
Lisp, C-M-e moves to the blank line after the defun from _anywhere_
inside the defun. (Except in weird cases, such as this,
(defun foo (a b)
x y z))
where the extra closeparen after the defun means the only valid place
to stop is before the extra closeparen.)
You're planning to break that rule, right?
I think that this rule behavior will be useful in other languages too;
maybe breaking it is not a good idea.
--
Dr Richard Stallman (https://stallman.org)
Chief GNUisance of the GNU Project (https://gnu.org)
Founder, Free Software Foundation (https://fsf.org)
Internet Hall-of-Famer (https://internethalloffame.org)
- Re: Don't move to eol in end-of-defun?, Alan Mackenzie, 2022/08/01
- Re: Don't move to eol in end-of-defun?, Richard Stallman, 2022/08/02
- Re: Don't move to eol in end-of-defun?, Filipp Gunbin, 2022/08/03
- Re: Don't move to eol in end-of-defun?,
Richard Stallman <=
- Re: Don't move to eol in end-of-defun?, Filipp Gunbin, 2022/08/04
- Re: Don't move to eol in end-of-defun?, Richard Stallman, 2022/08/05
- Re: Don't move to eol in end-of-defun?, Alan Mackenzie, 2022/08/06
- Re: Don't move to eol in end-of-defun?, Richard Stallman, 2022/08/07
- Re: Don't move to eol in end-of-defun?, Filipp Gunbin, 2022/08/08