From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: [Emacs-diffs] emacs-25 a9c48d5: Additional fixes for file notification Date: Mon, 22 Feb 2016 18:29:52 -0500 Message-ID: References: <20160222175244.30186.2617@vcs.savannah.gnu.org> <87k2lwv5ob.fsf@gmx.de> <87egc4v4hs.fsf@gmx.de> <8bd4ec21-1306-41bf-aca7-5571a3014337@default> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1456183833 4878 80.91.229.3 (22 Feb 2016 23:30:33 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 22 Feb 2016 23:30:33 +0000 (UTC) Cc: Michael Albinus , emacs-devel@gnu.org To: Drew Adams Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Feb 23 00:30:24 2016 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1aXzvr-0007e2-FV for ged-emacs-devel@m.gmane.org; Tue, 23 Feb 2016 00:30:23 +0100 Original-Received: from localhost ([::1]:52656 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aXzvn-0006NS-Jf for ged-emacs-devel@m.gmane.org; Mon, 22 Feb 2016 18:30:19 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:48387) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aXzvX-0006JW-4F for emacs-devel@gnu.org; Mon, 22 Feb 2016 18:30:07 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aXzvT-00019h-Tx for emacs-devel@gnu.org; Mon, 22 Feb 2016 18:30:03 -0500 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.181]:17678) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aXzvT-00019W-Pk for emacs-devel@gnu.org; Mon, 22 Feb 2016 18:29:59 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: A0AzFgA731xV/+OhCkxcgxCEAoVVu0CHSwQCAoE8OhMBAQEBAQEBgQpBBYNdAQEBAgFWIQIFCws0EhQYDSSINwjPIwEBCAIBH4o4gQKFBQeELQWMMJJnhmmNP4FFI4QWIIJ4AQEB X-IPAS-Result: A0AzFgA731xV/+OhCkxcgxCEAoVVu0CHSwQCAoE8OhMBAQEBAQEBgQpBBYNdAQEBAgFWIQIFCws0EhQYDSSINwjPIwEBCAIBH4o4gQKFBQeELQWMMJJnhmmNP4FFI4QWIIJ4AQEB X-IronPort-AV: E=Sophos;i="5.13,465,1427774400"; d="scan'208";a="193955240" Original-Received: from 76-10-161-227.dsl.teksavvy.com (HELO fmsmemgm.homelinux.net) ([76.10.161.227]) by ironport2-out.teksavvy.com with ESMTP/TLS/DHE-RSA-AES256-SHA; 22 Feb 2016 18:29:58 -0500 Original-Received: by fmsmemgm.homelinux.net (Postfix, from userid 20848) id 70C47AE48B; Mon, 22 Feb 2016 18:29:52 -0500 (EST) In-Reply-To: <8bd4ec21-1306-41bf-aca7-5571a3014337@default> (Drew Adams's message of "Mon, 22 Feb 2016 13:39:01 -0800 (PST)") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 206.248.154.181 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 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-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:200510 Archived-At: > I suppose someone could argue that this ugliness might dissuade > people from using these functions. FWIW, I dislike cXXXXr, indeed. It makes me feel like I'm looking at assembly code. > I realize there are prefix-less aliases for most of these functions. Actually, no. There isn't. If you find some, it's only because you happen to have `cl' loaded. `cl-destructuring-bind' is often advantageously replaced by pcase-let. cl-find-if, cl-position-if and cl-remove-if-not use CL-style keywords, which are poorly (read: inefficiently) supported in Elisp functions, so if we wanted to add them to Elisp, we'd be better served with something slightly different which doesn't use keywords. As for cl-incf, I hesitated to add it to gv.el originally. In my experience, it's definitely one of the most often used "cl-*" thingy, so it's probably one of the best candidates for promoting to "just incf". cl-cXXXr is relatively rare in comparison (especially if you replace cl-cad..dr with nth and cl-cd...dr with nthcdr). As for cl-rotatef I can't remember seeing it used. Stefan