all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eric Abrahamsen <eric@ericabrahamsen.net>
To: 36903@debbugs.gnu.org
Cc: Lars Ingebrigtsen <larsi@gnus.org>
Subject: bug#36903: 27.0.50; gnus registry vs. debbugs
Date: Sat, 03 Aug 2019 19:35:53 -0700	[thread overview]
Message-ID: <87pnllvera.fsf@ericabrahamsen.net> (raw)
In-Reply-To: <87pnlmen9q.fsf@web.de>

Eric Abrahamsen <eric@ericabrahamsen.net> writes:

> Michael Heerdegen <michael_heerdegen@web.de> writes:
>
>> Eric Abrahamsen <eric@ericabrahamsen.net> writes:
>>
>>> Okay, so `gnus-registry-clear' should probably also run
>>> `gnus-registry-unload-hook'. You're not expecting the registry to be
>>> doing it's thing when you've shut down Gnus, but are using debbugs,
>>> right?
>>
>> Yes.
>>
>> But I didn't say that I would not expect the registry to work with
>> debbugs.  It would be good if it did - but I don't know if it's
>> technically possible.
>
> Sounds like debbugs is either too Gnus, or not Gnus enough...
>
>>> Would you try this definition:
>>>
>>> (defun gnus-registry-clear ()
>>>   "Clear the registry."
>>>   (setq gnus-registry-db nil)
>>>   (gnus-registry-unload-hook))
>>
>> Well, that fixes - only one error.  I still get an error from
>>
>>   (defalias 'gnus-user-format-function-M
>>   'gnus-registry-article-marks-to-chars)
>
> But this should have raised an error even if you hadn't started Gnus
> prior to using debbugs, right?

Oh I see, I set both pieces of the puzzle next to each other, but didn't
connect them. If you didn't start Gnus first, your format specs were
still the default and didn't contain any registry-specific stuff.

Lars, `gnus-clear-system' explicitly refrains from unsetting
`gnus-format-specs'. So if you start and stop Gnus, then start
debbugs-gnu, the user's customized format specs are still in place, and
may end up calling functions that depend on ~/.gnus.el setup stuff, and
raising errors.

Could `gnus-clear-system' also clear format specs? Obviously that
omission went in there for a reason, but I don't know what. Alternately,
could debbugs reset the specs when it starts?






  reply	other threads:[~2019-08-04  2:35 UTC|newest]

Thread overview: 40+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-08-03  7:11 bug#36903: 27.0.50; gnus registry vs. debbugs Michael Heerdegen
2019-08-03 15:38 ` Eric Abrahamsen
2019-08-03 23:47   ` Michael Heerdegen
2019-08-04  0:16     ` Eric Abrahamsen
2019-08-04  0:27       ` Eric Abrahamsen
2019-08-04  0:44         ` Noam Postavsky
2019-08-04  1:41           ` Eric Abrahamsen
2019-08-04  1:09       ` Michael Heerdegen
2019-08-04  2:10         ` Eric Abrahamsen
2019-08-04  2:35           ` Eric Abrahamsen [this message]
2019-08-07 17:59             ` Lars Ingebrigtsen
2019-08-07 20:22               ` Eric Abrahamsen
2019-08-11 23:34                 ` Lars Ingebrigtsen
2019-08-12 15:24                   ` Eric Abrahamsen
2019-09-14 15:04                     ` Lars Ingebrigtsen
2019-09-15  0:27                       ` Eric Abrahamsen
2019-09-15 12:20                         ` Lars Ingebrigtsen
2019-09-15 23:31                           ` Eric Abrahamsen
2019-09-16 13:24                             ` Lars Ingebrigtsen
2019-09-16 22:37                               ` Eric Abrahamsen
2019-09-19 17:39                                 ` Eric Abrahamsen
2019-09-21  8:40                                   ` Michael Albinus
2019-09-21 21:31                                     ` Eric Abrahamsen
2019-09-22  1:04                                       ` Michael Heerdegen
2019-09-22  2:36                                         ` Eric Abrahamsen
2019-09-22  8:02                                           ` Michael Albinus
2019-09-25  9:39                                         ` Michael Heerdegen
2019-09-25 16:30                                           ` Eric Abrahamsen
2019-10-01 23:27                                             ` Eric Abrahamsen
2019-10-02 12:36                                               ` Michael Albinus
2019-10-03 23:22                                                 ` Eric Abrahamsen
2019-10-04  8:24                                                   ` Michael Albinus
2019-10-04 16:59                                                     ` Eric Abrahamsen
2019-10-05  7:53                                                       ` Michael Albinus
2019-10-05 11:59                                                         ` Eric Abrahamsen
2019-10-08  8:52                                                           ` bug#37590: " Michael Heerdegen
2019-10-08 18:40                                                             ` bug#36903: " Eric Abrahamsen
2019-10-09 14:37                                                               ` Michael Heerdegen
2019-08-12 15:36                   ` Eric Abrahamsen
2019-08-12 18:30                     ` Lars Ingebrigtsen

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

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

  git send-email \
    --in-reply-to=87pnllvera.fsf@ericabrahamsen.net \
    --to=eric@ericabrahamsen.net \
    --cc=36903@debbugs.gnu.org \
    --cc=larsi@gnus.org \
    /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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.