From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Masatake YAMATO Newsgroups: gmane.emacs.devel Subject: a question about `,' in backquote Date: Mon, 25 Apr 2005 02:49:59 +0900 (JST) Message-ID: <20050425.024959.172916653.jet@gyve.org> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1114365408 15320 80.91.229.2 (24 Apr 2005 17:56:48 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 24 Apr 2005 17:56:48 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Apr 24 19:56:45 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DPlKx-00055b-Vm for ged-emacs-devel@m.gmane.org; Sun, 24 Apr 2005 19:56:08 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DPlQK-0005N1-Cb for ged-emacs-devel@m.gmane.org; Sun, 24 Apr 2005 14:01:40 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DPlQD-0005Mh-24 for emacs-devel@gnu.org; Sun, 24 Apr 2005 14:01:33 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DPlQB-0005M7-AF for emacs-devel@gnu.org; Sun, 24 Apr 2005 14:01:32 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DPlQ9-0004pi-JS for emacs-devel@gnu.org; Sun, 24 Apr 2005 14:01:31 -0400 Original-Received: from [210.130.136.40] (helo=r-maa.spacetown.ne.jp) by monty-python.gnu.org with esmtp (Exim 4.34) id 1DPlN5-0003bx-SL for emacs-devel@gnu.org; Sun, 24 Apr 2005 13:58:20 -0400 Original-Received: from localhost (h219-110-076-139.catv01.itscom.jp [219.110.76.139]) by r-maa.spacetown.ne.jp (8.11.6) with ESMTP id j3OHtBB12897 for ; Mon, 25 Apr 2005 02:55:11 +0900 (JST) Original-To: emacs-devel@gnu.org X-Mailer: Mew version 4.0.62 on Emacs 22.0.50 / Mule 5.0 (SAKAKI) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:36330 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:36330 I found a following line in the definition of `tags-search': (setq tags-loop-scan `(re-search-forward ',regexp nil t) Could you tell me why "'" is needed before "," ? Is there any strong reason? I think it is easier to read next line: (setq tags-loop-scan `(re-search-forward ,regexp nil t) ;;;###autoload (defun tags-search (regexp &optional file-list-form) "Search through all files listed in tags table for match for REGEXP. Stops when a match is found. To continue searching for next match, use command \\[tags-loop-continue]. See documentation of variable `tags-file-name'." (interactive "sTags search (regexp): ") (if (and (equal regexp "") (eq (car tags-loop-scan) 're-search-forward) (null tags-loop-operate)) ;; Continue last tags-search as if by M-,. (tags-loop-continue nil) (setq tags-loop-scan `(re-search-forward ',regexp nil t) tags-loop-operate nil) (tags-loop-continue (or file-list-form t))))