* images/icons/emacs_16.png, images/icons/emacs_24.png
[bpt/emacs.git] / etc / ETAGS.EBNF
index f9bd0bb..002747a 100644 (file)
@@ -1,14 +1,16 @@
 -*- indented-text -*-
 
+See the end of this file for copyright information.
+
 This file contains two sections:
 
-1) An EBNF (Extended Backus Normal Form) description of the format of
+1) An EBNF (Extended Backus-Naur Form) description of the format of
     the tags file created by etags.c and interpreted by etags.el;
 2) A discussion of tag names and implicit tag names.
 
 ====================== 1) EBNF tag file description =====================
 
-Productions created from current behavior to aid extensions
+Productions created from current behaviour to aid extensions
 Francesco Potorti` <pot@gnu.org> 2002
 ----------------
 
@@ -80,11 +82,34 @@ redundant; this happens when the name of a tag is an easily guessable
 substring of the tag pattern.  We define a set of rules to decide
 whether it is possible to deduce the tag name from the pattern, and make
 an unnamed tag in those cases.  The name deduced from the pattern of an
-unnamed tag is the implicit name of that tag.  etags.c uses implicit tag
-names when possible, in order to reduce the size of the tags file.
+unnamed tag is the implicit name of that tag.
+  When the user looks for a tag, and Emacs finds no explicit tag names
+that match it, Emacs then looks for an tag whose implicit tag name
+matches the request.  etags.c uses implicit tag names when possible, in
+order to reduce the size of the tags file.
   An implicit tag name is deduced from the pattern by discarding the
 last character if it is one of ` \f\t\n\r()=,;', then taking all the
 rightmost consecutive characters in the pattern which are not one of
 those.
 
 ===================== end of discussion of tag names =====================
+
+Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007
+Free Software Foundation, Inc.
+
+COPYING PERMISSIONS:
+
+    This document is free software; you can redistribute it and/or modify
+    it under the terms of the GNU General Public License as published by
+    the Free Software Foundation; either version 3, or (at your option)
+    any later version.
+
+    This program is distributed in the hope that it will be useful,
+    but WITHOUT ANY WARRANTY; without even the implied warranty of
+    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+    GNU General Public License for more details.
+
+    You should have received a copy of the GNU General Public License
+    along with this program; see the file COPYING.  If not, write to
+    the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor,
+    Boston, MA 02110-1301 USA.