珞珈山水BBS电脑网络Linux & Unix → 单文区文章阅读

单文区文章阅读 [返回]
发信人: bigben (早起的鸟儿debug), 信区: Linux_Unix
标  题: Re: 用这个把代码pp的贴到bbs上^_^
发信站: 珞珈山水BBS站 (Thu Nov  3 21:07:03 2005), 转信

在Emacs中编辑文档的时候,如果开启了font-lock,就可以用这个,
M-x bbs-region  把当前region转换成ascii存到剪贴板
M-x bbs-buffer  把当前buffer转换成ascii存到剪贴板
可以通过定义bbs-color-map修改显示的颜色或者新增其他的代码加亮。
仅限telnet^_^

【 在 bigben (早起的鸟儿debug) 的大作中提到: 】
;; `bbs-color.el' -- Convert buffer or region into special bbs ascii code.
;; Filename: bbs-color.el
;; Author: bigben
: ...................

--
Hi, I'm a signature virus.
Copy me into your signature to help me spread.


※ 来源:·珞珈山水BBS站 bbs.whu.edu.cn·[FROM: 202.114.79.*]
[返回单文区目录]

武汉大学BBS 珞珈山水站 All rights reserved.
wForum , 页面执行时间:13.666毫秒