From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: Don't move to eol in end-of-defun? Date: Thu, 04 Aug 2022 00:04:16 -0400 Message-ID: References: Reply-To: rms@gnu.org Content-Type: text/plain; charset=Utf-8 Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="32254"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: Filipp Gunbin Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Aug 04 06:05:40 2022 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oJS79-0008Dp-SA for ged-emacs-devel@m.gmane-mx.org; Thu, 04 Aug 2022 06:05:40 +0200 Original-Received: from localhost ([::1]:57630 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oJS78-00032U-Pi for ged-emacs-devel@m.gmane-mx.org; Thu, 04 Aug 2022 00:05:38 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:41144) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oJS5p-0001if-1M for emacs-devel@gnu.org; Thu, 04 Aug 2022 00:04:19 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:32948) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oJS5o-00087P-Ob; Thu, 04 Aug 2022 00:04:16 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=Date:References:Subject:In-Reply-To:To:From: mime-version; bh=EzjBPDoMX6+FXt3i35n6eRuVUHuXrisp96xc0wUv1bM=; b=QIs5KXzxZG2w 1GloTLxnGakUDa8uByg2JQQ6e2NjNQaciXk+jo2aHOpC8Dcw7CkpjWvA/u+nF5h+TMj3ntC/H7x7w yht4s2BtVBDCoeEVdix618mqRerdvpKVDU+GE/7X97g9htao8rtGlYYGVOCOtd7ZRb1H7fc0K0+k7 uy2XqmURfk3o/UyfBIGyWm45QNNFyE6WQsrngb4i3r4Wj17xEXNmi2G5owHCqFs/7d/f3v2rdkcGm G2UDJjRgvvJ3UsHzB0rMY7RVcd6t0ZK5YbNw9Hoax17H4QZv/Tu4t+5HqimDI2XED9H7nHWK+80wD 5ml9suOJjADT20sOo5e/fw==; Original-Received: from rms by fencepost.gnu.org with local (Exim 4.90_1) (envelope-from ) id 1oJS5o-0006Dj-HF; Thu, 04 Aug 2022 00:04:16 -0400 In-Reply-To: (message from Filipp Gunbin on Wed, 03 Aug 2022 15:37:24 +0300) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:293037 Archived-At: [[[ 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)