Gnus development mailing list
 help / color / mirror / Atom feed
From: Eric Abrahamsen <eric@ericabrahamsen.net>
To: ding@gnus.org
Subject: Re: My thoughts on the Gnus source code
Date: Tue, 16 Feb 2016 10:25:19 +0800	[thread overview]
Message-ID: <87egcdie7k.fsf@ericabrahamsen.net> (raw)
In-Reply-To: <m2ziv3mett.fsf@fastmail.com>

Random832 <random832@fastmail.com> writes:

> Eric Abrahamsen <eric@ericabrahamsen.net> writes:
>> 1. I don't think there's anything inherently unsuitable about Elisp for
>>    writing a MUA (or any other type of software). It's a general
>>    programming language, a little different from Python or other more
>>    popular languages, but it comes with a full complement of modern
>>    programming features.
>
> The real problem isn't Lisp as a language, it's the lack of
> multithreading or asynchronous constructs (I don't know if Emacs has the
> latter, but if it does, Gnus doesn't seem to use it - it certainly
> doesn't have the former.)
>
> As a *user*, the biggest usability problem I've had with Gnus is the
> inability to easily recover from dropped connections. The fact that it
> tries to hold the connections open long-term in the first place is
> another possible cause of this, and someone gave me a setting to try to
> make it do this less, but I didn't see any improvement.

That's definitely true! I'm in China, and the Great Firewall froths at
the mouth about long-running TLS connections. Recovering from bum
connections would be a great area for improvement, but unfortunately one
I'm not capable of coding or even really commenting about. I don't know
much about network programming.

[...]

>> On a side note, I'd also hope we can start treating code like the below
>> as a bug. It may do what it's supposed to do, but...
>
> I think that A: any such code should be heavily commented, and B: it
> should use let variables. I'm not very experienced with Elisp - is there
> an "unpack/let" construct? Is that what pcase is supposed to be for?

Yes, I think it would just be a matter of helper macros, lets, etc. This
isn't quite what pcase is for -- that'as more for matching input (sort
of a cond on steroids), whereas what we need are functions for
manipulating complicated/nested list structures.

E




  parent reply	other threads:[~2016-02-16  2:25 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-02-12 20:44 Nikolaus Rath
2016-02-13  3:52 ` Eric Abrahamsen
2016-02-14 16:33   ` Random832
2016-02-14 19:33     ` Sebastian Christ
2016-02-16  2:25     ` Eric Abrahamsen [this message]
2016-02-16  2:39       ` Lars Ingebrigtsen
2016-02-16  7:33         ` Eric Abrahamsen
2016-02-16  7:49           ` Lars Ingebrigtsen
2016-02-16  8:03             ` Eric Abrahamsen
2016-02-16 16:09   ` Nikolaus Rath
2016-02-17 14:12     ` Eric Abrahamsen
2016-03-26 11:42 ` external editor (was: My thoughts on the Gnus source code) Uwe Brauer
2016-03-28 17:08   ` external editor Nikolaus Rath
2016-03-29 10:05     ` Uwe Brauer

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=87egcdie7k.fsf@ericabrahamsen.net \
    --to=eric@ericabrahamsen.net \
    --cc=ding@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.
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 NNTP newsgroup(s).