* bug#11581: 23.3; EUDC can't handle BBDB entries with empty last names
@ 2012-05-29 6:36 Sergio Durigan Junior
[not found] ` <handler.11581.B.133834110824603.ack@debbugs.gnu.org>
0 siblings, 1 reply; 3+ messages in thread
From: Sergio Durigan Junior @ 2012-05-29 6:36 UTC (permalink / raw
To: 11581
EUDC apparently cannot handle BBDB records with empty last names (i.e.,
last names = ""). When I try to query such a record, I get this error
message:
Debugger entered--Lisp error: (error "Unexpected attribute value")
signal(error ("Unexpected attribute value"))
byte-code("\b \232\203\f\n\v\232\204\0\305 \v\306#\210\304\f@\fA\"\207" [eudc-server eudc-former-server eudc-protocol eudc-former-protocol signal eudc-set-server t] 4)
eudc-expand-inline()
message-expand-name()
message-tab()
call-interactively(message-tab nil nil)
Here is what I have in my ~/.gnus file:
(require 'eudc)
(setq eudc-default-return-attributes nil
eudc-strict-return-matches nil)
(setq ldap-ldapsearch-args (quote ("-tt" "-LLL" "-x")))
(eudc-protocol-set 'eudc-inline-expansion-format '("%s <%s>" CommonName mail)
'ldap)
(eudc-protocol-set 'eudc-inline-query-format '((cn) (cn cn) (cn cn cn)) 'ldap)
(eudc-protocol-set 'eudc-inline-expansion-format '("%s %s <%s>" firstname name net)
'bbdb)
(eudc-protocol-set 'eudc-inline-query-format '((firstname)
(lastname)
(firstname lastname)
(net))
'bbdb)
(eudc-set-server "localhost" 'bbdb t)
(setq eudc-server-hotlist '(("localhost" . bbdb)
("ldap.company.com" . ldap)))
(setq eudc-inline-expansion-servers 'hotlist)
(defun enz-eudc-expand-inline()
(interactive)
(if (eq eudc-protocol 'ldap)
(progn (move-end-of-line 1)
(insert "*")
(unless (condition-case nil
(eudc-expand-inline)
(error nil))
(backward-delete-char-untabify 1)))
(eudc-expand-inline)))
;; Adds some hooks
(eval-after-load "message"
'(define-key message-mode-map (kbd "C-L") 'enz-eudc-expand-inline))
As you can see, I use both LDAP (from my company) and local BBDB in
order to consult addresses. This problem occurs only when I use BBDB,
and only when the corresponding BBDB entry does not have a last name.
When it does, the completion works correctly. Please let me know if you
need more information. Thanks.
In GNU Emacs 23.3.1 (x86_64-redhat-linux-gnu, GTK+ Version 2.24.8)
of 2012-01-13 on x86-04.phx2.fedoraproject.org
configured using `configure '--build=x86_64-redhat-linux-gnu' '--host=x86_64-redhat-linux-gnu' '--program-prefix=' '--disable-dependency-tracking' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--sysconfdir=/etc' '--datadir=/usr/share' '--includedir=/usr/include' '--libdir=/usr/lib64' '--libexecdir=/usr/libexec' '--localstatedir=/var' '--sharedstatedir=/var/lib' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--with-dbus' '--with-gif' '--with-jpeg' '--with-png' '--with-rsvg' '--with-tiff' '--with-xft' '--with-xpm' '--with-x-toolkit=gtk' 'build_alias=x86_64-redhat-linux-gnu' 'host_alias=x86_64-redhat-linux-gnu' 'CFLAGS=-DMAIL_USE_LOCKF -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic' 'LDFLAGS=-Wl,-z,relro ''
Important settings:
value of $LC_ALL: nil
value of $LC_COLLATE: nil
value of $LC_CTYPE: nil
value of $LC_MESSAGES: nil
value of $LC_MONETARY: nil
value of $LC_NUMERIC: nil
value of $LC_TIME: nil
value of $LANG: en_US.UTF-8
value of $XMODIFIERS: @im=none
locale-coding-system: utf-8-unix
default enable-multibyte-characters: t
Major mode: Group
Minor modes in effect:
shell-dirtrack-mode: t
gnus-topic-mode: t
gnus-undo-mode: t
show-paren-mode: t
ido-everywhere: t
tooltip-mode: t
mouse-wheel-mode: t
tool-bar-mode: t
menu-bar-mode: t
file-name-shadow-mode: t
global-font-lock-mode: t
font-lock-mode: t
blink-cursor-mode: t
auto-encryption-mode: t
auto-compression-mode: t
column-number-mode: t
line-number-mode: t
transient-mark-mode: t
Recent input:
C-n C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p
C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p
C-p C-n C-n C-n C-n C-n C-n C-n C-n C-n C-p C-p C-p
C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-n
C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-p C-p
C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p
C-p C-p C-p C-p C-p C-p C-n C-n C-n C-n C-n C-n C-n
C-n C-n C-n C-n C-p q j g m TAB S e TAB RET RET C-n
C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n
C-n q j r h TAB S e TAB RET RET C-n C-p C-n C-p q g
n n n n n n n n n n n n n n n n n n n n n n n n n n
n n S A r i s e u p RET m C-n C-n C-n C-n C-n C-n C-y
C-y C-y C-y C-_ C-_ C-_ C-_ C-y ESC y ESC y ESC y ESC
y ESC y ESC y ESC y ESC y ESC y ESC y ESC y ESC y ESC
y ESC y ESC y ESC y ESC y ESC y ESC y ESC y ESC y ESC
y ESC y ESC y ESC y ESC y ESC y ESC y C-_ C-_ C-_ C-_
C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p
C-p C-p C-p C-_ C-_ C-_ C-x k RET y e s RET g ESC x
f r e DEL DEL DEL r e s p o DEL DEL DEL p o r TAB b
TAB RET
Recent messages:
Undo! [4 times]
Mark set
Undo! [4 times]
Redo! [3 times]
Reading active file from local via nnimap...
nnimap: Checking mailboxes...done
Reading active file from archive via nnfolder...done
Checking new news...
Opening nndoc server on gnus-help...done
Checking new news...done
Load-path shadows:
/home/sergio/emacs-lisp/xcscope hides /usr/share/emacs/site-lisp/xcscope
/usr/share/emacs/site-lisp/goodies/emacs-goodies-loaddefs hides /usr/share/emacs/site-lisp/site-start.d/emacs-goodies-loaddefs
/usr/share/emacs/site-lisp/flim/hex-util hides /usr/share/emacs/23.3/lisp/hex-util
/usr/share/emacs/site-lisp/flim/md4 hides /usr/share/emacs/23.3/lisp/md4
/usr/share/emacs/site-lisp/flim/sha1 hides /usr/share/emacs/23.3/lisp/sha1
/usr/share/emacs/site-lisp/flim/sasl-digest hides /usr/share/emacs/23.3/lisp/net/sasl-digest
/usr/share/emacs/site-lisp/flim/ntlm hides /usr/share/emacs/23.3/lisp/net/ntlm
/usr/share/emacs/site-lisp/flim/sasl-ntlm hides /usr/share/emacs/23.3/lisp/net/sasl-ntlm
/usr/share/emacs/site-lisp/flim/hmac-def hides /usr/share/emacs/23.3/lisp/net/hmac-def
/usr/share/emacs/site-lisp/flim/hmac-md5 hides /usr/share/emacs/23.3/lisp/net/hmac-md5
/usr/share/emacs/site-lisp/flim/sasl hides /usr/share/emacs/23.3/lisp/net/sasl
/usr/share/emacs/site-lisp/flim/sasl-cram hides /usr/share/emacs/23.3/lisp/net/sasl-cram
/usr/share/emacs/site-lisp/gnus-bonus/nnnil hides /usr/share/emacs/23.3/lisp/gnus/nnnil
/usr/share/emacs/site-lisp/gnus-bonus/spam-stat hides /usr/share/emacs/23.3/lisp/gnus/spam-stat
/usr/share/emacs/site-lisp/gnus-bonus/nnir hides /usr/share/emacs/23.3/lisp/gnus/nnir
Features:
(two-column iso-transl flow-fill w3m-form w3m browse-url doc-view
jka-compr dired image-mode w3m-hist w3m-fb bookmark-w3m w3m-ems w3m-ccl
ccl w3m-favicon w3m-image w3m-proc w3m-util bbdb-hooks moy-bbdb tabify
shadow emacsbug newcomment ansi-color gnus-async gnus-bcklg gnus-dup
sort byte-opt bytecomp byte-compile parse-time gnus-ml disp-table
dabbrev eudcb-ldap bbdb-gui pp find-func multi-isearch tramp-imap assoc
tramp-gw tramp-fish tramp-smb tramp-cache tramp-ftp tramp-cmds tramp
shell comint tramp-compat trampver help-mode view debug gnus-cite
gnus-topic nndoc nnfolder utf-7 utf7 nndraft nnmh bbdb-gnus bbdb-snarf
mail-extr auth-source nnimap imap trace gnus-agent gnus-srvr gnus-score
score-mode nnvirtual gnus-msg gnus-art mm-uu mml2015 mm-view smime dig
gnus-cache edmacro kmacro eudcb-bbdb bbdb-com advice help-fns
advice-preload eudc cus-edit cus-start cus-load eudc-vars epg-config
ldap bbdb timezone gnus-demon nntp nnir gnus-sum gnus-group gnus-undo
nnmail mail-source format-spec nnoo cl cl-19 gnus-start gnus-spec
gnus-int gnus-range message sendmail regexp-opt ecomplete rfc822 mml
mml-sec password-cache mm-decode mm-bodies mm-encode mailcap mail-parse
rfc2231 rfc2047 rfc2045 qp ietf-drums mailabbrev gmm-utils mailheader
canlock sha1 sha1-el hex-util hashcash gnus-win gnus gnus-ems nnheader
gnus-util netrc time-date mail-utils mm-util mail-prsvr wid-edit server
avoid paren ido xcscope ring easymenu emacs-goodies-loaddefs easy-mmode
bbdb-autoloads tooltip ediff-hook vc-hooks lisp-float-type mwheel x-win
x-dnd font-setting tool-bar dnd fontset image fringe lisp-mode register
page menu-bar rfn-eshadow timer select scroll-bar mldrag mouse jit-lock
font-lock syntax facemenu font-core frame cham georgian utf-8-lang
misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew
greek romanian slovak czech european ethiopic indian cyrillic chinese
case-table epa-hook jka-cmpr-hook help simple abbrev loaddefs button
minibuffer faces cus-face files text-properties overlay md5 base64
format env code-pages mule custom widget hashtable-print-readable
backquote make-network-process dbusbind system-font-setting
font-render-setting gtk x-toolkit x multi-tty emacs)
--
Sergio
^ permalink raw reply [flat|nested] 3+ messages in thread
* bug#11581: Acknowledgement (23.3; EUDC can't handle BBDB entries with empty last names)
[not found] ` <handler.11581.B.133834110824603.ack@debbugs.gnu.org>
@ 2012-05-30 1:57 ` Sergio Durigan Junior
2012-05-30 3:06 ` Glenn Morris
0 siblings, 1 reply; 3+ messages in thread
From: Sergio Durigan Junior @ 2012-05-30 1:57 UTC (permalink / raw
To: 11581
On Tuesday, May 29 2012, GNU bug Tracking System wrote:
> If you wish to submit further information on this problem, please
> send it to 11581@debbugs.gnu.org.
Please, disconsider this bug, it's a duplication of bug#11580. I am
sorry for the duplicate report.
--
Sergio
^ permalink raw reply [flat|nested] 3+ messages in thread
* bug#11581: Acknowledgement (23.3; EUDC can't handle BBDB entries with empty last names)
2012-05-30 1:57 ` bug#11581: Acknowledgement (23.3; EUDC can't handle BBDB entries with empty last names) Sergio Durigan Junior
@ 2012-05-30 3:06 ` Glenn Morris
0 siblings, 0 replies; 3+ messages in thread
From: Glenn Morris @ 2012-05-30 3:06 UTC (permalink / raw
To: Sergio Durigan Junior; +Cc: 11581
Sergio Durigan Junior wrote:
> Please, disconsider this bug, it's a duplication of bug#11580.
I will delete this report (11581).
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2012-05-30 3:06 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-05-29 6:36 bug#11581: 23.3; EUDC can't handle BBDB entries with empty last names Sergio Durigan Junior
[not found] ` <handler.11581.B.133834110824603.ack@debbugs.gnu.org>
2012-05-30 1:57 ` bug#11581: Acknowledgement (23.3; EUDC can't handle BBDB entries with empty last names) Sergio Durigan Junior
2012-05-30 3:06 ` Glenn Morris
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
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).