EOF ãåããæããã
indicate-empty-lines ã indicate-buffer-boundaries ã使ãã¨ãããã¡ã®æå¾ã®ä½ç½®(ãã¡ã¤ã«ã®æ«å°¾)ãåããæã表示ããäºãã§ãã¾ãã
ãããããEmacs ã GUI (-nw ãªç°å¢ã§ã¯ãªã)ã§ä½¿ã£ã¦ãªãã¨å¹æããªãã¨æãã¾ãã
ãããã¯ãããã¡ãã¼ã«ã«å¤æ°ã¨ãã¦ä¿åããã¾ãã
# ã¤ã¾ãããããã¡æ¯ã«æåãå¤ããäºãã§ããããããããã¡ã§ã¯è¡¨ç¤ºããªãã£ããã
èªåã¯ä¸ã®ããã«è¨å®ãã¦ãã¾ãã
(setq-default indicate-empty-lines t) (setq-default indicate-buffer-boundaries 'right)
åè
ã®ãindicate-empty-lines ã¯ãä¸ã®ç»åã®ããã«å·¦ããªã³ã¸ã«ç¹ç·ã®ãããªãã®ã表示ããã¾ãã
# å·¦ã indicate-empty-lines ããªã³ã«ãããã®ãå³ããªãã
å¾è
ãindicate-buffer-boundaries ã¯ãã£ã¨ç´°ããè¨å®ããäºãã§ãã¾ãã
ä¾ãã°ã以ä¸ã®ããã«æå®ã§ãã¾ãã
;; å·¦ããªã³ã¸ã®ä¸ä¸ã«ãã¼ã¯ãã¤ãã (setq-default indicate-buffer-boundaries 'left) ;; å³ããªã³ã¸ã®ä¸ä¸ã«ãã¼ã¯ãã¤ãã (setq-default indicate-buffer-boundaries 'right) ;; å·¦ããªã³ã¸ã®ä¸ã¨å³ããªã³ã¸ã®ä¸ã«ãã¼ã¯ãã¤ãã (setq-default indicate-buffer-boundaries '((top . left) (t . right))) ;; å³ããªã³ã¸ã®ä¸ã¨å·¦ããªã³ã¸ã®ä¸ã«ãã¼ã¯ãã¤ãã (setq-default indicate-buffer-boundaries '((top . right) (t . left))) ;; å³ããªã³ã¸ã®ä¸ã«ã®ã¿ãã¼ã¯ãã¤ãã (setq-default indicate-buffer-boundaries '((top . right) (t . nil)))
èªåãç´°ããæåã¯ããããã£ã¦ãªãã®ã§ãã(ä»ã«ã top ã t ã®å¤ããã« up ã down ãæå®ã§ãã)ãå®éã«è¨å®ãã¦è©¦ãã¦ã¿ãã®ãè¯ãã¨æãã¾ãã
æå¾ã«èªåã®è¨å®(right)ã«ããå ´åã®ç»åã§ãã
å³ä¸ã®ãâããã¾ã ä¸ã«ãã¡ã¤ã«ãããäºããå³ä¸ã®ãããã¯ããã¡ã¤ã«ãããã§çµããã§ããäºã示ãã¦ãã¾ãã
# éã«ãã¡ã¤ã«ã®ä¸ã«ã¾ã æ®ãããã£ããããâãã表示ãããã
以åã¯ãy_eof.el ã¨ãããã®ã使ã£ã¦è¡æ«ãå·¦ããªã³ã¸ã«è¡¨ç¤ºãã¦ãã¾ããããç¹ã«æ°ãã .el ãå°å ¥ããªãã¦ã使ããã®ã§ãããã«ä¹ãæãã¾ããã
ãããªãããªã§ã
æ´æ°æå»
- 2009/01/14/22:55