GNU bug report logs - #6390
Should not regexp-quote quote newline?

Previous Next

Package: emacs;

Reported by: Lennart Borgman <lennart.borgman <at> gmail.com>

Date: Thu, 10 Jun 2010 14:43:02 UTC

Severity: wishlist

Tags: wontfix

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Lennart Borgman <lennart.borgman <at> gmail.com>
Subject: bug#6390: closed (Re: bug#6390: Should not regexp-quote quote
 newline?)
Date: Sat, 09 Jul 2011 05:31:02 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#6390: Should not regexp-quote quote newline?

which was filed against the emacs package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 6390 <at> debbugs.gnu.org.

-- 
6390: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=6390
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Glenn Morris <rgm <at> gnu.org>
To: 6390-done <at> debbugs.gnu.org
Subject: Re: bug#6390: Should not regexp-quote quote newline?
Date: Sat, 09 Jul 2011 01:30:34 -0400
I don't see a need to keep open this particular report, which was marked
"wontfix" some time ago.

[Message part 3 (message/rfc822, inline)]
From: Lennart Borgman <lennart.borgman <at> gmail.com>
To: Emacs Bugs <bug-gnu-emacs <at> gnu.org>
Subject: Should not regexp-quote quote newline?
Date: Thu, 10 Jun 2010 16:42:14 +0200
To illustrate the problem eval this

(progn
  (setq x (regexp-quote "a
b"))
  (message "length x=%d" (length x)))

The length of x will be 3 because the string returned by regexp-quote
includes a newline.

Would it not be more practical if the result was "a\nb"?



This bug report was last modified 13 years and 318 days ago.

Previous Next


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