From: Michael Welsh Duggan <md5i@cs.cmu.edu>
Subject: Re: %c in gnus-summary-line-format in nnfolder groups
Date: Fri, 21 Apr 2000 14:24:57 GMT [thread overview]
Message-ID: <v1t1z3zwmyu.fsf@takayama.mt.cs.cmu.edu> (raw)
In-Reply-To: <m34s8w8n75.fsf@SnowWhite.inet.cz>
[-- Attachment #1: Type: text/plain, Size: 992 bytes --]
Pavel.Janik@inet.cz (Pavel Janik ml.) writes:
> From: Lars Magne Ingebrigtsen <larsi@gnus.org>
>
> [%c in gnus-summary-line-format and nnfolder]
>
> > Yes. nnfolder articles normally do not have info on the number of
> > characters in the articles.
>
> hmm:
>
> --- gnus.texi Thu Apr 20 23:35:17 2000
> +++ gnus.texi.pj Thu Apr 20 23:36:26 2000
> @@ -3858,7 +3858,8 @@
> @item L
> Number of lines in the article.
> @item c
> -Number of characters in the article.
> +Number of characters in the article. This specifier is not supported in some
> +methods (like nnfolder).
> @item I
> Indentation based on thread level (@pxref{Customizing Threading}).
> @item T
>
> Can I workaround this? How? I'd like to have nr of chars there. The message
> can have one line and 1GB+ of chars :-)
Does the following patch fix things maybe? I created it to fix
something else, but am unsure whether it would fix your problem. (Or
for that matter, break something else.)
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: # of chars patch --]
[-- Type: text/x-patch, Size: 445 bytes --]
Index: lisp/nnheader.el
===================================================================
RCS file: /usr/local/cvsroot/gnus/lisp/nnheader.el,v
retrieving revision 5.36
diff -u -r5.36 nnheader.el
--- lisp/nnheader.el 2000/03/15 10:42:57 5.36
+++ lisp/nnheader.el 2000/03/28 18:00:17
@@ -257,7 +257,7 @@
ref)
nil)))
;; Chars.
- 0
+ (- (point-max) (point-min))
;; Lines.
(progn
(goto-char p)
[-- Attachment #3: Type: text/plain, Size: 38 bytes --]
--
Michael Duggan
(md5i@cs.cmu.edu)
next prev parent reply other threads:[~2000-04-21 14:24 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-03-28 11:17 Pavel Janik ml.
2000-04-20 1:03 ` Lars Magne Ingebrigtsen
2000-04-20 21:41 ` Pavel Janik ml.
2000-04-21 14:24 ` Michael Welsh Duggan [this message]
2000-04-21 16:18 ` Lars Magne Ingebrigtsen
2000-04-21 21:21 ` Michael Welsh Duggan
2000-04-22 12:05 ` Lars Magne Ingebrigtsen
2000-04-22 16:12 ` Michael Welsh Duggan
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=v1t1z3zwmyu.fsf@takayama.mt.cs.cmu.edu \
--to=md5i@cs.cmu.edu \
/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).