From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Nicolas Richard Newsgroups: gmane.emacs.help Subject: Re: using lisp in replacement string Date: Wed, 24 Dec 2014 15:56:43 +0100 Message-ID: <87egrp6qqc.fsf@yahoo.fr> References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1419433046 27808 80.91.229.3 (24 Dec 2014 14:57:26 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 24 Dec 2014 14:57:26 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Guido Van Hoecke Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Dec 24 15:57:19 2014 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 1Y3nNH-0005bi-2g for geh-help-gnu-emacs@m.gmane.org; Wed, 24 Dec 2014 15:57:19 +0100 Original-Received: from localhost ([::1]:48610 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y3nNG-00011u-In for geh-help-gnu-emacs@m.gmane.org; Wed, 24 Dec 2014 09:57:18 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:38707) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y3nN2-00011m-El for help-gnu-emacs@gnu.org; Wed, 24 Dec 2014 09:57:05 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Y3nMz-0007qB-9P for help-gnu-emacs@gnu.org; Wed, 24 Dec 2014 09:57:04 -0500 Original-Received: from mxin.ulb.ac.be ([164.15.128.112]:40655) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y3nMz-0007q2-40 for help-gnu-emacs@gnu.org; Wed, 24 Dec 2014 09:57:01 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Ak8FAJnTmlSkD4Xx/2dsb2JhbABbhDCCNbFjAQEBAQEBBpgnAoEoAQEBAQF9hA0BBXkQCAMhJQ8BBA08E4gXAQMRuC2NaQFKDYUJAQEBBwIBH4YAgiqFIIIoB4QpBZVEgUSFdYYEhVcig289MYJDAQEB Original-Received: from mathsrv4.ulb.ac.be (HELO localhost) ([164.15.133.241]) by smtp.ulb.ac.be with ESMTP; 24 Dec 2014 15:56:59 +0100 In-Reply-To: (Guido Van Hoecke's message of "Wed, 24 Dec 2014 15:25:20 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 164.15.128.112 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:101712 Archived-At: Hello, Guido Van Hoecke writes: > "You can use Lisp expressions to calculate parts of the replacement > string. To do this, write `\,' followed by the expression in the > replacement string. > [...] > I got the distinct feeling I'm missing something very basic here... The \, construct is meant for interactive use. Try it interactively, then do C-x M-: to see what lisp form it produced. HTH, -- Nicolas Richard