From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lennart Borgman Newsgroups: gmane.emacs.bugs Subject: bug#6390: Should not regexp-quote quote newline? Date: Sat, 12 Jun 2010 15:37:05 +0200 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: dough.gmane.org 1276351117 2184 80.91.229.12 (12 Jun 2010 13:58:37 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 12 Jun 2010 13:58:37 +0000 (UTC) Cc: bug-gnu-emacs@gnu.org To: Kevin Rodgers Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Jun 12 15:58:36 2010 connect(): No such file or directory Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1ONREH-0002NQ-FM for geb-bug-gnu-emacs@m.gmane.org; Sat, 12 Jun 2010 15:58:33 +0200 Original-Received: from localhost ([127.0.0.1]:57946 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ONREG-0001Rj-S8 for geb-bug-gnu-emacs@m.gmane.org; Sat, 12 Jun 2010 09:58:32 -0400 Original-Received: from [140.186.70.92] (port=51280 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ONRE9-0001Qn-SV for bug-gnu-emacs@gnu.org; Sat, 12 Jun 2010 09:58:26 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1ONRE7-0007cV-Tu for bug-gnu-emacs@gnu.org; Sat, 12 Jun 2010 09:58:25 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:50934) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1ONRE7-0007cR-RJ for bug-gnu-emacs@gnu.org; Sat, 12 Jun 2010 09:58:23 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1ONQuP-0001gq-Nj; Sat, 12 Jun 2010 09:38:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Lennart Borgman Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 12 Jun 2010 13:38:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 6390 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: wontfix Original-Received: via spool by submit@debbugs.gnu.org id=B.12763498566488 (code B ref -1); Sat, 12 Jun 2010 13:38:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 12 Jun 2010 13:37:36 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1ONQu0-0001gb-EO for submit@debbugs.gnu.org; Sat, 12 Jun 2010 09:37:36 -0400 Original-Received: from mail.gnu.org ([199.232.76.166] helo=mx10.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1ONQty-0001gS-8F for submit@debbugs.gnu.org; Sat, 12 Jun 2010 09:37:34 -0400 Original-Received: from lists.gnu.org ([199.232.76.165]:52014) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1ONQtt-00027i-F9 for submit@debbugs.gnu.org; Sat, 12 Jun 2010 09:37:29 -0400 Original-Received: from [140.186.70.92] (port=50824 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ONQtr-0000xL-QD for bug-gnu-emacs@gnu.org; Sat, 12 Jun 2010 09:37:28 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1ONQtq-0004Yp-R9 for bug-gnu-emacs@gnu.org; Sat, 12 Jun 2010 09:37:27 -0400 Original-Received: from mail-gy0-f169.google.com ([209.85.160.169]:40378) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1ONQtq-0004Yd-OZ for bug-gnu-emacs@gnu.org; Sat, 12 Jun 2010 09:37:26 -0400 Original-Received: by gyg4 with SMTP id 4so1771209gyg.0 for ; Sat, 12 Jun 2010 06:37:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:in-reply-to :references:from:date:message-id:subject:to:cc:content-type; bh=sY5o9gqBIERbsM+9GKpsyqpjHf/wqyFrEaiWaOYqUzk=; b=CYXRh8JTPLKRg8g91czdqW2K3aiaQnKzYa4J0fdvI8NWh86ZM3yyDSozXYkM65ggO0 e2mUYzWE9di5knngebKHb7kFLKlLNXF76mWGLkqMFAeohkmOLw1gnIPs3dYGo87hil4x Ksw79XrSN42SJokdNflmXBH8FllDZJYs6G5fk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; b=P8gjxGLJ5KzVQlN8tMqxMLcInkS3Eg7iRz2PtgdNV0oNMj4y07y8pfLkjeK+rhNhlR 47gmUePZqDe1raQ8FOBX/Y7GOKDNwi3L4qo7CnPtJ/ImUUMynqimcENfyBHuR7xtC6Zi 9foe0BIcnLONvG1QLfP/f3KHHxxkbSK0/8pvQ= Original-Received: by 10.101.132.15 with SMTP id j15mr2748880ann.124.1276349845241; Sat, 12 Jun 2010 06:37:25 -0700 (PDT) Original-Received: by 10.100.154.15 with HTTP; Sat, 12 Jun 2010 06:37:05 -0700 (PDT) In-Reply-To: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Sat, 12 Jun 2010 09:38:01 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:37725 Archived-At: On Sat, Jun 12, 2010 at 8:51 AM, Kevin Rodgers 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.)