From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/68279 Path: news.gmane.org!not-for-mail From: Reiner Steib Newsgroups: gmane.emacs.gnus.general Subject: Re: pop3.el: Display the size of the message being fetched (POP3 LIST command) Date: Tue, 10 Feb 2009 23:18:36 +0100 Message-ID: <87zlgu6imb.fsf@marauder.physik.uni-ulm.de> References: <1234049754.2390.1299107629@webmail.messagingengine.com> <86d4drnzf1.fsf@lifelogs.com> <87fxin9qgm.fsf@marauder.physik.uni-ulm.de> <86ab8ul5av.fsf@lifelogs.com> Reply-To: Reiner Steib NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1234304396 22044 80.91.229.12 (10 Feb 2009 22:19:56 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 10 Feb 2009 22:19:56 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M16719@lists.math.uh.edu Tue Feb 10 23:21:11 2009 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by lo.gmane.org with esmtp (Exim 4.50) id 1LX0yW-0007Gh-2p for ding-account@gmane.org; Tue, 10 Feb 2009 23:21:04 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1LX0wK-0004N6-Lt; Tue, 10 Feb 2009 16:18:48 -0600 Original-Received: from mx1.math.uh.edu ([129.7.128.32]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1LX0wI-0004Md-Br for ding@lists.math.uh.edu; Tue, 10 Feb 2009 16:18:46 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtp (Exim 4.69) (envelope-from ) id 1LX0wE-0000MM-3N for ding@lists.math.uh.edu; Tue, 10 Feb 2009 16:18:46 -0600 Original-Received: from mail.uni-ulm.de ([134.60.1.11]) by quimby.gnus.org with esmtp (Exim 3.36 #1 (Debian)) id 1LX0wY-0006Pt-00 for ; Tue, 10 Feb 2009 23:19:02 +0100 Original-Received: from bridgekeeper.physik.uni-ulm.de (bridgekeeper.physik.uni-ulm.de [134.60.10.175]) by mail.uni-ulm.de (8.14.2/8.14.2) with ESMTP id n1AMIdJn029727 for ; Tue, 10 Feb 2009 23:18:39 +0100 (MET) Original-Received: from localhost (localhost [127.0.0.1]) by bridgekeeper.physik.uni-ulm.de (Postfix) with ESMTP id 492821361C for ; Tue, 10 Feb 2009 23:18:39 +0100 (CET) Original-Newsgroups: gmane.emacs.gnus.general X-Face: P05mdcZT&lL[-s2=mw~RsllZ0zZAb?vdE}.s (Ted Zlatanov's message of "Tue, 10 Feb 2009 08:44:56 -0600") Posted-To: gmane.emacs.gnus.general X-DCC-CTc-dcc2-Metrics: poseidon 1031; Body=1 Fuz1=1 Fuz2=1 X-Virus-Scanned: by amavisd-new X-Spam-Score: -2.6 (--) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:68279 Archived-At: [ 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" wrote: > BP> Katsumi Yamaoka 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/