From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eric Abrahamsen Newsgroups: gmane.emacs.bugs Subject: bug#47236: 28.0.50; ebdb-mua-pop-up bad interaction with gnus window configurations Date: Thu, 24 Jun 2021 10:29:38 -0700 Message-ID: <87r1gr188t.fsf@ericabrahamsen.net> References: <877dm4y07x.fsf@gmail.com> <87zgz0jui2.fsf@ericabrahamsen.net> <87im2wqene.fsf@ericabrahamsen.net> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="29186"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: 47236@debbugs.gnu.org To: Robert Pluim Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Jun 24 19:30:46 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lwTBd-0007MY-Dk for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 24 Jun 2021 19:30:45 +0200 Original-Received: from localhost ([::1]:38848 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lwTBY-0002I4-8N for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 24 Jun 2021 13:30:41 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:43234) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lwTAy-0002FV-6f for bug-gnu-emacs@gnu.org; Thu, 24 Jun 2021 13:30:04 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:60728) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lwTAw-00058Q-NQ for bug-gnu-emacs@gnu.org; Thu, 24 Jun 2021 13:30:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lwTAw-0002ig-DC for bug-gnu-emacs@gnu.org; Thu, 24 Jun 2021 13:30:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eric Abrahamsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 24 Jun 2021 17:30:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 47236 X-GNU-PR-Package: emacs Original-Received: via spool by 47236-submit@debbugs.gnu.org id=B47236.162455579110412 (code B ref 47236); Thu, 24 Jun 2021 17:30:02 +0000 Original-Received: (at 47236) by debbugs.gnu.org; 24 Jun 2021 17:29:51 +0000 Original-Received: from localhost ([127.0.0.1]:44041 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lwTAk-0002hs-Mr for submit@debbugs.gnu.org; Thu, 24 Jun 2021 13:29:51 -0400 Original-Received: from ericabrahamsen.net ([52.70.2.18]:52874 helo=mail.ericabrahamsen.net) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lwTAg-0002hU-7m for 47236@debbugs.gnu.org; Thu, 24 Jun 2021 13:29:48 -0400 Original-Received: from localhost (c-71-197-184-122.hsd1.wa.comcast.net [71.197.184.122]) (Authenticated sender: eric@ericabrahamsen.net) by mail.ericabrahamsen.net (Postfix) with ESMTPSA id B576EFA09B; Thu, 24 Jun 2021 17:29:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ericabrahamsen.net; s=mail; t=1624555780; bh=wjQNGNvmtzt8WhX/QF5aDVi8YttzPO76sSQEwBMpr7U=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=f3ZXD7rVf+DH/DWhljvofYYuhVerOOsVQrco833R9WsBE5XUVC5jD0da2/zgy21AE eIu9bNStEoqiZycf4r5qrtM5awtx64rEi1mrO8u07BQp/JmB/VNhcLPK8QwvDTSDEr m8gmr0UPiCgcTm+t7koO+kfN8XQlcFhCD7u3bw5U= In-Reply-To: <87im2wqene.fsf@ericabrahamsen.net> (Eric Abrahamsen's message of "Wed, 02 Jun 2021 11:56:21 -0700") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:208954 Archived-At: Eric Abrahamsen writes: > Eric Abrahamsen writes: > >> Robert Pluim 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=CA=BCt 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