Gnus development mailing list
 help / color / mirror / Atom feed
From: Reiner Steib <reinersteib+gmane@imap.cc>
To: ding@gnus.org
Subject: Re: pop3.el: Display the size of the message being fetched (POP3 LIST command)
Date: Tue, 10 Feb 2009 23:18:36 +0100	[thread overview]
Message-ID: <87zlgu6imb.fsf@marauder.physik.uni-ulm.de> (raw)
In-Reply-To: <86ab8ul5av.fsf@lifelogs.com> (Ted Zlatanov's message of "Tue, 10 Feb 2009 08:44:56 -0600")

[ The following message is a courtesy copy of an article that has
  been posted to news:gmane.emacs.gnus.general as well. ]

On Tue, Feb 10 2009, Ted Zlatanov wrote:

> "Bojan Petrovic" <bojan_petrovic@fastmail.fm> wrote: 
> BP> Katsumi Yamaoka <yamaoka@jpl.org> said:
>>> BTW, isn't `pop3-display-message-size', the name of the option,
>>> enough rather than `pop3-display-message-size-flag'?
>
> BP> Yes, the name is really long, but I followed (and possibly 
> BP> misapplied) the advice from Emacs "Coding Conventions":
>
> BP> * If a user option variable records a true-or-false condition, give
> BP>      it a name that ends in `-flag'.

At least one of the current Emacs maintainers (Stefan) disagrees with
this convention.  I don't like it as well, since boolean options often
are extended to allow other values.  The the option would have to be
renamed.  

In Gnus, we never really followed this convention:

,----
| -*- mode: grep; default-directory: "gnus/trunk/lisp/" -*-
| Grep started at Tue Feb 10 23:16:09
| 
| grep -nH -e '^(def.*-flag\>' *.el
| gnus-bookmark.el:91:(defcustom gnus-bookmark-sort-flag t
| imap.el:1756:(defun imap-message-flag-permanent-p (flag &optional mailbox buffer)
| imap.el:2689:(defun imap-parse-flag-list ()
| nnimap.el:1702:(defconst nnimap-mark-to-flag-alist
| nnimap.el:1715:(defun nnimap-mark-to-flag-1 (preds)
| nnimap.el:1721:(defun nnimap-mark-to-flag (preds &optional always-list make-string)
| spam.el:589:(defcustom spam-spamassassin-spam-flag-header "X-Spam-Flag"
| spam.el:594:(defcustom spam-spamassassin-positive-spam-flag-header "YES"
| 
| Grep finished (matches found) at Tue Feb 10 23:16:10
`----

> In addition, "*-size" would imply it customizes a size at first glance.

Not really.  `pop3-display-message-size' is clear IMHO.

Bye, Reiner.
-- 
       ,,,
      (o o)
---ooO-(_)-Ooo---  |  PGP key available  |  http://rsteib.home.pages.de/



  reply	other threads:[~2009-02-10 22:18 UTC|newest]

Thread overview: 45+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-02-07 23:35 Bojan Petrovic
2009-02-09 20:11 ` Ted Zlatanov
2009-02-09 22:48   ` Reiner Steib
2009-02-09 23:07     ` Katsumi Yamaoka
2009-02-09 23:38       ` Bojan Petrovic
2009-02-10 14:44       ` Ted Zlatanov
2009-02-10 22:18         ` Reiner Steib [this message]
2009-02-11  1:08           ` Bojan Petrovic
2009-04-01 21:21     ` Bojan Petrovic
2009-04-13 15:54       ` Ted Zlatanov
2009-04-16 19:06         ` Reiner Steib
2009-04-16 20:08           ` Ted Zlatanov
2009-08-04 14:32             ` Ted Zlatanov
2009-12-25 20:07               ` Bojan Petrovic
2010-01-05 19:40                 ` Ted Zlatanov
2010-01-12 17:16                   ` Reiner Steib
2010-01-13 21:13                     ` Gnus VCS issues (was: pop3.el: Display the size of the message being fetched (POP3 LIST command)) Ted Zlatanov
2010-01-14 16:40                       ` Gnus VCS issues Bojan Nikolic
2010-01-14 19:49                       ` Reiner Steib
2010-01-19 22:04                       ` Lars Magne Ingebrigtsen
2010-01-20 15:05                         ` Ted Zlatanov
2010-01-20 21:48                           ` Andreas Schwab
2010-01-20 22:19                             ` Adam Sjøgren
2010-01-20 22:36                               ` Reiner Steib
2010-01-20 23:31                                 ` Adam Sjøgren
2010-01-22  7:11                                   ` Christian
2010-01-22 16:39                                     ` Adam Sjøgren
2010-01-25  6:15                                       ` Miles Bader
2010-01-28 19:16                                 ` Florian Weimer
2010-01-29 18:39                                   ` Ted Zlatanov
2010-02-22 20:49                                     ` Ted Zlatanov
     [not found]                                       ` <m3mxytge3r.fsf@quimbies.gnus.org>
2010-03-01 14:28                                         ` Ted Zlatanov
2010-03-22 13:08                                           ` Ted Zlatanov
2010-02-01 22:56                                 ` Byung-Hee HWANG
2010-02-22 21:56                                 ` Didier Verna
2010-01-20 23:17                               ` Andreas Schwab
2010-01-25  6:16                                 ` Miles Bader
2010-01-20 23:51                               ` David Engster
2010-01-21  0:11                                 ` Adam Sjøgren
2010-01-25  6:20                                 ` Miles Bader
2010-01-25 11:10                                   ` David Engster
2010-01-25 13:27                                     ` Andreas Schwab
2010-03-20 15:21                     ` pop3.el: Display the size of the message being fetched (POP3 LIST command) Ted Zlatanov
  -- strict thread matches above, loose matches on Subject: below --
2009-02-06 14:34 Bojan Petrovic
2009-02-06 20:44 ` Ted Zlatanov

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=87zlgu6imb.fsf@marauder.physik.uni-ulm.de \
    --to=reinersteib+gmane@imap.cc \
    --cc=Reiner.Steib@gmx.de \
    --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).