From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Xue Fuqiao Newsgroups: gmane.emacs.help Subject: About definition finding Date: Wed, 06 Mar 2013 21:28:10 +0800 Organization: The Church of Emacs Message-ID: <5137446A.1060505@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1362576529 12089 80.91.229.3 (6 Mar 2013 13:28:49 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 6 Mar 2013 13:28:49 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Mar 06 14:29:13 2013 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 1UDEPA-0003La-M7 for geh-help-gnu-emacs@m.gmane.org; Wed, 06 Mar 2013 14:29:12 +0100 Original-Received: from localhost ([::1]:51672 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UDEOo-00041L-Vf for geh-help-gnu-emacs@m.gmane.org; Wed, 06 Mar 2013 08:28:50 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:59627) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UDEOb-00040u-CD for help-gnu-emacs@gnu.org; Wed, 06 Mar 2013 08:28:42 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UDEOT-0000sz-RB for help-gnu-emacs@gnu.org; Wed, 06 Mar 2013 08:28:37 -0500 Original-Received: from mail-pb0-f53.google.com ([209.85.160.53]:48465) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UDEOT-0000sl-Il for help-gnu-emacs@gnu.org; Wed, 06 Mar 2013 08:28:29 -0500 Original-Received: by mail-pb0-f53.google.com with SMTP id un1so5960590pbc.40 for ; Wed, 06 Mar 2013 05:28:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:message-id:date:from:organization:user-agent :mime-version:to:subject:content-type:content-transfer-encoding; bh=6u8CfIaXupyEifBChB0uOa54j0iOfscwROg1halDB9I=; b=H9ca29z9WzG+3rEQNKThSWnalarZyU/MGk4QgwHII0+RQN6oegJfvCPJQu23hBuq0Z u+pXXxSJveZVBvAV3C78f9e9gyHByHiRDQ3F7NFpMqES/r3/t89diC6svSYNwVmwODaE 4d7HvEuRLxaAza+0x3RpsosHOjTtjxmHxfniifzWRYN/kQxAFmav1BFYdYpjbZsgT3DX Lods/iAU7Fr54NhEfh4UauiQGVB1UB+h0g8L+n3gYWaj6XcDe8kOkQUgZsGUHcoX1u56 NlLzahEWTyI2aorfr6/aewzWyueJH1RBgiAvKJ0UUsIQWHsyOzNrqsKwy7CpDNbMLqHL prWA== X-Received: by 10.68.189.199 with SMTP id gk7mr45394704pbc.164.1362576508469; Wed, 06 Mar 2013 05:28:28 -0800 (PST) Original-Received: from [192.168.1.103] ([123.114.122.99]) by mx.google.com with ESMTPS id qp13sm31344526pbb.3.2013.03.06.05.28.20 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 06 Mar 2013 05:28:27 -0800 (PST) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130221 Thunderbird/17.0.3 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy] X-Received-From: 209.85.160.53 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:89384 Archived-At: In (info "(elisp) Coding Conventions"): * Constructs that define a function or variable should be macros, not functions, and their names should start with `define-'. The macro should receive the name to be defined as the first argument. That will help various tools find the definition automatically. Avoid constructing the names in the macro itself, since that would confuse these tools. Which tools will make use of it? Imenu/etags/...? I'm not quite familiar with it. Can anybody help? Thanks. -- Best regards, Xue Fuqiao. http://www.emacswiki.org/emacs/XueFuqiao