From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/45292 Path: main.gmane.org!not-for-mail From: Simon Josefsson Newsgroups: gmane.emacs.gnus.general Subject: Re: Compiled format specs in .newsrc.eld? Date: Mon, 17 Jun 2002 18:54:44 +0200 Sender: owner-ding@hpc.uh.edu Message-ID: References: NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1024332946 21410 127.0.0.1 (17 Jun 2002 16:55:46 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 17 Jun 2002 16:55:46 +0000 (UTC) Cc: ding@gnus.org Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by main.gmane.org with esmtp (Exim 3.33 #1 (Debian)) id 17Jzn8-0005ZD-00 for ; Mon, 17 Jun 2002 18:55:46 +0200 Original-Received: from sina.hpc.uh.edu ([129.7.128.10] ident=lists) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 17JzmW-0005yB-00; Mon, 17 Jun 2002 11:55:08 -0500 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Mon, 17 Jun 2002 11:55:27 -0500 (CDT) Original-Received: from sclp3.sclp.com (qmailr@sclp3.sclp.com [209.196.61.66]) by sina.hpc.uh.edu (8.9.3/8.9.3) with SMTP id LAA05708 for ; Mon, 17 Jun 2002 11:55:10 -0500 (CDT) Original-Received: (qmail 16713 invoked by alias); 17 Jun 2002 16:54:46 -0000 Original-Received: (qmail 16708 invoked from network); 17 Jun 2002 16:54:46 -0000 Original-Received: from 178.230.13.217.in-addr.dgcsystems.net (HELO yxa.extundo.com) (217.13.230.178) by gnus.org with SMTP; 17 Jun 2002 16:54:46 -0000 Original-Received: from latte.josefsson.org (yxa.extundo.com [217.13.230.178]) (authenticated bits=0) by yxa.extundo.com (8.12.4/8.12.4) with ESMTP id g5HGsilf024045; Mon, 17 Jun 2002 18:54:44 +0200 Original-To: Jesper Harder Mail-Copies-To: nobody In-Reply-To: (Jesper Harder's message of "Mon, 17 Jun 2002 18:31:24 +0200") Original-Lines: 39 User-Agent: Gnus/5.090007 (Oort Gnus v0.07) Emacs/21.3.50 (i686-pc-linux-gnu) Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:45292 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:45292 Jesper Harder writes: > I wasn't really sure whether the manual or the code was wrong about saving > format specs -- I can think of two good reasons for not saving them: > > * It doesn't really matter. > * Byte-code isn't portable between Emacs and XEmacs. Yup. Is the manual correct below? Does Gnus byte-compile format-specs by default internally? Perhaps we should remove gnus-format-specs from gnus-variable-list completely. If there is no speed gain in M-x gnus-compile I vote for removing it. ,---- | If you use lots of these advanced thingies, you'll find that Gnus | gets quite slow. This can be helped enormously by running `M-x | gnus-compile' when you are satisfied with the look of your lines. | *Note Compilation::. | ... | Compilation | =========== | | Remember all those line format specification variables? | `gnus-summary-line-format', `gnus-group-line-format', and so on. Now, | Gnus will of course heed whatever these variables are, but, | unfortunately, changing them will mean a quite significant slow-down. | (The default values of these variables have byte-compiled functions | associated with them, while the user-generated versions do not, of | course.) | | To help with this, you can run `M-x gnus-compile' after you've | fiddled around with the variables and feel that you're (kind of) | satisfied. This will result in the new specs being byte-compiled, and | you'll get top speed again. Gnus will save these compiled specs in the | `.newsrc.eld' file. (User-defined functions aren't compiled by this | function, though--you should compile them yourself by sticking them | into the `.gnus.el' file and byte-compiling that file.) | `----