From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?ISO-8859-1?Q?R=FCdiger?= Sonderfeld Newsgroups: gmane.emacs.devel Subject: Re: patches and one bug Date: Mon, 24 Jun 2013 16:05:37 +0200 Message-ID: <3342644.4NM7VYZV1Z@descartes> References: <87bo6v25kl.fsf@kanis.fr> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1372082763 20964 80.91.229.3 (24 Jun 2013 14:06:03 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 24 Jun 2013 14:06:03 +0000 (UTC) Cc: Ivan Kanis , Lars Magne Ingebrigtsen To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jun 24 16:06:02 2013 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Ur7P6-0005Do-OJ for ged-emacs-devel@m.gmane.org; Mon, 24 Jun 2013 16:06:00 +0200 Original-Received: from localhost ([::1]:58319 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ur7P6-0003dR-A4 for ged-emacs-devel@m.gmane.org; Mon, 24 Jun 2013 10:06:00 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:46342) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ur7Oz-0003Yk-VQ for emacs-devel@gnu.org; Mon, 24 Jun 2013 10:05:56 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Ur7Ot-0004R1-E3 for emacs-devel@gnu.org; Mon, 24 Jun 2013 10:05:53 -0400 Original-Received: from ptmx.org ([178.63.28.110]:59827) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ur7Ot-0004Q9-2F for emacs-devel@gnu.org; Mon, 24 Jun 2013 10:05:47 -0400 Original-Received: from localhost (localhost [127.0.0.1]) by ptmx.org (Postfix) with ESMTP id 33DA221C82; Mon, 24 Jun 2013 16:05:45 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at ptmx.org Original-Received: from ptmx.org ([127.0.0.1]) by localhost (ptmx.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id CpchgKYA6MAl; Mon, 24 Jun 2013 16:05:43 +0200 (CEST) Original-Received: from descartes.localnet (chello080108246092.7.14.vie.surfer.at [80.108.246.92]) by ptmx.org (Postfix) with ESMTPSA id 4B0F221B18; Mon, 24 Jun 2013 16:05:41 +0200 (CEST) User-Agent: KMail/4.10.3 (Linux/3.8.0-23-generic; KDE/4.10.3; x86_64; ; ) In-Reply-To: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 178.63.28.110 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:160943 Archived-At: On Monday 24 June 2013 15:36:40 Lars Magne Ingebrigtsen wrote: > > - (setq url (concat eww-search-prefix > > - (replace-regexp-in-string " " "+" url)))) > > + (unless (string-match-p "^file:" url) > > + (setq url (concat eww-search-prefix > > + (replace-regexp-in-string " " "+" url)))))= >=20 > Applied. Minor nitpick. The regex should probably use \\` instead of ^. The fo= rmer=20 matches only at the beginning of the string while the latter also match= es=20 after newlines. "\\`file:" Regards, R=C3=BCdiger