From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: 10 problems with Elisp, part 10 Date: Sat, 10 Aug 2024 08:56:57 +0300 Message-ID: <86ttfskjiu.fsf@gnu.org> References: <877ccq5g2u.fsf@dataswamp.org> <877ccq9kdo.fsf@web.de> <87le163xed.fsf@dataswamp.org> <26294.40091.141096.363677@orion.rgrjr.com> <87le151dv0.fsf@dataswamp.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="5138"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: Emanuel Berg Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat Aug 10 07:57:50 2024 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 1scf6s-0001C6-7o for ged-emacs-devel@m.gmane-mx.org; Sat, 10 Aug 2024 07:57:50 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1scf67-0006po-6M; Sat, 10 Aug 2024 01:57:03 -0400 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 1scf64-0006oS-M4 for emacs-devel@gnu.org; Sat, 10 Aug 2024 01:57:01 -0400 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 1scf63-0005Hr-0z; Sat, 10 Aug 2024 01:56:59 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=1OObeSRV2MlqTvYDC63Jk06BhGV+tz9OWW8me0ngBp4=; b=hoc0xDuCVKlE flmXfa1naLZY7dqAP/fxxDBMvS1J0E0LeKA/1f7cubUE7L0coGIh9p9Pcj+moOb/TgR4bjv46vU83 s8Dgu4Kgd5OyrlJ/m7iAwJnzwXxzs6CN67JifntvKPC/BuJ9bXUapn/6lGMbjQUksBiO3n87xU4OA FVjamd5CJojTzhJxV4ceBxfoXOBCfhYK6yyzedLKks2SvcvrKpF6u1EpK6aS69Fz777CJO6zGksDv GdrU8HVuqdvjpE5ZqoIkJBn2vudcq0AIUTqFa/My61OsKSwOcMUJO+XxzZJSUaWKS+bCuJkSoOqOA p+Q+ppX96rodp3JIx+X+zQ==; In-Reply-To: <87le151dv0.fsf@dataswamp.org> (message from Emanuel Berg on Sat, 10 Aug 2024 01:21:55 +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:322606 Archived-At: > From: Emanuel Berg > Date: Sat, 10 Aug 2024 01:21:55 +0200 > > Bob Rogers wrote: > > > [ > > end :r 0< :d 73 :pa > > step :rc 2-10 :d (/ end 10) > > i :r 0<= :d 0 > > ] > > > > :r means signal error if outside of the interval. > > > > :rc means set to min or max if outside of the interval. > > > > This is damn near unreadable. > > To me, thanks to the spaces with keywords and values, it is > much easier to edit and read. > > A bunch of interactive format strings from the Emacs source: > > (interactive "^p\nd\nd") > > (interactive "r\nP\np") > > (interactive "i\np\ni\np") > > (interactive "P\ncMark:" ...) > > You think they are easier to read? Yes, for anyone who is used to ELisp.