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 16:42:14 +0200 Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: dough.gmane.org 1276182505 15847 80.91.229.12 (10 Jun 2010 15:08:25 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 10 Jun 2010 15:08:25 +0000 (UTC) To: 6390@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Jun 10 17:08:21 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 1OMjMi-0007CB-5T for geb-bug-gnu-emacs@m.gmane.org; Thu, 10 Jun 2010 17:08:20 +0200 Original-Received: from localhost ([127.0.0.1]:60001 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OMjD7-00042Y-8e for geb-bug-gnu-emacs@m.gmane.org; Thu, 10 Jun 2010 10:58:25 -0400 Original-Received: from [140.186.70.92] (port=36914 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OMjCy-0003zs-Rn for bug-gnu-emacs@gnu.org; Thu, 10 Jun 2010 10:58:17 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OMjCx-0006m9-1n for bug-gnu-emacs@gnu.org; Thu, 10 Jun 2010 10:58:16 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:34853) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OMjCw-0006m2-VM for bug-gnu-emacs@gnu.org; Thu, 10 Jun 2010 10:58:15 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1OMiyE-0003pw-MH; Thu, 10 Jun 2010 10:43:02 -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 14:43:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 6390 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: Emacs Bugs Original-Received: via spool by submit@debbugs.gnu.org id=B.127618096614739 (code B ref -1); Thu, 10 Jun 2010 14:43:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 10 Jun 2010 14:42:46 +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 1OMixy-0003pg-6i for submit@debbugs.gnu.org; Thu, 10 Jun 2010 10:42:46 -0400 Original-Received: from mx10.gnu.org ([199.232.76.166]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OMixv-0003pa-TM for submit@debbugs.gnu.org; Thu, 10 Jun 2010 10:42:44 -0400 Original-Received: from lists.gnu.org ([199.232.76.165]:33330) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1OMixq-0001co-UT for submit@debbugs.gnu.org; Thu, 10 Jun 2010 10:42:39 -0400 Original-Received: from [140.186.70.92] (port=55051 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OMixp-0002rK-D3 for bug-gnu-emacs@gnu.org; Thu, 10 Jun 2010 10:42:38 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OMixo-0003LF-Al for bug-gnu-emacs@gnu.org; Thu, 10 Jun 2010 10:42:37 -0400 Original-Received: from mail-gw0-f41.google.com ([74.125.83.41]:46096) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OMixo-0003EV-7S for bug-gnu-emacs@gnu.org; Thu, 10 Jun 2010 10:42:36 -0400 Original-Received: by mail-gw0-f41.google.com with SMTP id 15so632553gwb.0 for ; Thu, 10 Jun 2010 07:42:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:from:date :message-id:subject:to:content-type; bh=P/Ud9bY2b22ce3bTYW/uhDO8PKgVVBGadUw5v2Vs8BI=; b=uOdcg3GEj0hBSd2hVHmhg2VrBFuGe+6JJdc38ZAvhakZJshcj3akVZDYCpusKfsYcx WMHX75SvpYXvc2onF+Hl6CREe+2xIkt/1E0IPIHXRs4IErnnYNy0X/m3snBrmAao5OhQ jTZmVHE5f7uW2ZpZur35D2tZLnZKrkmbB4ujU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:from:date:message-id:subject:to:content-type; b=SGUEBNng/6oYD39EzhxImDeozJWGqUZFfEbxmKsuRUqMfBoaZvdraLvFIi64Qwcrqu SSkySH4M1pXshraTAJejXwRHwGNLEEZ5cjICbqnzNyGK7WZTwtLrTfu8SYmG3SuwmuHq kTdJxCuMmm2jtdCBjxR4uaPDN17LrUvEeimH4= Original-Received: by 10.101.201.37 with SMTP id d37mr271937anq.56.1276180955893; Thu, 10 Jun 2010 07:42:35 -0700 (PDT) Original-Received: by 10.100.154.15 with HTTP; Thu, 10 Jun 2010 07:42:14 -0700 (PDT) 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: Thu, 10 Jun 2010 10:43:02 -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:37652 Archived-At: 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"?