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: Glenn Morris <rgm <at> gnu.org>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#6390: closed (Should not regexp-quote quote newline?)
Date: Sat, 09 Jul 2011 05:31:02 +0000
[Message part 1 (text/plain, inline)]
Your message dated Sat, 09 Jul 2011 01:30:34 -0400
with message-id <cn7h7s81hh.fsf <at> fencepost.gnu.org>
and subject line Re: bug#6390: Should not regexp-quote quote newline?
has caused the GNU bug report #6390,
regarding Should not regexp-quote quote newline?
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> 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: 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"?


[Message part 3 (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.


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

Previous Next


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