Python论坛  - 讨论区

标题:[python-chinese] 求助emacs

2007年01月17日 星期三 12:32

头太晕 torrycn在gmail.com
星期三 一月 17 12:32:31 HKT 2007

ллÁË.»ØÍ·ÊÔÊÔ.

2007/1/17, sy5tem <open8sd在gmail.com>:
>
> Í·Ì«ÔÎ:
>
> xemacsÓ¦¸Ã»¹·½±ãЩ°É¡£
> ÄãÊÔemacsûÓÐÄØ£¿»¹ÓоÍÊÇ°²×°mule-ucsûÓУ¬Èç¹û»¹²»ÐеĻ°£¬ºÃÏóÅäÖÃÎļþÖл¹ÒªÐ´Ò»Ð©ÉèÖã¬ÒÔÇ°ÎÒÅäÖÃemacsµÄʱºò´Ó
> http://www.emacs.cn/ ¸´ÖƵÄÅäÖÃÎļþ¡£
>
> ÏÖÔÚÊÇÔÚnetbsdÏÂÃ棬ÅäÖÃÎļþÊÇ´ÓÒÔÇ°ÎÒµÄmagiclinuxÏÂcopy¹ýÀ´µÄ£¨ÄÇʱҲÊÇ´ÓÍøÉϸ´ÖƵĴ󲿷Ö×Ô¼ºÐÞ¸ÄÁËһЩ£©£¬²»ÖªµÀÊÇ·ñ¶ÔÄãÓаïÖú£¬
>
>
> ----------------------------------------------------
> (mouse-avoidance-mode 'animate)
> (setq column-number-mode t)
> (setq inhibit-startup-message t)
> (global-font-lock-mode t)
> (setq font-lock-maxinum-decoration t)
> (if window-system
>    (setq default-frame-alist
>          (append
>               '((top . 0) (left . 0) (width . 78) (height . 29))
>                    default-frame-alist)))
> (add-to-list 'load-path "~/.edir/python-mode")
> (add-to-list 'load-path "~/.edir/ecb")
> (add-to-list 'load-path "~/.edir/eieio")
> (add-to-list 'load-path "~/.edir/semantic")
> (add-to-list 'load-path "~/.edir/speedbar")
> (require 'ecb-autoloads)
> (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.
>  '(case-fold-search t)
>  '(current-language-environment "Chinese-GB")
>  '(default-input-method "chinese-py-punct")
>  '(ecb-options-version "2.32")
>  '(global-font-lock-mode t nil (font-lock)))
> (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.
>  )
>
>
> (display-time-mode 1)
>
> ;;ÑÕÉ«ÉèÖã¬ÆäʵÓиöcolor-theme.el¿ÉÒÔ½«EmacsÉèÖ÷ḻ¶à²Ê£¬·Ç³£Æ¯ÁÁ£¬²»¹ýÆô¶¯ÓÐЩÂý£¨ÎҵûúÆ÷²»ÐУ©£¬ÎÒÖ»ÊÇÑ¡ÔñÁËһЩÑÕÉ«ÉèÖá£
>  ;; Ö¸ÕëÑÕÉ«ÉèÖÃΪ°×É«
>   (set-cursor-color "white")
>    ;; Êó±êÑÕÉ«ÉèÖÃΪ°×É«
>     (set-mouse-color "white")
>      ;; ÉèÖñ³¾°ÑÕÉ«ºÍ×ÖÌåÑÕÉ«
>       (set-foreground-color "green")
>        (set-background-color "black")
>         ;; ÉèÖÃÁíÍâһЩÑÕÉ«£ºÓï·¨¸ßÁÁÏÔʾµÄ±³¾°ºÍÖ÷Ì⣬ÇøÓòÑ¡ÔñµÄ±³¾°ºÍÖ÷Ì⣬¶þ´ÎÑ¡ÔñµÄ±³¾°ºÍÑ¡Ôñ
>      (set-face-foreground 'highlight "white")
>       (set-face-background 'highlight "blue")
>        (set-face-foreground 'region "cyan")
>         (set-face-background 'region "blue")
>          (set-face-foreground 'secondary-selection "skyblue")
>           (set-face-background 'secondary-selection "darkblue")
>            ;;ÉèÖÃÈÕÀúµÄһЩÑÕÉ«
>             (setq calendar-load-hook
>          '(lambda ()
>           (set-face-foreground 'diary-face "skyblue")
>            (set-face-background 'holiday-face "slate blue")
>             (set-face-foreground 'holiday-face "white")))
>
> ;;Íâ¹ÛÉèÖÃ
>  ;;È¥µô¹¤¾ßÀ¸
>   (tool-bar-mode nil)
>    ;;È¥µô²Ëµ¥À¸£¬ÎÒ½«F10°ó¶¨ÎªÏÔʾ²Ëµ¥À¸£¬Íòһʲô¶«Î÷ÍüÁË£¬ÐèÒª²Ëµ¥À¸ÁË¿ÉÒÔÞôF10µ÷³ö£¬ÔÙÞôF10¾ÍÈ¥µô²Ëµ¥
>     (menu-bar-mode nil)
>      ;;²»Òª¹ö¶¯À¸£¬ÏÖÔÚ¶¼ÓùöÖáÊó±êÁË£¬¿ÉÒÔ²»Óùö¶¯À¸ÁË
>       (scroll-bar-mode nil)
>
> ;; for python-mode
>
> (setq auto-mode-alist
>    (cons '("\\.py$" . python-mode) auto-mode-alist))
> (setq interpreter-mode-alist
>    (cons '("python" . python-mode) interpreter-mode-alist))
> (autoload 'python-mode "python-mode" "python editing mode." t)
>
>
> ;;(add-hook 'c++-mode-hook
> ;;   (lambda ()
> ;;     (c-set-style "bsd")
> ;;     (hs-minor-mode)
> ;;     (local-set-key "\C-c\t" 'complete-symbol)
> ;;     (local-set-key "\C-m" 'newline-and-indent)
> ;;     (setq mslk-c++-key (make-keymap))
> ;;     (local-set-key "\C-j" mslk-c++-key)
> ;;     (define-key mslk-c++-key "\C-j" 'complete-symbol)
> ;;     (define-key mslk-c++-key "\C-o" 'hs-hide-all)
> ;;     (define-key mslk-c++-key "\C-p" 'hs-show-all)
> ;;     (define-key mslk-c++-key "\C-h" 'hs-hide-block)
> ;;     (define-key mslk-c++-key "\C-u" 'hs-show-block)
> ;;     (define-key mslk-c++-key "\C-l" 'hs-hide-level)
> ;;     (define-key mslk-c++-key "\C-m" 'hs-toggle-hiding)
> ;;     ))
>
> ;;(add-hook 'c-mode-hook 'c++-mode)
> -------------------------------------------------
>
>
>
>
>
> _______________________________________________
> python-chinese
> Post: send python-chinese在lists.python.cn
> Subscribe: send subscribe to python-chinese-request在lists.python.cn
> Unsubscribe: send unsubscribe to  python-chinese-request在lists.python.cn
> Detail Info: http://python.cn/mailman/listinfo/python-chinese
>
-------------- 下一部分 --------------
Ò»¸öHTML¸½¼þ±»ÒƳý...
URL: http://python.cn/pipermail/python-chinese/attachments/20070117/757a5d0c/attachment.htm 

[导入自Mailman归档:http://www.zeuux.org/pipermail/zeuux-python]

2007年01月17日 星期三 13:09

Mike Green iasyb在yahoo.com.cn
星期三 一月 17 13:09:48 HKT 2007

 ²»¹ý£¬Ä¿Ç°ubuntuϵı༭Æ÷¶¼Ö§³Öutf8
°üÀ¨ÄǸövim-tiny

lu_zi_2000 <lu_zi_2000在163.com> дµÀ£º         linuxϱßд³ÌÐòºÜ¾Ã²»ÓÃÖÐÎÄÁË,Ô­ÒòÊDz»Í¬µÄϵͳµÄ²î±ðÌ«´ó,Äã²»ÄÜÒªÇóËùÓеÄϵͳ¶¼ÓÐÖÐÎÄÖ§³Ö,so....ÓÃÆ´Òô....
  
   
---------------------------------
 
 lu_zi_2000
 2007-01-17

  
---------------------------------
 
 ·¢¼þÈË£º  sy5tem
 ·¢ËÍʱ¼ä£º  2007-01-17 09:37:24
 ÊÕ¼þÈË£º  python-chinese在lists.python.cn
 ³­ËÍ£º 
 Ö÷Ì⣺ Re:  [python-chinese]ÇóÖúemacs
  
 ×°ucsÊÔһϰɣ¬Èç¹ûÊÇdebianÀàϵͳ£¬Ö±½Óapt-get install  mule-ucs

¾ßÌåµÄ£¬Äã¿ÉÒԲο¼ÕâÀï
http://wiki.huihoo.com/index.php?title=GNU_Emacs

Èç¹ûÊÇ·ÇdebianÀàϵͳ£¬ÈôÓÐ×Ô¶¯°²×°Èí¼þ°ü»úÖÆ£¬Ò²¿ÉÀàËÆ°²×°  
--------------

 ÔÚ07-1-17£¬jian hui  zheng <mayapainter在gmail.com> дµÀ£º linuxÏÂÖÐÎĸ㲻¶¨...



_______________________________________________
python-chinese
Post: send python-chinese在lists.python.cn
Subscribe: send subscribe to python-chinese-request在lists.python.cn
Unsubscribe: send unsubscribe to  python-chinese-request在lists.python.cn
Detail Info: http://python.cn/mailman/listinfo/python-chinese

 		
---------------------------------
 Mp3·è¿ñËÑ-иèÈȸè¸ßËÙÏ   
-------------- 下一部分 --------------
Ò»¸öHTML¸½¼þ±»ÒƳý...
URL: http://python.cn/pipermail/python-chinese/attachments/20070117/4d8d2e48/attachment.htm 

[导入自Mailman归档:http://www.zeuux.org/pipermail/zeuux-python]

2007年01月17日 星期三 18:01

Hong Yuan hongyuan在homemaster.cn
星期三 一月 17 18:01:26 HKT 2007

GNU Emacs新版本22版在Linux下中文支持很好。不过该版本需要用CVS下载然后自
己编译。

头太晕 写道:
> 谢谢了.回头试试.
>
> 2007/1/17, sy5tem <open8sd在gmail.com open8sd在gmail.com>>:
>
>     头太晕:
>
>     xemacs应该还方便些吧。
>     你试emacs没有呢?还有就是安装mule-ucs没有,如果还不行的话,好象配
>     置文件中还要写一些设置,以前我配置emacs的时候从
>     http://www.emacs.cn/ <http://www.emacs.cn/> 复制的配置文件。
>

-- 

大管家网上建材超市
装修买建材 上网找大管家
http://www.homemaster.cn
Tel: 0086-21-34240987
Fax: 0086-21-64692422


[导入自Mailman归档:http://www.zeuux.org/pipermail/zeuux-python]

2007年01月18日 星期四 08:30

Jamsa zhujiemao在126.com
星期四 一月 18 08:30:41 HKT 2007

直接用emacs23 应该可以吧,我现在Win下就是用emacs23,支持unicode,中文也没有什么问题。


python-chinese
Post: send python-chinese在lists.python.cn
Subscribe: send subscribe to python-chinese-request在lists.python.cn
Unsubscribe: send unsubscribe to  python-chinese-request在lists.python.cn
Detail Info: http://python.cn/mailman/listinfo/python-chinese

[导入自Mailman归档:http://www.zeuux.org/pipermail/zeuux-python]

如下红色区域有误,请重新填写。

    你的回复:

    请 登录 后回复。还没有在Zeuux哲思注册吗?现在 注册 !

    Zeuux © 2025

    京ICP备05028076号