unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Lennart Borgman <lennart.borgman@gmail.com>
To: Kevin Rodgers <kevin.d.rodgers@gmail.com>
Cc: bug-gnu-emacs@gnu.org
Subject: bug#6390: Should not regexp-quote quote newline?
Date: Sat, 12 Jun 2010 15:37:05 +0200	[thread overview]
Message-ID: <AANLkTikuamTcSqP_EEmgeka8h0ssCkU2bBPemCaUaKsB@mail.gmail.com> (raw)
In-Reply-To: <huvaok$t1q$1@dough.gmane.org>

On Sat, Jun 12, 2010 at 8:51 AM, Kevin Rodgers
<kevin.d.rodgers@gmail.com> wrote:
> 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.


Maybe the variable should be a list of the ASCII control chars that
the print string function should translate to \t etc?


>> I might not have proposed that if I knew it was that utterly
>> disturbing to someone. ;-)
>
> Perhaps MON KEY objects to backwards-incompatibility.


Yes, I think it was a misunderstanding. And I guess the reason was my
bad proposal in the start of this where I did not distinguish between
the printed string and the actual string. So I guess it is my fault.
(I actually rather confused the regexp syntax with the printed string
syntax, of course.)





  reply	other threads:[~2010-06-12 13:37 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-06-10 14:42 bug#6390: Should not regexp-quote quote newline? Lennart Borgman
2010-06-10 15:01 ` Andreas Schwab
2010-06-10 15:02   ` Lennart Borgman
2010-06-10 15:34     ` Drew Adams
2010-06-10 16:08     ` Andreas Schwab
2010-06-10 16:11       ` Lennart Borgman
2010-06-10 16:22         ` Andreas Schwab
2010-06-10 16:46           ` Lennart Borgman
2010-06-10 17:03             ` Andreas Schwab
2010-06-10 18:07               ` Lennart Borgman
2010-06-10 23:11                 ` Lennart Borgman
2010-06-11  0:44                   ` Lennart Borgman
2010-06-10 15:22 ` Drew Adams
2010-06-10 15:34   ` Lennart Borgman
2010-06-10 16:28     ` Juanma Barranquero
2010-06-10 16:47       ` Lennart Borgman
2010-06-10 16:56     ` Andreas Schwab
2010-06-10 17:00       ` Lennart Borgman
2010-06-11  4:19 ` MON KEY
2010-06-11  4:43   ` Lennart Borgman
2010-06-11 20:09     ` MON KEY
2010-06-11 20:37       ` Lennart Borgman
2010-06-12  6:18         ` MON KEY
2010-06-12 13:28           ` Lennart Borgman
2010-06-14  3:00             ` MON KEY
2010-06-14  5:33               ` Lennart Borgman
2010-06-12  6:51         ` Kevin Rodgers
2010-06-12 13:37           ` Lennart Borgman [this message]
2011-07-09  5:30           ` Glenn Morris
2011-07-09 10:03             ` Lennart Borgman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=AANLkTikuamTcSqP_EEmgeka8h0ssCkU2bBPemCaUaKsB@mail.gmail.com \
    --to=lennart.borgman@gmail.com \
    --cc=bug-gnu-emacs@gnu.org \
    --cc=kevin.d.rodgers@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).