From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Tassilo Horn Newsgroups: gmane.emacs.help Subject: Re: use Elisp to improve your Elisp - some code issues Date: Mon, 03 Aug 2015 09:56:58 +0200 Message-ID: <87y4hsajp1.fsf@gnu.org> References: <87io91dvlm.fsf@nl106-137-147.student.uu.se> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1438588645 30756 80.91.229.3 (3 Aug 2015 07:57:25 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 3 Aug 2015 07:57:25 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Aug 03 09:57:17 2015 Return-path: Envelope-to: geh-help-gnu-emacs@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 1ZMAcW-0005uH-Rp for geh-help-gnu-emacs@m.gmane.org; Mon, 03 Aug 2015 09:57:17 +0200 Original-Received: from localhost ([::1]:57898 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZMAcW-0004OD-DX for geh-help-gnu-emacs@m.gmane.org; Mon, 03 Aug 2015 03:57:16 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:53445) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZMAcK-0004Kj-09 for help-gnu-emacs@gnu.org; Mon, 03 Aug 2015 03:57:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZMAcG-0002TY-RB for help-gnu-emacs@gnu.org; Mon, 03 Aug 2015 03:57:03 -0400 Original-Received: from deliver.uni-koblenz.de ([141.26.64.15]:36166) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZMAcG-0002TP-Lf for help-gnu-emacs@gnu.org; Mon, 03 Aug 2015 03:57:00 -0400 Original-Received: from thinkpad-t440p (dhcp247.uni-koblenz.de [141.26.71.247]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by deliver.uni-koblenz.de (Postfix) with ESMTPSA id 3F6D51A8392 for ; Mon, 3 Aug 2015 09:56:59 +0200 (CEST) Mail-Followup-To: help-gnu-emacs@gnu.org In-Reply-To: <87io91dvlm.fsf@nl106-137-147.student.uu.se> (Emanuel Berg's message of "Fri, 31 Jul 2015 02:22:29 +0200") User-Agent: Gnus/5.130014 (Ma Gnus v0.14) Emacs/25.0.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 141.26.64.15 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:106218 Archived-At: Hi, just on Saturday, Michael Heerdegen announced his el-search.el on emacs-devel: https://lists.gnu.org/archive/html/emacs-devel/2015-08/msg00022.html That doesn't work with regexes on strings but instead the Lisp code is properly read, and then you can use pattern matching in terms of `pcase' patterns for searching and replacing. Bye, Tassilo