🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: cn.comp.os.linux
Article #10697

找到如何设置这个了

#10697
From: 进化的鱼
Date: Mon, 16 Jun 2003 09:47
71 lines
3655 bytes
��������ǰ�ᵽ��֪��λ�ֵ��Ƿ��Ѿ��㶨���⼸���ϲ��� cn99��������ʱ��
����������һ�� Gnus���ҵ���������� header��

        ��>>>>>>  somebody <somebody@some.where> writes:��

������� .gnus.el ������룺

  (setq sc-electric-references-p t)

�����ӵ�ʱ��ת��һ�� *sc-erefs* buffer�����ﰴ n/p ����ѡ���ָ�ʽ����
h����������Ϣ�����е�ѡ���ɱ��� sc-rewrite-header-list �еĺ����б��
ȱʡ��ʹ���ɱ��� sc-preferred-header-style ָ�����Ǹ�����

================================================================

������趨����ɫ�� header���Լ�д�� lisp ����

  (defun my-sc-header-writes ()
    "\"<from>������<subject>��˵����\""
    (let ((sc-mumble "")
        (whofrom (sc-whofrom)));(sc-mail-field "from")
      (if whofrom
        (insert sc-reference-tag-string
                whofrom
                (sc-hdr "������" (sc-mail-field "subject") "��")
                "˵����\n"))))

���� sc-rewrite-header-list ��

  (add-hook 'sc-load-hook
          '(lambda () 
               (add-to-list 'sc-rewrite-header-list '(my-sc-header-writes))))

ȱʡʹ���Լ������ my-sc-header-writes ��

  (setq sc-preferred-header-style 0)

ȱʡ�ľ����Լ������ header �ˣ���ϲ��ÿ�ζ����� *sc-erefs* buffer ѡ��
��ǰ��� (setq sc-electric-references-p t) ȥ�����߸�Ϊ nil��

,----[ C-h v sc-rewrite-header-list RET ]
| sc-rewrite-header-list's value is shown below.
| 
| *List of reference header rewrite functions.
| The variable `sc-preferred-header-style' controls which function in
| this list is chosen for automatic reference header insertions.
| Electric reference mode will cycle through this list of functions.
| 
| You can customize this variable.
| 
| Defined in `supercite'.
| 
| Value:
| ((my-sc-header-writes)
|  (sc-no-header)
|  (sc-header-on-said)
|  (sc-header-inarticle-writes)
|  (sc-header-regarding-adds)
|  (sc-header-attributed-writes)
|  (sc-header-author-writes)
|  (sc-header-verbose)
|  (sc-no-blank-line-or-header))
| 
| [back]
`----


-- 
 ~~һ�쵽��~�����~~
email: (rot13 "qqqxx@fvan.pbz")
Technical Details
Message-ID: <m2y902xsjn.fsf@db.hit.edu.cn>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-01!sn-xit-09!supernews.com!64.152.100.70.MISMATCH!sjc70.webusenet.com!news.webusenet.com!news.bylinux.net!news.cn99.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: Chinese,GB
X-Google-Thread: 10b277,98ea2c5b5b8c3620,start
X-Google-Attributes: gid10b277,public
X-Google-ArrivalTime: 2003-06-16 02:48:05 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-01!sn-xit-09!supernews.com!64.152.100.70.MISMATCH!sjc70.webusenet.com!news.webusenet.com!news.bylinux.net!news.cn99.com!not-for-mail
From: 进化的鱼 <o.oO@Oo.o>
Newsgroups: cn.comp.os.linux
Subject: 找到如何设置这个了
Date: Mon, 16 Jun 2003 17:47:40 +0800
Organization: Bentium Ltd. (CN99)
Lines: 71
Message-ID: <m2y902xsjn.fsf@db.hit.edu.cn>
NNTP-Posting-Host: 61.167.60.204
Mime-Version: 1.0
Content-Type: text/plain; charset=gb2312
Content-Transfer-Encoding: 8bit
X-Trace: mail.cn99.com 1055756810 22380 61.167.60.204 (16 Jun 2003 09:46:50 GMT)
X-Complaints-To: usenet@news.cn99.com
NNTP-Posting-Date: Mon, 16 Jun 2003 09:46:50 +0000 (UTC)
User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (gnu/linux)
Cancel-Lock: sha1:0Kjaexo+oQSKZdTKVQ7jJlzcDXQ=