unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: Eric Abrahamsen <eric@ericabrahamsen.net>
Cc: emacs-devel@gnu.org
Subject: Re: Turning Gnus groups into real objects
Date: Sun, 21 Jul 2019 09:40:47 -0400	[thread overview]
Message-ID: <jwvimrvv75z.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <877e8c2mhe.fsf@ericabrahamsen.net> (Eric Abrahamsen's message of "Sat, 20 Jul 2019 18:41:01 -0700")

> (probably not), or b) adjust gnus-check-backend-function and
> gnus-get-function to check if the server is a list or a struct and
> dispatch to different kinds of functions.

FWIW, cl-defmethod can also dispatch based on whether it's a struct or
list, but I'm not sure so the "old-style" functionality could maybe be
implemented as a kind of "compatibility backend of type `cons`"?


        Stefan




  parent reply	other threads:[~2019-07-21 13:40 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-07-17 19:29 Turning Gnus groups into real objects Eric Abrahamsen
2019-07-17 21:33 ` Andy Moreton
2019-07-17 22:04   ` Eric Abrahamsen
2019-07-17 21:59 ` Stefan Monnier
2019-07-17 22:08   ` Eric Abrahamsen
2019-07-18 11:59 ` Lars Ingebrigtsen
2019-07-18 18:01   ` Eric Abrahamsen
2019-07-19 12:56     ` Lars Ingebrigtsen
2019-07-19 18:47       ` Eric Abrahamsen
2019-07-19 22:10         ` Stefan Monnier
2019-07-19 23:56           ` Eric Abrahamsen
2019-07-20 12:52         ` Lars Ingebrigtsen
2019-07-21  1:41           ` Eric Abrahamsen
2019-07-21 12:34             ` Barry Fishman
2019-07-22 17:14               ` Eric Abrahamsen
2019-07-21 13:40             ` Stefan Monnier [this message]
2019-07-22 16:38               ` Eric Abrahamsen
2019-07-21 14:02             ` Lars Ingebrigtsen
2019-07-22 16:26               ` Eric Abrahamsen

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=jwvimrvv75z.fsf-monnier+emacs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=emacs-devel@gnu.org \
    --cc=eric@ericabrahamsen.net \
    /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 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).