From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Mark Oteiza Newsgroups: gmane.emacs.devel Subject: Re: [Emacs-diffs] master 551594e: Add indent spec to easy-mmode macros Date: Thu, 28 Sep 2017 20:46:54 -0400 Message-ID: <20170929004654.yl7z4gzq6yxm2mdz@logos.localdomain> References: <20170928115443.21221.85942@vcs0.savannah.gnu.org> <20170928115444.536A4203B7@vcs0.savannah.gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: blaine.gmane.org 1506646031 30963 195.159.176.226 (29 Sep 2017 00:47:11 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 29 Sep 2017 00:47:11 +0000 (UTC) User-Agent: NeoMutt/20170912-48-0df7d3-dirty Cc: emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Sep 29 02:47:07 2017 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dxjSM-0007gd-GJ for ged-emacs-devel@m.gmane.org; Fri, 29 Sep 2017 02:47:06 +0200 Original-Received: from localhost ([::1]:33187 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dxjST-0007K8-J6 for ged-emacs-devel@m.gmane.org; Thu, 28 Sep 2017 20:47:13 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:43449) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dxjSI-0007K3-2o for emacs-devel@gnu.org; Thu, 28 Sep 2017 20:47:02 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dxjSF-0000bS-21 for emacs-devel@gnu.org; Thu, 28 Sep 2017 20:47:02 -0400 Original-Received: from mail-qk0-x22b.google.com ([2607:f8b0:400d:c09::22b]:56201) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dxjSE-0000a6-Rf for emacs-devel@gnu.org; Thu, 28 Sep 2017 20:46:58 -0400 Original-Received: by mail-qk0-x22b.google.com with SMTP id q8so3116403qkl.12 for ; Thu, 28 Sep 2017 17:46:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=udel-edu.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=5QeNqZfnRe4P2B/cyeiIjEIgPNwvkGwVWw7MIVTu7kM=; b=gmiSKAFlIqaLbJN9kt0Irp8C9mIMCLBJWQ8AwwHp6+/7hgZKtcMO31Qfnd61cugxr4 wRQfsNAWvvXlKAJNsK/tZsiYs3LfwEAXWy48xSv7i9jCZgrxp/uzCihaPICn6K4tI2/a C3tMpPgt8X3NzXoBV33/gWoWoB1hgsPa2FAe9c7xslIvwDPd/9fQ5xe2rOTOM3PjrxM5 9g7gYQR8U4zajBTceF5qJID6gBAhwARf7rGo78zjkZZAdSvfWcP91PrQMgVmD5MizYJ2 7q+xxlfPQDRofUHmRR8p5dmGipkNHDSSMt/aH0rjSk5Z1O6iA/kbKmxxLgbO2a3ppBvU uZTw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=5QeNqZfnRe4P2B/cyeiIjEIgPNwvkGwVWw7MIVTu7kM=; b=mrBheAReyoSZUIXI11tQC97/HHEviU9uRFwANT/Vd4yXNv9agNu9BTh5bPHNHZHxrz ZpoCvKGMCDEObI8p6H69fcqOtrN8ORIedYwhri0wfiJDX3/q0BleiZoMTT8jnNL0LZit ewbVgX2FMjjrwoHC8yPG5DI58BGGt3n2Ji1a4/wk1z3p2TshYURWlhgfe1CY6+TL6Rv+ c2d4w873vBoZeFTafVChRWswfxmHgUFFCXOMvTl0PtsGORHVQhQcPjpMrRrAVhKEi6Fj kFOD1CQs0S/tPlNhqdo8DrybQ/iPEbThGCKAkgX0hD4gKnMFtL0hgmj31UHL/pf+CstU R1Uw== X-Gm-Message-State: AMCzsaXf9+lCtACjLsxIKG7ud6FO+zMjuhOMGm3UM1GPhYHs9wctIcyu +02Vj2D/wqandlCgwMD90RG5Nw== X-Google-Smtp-Source: AOwi7QAAsFUi7oACYJry5UoJW4h+QGaabTxbCbLHDzFWti7dkDuCz2HbwCUaNwO5jRAjl07uA8OqcA== X-Received: by 10.55.99.88 with SMTP id x85mr1113974qkb.258.1506646016697; Thu, 28 Sep 2017 17:46:56 -0700 (PDT) Original-Received: from logos.localdomain (pool-173-67-36-61.bltmmd.fios.verizon.net. [173.67.36.61]) by smtp.gmail.com with ESMTPSA id i41sm1966577qta.23.2017.09.28.17.46.55 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 28 Sep 2017 17:46:55 -0700 (PDT) Content-Disposition: inline In-Reply-To: X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:400d:c09::22b X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 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.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:218876 Archived-At: On 28/09/17 at 08:38am, Stefan Monnier wrote: > > Ideally these macros should expand to the proper code instead of > > relegating all the work to a function call. > > FWIW, I tend to > disagree: it's usually preferable to keep the macro part to a minimum > (handling the syntax), and to keep as much as possible in functions. I see, thanks. I tend towards macros that expand to efficient code and eliminate runtime dependencies; however, like all things it's a trade off, be it code size, macroexpansion speed, etc.