Anonymous avatar Anonymous committed 6f0f7eb

Release 1.28

Comments (0)

Files changed (3)

+1999-02-13  Oscar Figueiredo  <Oscar.Figueiredo@di.epfl.ch>
+
+	* eudc: Released 1.28
+	1.27 was dropped to sync with the XEmacs package number
+
+	* eudc.el (eudc-expand-inline): Double loop on servers and query
+ 	formats
+	(eudc-format-query): New function
+	(eudc-extract-n-word-formats): New function
+	(eudc-select): Fixed for FSF Emacs
+
+	* eudc-custom-vars.el (eudc-inline-query-format): New semantics
+	and custom definition
+	(eudc-bbdb-enable-substring-matches): New variable
+
+	* eudc-bbdb.el (eudc-bbdb-filter-non-matching-record): Use it
+	Fixed for multi-valued BBDB results
+
 1998-12-14  Oscar Figueiredo  <Oscar.Figueiredo@di.epfl.ch>
 
 	* eudc: Released 1.26
 
+	* eudc-custom-vars.el (eudc-server)
+	(eudc-inline-expansion-servers)
+	(eudc-supported-protocols): Docfix
+	(eudc-protocol): Custom fix
+	(eudc-known-protocols): Moved from eudc.el
+	(eudc-multiple-match-handling-method)
+	(eudc-user-attribute-names-alist)
+	(eudc-mode-hook): Custom doc change
+	(eudc-inline-query-format): Better custom definition
+	(eudc-inline-expansion-format): Ditto
+
 1998-12-12  Oscar Figueiredo  <Oscar.Figueiredo@di.epfl.ch>
 
 	* eudc.el (toplevel): Define menu in keymap
- 	`eudc-hotlist-keymap'for FSF Emacs
+ 	`eudc-hotlist-keymap' for FSF Emacs
 	(eudc-mode): Define menu in keymap for FSF Emacs
 
 1998-12-11  Oscar Figueiredo  <Oscar.Figueiredo@di.epfl.ch>
 # the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
 # Boston, MA 02111-1307, USA.
 
-VERSION = 1.27
-AUTHOR_VERSION = 1.26
+VERSION = 1.28
+AUTHOR_VERSION = 1.28
 MAINTAINER = Oscar Figueiredo <Oscar.Figueiredo@epfl.ch>
 PACKAGE = eudc
 PKG_TYPE = regular
 * EUDC::   A client for directory servers (LDAP, PH)
 @end direntry
 
-This file documents EUDC v1.26
+This file documents EUDC v1.28
 
 EUDC is part of XEmacs.
 
 @comment  node-name,  next,         previous, up
 
 
-This manual documents EUDC v1.26, the Emacs Unified Directory Client.
+This manual documents EUDC v1.28, the Emacs Unified Directory Client.
 
 A common interface interface to directory servers using various
 protocols such as LDAP or the CCSO white pages directory system (PH/QI)
 This will install EUDC at startup.
 
 After installing EUDC you will find (the next time you launch Emacs) a
-new @code{Directory} submenu in the @code{Tools} menu that will give you
+new @code{Directory Search} submenu in the @code{Tools} menu that will give you
 access to EUDC.
 
 You may also find useful to add the following to your @code{.emacs}
 
 @itemize @bullet
 @item
+Open LDAP Libraries
+(@url{http://www.openldap.org/})
+@item
 University of Michigan's LDAP Client software
 (@url{http://www.umich.edu/~dirsvcs/ldap/})
 @item
 @chapter Usage
 
 This chapter describes the usage of EUDC. Most functions and
-customization options are available through the @code{Directory}
+customization options are available through the @code{Directory Search}
 sub-menu of the @code{Tools} sub-menu.
 
 @menu
 directory server. The most common usage is for expanding names to e-mail
 addresses in mail message buffers. The expansion is performed by the
 command @code{eudc-expand-inline} which is available from the
-@samp{Directory} menu but can also be conveniently bound to a key
+@samp{Directory Search} menu but can also be conveniently bound to a key
 shortcut (@pxref{Installation})  The operation is controlled by the
 variables @code{eudc-inline-expansion-format},
-@code{eudc-inline-query-format-list},
+@code{eudc-inline-query-format},
 @code{eudc-expanding-overwrites-query} and
 @code{eudc-multiple-match-handling-method}.
 
 Query the server and expand the query string before point.  The query
 string consists of the buffer substring from the point back to the
 preceding comma, colon or beginning of
-line. @code{eudc-inline-query-format-list} controls how individual words
+line. @code{eudc-inline-query-format} controls how individual words
 are mapped onto directory attribute names.  After querying the server
 for the given string, the expansion specified by
 @code{eudc-inline-expansion-format} is inserted in the buffer at
 is non-@code{nil} then the meaning of @var{replace-p} is negated.
 @end deffn
 
-@defvar eudc-inline-query-format-list
-Format of an inline expansion query.  This list specifies how individual
-words in the inline query string are associated to directory attribute
-names.  If @code{nil} all the words will be mapped onto the server
-default attribute name (generally @code{name}). Default is @code{nil}.
+@defvar eudc-inline-query-format
+Format of an inline expansion query.  
+This is actually a list of @var{format}s.  A @var{format} is a list of
+one or more EUDC attribute names.  A @var{format} applies if it contains
+as many attributes as individual words in the inline query string.  If
+several @var{format}s apply then they are tried in order until a match
+is found.  If @code{nil} all the words will be mapped onto the default
+server/protocol attribute name (generally @code{name}).
+
+For instance, use the following 
+@lisp
+(setq eudc-inline-query-format '((name)
+                                 (firstname)
+                                 (firstname name)))
+@end lisp
+to indicate that single word expansion queries are to be considered as
+surnames and if no match is found then they should be tried as first
+names.  Inline queries consisting of two words are considered as
+consisting of a first name followed by a surname.  If the query consists 
+of more than two words, then the first one is considered as the first
+name and the remaining words are all considered as surname constituents.
 @end defvar
 
 @defvar eudc-inline-expansion-format
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.