From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.bugs Subject: bug#40570: [PATCH] Alias cl-subseq to seq-subseq, define gv-setter in the latter Date: Sun, 12 Apr 2020 15:18:17 -0400 Message-ID: References: <20200412094627.2494060-1-stepnem@gmail.com> <87lfn0bp5z.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="34427"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: 40570-done@debbugs.gnu.org To: =?UTF-8?Q?=C5=A0t=C4=9Bp=C3=A1n_?= =?UTF-8?Q?N=C4=9Bmec?= Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Apr 12 21:19:16 2020 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1jNi8R-0008r8-Oq for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 12 Apr 2020 21:19:15 +0200 Original-Received: from localhost ([::1]:36254 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jNi8Q-0004Tv-FS for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 12 Apr 2020 15:19:14 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:60271) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jNi8F-0004Tm-Fn for bug-gnu-emacs@gnu.org; Sun, 12 Apr 2020 15:19:05 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jNi8E-0000tx-JA for bug-gnu-emacs@gnu.org; Sun, 12 Apr 2020 15:19:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:47348) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jNi8E-0000tV-8T for bug-gnu-emacs@gnu.org; Sun, 12 Apr 2020 15:19:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jNi8E-0000dc-4E for bug-gnu-emacs@gnu.org; Sun, 12 Apr 2020 15:19:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 12 Apr 2020 19:19:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 40570 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 40570-done@debbugs.gnu.org id=D40570.15867191072412 (code D ref 40570); Sun, 12 Apr 2020 19:19:02 +0000 Original-Received: (at 40570-done) by debbugs.gnu.org; 12 Apr 2020 19:18:27 +0000 Original-Received: from localhost ([127.0.0.1]:58894 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jNi7e-0000cp-TJ for submit@debbugs.gnu.org; Sun, 12 Apr 2020 15:18:27 -0400 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:14108) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jNi7d-0000ce-FU for 40570-done@debbugs.gnu.org; Sun, 12 Apr 2020 15:18:26 -0400 Original-Received: from pmg1.iro.umontreal.ca (localhost.localdomain [127.0.0.1]) by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id 469BB10033A; Sun, 12 Apr 2020 15:18:20 -0400 (EDT) Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id 6F10A100311; Sun, 12 Apr 2020 15:18:18 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1586719098; bh=szCWYNExFw7zZBNJd2MIeqwgAB3b8/SpMV0jZmPJLvk=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=l8wsqx/I+oCdwN/PqPp3gwAFeyWFVRP1ymte/3QGiGKkqWJD+5r7SFMjLAE5mk44/ dFwRgbfKsZ1Iv9qbMxoC4hSNLTM4tdCrgZtRwzQsRSJuesog6hza/ikzR5FvTz2Dfp SfPPZj1PxLeOC4gfRe/xZpl1GFzGr9mmNxkmL7ktJzkU0ppnRvARJwKHfcanhXtzSL gWKZU0BiwaOlZtVeVyttFVIXvvgq1B2KU8W1Wpu4/1HJlt4gEuYbz/nYuVqDdjAFjt 9Sky3ETcRwWKz9V9BL+HM/T7NS5zMYqXHFq8717YPYe+J4VmUBiK3EV2UCCdyrTyG3 53F2FRzdiAvbg== Original-Received: from alfajor (unknown [104.247.241.114]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 1572E1202B6; Sun, 12 Apr 2020 15:18:18 -0400 (EDT) In-Reply-To: <87lfn0bp5z.fsf@gmail.com> ("=?UTF-8?Q?=C5=A0t=C4=9Bp=C3=A1n_?= =?UTF-8?Q?N=C4=9Bmec?="'s message of "Sun, 12 Apr 2020 19:16:08 +0200") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:178277 Archived-At: > Indeed. The definition of `cl-replace' looks like not for the faint of > heart, also a lot of that impression comes from all the cl- prefixed > args and variables. Is that just an artifact of some automatic > replacement process, or is there a reason those have to have the cl- > prefix? IIRC it's just a remnant of the dynamic scoping days where higher-order functions needed to obfuscate their local var names to avoid accident name capture. `cl` used it fairly systematically (not just when and where needed). IIRC I did remove this prefix in a number of places (and kept it at a few places where those vars are actually accessed via dynamic scoping), but I'm sure there are lots more to clean up. Stefan