From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Zelphir Kaltstahl Newsgroups: gmane.lisp.guile.user Subject: Re: Indentation with inline comments in Emacs Date: Sun, 17 Apr 2022 10:49:21 +0000 Message-ID: <591cc2fe-6aec-37f4-4eb5-170c713b8ac1@posteo.de> References: <675f8207-b178-6cbf-24a0-6e4e53a057f2@posteo.de> <2BCF2B67-B2D8-480F-BA1C-D9A8580914FB@korwin-zmijowski.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="30412"; mail-complaints-to="usenet@ciao.gmane.io" To: guile-user@gnu.org Original-X-From: guile-user-bounces+guile-user=m.gmane-mx.org@gnu.org Sun Apr 17 12:49:55 2022 Return-path: Envelope-to: guile-user@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 1ng2Tb-0007nM-8j for guile-user@m.gmane-mx.org; Sun, 17 Apr 2022 12:49:55 +0200 Original-Received: from localhost ([::1]:35020 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ng2TZ-0008UD-Oc for guile-user@m.gmane-mx.org; Sun, 17 Apr 2022 06:49:53 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:34758) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ng2TA-0008U3-R2 for guile-user@gnu.org; Sun, 17 Apr 2022 06:49:30 -0400 Original-Received: from mout02.posteo.de ([185.67.36.66]:55419) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ng2T8-0006VV-NO for guile-user@gnu.org; Sun, 17 Apr 2022 06:49:28 -0400 Original-Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 6CA8A240109 for ; Sun, 17 Apr 2022 12:49:23 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.de; s=2017; t=1650192563; bh=AhapdRPMf188ToJu97AnC7V+0FEh2u97mOyHNK4qNMY=; h=Date:Subject:To:From:From; b=Rycs5rqlsuK62nFVN2w2b1c/qtUaORLJm0n1rhBmhBViPI/axn1Tb/gppyVhC3/tz GG0VUpvotPN6GSCTZi/NAWj+Z8NCdGzNgNT58yw5ChIU723i0HBbA02QxXDfF2dP47 1SRUELK5IyKGUFKQfgv6IoCQKchvlyV9TOSbyHkCYMdORzKmqkKHCVOIMTwKsr3X5q 6d1Vyg+NLpaen/QurQjNgBWVCOb2B72P3cIg/+PC/lBY7Q4kZO7FmPMmaA/qYtD2MC zgxC4faK7YV76fwP0VgovY7T1OAfZKNOImdu6rkee/Scl112Sp6XoVtTmrU2Zb7evO tOz1DKJGNyDSQ== Original-Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4Kh6JL6f6dz6tmS for ; Sun, 17 Apr 2022 12:49:22 +0200 (CEST) Content-Language: en-US In-Reply-To: <2BCF2B67-B2D8-480F-BA1C-D9A8580914FB@korwin-zmijowski.fr> Received-SPF: pass client-ip=185.67.36.66; envelope-from=zelphirkaltstahl@posteo.de; helo=mout02.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 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, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H5=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-user-bounces+guile-user=m.gmane-mx.org@gnu.org Original-Sender: "guile-user" Xref: news.gmane.io gmane.lisp.guile.user:18247 Archived-At: Hello Jérémy! On 4/16/22 16:57, Jérémy Korwin-Zmijowski wrote: > Yo Zelphir, > > I would replace numbers with a constant name which avoid the need for comments. > > Sorry, not an Emacs solution. I just keep comments for outside context. > > Cheers! This is an idea. I'll consider that approach! I have the same indentation issue though, when I use #||# comments for arguments, which are not keyword arguments, but I want to hint what they are used for. One could argue, that I should rewrite the called function to use keyword arguments, or, if it is a library function, I should wrap it. Hmmm. Maybe that's a valid point. Thanks for the input! Zelphir -- repositories: https://notabug.org/ZelphirKaltstahl