unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Eric Abrahamsen <eric@ericabrahamsen.net>
To: Deus Max <deusmax@gmx.com>
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 14:10:40 -0700	[thread overview]
Message-ID: <87ftj6j86n.fsf@ericabrahamsen.net> (raw)
In-Reply-To: <87ftj672l8.fsf@dellcorei5dias.home> (Deus Max's message of "Sat,  02 Nov 2019 16:52:19 +0200")


On 11/02/19 16:52 PM, Deus Max wrote:
> On Sat, Nov 02 2019, dick.r.chiang@gmail.com wrote:
>
>> One, to reiterate, the patch at hand is a useability improvement, protecting new users from
>> the byzantine distinction of primary/secondary, and preserving the distinction
>> internally for backwards compatibility.  Some have argued keeping the internal
>> distinction makes the patch unworthy of the risk, to which I am sympathetic.
>>
> You agree it is a usability improvement and that the current behaviour is
> a byzantine distinction.
> Sometimes to move forward, you have to break continuity.
> Especially with byzantine practises, old OSes, etc., etc.
>
>> Two, with mild effort, I could fully eliminate the distinction without user
>> guidance or manually rewriting newsrcs.  Such a change exacerbates risk.
>
> Which is probably not mild. As you will discover from the many-many bugs
> that follow.

A while ago I worked on a patch that removed the distinction altogether.
I just assumed that the first method in `gnus-select-methods' should be
treated specially, and all unprefixed groups were assigned to that
method at load time. That part wasn't hard. Then each method had a
"display prefix" parameter, which defaulted to the name of the method
except for the first method, where it defaulted to the empty string.
Group names stayed fully prefixed everywhere in the system, and were
only displayed differently.

I was actually happier with getting rid of the
is-the-group-name-prefixed-or-not logic all over Gnus than I was with
reducing user confusion with two select method options.

But there's a lot of very fundamental code that wants
`guns-select-method' to be set, and I eventually got bogged down with
that. I still think it's worth doing, though.

Eric





  reply	other threads:[~2019-11-02 21:10 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
2019-11-02 14:10       ` dick.r.chiang
2019-11-02 14:52         ` Deus Max
2019-11-02 21:10           ` Eric Abrahamsen [this message]
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=87ftj6j86n.fsf@ericabrahamsen.net \
    --to=eric@ericabrahamsen.net \
    --cc=37926@debbugs.gnu.org \
    --cc=deusmax@gmx.com \
    --cc=dick.r.chiang@gmail.com \
    --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).