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: Thu, 10 Jun 2010 18:46:26 +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 1276189193 9853 80.91.229.12 (10 Jun 2010 16:59:53 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 10 Jun 2010 16:59:53 +0000 (UTC) Cc: 6390@debbugs.gnu.org To: Andreas Schwab Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Jun 10 18:59:52 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 1OMl6c-0007Qe-BN for geb-bug-gnu-emacs@m.gmane.org; Thu, 10 Jun 2010 18:59:50 +0200 Original-Received: from localhost ([127.0.0.1]:60277 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OMl6b-0001OR-Ks for geb-bug-gnu-emacs@m.gmane.org; Thu, 10 Jun 2010 12:59:49 -0400 Original-Received: from [140.186.70.92] (port=56938 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OMl5H-0000oz-8E for bug-gnu-emacs@gnu.org; Thu, 10 Jun 2010 12:58:28 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OMl5G-0003Pv-2s for bug-gnu-emacs@gnu.org; Thu, 10 Jun 2010 12:58:27 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:47452) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OMl5G-0003Pr-1T for bug-gnu-emacs@gnu.org; Thu, 10 Jun 2010 12:58:26 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1OMl1x-0004ru-Qd; Thu, 10 Jun 2010 12:55: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: Thu, 10 Jun 2010 16:55: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: Original-Received: via spool by 6390-submit@debbugs.gnu.org id=B6390.127618888718708 (code B ref 6390); Thu, 10 Jun 2010 16:55:01 +0000 Original-Received: (at 6390) by debbugs.gnu.org; 10 Jun 2010 16:54:47 +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 1OMl1j-0004rg-6O for submit@debbugs.gnu.org; Thu, 10 Jun 2010 12:54:47 -0400 Original-Received: from mail-gy0-f172.google.com ([209.85.160.172]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OMl1f-0004ra-UY for 6390@debbugs.gnu.org; Thu, 10 Jun 2010 12:54:46 -0400 Original-Received: by gyh4 with SMTP id 4so97440gyh.3 for <6390@debbugs.gnu.org>; Thu, 10 Jun 2010 09:54:39 -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=TxA23KVIrQ9lCIYcLQ3B/AtzGseGMGgfFtKO9F6W+MY=; b=MoLutPMIYCI222Oj+FgDEjq84qRDYbnGD4KtOIRc7qECjX97uQgzrxht+QAykSjwdM hyyC6SBFGirHzygNqbVyTXNR2lDAittGv6wVGLNdfrouzvhVsCmgO5YIs9qShueivKmz Ni254DmOAfVZb0A6/fGvA4kJRpKFhYNUYzxLY= 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=p81AkyG24KHaPbqTHg5PZcTHOn12Wj3NPPSy3K0rybnkNLfwfP4Jf0IPnlmfUehv3R O+nt3gE9WdbuZDcR9BHuf0g/9jeJo8scOnibXirr50hy0u4z3kTKGS7wYxW27M8oRVze m5xkT2hhtwj4DdcgOYJJh+8wmB2RNJ30mRZBo= Original-Received: by 10.101.200.21 with SMTP id c21mr410340anq.195.1276188406354; Thu, 10 Jun 2010 09:46:46 -0700 (PDT) Original-Received: by 10.100.154.15 with HTTP; Thu, 10 Jun 2010 09:46:26 -0700 (PDT) In-Reply-To: X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Thu, 10 Jun 2010 12:55: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:37672 Archived-At: On Thu, Jun 10, 2010 at 6:22 PM, Andreas Schwab wrote: >>>>> Lennart Borgman writes: >>>>> >>>>>> Would it not be more practical if the result was "a\nb"? >>>>> >>>>> That's exactly what you get. >>>> >>>> ;-) >>>> >>>> "a\\nb" >>> >>> This is a totally different regexp. >> >> ;-) >> >> Depends on how u "read" it. > > If you want a print representation then use print. Thanks, but that does not apply to the situation I am talking about. But since misunderstandings are great here I might clarify the situation: I am thinking about situations where you want to edit a regexp. One such situation is for example editing the isearch regexp.