GNU bug report logs - #47236
28.0.50; ebdb-mua-pop-up bad interaction with gnus window configurations

Previous Next

Package: emacs;

Reported by: Robert Pluim <rpluim <at> gmail.com>

Date: Thu, 18 Mar 2021 15:03:02 UTC

Severity: minor

Found in version 28.0.50

Fixed in version 28.1

Done: Eric Abrahamsen <eric <at> ericabrahamsen.net>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 47236 in the body.
You can then email your comments to 47236 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#47236; Package emacs. (Thu, 18 Mar 2021 15:03:02 GMT) Full text and rfc822 format available.

Message #3 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Robert Pluim <rpluim <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Cc: Eric Abrahamsen <eric <at> ericabrahamsen.net>
Subject: 28.0.50; ebdb-mua-pop-up bad interaction with gnus window
 configurations
Date: Thu, 18 Mar 2021 16:01:54 +0100
Hi Eric,

This is with ebdb 0.6.22.

I set up gnus to have a window configuration that shows the *Group*,
*Summary*, *Article* windows simultaneously:

(gnus-add-configuration
 '(article
   (horizontal 1.0
               (vertical 50 (group 1.0))
               (vertical 1.0
                         (summary 0.3 point)
                         (article 1.0)))))
(gnus-add-configuration
 '(summary
   (horizontal 1.0
               (vertical 50 (group 1.0))
               (vertical 1.0 (summary 1.0 point)))))

And also to pop up a new frame whenever I write a message:

(dolist (key '(message edit-article post reply forward reply-yank bug))
  (gnus-add-configuration
   `(,key
     (frame 1.0
            (if (not (buffer-live-p gnus-summary-buffer))
                (car (cdr (assoc 'group gnus-buffer-configuration)))
              (car (cdr (assoc 'summary gnus-buffer-configuration))))
            (vertical ((user-position . t) (top . 1) (left . 1)
                       (name . ,(symbol-name key)))
                      (message 1.0 point))))))

Unfortunately, when ebdb-mua-pop-up is t, two things happen:

1. When I enter a group from the *Group* buffer, I end up with only
the *Summary* and *Article* buffer.

2. When I reply to a message, I donʼt get a new frame popping up.

Setting ebdb-mua-pop-up to nil fixes both those, but then I donʼt have
an ebdb window.

Thanks

Robert

In GNU Emacs 28.0.50 (build 29, x86_64-pc-linux-gnu, GTK+ Version 3.24.24, cairo version 1.16.0)
 of 2021-03-12 built on rltb
Repository revision: 14b54cea1756f4d66c7376c55cf4aa88e8c3c0c3
Repository branch: master
Windowing system distributor 'The X.Org Foundation', version 11.0.12010000
System Description: Debian GNU/Linux bullseye/sid

Configured using:
 'configure --enable-check-lisp-object-type'

Configured features:
ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GPM GSETTINGS HARFBUZZ
JPEG JSON LCMS2 LIBOTF LIBSELINUX LIBSYSTEMD LIBXML2 M17N_FLT MODULES
NOTIFY INOTIFY PDUMPER PNG RSVG SOUND THREADS TIFF TOOLKIT_SCROLL_BARS
X11 XDBE XIM XPM GTK3 ZLIB

Important settings:
  value of $LC_COLLATE: C
  value of $LANG: en_GB.UTF-8
  value of $XMODIFIERS: @im=ibus
  locale-coding-system: utf-8-unix

Major mode: ELisp/d

Minor modes in effect:
  recentf-mode: t
  TeX-PDF-mode: t
  whitespace-mode: t
  which-function-mode: t
  hl-line-mode: t
  key-chord-mode: t
  helm-mode: t
  helm-descbinds-mode: t
  shell-dirtrack-mode: t
  async-bytecomp-package-mode: t
  global-atomic-chrome-edit-mode: t
  pdf-occur-global-minor-mode: t
  show-paren-mode: t
  savehist-mode: t
  minibuffer-electric-default-mode: t
  global-auto-revert-mode: t
  epa-global-mail-mode: t
  desktop-save-mode: t
  global-eldoc-mode: t
  eldoc-mode: t
  electric-indent-mode: t
  mouse-wheel-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  window-divider-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  size-indication-mode: t
  column-number-mode: t
  line-number-mode: t
  transient-mark-mode: t

Load-path shadows:
/home/rpluim/.emacs.d/elpa/dictionary-20201001.1727/dictionary hides /home/rpluim/repos/emacs-real-master/lisp/net/dictionary

Features:
(shadow helm-ring emacsbug char-fold misearch multi-isearch recentf
tree-widget helm-x-files helm-for-files helm-bookmark helm-adaptive
helm-external helm-net supercite regi footnote mule-util sort smiley
gnus-cite mail-extr gnus-async gnus-bcklg gnus-ml gnus-topic nndraft
nnmh gnus-agent gnus-srvr gnus-score score-mode nnvirtual utf-7
nnfolder gnus-cache epa-file network-stream nntp gnutls winner
helm-command ol-eww eww xdg url-queue mm-url ol-rmail ol-mhe ol-irc
ol-info ol-gnus nnselect gnus-search ol-docview doc-view ol-bibtex
bibtex ol-bbdb ol-w3m cc-mode cc-fonts cc-guess cc-menus cc-styles
cc-align tex-buf latex latex-flymake flymake-proc flymake tex-ispell
tex-style tex-info tex texmathp texinfo sh-script smie executable
autoconf autoconf-mode bug-reference disp-table whitespace which-func
hl-line windmove face-remap key-chord debbugs-gnu add-log debbugs
soap-client url-http url-auth url-gw nsm warnings rng-xsd xsd-regexp
dired+ image-dired image-file image-converter dired-x dired-aux
cus-edit+ ox-ioslide f dash s ox-texinfo ox-odt rng-loc rng-uri
rng-parse rng-match rng-dt rng-util rng-pttrn nxml-parse nxml-ns
nxml-enc xmltok nxml-util ox-md ox-html table ox-beamer ox-latex
ox-publish ox org-element org ob ob-tangle ob-ref ob-lob ob-table
org-macro org-footnote org-src ob-comint org-pcomplete org-list
org-faces org-entities org-version ob-emacs-lisp org-table org-keys
org-loaddefs avl-tree generator ol ob-exp ob-core org-compat ob-eval
org-macs helm-mode helm-imenu helm-descbinds helm-ls-git vc-git
diff-mode vc-dir ewoc vc vc-dispatcher helm-elisp helm-files tramp
tramp-loaddefs trampver tramp-integration files-x tramp-compat shell
pcomplete ls-lisp helm-buffers helm-occur helm-tags helm-locate
helm-grep helm-regexp helm-eval edebug backtrace helm-info helm-utils
helm-types helm-help helm-config helm async-bytecomp
helm-global-bindings helm-easymenu helm-source eieio-compat
helm-multi-match helm-lib async atomic-chrome websocket bindat
markdown-mode color thingatpt noutline outline easy-mmode quail
ebdb-helm ebdb-message sendmail ebdb-gnus gnus-msg gnus-art mm-uu
mml2015 mm-view mml-smime smime dig gnus-sum shr kinsoku svg dom
gnus-group gnus-undo gnus-start gnus-dbus dbus xml gnus-cloud nnimap
nnmail mail-source utf7 netrc nnoo parse-time iso8601 gnus-spec
gnus-int gnus-range message rmc puny rfc822 mml mml-sec mm-decode
mm-bodies mm-encode mail-parse rfc2231 gmm-utils mailheader gnus-win
gnus nnheader gnus-util rmail rmail-loaddefs rfc2047 rfc2045
ietf-drums time-date mm-util mail-prsvr ebdb-mua ebdb-com crm
ebdb-format ebdb mailabbrev eieio-opt cl-extra help-mode speedbar
ezimage dframe eieio-base pcase cal-menu calendar cal-loaddefs
timezone pdf-occur ibuf-ext ibuffer ibuffer-loaddefs tablist
tablist-filter semantic/wisent/comp semantic/wisent
semantic/wisent/wisent semantic/util-modes semantic/util semantic
semantic/tag semantic/lex semantic/fw mode-local find-func cedet
pdf-isearch let-alist pdf-misc imenu pdf-tools compile comint
ansi-color ring cus-edit wid-edit pdf-view bookmark
text-property-search pp jka-compr pdf-cache pdf-info tq pdf-util
advice format-spec image-mode dired dired-loaddefs exif finder-inf
paren savehist minibuf-eldef autorevert filenotify epa-mail mail-utils
epa derived epg epg-config desktop frameset cus-start cus-load server
cc-cmds cc-engine cc-vars cc-defs package browse-url url url-proxy
url-privacy url-expand url-methods url-history url-cookie url-domsuf
url-util mailcap url-handlers url-parse auth-source cl-seq eieio
password-cache json subr-x map url-vars seq byte-opt bytecomp
byte-compile cconv info tex-site edmacro kmacro eieio-core cl-macs gv
eieio-loaddefs cl-loaddefs cl-lib rx iso-transl tooltip eldoc electric
uniquify ediff-hook vc-hooks lisp-float-type mwheel term/x-win x-win
term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe
tabulated-list replace newcomment text-mode elisp-mode lisp-mode
prog-mode register page tab-bar menu-bar rfn-eshadow isearch easymenu
timer select scroll-bar mouse jit-lock font-lock syntax facemenu
font-core term/tty-colors frame minibuffer cl-generic cham georgian
utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean
japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european
ethiopic indian cyrillic chinese composite charscript charprop
case-table epa-hook jka-cmpr-hook help simple abbrev obarray
cl-preloaded nadvice button loaddefs faces cus-face macroexp files
window text-properties overlay sha1 md5 base64 format env code-pages
mule custom widget hashtable-print-readable backquote threads dbusbind
inotify lcms2 dynamic-setting system-font-setting font-render-setting
cairo move-toolbar gtk x-toolkit x multi-tty make-network-process
emacs)

Memory information:
((conses 16 867595 90642)
 (symbols 48 53737 1)
 (strings 32 278875 8185)
 (string-bytes 1 8871036)
 (vectors 16 98013)
 (vector-slots 8 1587936 73883)
 (floats 8 517 156)
 (intervals 56 9084 888)
 (buffers 992 69))

Robert
-- 




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#47236; Package emacs. (Thu, 18 Mar 2021 16:30:02 GMT) Full text and rfc822 format available.

Message #6 received at 47236 <at> debbugs.gnu.org (full text, mbox):

From: Eric Abrahamsen <eric <at> ericabrahamsen.net>
To: Robert Pluim <rpluim <at> gmail.com>
Cc: 47236 <at> debbugs.gnu.org
Subject: Re: bug#47236: 28.0.50; ebdb-mua-pop-up bad interaction with gnus
 window configurations
Date: Thu, 18 Mar 2021 09:29:09 -0700
Robert Pluim <rpluim <at> gmail.com> writes:

> Hi Eric,
>
> This is with ebdb 0.6.22.
>
> I set up gnus to have a window configuration that shows the *Group*,
> *Summary*, *Article* windows simultaneously:
>
> (gnus-add-configuration
>  '(article
>    (horizontal 1.0
>                (vertical 50 (group 1.0))
>                (vertical 1.0
>                          (summary 0.3 point)
>                          (article 1.0)))))
> (gnus-add-configuration
>  '(summary
>    (horizontal 1.0
>                (vertical 50 (group 1.0))
>                (vertical 1.0 (summary 1.0 point)))))
>
> And also to pop up a new frame whenever I write a message:
>
> (dolist (key '(message edit-article post reply forward reply-yank bug))
>   (gnus-add-configuration
>    `(,key
>      (frame 1.0
>             (if (not (buffer-live-p gnus-summary-buffer))
>                 (car (cdr (assoc 'group gnus-buffer-configuration)))
>               (car (cdr (assoc 'summary gnus-buffer-configuration))))
>             (vertical ((user-position . t) (top . 1) (left . 1)
>                        (name . ,(symbol-name key)))
>                       (message 1.0 point))))))
>
> Unfortunately, when ebdb-mua-pop-up is t, two things happen:
>
> 1. When I enter a group from the *Group* buffer, I end up with only
> the *Summary* and *Article* buffer.
>
> 2. When I reply to a message, I donʼt get a new frame popping up.

Ooh, I don't look forward to messing with Gnus' window configuration. So
first of all, the relevant customization options will be:

ebdb-gnus-window-configuration
ebdb-message-reply-window-config
ebdb-message-reply-yank-window-config

They can be used to add the relevant clauses to
`gnus-buffer-configuration'. (Composing new mail/news doesn't need this
config, because the EBDB buffer won't be popped up until you start
completing addresses.)

Of course this doesn't make any sense at all, because it obliges you to
define your entire (e.g.) `article' configuration inside an
EBDB-specific customization option, rather than in your Gnus config.

ebdb-gnus.el and ebdb-message.el each add keys to
`gnus-window-to-buffer', so probably all the EBDB code should do is
mention those keys, and then let users put them where they want them in
their `gnus-add-configuration' clauses.

EXCEPT that will mean that EBDB won't work with Gnus/Message out of the
box without some fairly heavy configuration. It won't be at all obvious
why the pop-ups aren't working.

MAYBE I should just stop messing with `gnus-buffer-configuration' at
all, and instead just do this stuff manually with the `display-buffer'
mechanisms.

Anyway, I'm thinking out loud here, but if you'd be willing to try the
config options above and just confirm that you can get things working as
desired that way, I will think a bit more about a better approach to the
whole thing.

Thanks,
Eric




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#47236; Package emacs. (Wed, 02 Jun 2021 18:57:03 GMT) Full text and rfc822 format available.

Message #9 received at 47236 <at> debbugs.gnu.org (full text, mbox):

From: Eric Abrahamsen <eric <at> ericabrahamsen.net>
To: Robert Pluim <rpluim <at> gmail.com>
Cc: 47236 <at> debbugs.gnu.org
Subject: Re: bug#47236: 28.0.50; ebdb-mua-pop-up bad interaction with gnus
 window configurations
Date: Wed, 02 Jun 2021 11:56:21 -0700
Eric Abrahamsen <eric <at> ericabrahamsen.net> writes:

> Robert Pluim <rpluim <at> gmail.com> writes:
>
>> Hi Eric,
>>
>> This is with ebdb 0.6.22.
>>
>> I set up gnus to have a window configuration that shows the *Group*,
>> *Summary*, *Article* windows simultaneously:
>>
>> (gnus-add-configuration
>>  '(article
>>    (horizontal 1.0
>>                (vertical 50 (group 1.0))
>>                (vertical 1.0
>>                          (summary 0.3 point)
>>                          (article 1.0)))))
>> (gnus-add-configuration
>>  '(summary
>>    (horizontal 1.0
>>                (vertical 50 (group 1.0))
>>                (vertical 1.0 (summary 1.0 point)))))
>>
>> And also to pop up a new frame whenever I write a message:
>>
>> (dolist (key '(message edit-article post reply forward reply-yank bug))
>>   (gnus-add-configuration
>>    `(,key
>>      (frame 1.0
>>             (if (not (buffer-live-p gnus-summary-buffer))
>>                 (car (cdr (assoc 'group gnus-buffer-configuration)))
>>               (car (cdr (assoc 'summary gnus-buffer-configuration))))
>>             (vertical ((user-position . t) (top . 1) (left . 1)
>>                        (name . ,(symbol-name key)))
>>                       (message 1.0 point))))))
>>
>> Unfortunately, when ebdb-mua-pop-up is t, two things happen:
>>
>> 1. When I enter a group from the *Group* buffer, I end up with only
>> the *Summary* and *Article* buffer.
>>
>> 2. When I reply to a message, I donʼt get a new frame popping up.
>
> Ooh, I don't look forward to messing with Gnus' window configuration. So
> first of all, the relevant customization options will be:
>
> ebdb-gnus-window-configuration
> ebdb-message-reply-window-config
> ebdb-message-reply-yank-window-config
>
> They can be used to add the relevant clauses to
> `gnus-buffer-configuration'. (Composing new mail/news doesn't need this
> config, because the EBDB buffer won't be popped up until you start
> completing addresses.)
>
> Of course this doesn't make any sense at all, because it obliges you to
> define your entire (e.g.) `article' configuration inside an
> EBDB-specific customization option, rather than in your Gnus config.

Okay, I've just pushed a new update to EBDB that should come down the
pipeline in the next few hours.

It greatly simplifies all the above: if you don't touch anything, it
will attempt to display the *EBDB* buffer next to the *Article* buffer
(in Gnus), or next to the reply composition buffer (in message-mode).

If you're using Gnus' window config stuff, as you are, then you can set
two options like so:

(setq ebdb-gnus-window-configuration 'ebdb-gnus
      ebdb-message-window-configuration 'ebdb-message)

And then use those two symbols inside your `gnus-add-configuration'
trees. They can be any symbols you like, but should be distinct
(because Gnus and message-mode will update two distinct buffers).

This is in 0.6.23, which should appear later today.

Please let me know when you've had a chance to try it out!

Eric




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#47236; Package emacs. (Thu, 24 Jun 2021 17:30:02 GMT) Full text and rfc822 format available.

Message #12 received at 47236 <at> debbugs.gnu.org (full text, mbox):

From: Eric Abrahamsen <eric <at> ericabrahamsen.net>
To: Robert Pluim <rpluim <at> gmail.com>
Cc: 47236 <at> debbugs.gnu.org
Subject: Re: bug#47236: 28.0.50; ebdb-mua-pop-up bad interaction with gnus
 window configurations
Date: Thu, 24 Jun 2021 10:29:38 -0700
Eric Abrahamsen <eric <at> ericabrahamsen.net> writes:

> Eric Abrahamsen <eric <at> ericabrahamsen.net> writes:
>
>> Robert Pluim <rpluim <at> gmail.com> writes:
>>
>>> Hi Eric,
>>>
>>> This is with ebdb 0.6.22.
>>>
>>> I set up gnus to have a window configuration that shows the *Group*,
>>> *Summary*, *Article* windows simultaneously:
>>>
>>> (gnus-add-configuration
>>>  '(article
>>>    (horizontal 1.0
>>>                (vertical 50 (group 1.0))
>>>                (vertical 1.0
>>>                          (summary 0.3 point)
>>>                          (article 1.0)))))
>>> (gnus-add-configuration
>>>  '(summary
>>>    (horizontal 1.0
>>>                (vertical 50 (group 1.0))
>>>                (vertical 1.0 (summary 1.0 point)))))
>>>
>>> And also to pop up a new frame whenever I write a message:
>>>
>>> (dolist (key '(message edit-article post reply forward reply-yank bug))
>>>   (gnus-add-configuration
>>>    `(,key
>>>      (frame 1.0
>>>             (if (not (buffer-live-p gnus-summary-buffer))
>>>                 (car (cdr (assoc 'group gnus-buffer-configuration)))
>>>               (car (cdr (assoc 'summary gnus-buffer-configuration))))
>>>             (vertical ((user-position . t) (top . 1) (left . 1)
>>>                        (name . ,(symbol-name key)))
>>>                       (message 1.0 point))))))
>>>
>>> Unfortunately, when ebdb-mua-pop-up is t, two things happen:
>>>
>>> 1. When I enter a group from the *Group* buffer, I end up with only
>>> the *Summary* and *Article* buffer.
>>>
>>> 2. When I reply to a message, I donʼt get a new frame popping up.
>>
>> Ooh, I don't look forward to messing with Gnus' window configuration. So
>> first of all, the relevant customization options will be:
>>
>> ebdb-gnus-window-configuration
>> ebdb-message-reply-window-config
>> ebdb-message-reply-yank-window-config
>>
>> They can be used to add the relevant clauses to
>> `gnus-buffer-configuration'. (Composing new mail/news doesn't need this
>> config, because the EBDB buffer won't be popped up until you start
>> completing addresses.)
>>
>> Of course this doesn't make any sense at all, because it obliges you to
>> define your entire (e.g.) `article' configuration inside an
>> EBDB-specific customization option, rather than in your Gnus config.
>
> Okay, I've just pushed a new update to EBDB that should come down the
> pipeline in the next few hours.
>
> It greatly simplifies all the above: if you don't touch anything, it
> will attempt to display the *EBDB* buffer next to the *Article* buffer
> (in Gnus), or next to the reply composition buffer (in message-mode).
>
> If you're using Gnus' window config stuff, as you are, then you can set
> two options like so:
>
> (setq ebdb-gnus-window-configuration 'ebdb-gnus
>       ebdb-message-window-configuration 'ebdb-message)
>
> And then use those two symbols inside your `gnus-add-configuration'
> trees. They can be any symbols you like, but should be distinct
> (because Gnus and message-mode will update two distinct buffers).
>
> This is in 0.6.23, which should appear later today.
>
> Please let me know when you've had a chance to try it out!

Do let me know if you've tried the new version (or if you're no longer
using EBDB!), and I will close this out.

Thanks,
Eric




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#47236; Package emacs. (Fri, 25 Jun 2021 09:16:01 GMT) Full text and rfc822 format available.

Message #15 received at 47236 <at> debbugs.gnu.org (full text, mbox):

From: Robert Pluim <rpluim <at> gmail.com>
To: Eric Abrahamsen <eric <at> ericabrahamsen.net>
Cc: 47236 <at> debbugs.gnu.org
Subject: Re: bug#47236: 28.0.50; ebdb-mua-pop-up bad interaction with gnus
 window configurations
Date: Fri, 25 Jun 2021 11:15:30 +0200
>>>>> On Thu, 24 Jun 2021 10:29:38 -0700, Eric Abrahamsen <eric <at> ericabrahamsen.net> said:

    Eric> Do let me know if you've tried the new version (or if you're no longer
    Eric> using EBDB!), and I will close this out.

Sorry Eric, Iʼve been a bit busy. Iʼll see if I can get to this this
weekend.

Thanks

Robert
-- 




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#47236; Package emacs. (Fri, 25 Jun 2021 23:02:02 GMT) Full text and rfc822 format available.

Message #18 received at 47236 <at> debbugs.gnu.org (full text, mbox):

From: Eric Abrahamsen <eric <at> ericabrahamsen.net>
To: Robert Pluim <rpluim <at> gmail.com>
Cc: 47236 <at> debbugs.gnu.org
Subject: Re: bug#47236: 28.0.50; ebdb-mua-pop-up bad interaction with gnus
 window configurations
Date: Fri, 25 Jun 2021 16:01:43 -0700
Robert Pluim <rpluim <at> gmail.com> writes:

>>>>>> On Thu, 24 Jun 2021 10:29:38 -0700, Eric Abrahamsen <eric <at> ericabrahamsen.net> said:
>
>     Eric> Do let me know if you've tried the new version (or if you're no longer
>     Eric> using EBDB!), and I will close this out.
>
> Sorry Eric, Iʼve been a bit busy. Iʼll see if I can get to this this
> weekend.

No rush at all! I'd just suspected you weren't using it anymore, in
which case I wouldn't wait :)




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#47236; Package emacs. (Mon, 28 Jun 2021 12:56:02 GMT) Full text and rfc822 format available.

Message #21 received at 47236 <at> debbugs.gnu.org (full text, mbox):

From: Robert Pluim <rpluim <at> gmail.com>
To: Eric Abrahamsen <eric <at> ericabrahamsen.net>
Cc: 47236 <at> debbugs.gnu.org
Subject: Re: bug#47236: 28.0.50; ebdb-mua-pop-up bad interaction with gnus
 window configurations
Date: Mon, 28 Jun 2021 14:55:08 +0200
>>>>> On Fri, 25 Jun 2021 16:01:43 -0700, Eric Abrahamsen <eric <at> ericabrahamsen.net> said:

    Eric> Robert Pluim <rpluim <at> gmail.com> writes:
    >>>>>>> On Thu, 24 Jun 2021 10:29:38 -0700, Eric Abrahamsen <eric <at> ericabrahamsen.net> said:
    >> 
    Eric> Do let me know if you've tried the new version (or if you're no longer
    Eric> using EBDB!), and I will close this out.
    >> 
    >> Sorry Eric, Iʼve been a bit busy. Iʼll see if I can get to this this
    >> weekend.

    Eric> No rush at all! I'd just suspected you weren't using it anymore, in
    Eric> which case I wouldn't wait :)

Hmm, Iʼve got it working for the summary/article/group configurations,
but not for message. Iʼm getting

    gnus-configure--frame: Invalid buffer type: ebdb-message

I think this means that you need to add something like the following
to ebdb-insinuate-mssage

  (when ebdb-message-window-configuration
    (add-to-list 'gnus-window-to-buffer
		 (cons ebdb-message-window-configuration
		       (ebdb-message-buffer-name))))

And maybe you need to add an ebdb-mail-window-configuration variable,
and use that instead of ebdb-message-window-configuration in
ebdb-insinuate-mail?

Thanks for the fixes.

Robert
-- 




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#47236; Package emacs. (Mon, 28 Jun 2021 16:21:02 GMT) Full text and rfc822 format available.

Message #24 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Eric Abrahamsen <eric <at> ericabrahamsen.net>
To: bug-gnu-emacs <at> gnu.org
Subject: Re: bug#47236: 28.0.50;
 ebdb-mua-pop-up bad interaction with gnus window configurations
Date: Mon, 28 Jun 2021 09:20:05 -0700
Robert Pluim <rpluim <at> gmail.com> writes:

>>>>>> On Fri, 25 Jun 2021 16:01:43 -0700, Eric Abrahamsen <eric <at> ericabrahamsen.net> said:
>
>     Eric> Robert Pluim <rpluim <at> gmail.com> writes:
>     >>>>>>> On Thu, 24 Jun 2021 10:29:38 -0700, Eric Abrahamsen <eric <at> ericabrahamsen.net> said:
>     >> 
>     Eric> Do let me know if you've tried the new version (or if you're no longer
>     Eric> using EBDB!), and I will close this out.
>     >> 
>     >> Sorry Eric, Iʼve been a bit busy. Iʼll see if I can get to this this
>     >> weekend.
>
>     Eric> No rush at all! I'd just suspected you weren't using it anymore, in
>     Eric> which case I wouldn't wait :)
>
> Hmm, Iʼve got it working for the summary/article/group configurations,
> but not for message. Iʼm getting
>
>     gnus-configure--frame: Invalid buffer type: ebdb-message
>
> I think this means that you need to add something like the following
> to ebdb-insinuate-mssage
>
>   (when ebdb-message-window-configuration
>     (add-to-list 'gnus-window-to-buffer
> 		 (cons ebdb-message-window-configuration
> 		       (ebdb-message-buffer-name))))

Oh, I thought I had! I think I was gluing together the mail and message
functions in my brain.

> And maybe you need to add an ebdb-mail-window-configuration variable,
> and use that instead of ebdb-message-window-configuration in
> ebdb-insinuate-mail?

I'm not sure that's necessary -- it's a bit weird to have the wrong name
in there if you're using mail-mode, but it would only cause trouble if a
user was using _both_ message-mode and mail-mode, and wanted separate
*EBDB* buffers for each. I think this can safely do double duty.

Thanks for the report, and the chance to clean up some dumb code.





Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#47236; Package emacs. (Tue, 29 Jun 2021 07:46:01 GMT) Full text and rfc822 format available.

Message #27 received at 47236 <at> debbugs.gnu.org (full text, mbox):

From: Robert Pluim <rpluim <at> gmail.com>
To: Eric Abrahamsen <eric <at> ericabrahamsen.net>
Cc: 47236 <at> debbugs.gnu.org
Subject: Re: bug#47236: 28.0.50; ebdb-mua-pop-up bad interaction with gnus
 window configurations
Date: Tue, 29 Jun 2021 09:44:58 +0200
>>>>> On Mon, 28 Jun 2021 09:20:05 -0700, Eric Abrahamsen <eric <at> ericabrahamsen.net> said:
    >> (when ebdb-message-window-configuration
    >> (add-to-list 'gnus-window-to-buffer
    >> (cons ebdb-message-window-configuration
    >> (ebdb-message-buffer-name))))

    Eric> Oh, I thought I had! I think I was gluing together the mail and message
    Eric> functions in my brain.

Idle thought: maybe we should just remove mail-mode and add some
compatibility code pointing at message.

    >> And maybe you need to add an ebdb-mail-window-configuration variable,
    >> and use that instead of ebdb-message-window-configuration in
    >> ebdb-insinuate-mail?

    Eric> I'm not sure that's necessary -- it's a bit weird to have the wrong name
    Eric> in there if you're using mail-mode, but it would only cause trouble if a
    Eric> user was using _both_ message-mode and mail-mode, and wanted separate
    Eric> *EBDB* buffers for each. I think this can safely do double duty.

One thing Iʼve learned is that saying "there are no Emacs users who
use <foo> and <bar> at the same time" is almost certain to trip you
up. But not in this case. Probably.

Robert
-- 




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#47236; Package emacs. (Tue, 29 Jun 2021 11:48:02 GMT) Full text and rfc822 format available.

Message #30 received at 47236 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Robert Pluim <rpluim <at> gmail.com>
Cc: eric <at> ericabrahamsen.net, 47236 <at> debbugs.gnu.org
Subject: Re: bug#47236: 28.0.50;
 ebdb-mua-pop-up bad interaction with gnus window configurations
Date: Tue, 29 Jun 2021 14:46:53 +0300
> From: Robert Pluim <rpluim <at> gmail.com>
> Date: Tue, 29 Jun 2021 09:44:58 +0200
> Cc: 47236 <at> debbugs.gnu.org
> 
> Idle thought: maybe we should just remove mail-mode and add some
> compatibility code pointing at message.

Please don't.  I'm a heavy user of mail-mode, and I hate message-mode
(because everything there is slightly off-course from my POV).




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#47236; Package emacs. (Tue, 29 Jun 2021 23:25:02 GMT) Full text and rfc822 format available.

Message #33 received at 47236 <at> debbugs.gnu.org (full text, mbox):

From: Richard Stallman <rms <at> gnu.org>
To: Robert Pluim <rpluim <at> gmail.com>
Cc: eric <at> ericabrahamsen.net, 47236 <at> debbugs.gnu.org
Subject: Re: bug#47236: 28.0.50;
 ebdb-mua-pop-up bad interaction with gnus window configurations
Date: Tue, 29 Jun 2021 19:23:56 -0400
[[[ To any NSA and FBI agents reading my email: please consider    ]]]
[[[ whether defending the US Constitution against all enemies,     ]]]
[[[ foreign or domestic, requires you to follow Snowden's example. ]]]

  > Idle thought: maybe we should just remove mail-mode and add some
  > compatibility code pointing at message.

I use mail-mode.  I'd like to give message-mode a try, not under pressure.
But I will still need mail-mode to work, for the saved outgoing messages
that were formatted in a way that is incompatible with message mode.

-- 
Dr Richard Stallman (https://stallman.org)
Chief GNUisance of the GNU Project (https://gnu.org)
Founder, Free Software Foundation (https://fsf.org)
Internet Hall-of-Famer (https://internethalloffame.org)






Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#47236; Package emacs. (Tue, 29 Jun 2021 23:29:01 GMT) Full text and rfc822 format available.

Message #36 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Eric Abrahamsen <eric <at> ericabrahamsen.net>
To: bug-gnu-emacs <at> gnu.org
Subject: Re: bug#47236: 28.0.50;
 ebdb-mua-pop-up bad interaction with gnus window configurations
Date: Tue, 29 Jun 2021 16:28:24 -0700
Robert Pluim <rpluim <at> gmail.com> writes:

>>>>>> On Mon, 28 Jun 2021 09:20:05 -0700, Eric Abrahamsen <eric <at> ericabrahamsen.net> said:
>     >> (when ebdb-message-window-configuration
>     >> (add-to-list 'gnus-window-to-buffer
>     >> (cons ebdb-message-window-configuration
>     >> (ebdb-message-buffer-name))))

[...]

>     Eric> I'm not sure that's necessary -- it's a bit weird to have the wrong name
>     Eric> in there if you're using mail-mode, but it would only cause trouble if a
>     Eric> user was using _both_ message-mode and mail-mode, and wanted separate
>     Eric> *EBDB* buffers for each. I think this can safely do double duty.
>
> One thing Iʼve learned is that saying "there are no Emacs users who
> use <foo> and <bar> at the same time" is almost certain to trip you
> up. But not in this case. Probably.

That rule does go double for Gnus users, though.... 

Eli Zaretskii <eliz <at> gnu.org> writes:

>> From: Robert Pluim <rpluim <at> gmail.com>
>> Date: Tue, 29 Jun 2021 09:44:58 +0200
>> Cc: 47236 <at> debbugs.gnu.org
>> 
>> Idle thought: maybe we should just remove mail-mode and add some
>> compatibility code pointing at message.
>
> Please don't.  I'm a heavy user of mail-mode, and I hate message-mode
> (because everything there is slightly off-course from my POV).

I'm unlikely to go and do this!

Anyhow, I think this report can be closed now.





bug marked as fixed in version 28.1, send any further explanations to 47236 <at> debbugs.gnu.org and Robert Pluim <rpluim <at> gmail.com> Request was from Eric Abrahamsen <eric <at> ericabrahamsen.net> to control <at> debbugs.gnu.org. (Tue, 29 Jun 2021 23:30:02 GMT) Full text and rfc822 format available.

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#47236; Package emacs. (Wed, 30 Jun 2021 09:42:02 GMT) Full text and rfc822 format available.

Message #41 received at 47236 <at> debbugs.gnu.org (full text, mbox):

From: Robert Pluim <rpluim <at> gmail.com>
To: Richard Stallman <rms <at> gnu.org>
Cc: eric <at> ericabrahamsen.net, 47236 <at> debbugs.gnu.org
Subject: Re: bug#47236: 28.0.50; ebdb-mua-pop-up bad interaction with gnus
 window configurations
Date: Wed, 30 Jun 2021 11:41:34 +0200
>>>>> On Tue, 29 Jun 2021 19:23:56 -0400, Richard Stallman <rms <at> gnu.org> said:

    Richard> [[[ To any NSA and FBI agents reading my email: please consider    ]]]
    Richard> [[[ whether defending the US Constitution against all enemies,     ]]]
    Richard> [[[ foreign or domestic, requires you to follow Snowden's example. ]]]

    >> Idle thought: maybe we should just remove mail-mode and add some
    >> compatibility code pointing at message.

    Richard> I use mail-mode.  I'd like to give message-mode a try, not under pressure.
    Richard> But I will still need mail-mode to work, for the saved outgoing messages
    Richard> that were formatted in a way that is incompatible with message mode.

I guess you (and Eli) are using rmail? I use message-mode when
composing email, but itʼs not used for displaying saved messages, gnus
has a dedicated mode for that. I think Iʼll put my Idle Thought aside
for now :-)

Robert
-- 




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#47236; Package emacs. (Wed, 30 Jun 2021 12:20:02 GMT) Full text and rfc822 format available.

Message #44 received at 47236 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Robert Pluim <rpluim <at> gmail.com>
Cc: eric <at> ericabrahamsen.net, rms <at> gnu.org, 47236 <at> debbugs.gnu.org
Subject: Re: bug#47236: 28.0.50;
 ebdb-mua-pop-up bad interaction with gnus window configurations
Date: Wed, 30 Jun 2021 15:19:02 +0300
> From: Robert Pluim <rpluim <at> gmail.com>
> Date: Wed, 30 Jun 2021 11:41:34 +0200
> Cc: eric <at> ericabrahamsen.net, 47236 <at> debbugs.gnu.org
> 
>     Richard> I use mail-mode.  I'd like to give message-mode a try, not under pressure.
>     Richard> But I will still need mail-mode to work, for the saved outgoing messages
>     Richard> that were formatted in a way that is incompatible with message mode.
> 
> I guess you (and Eli) are using rmail?

That's true, but it's unrelated.  mail-mode is for composing messages,
so you can use it with any MUA, be it Rmail, Gnus, or whatnot.  You
determine which mode to use for composing messages by setting
mail-user-agent to sendmail-user-agent (as you most probably know),
and that is orthogonal to what application is used for reading email.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#47236; Package emacs. (Wed, 30 Jun 2021 12:56:02 GMT) Full text and rfc822 format available.

Message #47 received at 47236 <at> debbugs.gnu.org (full text, mbox):

From: Robert Pluim <rpluim <at> gmail.com>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: eric <at> ericabrahamsen.net, rms <at> gnu.org, 47236 <at> debbugs.gnu.org
Subject: Re: bug#47236: 28.0.50; ebdb-mua-pop-up bad interaction with gnus
 window configurations
Date: Wed, 30 Jun 2021 14:54:41 +0200
>>>>> On Wed, 30 Jun 2021 15:19:02 +0300, Eli Zaretskii <eliz <at> gnu.org> said:

    >> From: Robert Pluim <rpluim <at> gmail.com>
    >> Date: Wed, 30 Jun 2021 11:41:34 +0200
    >> Cc: eric <at> ericabrahamsen.net, 47236 <at> debbugs.gnu.org
    >> 
    Richard> I use mail-mode.  I'd like to give message-mode a try, not under pressure.
    Richard> But I will still need mail-mode to work, for the saved outgoing messages
    Richard> that were formatted in a way that is incompatible with message mode.
    >> 
    >> I guess you (and Eli) are using rmail?

    Eli> That's true, but it's unrelated.  mail-mode is for composing messages,
    Eli> so you can use it with any MUA, be it Rmail, Gnus, or whatnot.  You
    Eli> determine which mode to use for composing messages by setting
    Eli> mail-user-agent to sendmail-user-agent (as you most probably know),
    Eli> and that is orthogonal to what application is used for reading email.

Yes, but then I donʼt understand Richard's comment about 'saved
outgoing messages'.

Robert
-- 




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#47236; Package emacs. (Wed, 30 Jun 2021 13:20:01 GMT) Full text and rfc822 format available.

Message #50 received at 47236 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Robert Pluim <rpluim <at> gmail.com>
Cc: eric <at> ericabrahamsen.net, rms <at> gnu.org, 47236 <at> debbugs.gnu.org
Subject: Re: bug#47236: 28.0.50; ebdb-mua-pop-up bad interaction with gnus
 window configurations
Date: Wed, 30 Jun 2021 16:19:33 +0300
> From: Robert Pluim <rpluim <at> gmail.com>
> Cc: rms <at> gnu.org,  eric <at> ericabrahamsen.net,  47236 <at> debbugs.gnu.org
> Date: Wed, 30 Jun 2021 14:54:41 +0200
> 
>     Eli> That's true, but it's unrelated.  mail-mode is for composing messages,
>     Eli> so you can use it with any MUA, be it Rmail, Gnus, or whatnot.  You
>     Eli> determine which mode to use for composing messages by setting
>     Eli> mail-user-agent to sendmail-user-agent (as you most probably know),
>     Eli> and that is orthogonal to what application is used for reading email.
> 
> Yes, but then I donʼt understand Richard's comment about 'saved
> outgoing messages'.

I think it's a misunderstanding.  The effect of message mode on
display, while not identical to mail-mode, is quite similar, AFAIR.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#47236; Package emacs. (Fri, 02 Jul 2021 00:21:02 GMT) Full text and rfc822 format available.

Message #53 received at 47236 <at> debbugs.gnu.org (full text, mbox):

From: Richard Stallman <rms <at> gnu.org>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: eric <at> ericabrahamsen.net, rpluim <at> gmail.com, 47236 <at> debbugs.gnu.org
Subject: Re: bug#47236: 28.0.50; ebdb-mua-pop-up bad interaction with gnus
 window configurations
Date: Thu, 01 Jul 2021 20:20:18 -0400
[[[ To any NSA and FBI agents reading my email: please consider    ]]]
[[[ whether defending the US Constitution against all enemies,     ]]]
[[[ foreign or domestic, requires you to follow Snowden's example. ]]]

  > I think it's a misunderstanding.  The effect of message mode on
  > display, while not identical to mail-mode, is quite similar, AFAIR.

I don't clearly understand "effect...on display", but it isn't about
what displays.

I have hundreds of thousands of files, each containing one old
outgoing message in a format like the one below, with --text follows
this line-- separating body from headers.  I want to continue to be
able to edit them, even send one again and edit it if necessary.

I also have some custom functions that work with Mail mode
that I would need to adapt for Message mode.  Probably not deeply
difficult, but I'd need some help finding my way around Message mode
to redo them.


======================================================================
Content-Type: text/plain; charset=Utf-8
From: Richard Stallman <rms <at> gnu.org>
To: ...name redacted...
Subject: Problem with your phone system
bcc: rms-outgoing <at> gnu.org
Reply-to: rms <at> gnu.org
--text follows this line--
[[[ To any NSA and FBI agents reading my email: please consider    ]]]
[[[ whether defending the US Constitution against all enemies,     ]]]
[[[ foreign or domestic, requires you to follow Snowden's example. ]]]

I just called you and got the answering system.  The personal message
from you was very low volume; I could barely hear it.  Then the
standard message, "Please leave a message after the beep; then you can
hang up or press ..." was much louder -- just the right volume, I
would say.

So the low volume on the personal part of the message
must be a problem in your system.

-- 
Dr Richard Stallman
President, Free Software Foundation (gnu.org, fsf.org)
Internet Hall-of-Famer (internethalloffame.org)
Skype: No way! See stallman.org/skype.html.
======================================================================

-- 
Dr Richard Stallman (https://stallman.org)
Chief GNUisance of the GNU Project (https://gnu.org)
Founder, Free Software Foundation (https://fsf.org)
Internet Hall-of-Famer (https://internethalloffame.org)






Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#47236; Package emacs. (Fri, 02 Jul 2021 06:10:01 GMT) Full text and rfc822 format available.

Message #56 received at 47236 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: rms <at> gnu.org
Cc: eric <at> ericabrahamsen.net, rpluim <at> gmail.com, 47236 <at> debbugs.gnu.org
Subject: Re: bug#47236: 28.0.50; ebdb-mua-pop-up bad interaction with gnus
 window configurations
Date: Fri, 02 Jul 2021 09:08:54 +0300
> From: Richard Stallman <rms <at> gnu.org>
> Cc: rpluim <at> gmail.com, eric <at> ericabrahamsen.net, 47236 <at> debbugs.gnu.org
> Date: Thu, 01 Jul 2021 20:20:18 -0400
> 
> I have hundreds of thousands of files, each containing one old
> outgoing message in a format like the one below, with --text follows
> this line-- separating body from headers.  I want to continue to be
> able to edit them, even send one again and edit it if necessary.

I see no reason why message-mode will get in the way for these
messages; in particular, it supports the same "--text follows this
line--" marker.

But perhaps I misunderstand what features of mail-mode you are using
when you handle these files.  Can you list a few mail-mode commands
you use with them?

> I also have some custom functions that work with Mail mode
> that I would need to adapt for Message mode.

Right, that might be some work.

Anyway, I don't think we will be removing mail-mode any time soon.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Fri, 30 Jul 2021 11:24:07 GMT) Full text and rfc822 format available.

This bug report was last modified 2 years and 242 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.