🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

.emacs & .gnus something

#10910
From: It's me FKtPp ;)
Date: Fri, 06 Jun 2003 04:52
78 lines
4160 bytes
ͻȻ�䣬���и��뷨��
��Ҳ�����Լ���.emacs��.gnus������������飬�������ǿ��ܻ��ĸ��
Щ����ע�͵�����ˣ�
��ҿ�������뷨��Σ�

����linux�µ�.emacs��.gnus���������ޣ����Դ�Ҳ�ҪЦ��Ŷ!!���д����
�ʹ���ƴд����û����ƴд��죬�������ֻ�������ע�����棬����֤����
---------------------------------------------------------
.emacs
---------------------------------------------------------
;; Resolve Terminal Coding error in GBK Locale
(set-terminal-coding-system 'chinese-iso-8bit)
 
;; Resolve Copy&Paste problem
(set-selection-coding-system 'chinese-iso-8bit) 

;; Try GB2312 local :) This resolves DisplayTime problem 
(setq locale-coding-system 'chinese-iso-8bit)

;; Try Xim :P This makes xim working in emacs :)
(set-keyboard-coding-system 'chinese-iso-8bit)

;; set this variables to try gnus-5.10.2
(setq load-path (cons (expand-file-name "/usr/src/gnu/gnus-5.10.2/lisp") load-path))
(require 'gnus-load)
(require 'info)
(setq Info-default-directory-list 
        (cons "/usr/src/gnu/gnus-5.10.2/texi" Info-default-directory-list))
(add-hook 'dired-mode-hook 'turn-on-gnus-dired-mode)


;; set up a hook to turn on Auto Fill mode when entering Text mode and
;; other modes based on Text mode:
(add-hook 'text-mode-hook 'turn-on-auto-fill)

;; turn the boring beep off
(setq visible-bell t)


(custom-set-variables
  ;; custom-set-variables was added by Custom -- don't edit or cut/paste it!
  ;; Your init file should contain only one such instance.
 '(auto-compression-mode t nil (jka-compr))
 '(canlock-password "e1f3495d0bfcf84f4f4ecf0dac6aa3b7680de30f")
 '(case-fold-search t)
 '(current-language-environment "Chinese-GB")
 '(default-input-method "chinese-py-punct")
 '(display-time-day-and-date nil)
 '(display-time-mode t nil (time))
 '(display-time-use-mail-icon t)
 '(global-font-lock-mode t nil (font-lock))
 '(mouse-wheel-mode t nil (mwheel))
 '(show-paren-mode t nil (paren))
 '(transient-mark-mode t)
 '(uniquify-buffer-name-style nil nil (uniquify)))
(custom-set-faces
  ;; custom-set-faces was added by Custom -- don't edit or cut/paste it!
  ;; Your init file should contain only one such instance.
 )
---------------------------------------------------------
.gnus
---------------------------------------------------------
;; setup some variables for testing Gnus 5.10.2 ;)
(setq message-insert-canlock nil)

;; Custome cite-function
(setq message-cite-function 'message-cite-original-without-signature)

;; set personal infomation for correct mail sending
(setq user-full-name "\"It's me FKtPp ;)\"")
(setq user-mail-address "m_pupil@yahoo.com.cn")

;; select news.cn99.com as news server
(setq gnus-select-method '(nntp "news.cn99.com"))

;; start gnus-agent for offline news not needed in Gnus 5.10.2
;; (gnus-agentize)
---------------------------------------------------------
Technical Details
Message-ID: <868ysfu7sv.fsf@yahoo.com.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!newsfeed.news2me.com!newsfeed.media.kyoto-u.ac.jp!spring.edu.tw!news.nctu.edu.tw!newsgate.cuhk.edu.hk!news.cn99.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: Chinese,GB
X-Google-Thread: 10b277,2765d0fe896ea58b,start
X-Google-Attributes: gid10b277,public
X-Google-ArrivalTime: 2003-06-05 21:53:03 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!newsfeed.news2me.com!newsfeed.media.kyoto-u.ac.jp!spring.edu.tw!news.nctu.edu.tw!newsgate.cuhk.edu.hk!news.cn99.com!not-for-mail
From: "It's me FKtPp ;)" <m_pupil@yahoo.com.cn>
Newsgroups: cn.comp.os.linux
Subject: .emacs & .gnus something
Date: Fri, 06 Jun 2003 12:52:16 +0800
Organization: Bentium Ltd. (CN99)
Lines: 78
Message-ID: <868ysfu7sv.fsf@yahoo.com.cn>
NNTP-Posting-Host: 218.11.80.30
Mime-Version: 1.0
Content-Type: text/plain; charset=gb2312
Content-Transfer-Encoding: 8bit
X-Trace: mail.cn99.com 1054875154 26672 218.11.80.30 (6 Jun 2003 04:52:34 GMT)
X-Complaints-To: usenet@news.cn99.com
NNTP-Posting-Date: Fri, 6 Jun 2003 04:52:34 +0000 (UTC)
User-Agent: Gnus/5.1002 (Gnus v5.10.2) Emacs/21.3 (gnu/linux)