Emacs For Editplus User
EditplusÀÇ ÆíÁý¸í·É ¶µé¿©¾²±â¿Í ³»¾î¾²±â
;; ¹öÆÛÀüü
;; delete horizontal space for the whole buffer
(defun delete-horizontal-space-buffer ()
"Deletes horizontal spaces at the end of every line in buffer."
(interactive)
(delete-horizontal-space-region (point-min) (point-max)))
;; ÁöÁ¤µÈ ¿µ¿ª¸¸
;; delete horizontal space in region
(defun delete-horizontal-space-region (beg-region end-region)
"Deletes horizontal spaces at the end of every line in the region.
BEG-REGION and END-REGION are args which specify the region
boundaries."
(interactive "*r")
(let ((end-region-mark (make-marker))
(save-point (point-marker)))
(set-marker end-region-mark end-region)
(goto-char beg-region)
(end-of-line)
(delete-horizontal-space)
(while (and (= (forward-line 1) 0)
(< (point) end-region-mark))
(end-of-line)
(delete-horizontal-space))
(goto-char save-point)
(set-marker end-region-mark nil)
(set-marker save-point nil)))
; FIXME emacs¿¡¼´Â ¼³Á¤ÆÄÀÏ¿¡ ¾Æ·¡Ã³·³ ÇØÁشٰí ÇØ°á µÉ¸¸Å TABÀº ´Ü¼øÇÑ°Í °°Áö ¾Ê´Ù. :( (setq default-tab-width 4) Editplus¿¡´Â ¾øÁö¸¸ ºÎ°¡ÀûÀ¸·Î ¾Ë¾Æ¾ß ÇÏ´Â Emacs »ç¿ë¹ý ¶À©µµ¿ì
TIP.
M-x compare-windows ¹öÆÛÀÇ ³»¿ëÀ» ºñ±³Çϰí óÀ½À¸·Î ´Ù¸¥ ºÎºÐÀ» º¸¿©ÁØ´Ù. ¸¸¾à µÎ°³ÀÌ»óÀÏ °æ¿ì ÇöÀç Ä¿¼°¡
À§Ä¡ÇØ ÀÖ´Â À©µµ¿ì¿Í ½Ã°è ¹æÇâÀ¸·Î ´ÙÀ½ À©µµ¿ìÀÇ ³»¿ëÀÌ ºñ±³µÈ´Ù.
|
Words must be weighed, not counted. |










