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: Indentation of def* Date: Wed, 27 Oct 2021 10:37:01 -0400 Message-ID: References: <878ryw1ptl.fsf@gnus.org> <87czo2lq0d.fsf@gnus.org> <87v91s876d.fsf@gnus.org> <87ee8gnlar.fsf@gnus.org> <87bl3ea76o.fsf@gnus.org> 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="32440"; mail-complaints-to="usenet@ciao.gmane.io" Cc: larsi@gnus.org, stefankangas@gmail.com, emacs-devel@gnu.org To: =?iso-8859-1?Q?Jo=C3=A3o_T=C3=A1vora?= Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Oct 27 17:22:08 2021 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 1mfkkh-0008EU-JT for ged-emacs-devel@m.gmane-mx.org; Wed, 27 Oct 2021 17:22:07 +0200 Original-Received: from localhost ([::1]:37572 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mfkkg-0005nu-GP for ged-emacs-devel@m.gmane-mx.org; Wed, 27 Oct 2021 11:22:06 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:49994) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mfk33-0000Qz-UR for emacs-devel@gnu.org; Wed, 27 Oct 2021 10:37:02 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:38730) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mfk33-0001il-Jb; Wed, 27 Oct 2021 10:37:01 -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=fDjLExjpVpRkcBMuXqWGtrKcd5BvFP4vJ4xKHOoTssg=; b=GPeaZOvc22T6 qHkrahyB5XB0WnR0ha7drGy4p8zTyx7q80vKV9Abm6Ldmp1oId+zkrz0+5T1NaSITZ/38XZVIDU3u Nx7wa4Br40TLR/im24l7WCkAlpvxQ+NB7BS2YX3HxiSZmbdisSUtuqciQOuJkSusKiUhDlxwhRKjI MgeDHyp0btbnrkE+mqN0Y5KgwWcjaJlgBXes7I8AMiMQiY3FDWZ85D/0ScNo2a+hD4OFPEd9JvrG3 ZzY1IlKRRp54BTY8hV90fVnbLKGAGYJDE0WzjDN1g+KUDo0Xbj5RUKo7ildzjwjlYc7WGxrmM6Blk yiGnkQm6B5OkJDbRGCUXZg==; Original-Received: from rms by fencepost.gnu.org with local (Exim 4.90_1) (envelope-from ) id 1mfk33-0002sx-Bw; Wed, 27 Oct 2021 10:37:01 -0400 In-Reply-To: (message from =?iso-8859-1?Q?Jo=C3=A3o_T=C3=A1vora?= on Sun, 24 Oct 2021 16:19:54 +0100) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 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:277978 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. ]]] > So, instead of killing the heuristic altogether, why shouldn't > we adjust it so that it has less false positives? In fact I think > if we tweak the heuristic to only apply to macro definitions > it will probably have zero false positives. Is it possible to override the heuristic with an indentation property that specifies "treat it like any other function"? -- 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)