Your message dated Mon, 12 Oct 2015 16:18:58 +0000
with message-id <[email protected]>
and subject line Bug#801613: fixed in bbdb3 3.1.2-4
has caused the Debian Bug report #801613,
regarding bbdb3: bbdb-mode major mode incorrectly applied to .bbdb file
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
801613: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=801613
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: bbdb3
Version: 3.1.2-3
Severity: important

Dear Maintainer,

In /etc/emacs/site-start.d/50bbdb3.el, the code binds major mode bbdb-mode to 
all files ending with ".bbdb":

  (add-to-list 'auto-mode-alist '("\\.bbdb$" . bbdb-mode))

The bbdb-mode major mode is intended for *BBDB* display buffers.  For example, 
the "e" keystroke attempts to edit the current record.  This means that hitting 
"e" in the raw ".bbdb" file signals an error, rather than allowing the user to 
edit the text directly.

This wasn't an issue until (what looks like) an update to the 
bbdb-maybe-update-display function:

  (defun bbdb-maybe-update-display (record &optional delete-p)
    "Update display of RECORD in all BBDB buffers.
  If DELETE-P is nil RECORD is removed from the BBDB buffers."
    (dolist (buffer (buffer-list))
      (with-current-buffer buffer
        (if (and (eq major-mode 'bbdb-mode)
                 (memq record (mapcar 'car bbdb-records)))
            (let ((window (get-buffer-window bbdb-buffer-name)))
              (if window
                  (with-selected-window window
                    (bbdb-redisplay-record record delete-p))
                (bbdb-redisplay-record record delete-p)))))))

The function loops across all buffers, looking for bbdb-mode buffers, and then 
attempts to look in those buffers for the current record.  This fails with an 
error when it reaches the ".bbdb" buffer, as ".bbdb" is not a *BBDB*-style 
display buffer, but it has bbdb-mode major mode.  Explicitly setting ".bbdb" to 
fundamental-mode beforehand prevents the error.

Putting bbdb-mode into auto-mode-alist doesn't seem to have any benefit in and 
of itself, and only causes problems.  Can you remove it?

-- System Information:
Debian Release: stretch/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.0.0-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

bbdb3 depends on no packages.

Versions of packages bbdb3 recommends:
ii  emacs24 [emacsen]  24.5+1-2

bbdb3 suggests no packages.

-- no debconf information

--- End Message ---
--- Begin Message ---
Source: bbdb3
Source-Version: 3.1.2-4

We believe that the bug you reported is fixed in the latest version of
bbdb3, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Barak A. Pearlmutter <[email protected]> (supplier of updated bbdb3 package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Mon, 12 Oct 2015 16:54:09 +0100
Source: bbdb3
Binary: bbdb3
Architecture: source all
Version: 3.1.2-4
Distribution: unstable
Urgency: medium
Maintainer: Barak A. Pearlmutter <[email protected]>
Changed-By: Barak A. Pearlmutter <[email protected]>
Description:
 bbdb3      - Reboot of the BBDB Insidious Big Brother Database for Emacs
Closes: 801613
Changes:
 bbdb3 (3.1.2-4) unstable; urgency=medium
 .
   * Do not put *.bbdb files in bbdb-mode (closes: #801613)
Checksums-Sha1:
 91148b84510d4c2bc0eb4c3718c1365568f1e76a 1916 bbdb3_3.1.2-4.dsc
 7c237e3697e7a32b66751eb2173b5d70266e6c95 25600 bbdb3_3.1.2-4.debian.tar.xz
 1c71c5768b239447039f335d0ddee2cc4edbfdbf 130930 bbdb3_3.1.2-4_all.deb
Checksums-Sha256:
 da9e489499dea5ef3be48651e6670204ca68f05a07c306784aa7fe2bcdd937fd 1916 
bbdb3_3.1.2-4.dsc
 f69d7aec5906c42385c56b1f1e82fdcf2a3bdb245b5e542231a4eed9601e1e0f 25600 
bbdb3_3.1.2-4.debian.tar.xz
 94facfc196b39fea22bb0251441cff9b58ab74514a7754d6ebf805968d766212 130930 
bbdb3_3.1.2-4_all.deb
Files:
 7fc902de28fa8c457a0b50b14b3f6574 1916 mail optional bbdb3_3.1.2-4.dsc
 d58481b8dcff0eeabfcf0304e6632323 25600 mail optional 
bbdb3_3.1.2-4.debian.tar.xz
 1c90008f81fda9ad34977191c0dc70b9 130930 mail optional bbdb3_3.1.2-4_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBAgAGBQJWG9mvAAoJEBJbV0deGQ0Y1moP/RpNjORgqRJesI1+KTL6iy5r
zTveTaEh4DECvGVZopvGq7P8b1VRwVwKo295qhlDr0BCoOkr7EQi80syl6ugXYWa
PZ2zK7pZ2lS2cfAQqib93qv1tE4h7fbMooiwUJz2yiiTp7RrUJMVW0k3nG0fw6eK
kqmRG7S9Opt6Bw8C7nKM9CIUp4+tsIOerSEJq/nwdOA4qmrmJZ452Vd+8JapyDtF
UDdJSiZn7xi2LzxIhrR/ZIen+NudrPM5UhVWakoOs7txeqZv5PQ4oNy1VDhEug9U
MntUT0W17UOPi3504dy9SntJ4VHhxhdil/9ehrWhqqUk4Le95BbgCH5qT6A60sJ3
5sE2SY3meeG2T97rRPxhj80/ry8orZd6jieEq13HrpU89Fs04l7vok2bZdLzdOMm
MU47kKFcnrKFIrKXBN9lJ1UDmGTrY14BXo8yWvYoSB0h8P9gyoJgew7QtvJvSl9x
MgaG4qmNseDe6XuKr2gjXSwMySnpX0ysKZVw7OL6NHmbKM4CZlcyvqmdZwhXkM3v
Ry0eLsmFCb5Ns0Q2+JSJVQPw5QlBfCnmDR6u9RQRk+zYdMiJiDGqne24N51i7Xqp
/I04hufHxZQ+MmUusidU0Ykaykd/WUz1CJFGUkFqMzGo9zhRFNz9Ddzh7ujEQDjB
kEcA48SHjQ7SIqbbA7Gn
=qTsJ
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to