GNU bug report logs - #26908
Fwd: Trimming strings, /emacs/lisp/emacs-lisp/subr-x.el modification

Previous Next

Package: emacs;

Reported by: Jean-Christophe Helary <jean.christophe.helary <at> gmail.com>

Date: Sat, 13 May 2017 13:37:01 UTC

Severity: wishlist

Tags: patch

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Jean-Christophe Helary <jean.christophe.helary <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: Fwd: Trimming strings, /emacs/lisp/emacs-lisp/subr-x.el modification
Date: Sat, 13 May 2017 22:36:11 +0900
[Message part 1 (text/plain, inline)]
Since nobody reacted in the last 3 days, I guess that means there is nothing to change, so I'm sending the patch here.

Jean-Christophe 

> Begin forwarded message:
> 
> From: Jean-Christophe Helary <jean.christophe.helary <at> gmail.com>
> Subject: Re: Trimming strings, /emacs/lisp/emacs-lisp/subr-x.el modification
> Date: May 10, 2017 23:26:04 GMT+9
> To: Emacs developers <emacs-devel <at> gnu.org>
> 
> Hopefully last fixes.
> 
> I've added the \\(?: ... \\) parens to make sure we capture any potential issue with \|.
> 
> Is there anything else I've missed ?
> 
> Jean-Christophe 
> 
> 
> ===========================
> Add optional regexps for subr-x.el trimming functions
> 
> * lisp/emacs-lisp/subr-x.el (string-trim-left, string-trim-right, string-trim): add optional regexps that default on the original behavior.
> ===========================
> 
> 
> 
[Message part 2 (text/html, inline)]
[subr-x.el.diff (application/octet-stream, attachment)]
[Message part 4 (text/html, inline)]

This bug report was last modified 8 years ago.

Previous Next


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