unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Kevin Rodgers <ihs_4664@yahoo.com>
Subject: Re: eudc / ldap / mail duplicates.
Date: Mon, 02 May 2005 12:57:54 -0600	[thread overview]
Message-ID: <d55sru$n38$1@sea.gmane.org> (raw)
In-Reply-To: <m3wtqh38cf.fsf@caruso.quasi.local>

Bruno Hertz wrote:
 > Kevin Rodgers <ihs_4664@yahoo.com> writes:
 >>Don't you just need to frob the eudc-duplicate-attribute-handling-method
 >>variable?
 >
 > Nope. As of Emacs CVS the whole thing seems to be broken. Maybe I
 > should file a bug or something.
 >
 > Some detail anyway: ldap returns lists of records, like
 > ( ((mail . john@a) (mail . john@b)) ((mail . carla@c)) )
 >
 > In this example, I have two ldap records, one for john and one for
 > carla, where the record of john contains two mail addresses. So his
 > record would be a candidate for duplicate handling.
 >
 > Unfortunately, eudc-filter-duplicate-attributes doesn't even recognize
 > those duplicates and hence doesn't even come so far as to apply
 > eudc-duplicate-attribute-handling-method. So whatever you specify for
 > the latter (concat, duplicate, whatever) has no effect.

I was making a guess regarding the ATTR component of an (ATTR . METHOD)
element of eudc-duplicate-attribute-handling-method, because its default
value is ((email . duplicate)) but your example has mail as an
attribute.  Thus:

(setq eudc-duplicate-attribute-handling-method
       (cons '(mail . duplicate) eudc-duplicate-attribute-handling-method))

-- 
Kevin Rodgers

  reply	other threads:[~2005-05-02 18:57 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-04-30 23:18 eudc / ldap / mail duplicates Bruno Hertz
2005-05-02 15:14 ` Kevin Rodgers
     [not found] ` <mailman.251.1115047233.2819.help-gnu-emacs@gnu.org>
2005-05-02 16:23   ` Bruno Hertz
2005-05-02 18:57     ` Kevin Rodgers [this message]
     [not found]     ` <mailman.803.1115060533.2819.help-gnu-emacs@gnu.org>
2005-05-02 19:29       ` Bruno Hertz

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='d55sru$n38$1@sea.gmane.org' \
    --to=ihs_4664@yahoo.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).