unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Deus Max <deusmax@gmx.com>
To: Eric Abrahamsen <eric@ericabrahamsen.net>
Cc: 37926@debbugs.gnu.org, Lars Ingebrigtsen <larsi@gnus.org>,
	dick.r.chiang@gmail.com
Subject: bug#37926: [PATCH] Unify Gnus select methods
Date: Sat, 02 Nov 2019 15:41:41 +0200	[thread overview]
Message-ID: <87ftj68kfe.fsf@dellcorei5dias.home> (raw)
In-Reply-To: <87y2x62gnf.fsf@ericabrahamsen.net> (Eric Abrahamsen's message of "Sun, 27 Oct 2019 11:21:40 -0700")

On Sun, Oct 27 2019, Eric Abrahamsen wrote:

> Lars Ingebrigtsen <larsi@gnus.org> writes:
>
>> dick.r.chiang@gmail.com writes:
>>
>>> Subject: [PATCH] Unify gnus select methods into one defcustom
>>
>> That was a long patch, and I'm not sure I understand what it's doing.
>> Won't this basically break everybody's .newsrc.eld files?
>
> Basically it's introducing a new customization option,
> `gnus-select-methods' to obsolete `gnus-select-method' and
> `gnus-secondary-select-methods'. The latter two options are retained,
> and obsoleted only for 'set, not 'get. Then the defcustoms are jimmied
> so that customizing any of the options also sets the other two, so that:
>
> gnus-select-methods = (cons gnus-select-method gnus-secondary-select-methods)
>
> `gnus-select-method' is still used, `gnus-secondary-select-methods' not
> anymore.
>
> It only works if you customize those options though, not setq, so I
> don't see this being practically usable...
>
> Eric

It seems to me that 'gnus-secondary-select-methods' is already set-up to
use multiple groups, so it would be *a lot* easier to move all group
definitions to 'gnus-secondary-select-methods' and deprecate
'gnus-select-method'.

The .newsrc* files would need to be updated for all unprefixed groups.
Maybe a command that asks the user for what prefix to use ?

No matter the implementation method, unifying the select methods, is
bound to create some backward compatibility issues, either with group
reading, history files etc.
Implementing it, maybe a chance to bump up the Gnus version ?
;-)

DeusM





  reply	other threads:[~2019-11-02 13:41 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-10-25 20:08 bug#37926: [PATCH] Unify Gnus select methods dick.r.chiang
2019-10-26 20:21 ` Eric Abrahamsen
2019-10-26 20:59   ` Andreas Schwab
2019-11-02 13:09     ` Deus Max
2019-11-02 13:36       ` Andreas Schwab
2019-11-02 14:09         ` Deus Max
2019-11-02 14:26           ` Andreas Schwab
2019-10-27 14:01 ` Lars Ingebrigtsen
2019-10-27 18:21   ` Eric Abrahamsen
2019-11-02 13:41     ` Deus Max [this message]
2019-11-02 14:10       ` dick.r.chiang
2019-11-02 14:52         ` Deus Max
2019-11-02 21:10           ` Eric Abrahamsen
2019-10-28  3:55   ` dick.r.chiang
2019-10-28 11:20     ` Lars Ingebrigtsen
2019-10-28 13:54       ` dick.r.chiang
2019-10-28 14:03         ` Lars Ingebrigtsen
2019-10-29  6:05           ` dick.r.chiang
2019-10-29 12:04             ` Lars Ingebrigtsen
2019-10-29 16:35               ` dick.r.chiang
2019-11-17  9:56                 ` 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

  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=87ftj68kfe.fsf@dellcorei5dias.home \
    --to=deusmax@gmx.com \
    --cc=37926@debbugs.gnu.org \
    --cc=dick.r.chiang@gmail.com \
    --cc=eric@ericabrahamsen.net \
    --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 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).