From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.devel Subject: Re: query-replace-interactive not documented Date: Wed, 16 Jun 2004 12:00:52 +0300 Organization: JURTA Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <87llin98sc.fsf@mail.jurta.org> References: <20040528.181649.25475113.wl@gnu.org> <200405291737.i4THbPJ06689@raven.dms.auburn.edu> <873c5jug73.fsf@mail.jurta.org> <87oenqa4lu.fsf@mail.jurta.org> <873c51w5rq.fsf@mail.jurta.org> <87659snbd8.fsf@mail.jurta.org> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1087377040 5000 80.91.224.253 (16 Jun 2004 09:10:40 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 16 Jun 2004 09:10:40 +0000 (UTC) Cc: schwab@suse.de, dak@gnu.org, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Wed Jun 16 11:10:33 2004 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1BaWRF-0007kK-00 for ; Wed, 16 Jun 2004 11:10:33 +0200 Original-Received: from lists.gnu.org ([199.232.76.165]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1BaWRF-0007qv-00 for ; Wed, 16 Jun 2004 11:10:33 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1BaWSE-0004va-0m for emacs-devel@quimby.gnus.org; Wed, 16 Jun 2004 05:11:34 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1BaWS5-0004tI-G2 for emacs-devel@gnu.org; Wed, 16 Jun 2004 05:11:25 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1BaWS3-0004qY-RP for emacs-devel@gnu.org; Wed, 16 Jun 2004 05:11:25 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1BaWS3-0004qM-NX for emacs-devel@gnu.org; Wed, 16 Jun 2004 05:11:23 -0400 Original-Received: from [66.33.219.19] (helo=spoon.dreamhost.com) by monty-python.gnu.org with esmtp (Exim 4.34) id 1BaWQR-0001dR-HU; Wed, 16 Jun 2004 05:09:43 -0400 Original-Received: from mail.jurta.org (80-235-33-203-dsl.mus.estpak.ee [80.235.33.203]) by spoon.dreamhost.com (Postfix) with ESMTP id 9A76D13D83F; Wed, 16 Jun 2004 02:09:40 -0700 (PDT) Original-To: storm@cua.dk (Kim F. Storm) In-Reply-To: (Kim F. Storm's message of "16 Jun 2004 00:28:36 +0200") User-Agent: Gnus/5.110002 (No Gnus v0.2) Emacs/21.3.50 (gnu/linux) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:25027 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:25027 storm@cua.dk (Kim F. Storm) writes: > Andreas Schwab writes: >> Juri Linkov writes: >> > To use a single variable inside a replacement string, one can use >> > a no-op function like `+': >> >> Or even progn. > > Or or, which is even shorter... Which is shorter only for non-numeric variables. But for numeric variables + is the shortest one. But there is still one too long name that the user should type: `replace-count'. WIBN to have aliases for this name? At least, `c' and `i' would make sense. So, instead of: C-M-% \\footnote{ RET \&\\label{fn:\,(+ replace-count)} RET to type: C-M-% \\footnote{ RET \&\\label{fn:\,(+ c)} RET or to add a special symbol for replace-count, e.g. \!: C-M-% \\footnote{ RET \&\\label{fn:\!} RET and make it possible to use it even in expressions: C-M-% \\footnote{ RET \&\\label{fn:\,(+ 1000 \!)} RET -- Juri Linkov http://www.jurta.org/emacs/