From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: =?UTF-8?B?Sm/Do28gVMOhdm9yYQ==?= Newsgroups: gmane.emacs.devel Subject: Re: Indentation of def* Date: Sun, 24 Oct 2021 19:36:27 +0100 Message-ID: References: <878ryw1ptl.fsf@gnus.org> <87czo2lq0d.fsf@gnus.org> <87v91s876d.fsf@gnus.org> <87ee8gnlar.fsf@gnus.org> <87bl3ea76o.fsf@gnus.org> <87o87e747k.fsf@gnus.org> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="000000000000728e9305cf1d866b" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="12059"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel , Stefan Kangas , Richard Stallman To: Lars Ingebrigtsen Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Oct 24 20:38:24 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 1meiO0-0002wN-Br for ged-emacs-devel@m.gmane-mx.org; Sun, 24 Oct 2021 20:38:24 +0200 Original-Received: from localhost ([::1]:58810 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1meiNz-0002Lz-BT for ged-emacs-devel@m.gmane-mx.org; Sun, 24 Oct 2021 14:38:23 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:38404) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1meiMQ-0000SH-11 for emacs-devel@gnu.org; Sun, 24 Oct 2021 14:36:47 -0400 Original-Received: from mail-pj1-x1030.google.com ([2607:f8b0:4864:20::1030]:34462) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1meiMM-0005QY-DZ; Sun, 24 Oct 2021 14:36:45 -0400 Original-Received: by mail-pj1-x1030.google.com with SMTP id q2-20020a17090a2e0200b001a0fd4efd49so10154969pjd.1; Sun, 24 Oct 2021 11:36:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=C7WcVtn8ynoXlp0I2xeH6wgb3euj5cme2NNtJ0QyVyU=; b=kwe+UJfmFiK2Lc4QSDu6BPoXfSziLOBbJd9BEWpvTTYl3s3j7UI+SZcahUuNA0VYDi AKD9pNJU88OtVIaqRUukYODNR/hrLbW9Jw8Ec10iG83SoOC9cmkeSHWcMJq6K0Tkal3h xgR4DBW89QwBThpabY/yHtzT7pkCo8OvtwR9BMHgNaMW5NPATTLhU3VB6qQKUGQlyRxb qyirg+KuyJhPTzPDP/+4Y2Nr2I2DnGANBHrm5onHKNzP6a1DKcZCkTTKSU2ThhqFbmvl eQC4in6uMw9KUurC9+rHEx5+fzJxIRQDcVqfjBzhPSse2aPZWSuLUvuzPVy9kZH2pIHy qlhw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=C7WcVtn8ynoXlp0I2xeH6wgb3euj5cme2NNtJ0QyVyU=; b=h+IWBE9qrgU0PcXU+H6H6J3zZv2aAcs+YPPS9jxfODd4loOPHL8r+EWWqYJrQ7b+WR +s8ytq0XbQgJipXa73p42VClcZTOW+BNFYDv30cIhXuZFwIixvIJsnA6JmVbAGGNMh2w mqTTQ1YLycw+rb9RCQuPK2eFC5tWjDIz5zdr40h7CSi0tBN/euAeVJ8+5hn5cJFJ9/PQ SNwCt8BWovwTopnlPjThVd15NuM2G/7i4uHxZsnROnuKFHbrakd7bOFpoaJ+GU3j1Dn1 v9jclAvvJAyraZrSiWyzJhiAho+IKVNdr47IjbleVqziTy35MofA2HZEAmzAxTzhigFA LIBw== X-Gm-Message-State: AOAM530fA62X/dVk85nQW9XOvYiV5jINzHq6euURXdYcfJJGzP7s518t 0tW41FR+IzEed3C6N4obusAl59nHBHPzFPKuO4w= X-Google-Smtp-Source: ABdhPJwnK/5QHbzwKoT4ryWl4zKyosfl4/2WtYu/JWGDEfC03r4k3ccjl4YxIQkVlURFhu+tqLNWoUrVrBQI3XY7jn0= X-Received: by 2002:a17:90a:2acf:: with SMTP id i15mr25506041pjg.91.1635100600208; Sun, 24 Oct 2021 11:36:40 -0700 (PDT) In-Reply-To: <87o87e747k.fsf@gnus.org> Received-SPF: pass client-ip=2607:f8b0:4864:20::1030; envelope-from=joaotavora@gmail.com; helo=mail-pj1-x1030.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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:277677 Archived-At: --000000000000728e9305cf1d866b Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Sun, Oct 24, 2021, 17:55 Lars Ingebrigtsen wrote: > Jo=C3=A3o T=C3=A1vora writes: > > > Unless I'm mistaken there are NO macros whose name starts 'def' for > > which we DON'T want to indent their uses like a `defun`. > > As I've said repeatedly, you are mistaken. There's > `define-thing-chars', for instance. > Ok. Finally an example. It's that a macro? If so, it's the first time you provide an example. This is why I asked you for data earlier. Then i'd day say to add a debug spec to define-thing-chars. Probably you already did. Doesn't change my point. Even ifyou're holding on to a bunch more of these examples (are you?), there's still the fact that you're breaking indentation of out-of-tree code. Jo=C3=A3o > --000000000000728e9305cf1d866b Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Sun, Oct 24, 2021, 17:55 Lars Ingebrigtsen <larsi@gnus.org> wrote:
Jo=C3=A3o T=C3=A1vora <joaotavora@gmail.com> w= rites:

> Unless I'm mistaken there are NO macros whose name starts 'def= ' for
> which we DON'T want to indent their uses like a `defun`.

As I've said repeatedly, you are mistaken.=C2=A0 There's
`define-thing-chars', for instance.

Ok. Finally an example. It's tha= t a macro? If so, it's the first time you provide an example. This is w= hy I asked you for data earlier.

Then i'd day say to add a debug spec to define-thing-chars.= =C2=A0 Probably you already did.=C2=A0

Doesn't change my point. Even ifyou're holding on to= a bunch more of these examples (are you?), there's still the fact that= you're breaking indentation of out-of-tree code.

Jo=C3=A3o
--000000000000728e9305cf1d866b--