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: Kevin Rodgers <kevin.d.rodgers <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: bug#6390: Should not regexp-quote quote newline?
Date: Sat, 12 Jun 2010 00:51:00 -0600
Lennart Borgman wrote:
...
> The only interpretation I can make is that the madness is already here
> since linefeed and form-feed already may be written as \n and \f if
> you set print-escape-newlines to t. All I proposed was that it should
> write tab as \t too.

Perhaps there should be a separate variable to print escape sequences for all
the ASCII control characters (see the Basic Char Syntax node of the Emacs Lisp
manual):

\a, \b, \t, \n, \v, \f, \r, \e, \d

It would probably be controversial to include \s and \\ , since they aren't
control characters.

> I might not have proposed that if I knew it was that utterly
> disturbing to someone. ;-)

Perhaps MON KEY objects to backwards-incompatibility.

-- 
Kevin Rodgers
Denver, Colorado, USA





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.