GNU bug report logs - #76413
[PATCH] New macro 'compf' for composing functions

Previous Next

Package: emacs;

Reported by: Eshel Yaron <me <at> eshelyaron.com>

Date: Wed, 19 Feb 2025 13:53:02 UTC

Severity: wishlist

Tags: patch

Full log


View this message in rfc822 format

From: Michael Albinus <michael.albinus <at> gmx.de>
To: 76413 <at> debbugs.gnu.org
Cc: me <at> eshelyaron.com
Subject: bug#76413: [PATCH] New macro 'compf' for composing functions
Date: Wed, 19 Feb 2025 15:34:40 +0100
Eshel Yaron via "Bug reports for GNU Emacs, the Swiss army knife of text
editors" <bug-gnu-emacs <at> gnu.org> writes:

Hi Eshel,

> This patch adds a new macro 'compf' that streamlines the common pattern
> of function composition.

I have no opinion about this change. However,

> - In lisp/net/tramp-container.el:
>   (lambda (line) (car (split-string line))) => (compf car split-line)

Pls don't touch Tramp. It is backwards compatible down to Emacs 28.

> Best,
>
> Eshel

Best regards, Michael.




This bug report was last modified 113 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.