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: Thoughts on replacing macros with static inline functions Date: Fri, 18 Nov 2022 00:05:21 -0500 Message-ID: References: <83r0y4idy8.fsf@gnu.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="6454"; mail-complaints-to="usenet@ciao.gmane.io" Cc: pappasbrent@Knights.ucf.edu, emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Nov 18 06:06:22 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 1ovta2-0001Ru-3S for ged-emacs-devel@m.gmane-mx.org; Fri, 18 Nov 2022 06:06:22 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ovtZ6-0007GV-By; Fri, 18 Nov 2022 00:05:24 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ovtZ5-0007Fc-2w for emacs-devel@gnu.org; Fri, 18 Nov 2022 00:05:23 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ovtZ3-0001TM-UN; Fri, 18 Nov 2022 00:05:21 -0500 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=XJwokcUjAq8oJ6by07msJXtSXYGsakRsHrZe7C/KiQ0=; b=ozzv0OStBTzf wilSc+zL+P+nUbL1hbhFc12UnzcYG5Y6P292Q4UQ8bpi/PtKXU0TuntMQloPKaih/oKT/PgCagZuw eAL7Zqy6UoMH1ZMmqQA+I6ajPwEuElCnkR7PHajZGdZdgh1G+GJ4oqxCqojtwXxJyY+Us4run9dGI uqI9b31+xmQOR2tn+Tsv1+PA+CPi+xX9iLIlgr4PmLaxefRMVNT2BVvLLBCmyOJQRPXG417+Gxm93 cGeqBGGNOUU9yqD16bWQrGw8fzjg00mBvAqfVtrWlIVTbymY3ABt2cU7ycpHkqBU3NOShKKT0TtU6 W6A01j9fmd3YJ43Fq92ddw==; Original-Received: from rms by fencepost.gnu.org with local (Exim 4.90_1) (envelope-from ) id 1ovtZ3-0004on-Mj; Fri, 18 Nov 2022 00:05:21 -0500 In-Reply-To: <83r0y4idy8.fsf@gnu.org> (message from Eli Zaretskii on Tue, 15 Nov 2022 14:45:19 +0200) 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-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:300080 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. ]]] I agree -- there is nothing wrong with macros, and we should not make it or goal to eliminate the use of macros. Macros have pitfalls, which are consequences of their basic nature, but we know how to avoid them, and have documented the methods. The GNU C Language Introduction and Reference Manual advises users on how to deal with these and many other pitfalls of the C language. -- 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)