From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jambunathan K Newsgroups: gmane.emacs.help Subject: Re: naming and/or directly addressing particular windows? Date: Tue, 04 Dec 2012 02:28:19 +0530 Message-ID: <87pq2qg8es.fsf@gmail.com> References: <50BB9407.7060104@gmx.at> <50BCE495.4020604@gmx.at> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1354568152 22670 80.91.229.3 (3 Dec 2012 20:55:52 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 3 Dec 2012 20:55:52 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Matt Price Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Dec 03 21:56:04 2012 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 1Tfd3R-000619-U2 for geh-help-gnu-emacs@m.gmane.org; Mon, 03 Dec 2012 21:55:54 +0100 Original-Received: from localhost ([::1]:46658 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tfd3G-0002Np-3X for geh-help-gnu-emacs@m.gmane.org; Mon, 03 Dec 2012 15:55:42 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:33142) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tfd3B-0002Nk-2S for help-gnu-emacs@gnu.org; Mon, 03 Dec 2012 15:55:37 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Tfd36-0001wr-Uo for help-gnu-emacs@gnu.org; Mon, 03 Dec 2012 15:55:36 -0500 Original-Received: from mail-da0-f41.google.com ([209.85.210.41]:43116) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tfd36-0001wm-Ke for help-gnu-emacs@gnu.org; Mon, 03 Dec 2012 15:55:32 -0500 Original-Received: by mail-da0-f41.google.com with SMTP id e20so1399482dak.0 for ; Mon, 03 Dec 2012 12:55:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type; bh=CtJ4rtggWjTUD4Kd/LICk7tV4kXADGQr6Ev2fQ9+lL0=; b=rMR51wW2eueMzPPffw469E40QLMn/g5AfDnHJWEaUQbDAyTzbDouqAS2seKLt1JYXA G46ZL52k6PXpzmHL+x0wDl/pUlJymwevR5V6E37LowEynDSnR3+SAMKqK8h1frJG0JTj 8qtEVJgJVMW//Ny7IlunuF/W28EtFmdugnL5RI83l1xhRL7vo3Y+ZdbrSf3SjMOXVZ2+ F0TgigPAS8EuYCIGsazIudvuwnoCSLrJg0XXcsYbaNfeBLjGh5PnfE6C7EzJ5jwVkM1W xpEYBF3k+pe7ZaxLBTLeAkU/GUAW55+KHVL9DSoOD05WQfIKp0/ibQTcvs82AW7YXvuQ I6xA== Original-Received: by 10.66.73.105 with SMTP id k9mr29091600pav.37.1354568131652; Mon, 03 Dec 2012 12:55:31 -0800 (PST) Original-Received: from debian-6.05 ([101.62.16.211]) by mx.google.com with ESMTPS id ni3sm8597744pbc.2.2012.12.03.12.55.28 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 03 Dec 2012 12:55:30 -0800 (PST) In-Reply-To: (Matt Price's message of "Mon, 3 Dec 2012 14:58:50 -0500") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy] X-Received-From: 209.85.210.41 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:88033 Archived-At: Matt Price writes: > with a regular expression that will match, say, > > (concat (buffer-name) "-" [:digit:]) M-x ielm RET ,---- | *** Welcome to IELM *** Type (describe-mode) for help. | ELISP> (rx-to-string `(and ,(buffer-name) (zero-or-more digit))) | "\\(?:\\*ielm\\*[[:digit:]]*\\)" | ELISP> *ielm*1 `---- M-x re-builder RET Copy, paste the string returned by `rx-to-string' in the resulting re-builder buffer. You will see that it matches the second line. C-f rx RET --