{"id":358,"date":"2011-06-13T13:48:54","date_gmt":"2011-06-13T22:48:54","guid":{"rendered":"\/blog\/?p=358"},"modified":"2023-09-21T09:38:56","modified_gmt":"2023-09-21T00:38:56","slug":"editplus-%ec%82%ac%ec%9a%a9%ec%9e%90%eb%a5%bc-%ec%9c%84%ed%95%9c-emacs","status":"publish","type":"post","link":"https:\/\/hasu0707.duckdns.org\/blog\/?p=358","title":{"rendered":"editplus \uc0ac\uc6a9\uc790\ub97c \uc704\ud55c emacs"},"content":{"rendered":"\n<br \/>\n\n<H2><A id=s-1.3><\/A>Editplus\uc758 \ud3b8\uc9d1\uba85\ub839<\/H2>\n<DIV id=sc-4><br \/>\n\n<DIV><STRONG>\ub4e4\uc5ec\uc4f0\uae30\uc640 \ub0b4\uc5b4\uc4f0\uae30<\/STRONG> \n<UL>\n<LI>\ub4e4\uc5ec\uc4f0\uae30 C-u 8 C-x TAB \ub610\ub294 C-8 C-x TAB \ub610\ub294 C-x r t \uc785\ub825\ud6c4 \uc2a4\ud398\uc774\uc2a4\ub098 \ud0ed\uc73c\ub85c \uc6d0\ud558\ub294 \ub9cc\ud07c \uc785\ub825 <\/LI>\n<LI>\ub0b4\uc5b4\uc4f0\uae30 C<DEL> C-u 8 C-x TAB \ub610\ub294 C<\/DEL> C-8 C-x TAB <\/LI><\/UL>\ub610\ub2e4\ub978 \ubc29\ubc95 (\uc0ac\uac01\ud615 \uc601\uc5ed\uc744 \uc774\uc6a9\ud55c \uc138\ubc00\ud55c \uc870\uc815) \n<UL>\n<LI>\uc601\uc5ed\uc9c0\uc815, C-x r k (\uc9c0\uc815\ub41c \uc601\uc5ed \uc9c0\uc6c0) <\/LI>\n<LI>\uc601\uc5ed\uc9c0\uc815, C-x r o (\uc9c0\uc815\ub41c \uc601\uc5ed\ub9cc\ud07c <SPAN class=searchword2>\uacf5\ubc31<\/SPAN>\uc0bd\uc785) <br \/>\n<br \/><\/LI><\/UL><STRONG>\ub300\uc18c\ubb38\uc790 \ubcc0\uacbd<\/STRONG> \n<UL>\n<LI>\uc120\ud0dd\uc601\uc5ed\uc744 \ub300\ubb38\uc790\ub85c C-x C-u <\/LI>\n<LI>\uc120\ud0dd\uc601\uc5ed\uc744 \uc18c\ubb38\uc790\ub85c C-x C-l <br \/>\n<br \/><\/LI><\/UL><STRONG>\uc8fc\uc11d<\/STRONG> \n<UL>\n<LI>\uc601\uc5ed\uc9c0\uc815, M-; \ub610\ub294 M-x comment-region <SPAN class=searchword0>emacs<\/SPAN>\uc5d0\uc11c \uc8fc\uc11d \ubb38\uc790\uc640 \ud615\ud0dc\ub294 \uac01 mode\uc5d0 \ub530\ub77c \ub2e4\ub974\ub2e4. \uc608, sql mode\uc5d0\uc11c\ub294 \uc54c\uc544\uc11c \ud45c\uc900 \uc8fc\uc11d\uc778 -- \ubb38\uc790\uac00 \uc785\ub825\ub41c\ub2e4. <br \/>\n<br \/><\/LI>\n<LI>FIXME \uc8fc\uc11d \uc0ad\uc81c\ub294 \uc5b4\ub5bb\uac8c \ud558\ub294\uc9c0.., fill prefix\ub97c \uc0ac\uc6a9\ud558\uba74 \uc5ec\ub7ec\uc904\uc758 \uc8fc\uc11d\uc744 \ub2ec\ub54c \ud3b8\ud560\uac83 \uac19\ub2e4. \uc0ac\uc6a9\ubc95\uc740? <br \/>\n<br \/><\/LI><\/UL><STRONG>\ud0ed\uacfc <SPAN class=searchword2>\uacf5\ubc31<\/SPAN><\/STRONG> \n<UL>\n<LI>\uc904 \ub05d <SPAN class=searchword2>\uacf5\ubc31<\/SPAN><SPAN class=searchword3>\uc81c\uac70<\/SPAN> M-\\ (M-x delete-horizontal-space) <\/LI>\n<LI>\uc720\uc6a9\ud55c \uc904 \ub05d <SPAN class=searchword2>\uacf5\ubc31<\/SPAN><SPAN class=searchword3>\uc81c\uac70<\/SPAN> \uc0ac\uc6a9\uc790 \uc815\uc758 \ud568\uc218 <\/LI><\/UL><PRE class=\"wiki lisp\">;; \ubc84\ud37c\uc804\uccb4\n;; delete horizontal space for the whole buffer\n(defun delete-horizontal-space-buffer ()\n  \"Deletes horizontal spaces at the end of every line in buffer.\"\n  (interactive)\n  (delete-horizontal-space-region (point-min) (point-max)))\n\n;; \uc9c0\uc815\ub41c \uc601\uc5ed\ub9cc\n;; delete horizontal space in region\n(defun delete-horizontal-space-region (beg-region end-region)\n  \"Deletes horizontal spaces at the end of every line in the region.\nBEG-REGION and END-REGION are args which specify the region\nboundaries.\"\n  (interactive \"*r\")\n  (let ((end-region-mark (make-marker))\n        (save-point (point-marker)))\n    (set-marker end-region-mark end-region)\n    (goto-char beg-region)\n    (end-of-line)\n    (delete-horizontal-space)\n    (while (and  (= (forward-line 1) 0)\n                 (&lt; (point) end-region-mark))\n      (end-of-line)\n      (delete-horizontal-space))\n    (goto-char save-point)\n    (set-marker end-region-mark nil)\n    (set-marker save-point nil)))\n<\/PRE><\/DIV><br \/>\n\n<DIV>\n<UL>\n<LI>\ud0ed\uc744 <SPAN class=searchword2>\uacf5\ubc31<\/SPAN>\uc73c\ub85c \uce58\ud658 <\/LI>\n<LI>\uc601\uc5ed\uc9c0\uc815(\ub9cc\uc57d \uc804\uccb4 \uc601\uc5ed\uc744 \uc9c0\uc815\ud558\ub824\uba74 C-x h(mark-whole-buffer)), M-x untabify &lt;RET&gt; <\/LI>\n<LI>FIXME <SPAN class=searchword2>\uacf5\ubc31<\/SPAN>\uc744 \ud0ed\uc73c\ub85c \uce58\ud658 M-x tabify (more..) <\/LI>\n<LI>FIXME \ud0ed\ud06c\uae30 \uc218\uc815 M-x edit-tab-stops (more...) <br \/>\n<br \/><\/LI><\/UL><PRE class=\"wiki lisp\">; FIXME <SPAN class=searchword0>emacs<\/SPAN>\uc5d0\uc11c\ub294 \uc124\uc815\ud30c\uc77c\uc5d0 \uc544\ub798\ucc98\ub7fc \ud574\uc900\ub2e4\uace0 \ud574\uacb0 \ub420\ub9cc\ud07c TAB\uc740 \ub2e8\uc21c\ud55c\uac83 \uac19\uc9c0 \uc54a\ub2e4. \ud83d\ude41\n(setq default-tab-width 4)\n<\/PRE><\/DIV><br \/>\n\n<DIV>\n<UL>\n<LI><A class=externalLink href=\"http:\/\/bbs.kldp.org\/viewtopic.php?t=68058&amp;highlight=emacs\">http:\/\/bbs.kldp.org\/viewtopic.php?t=68058&amp;highlight=<SPAN class=searchword0>emacs<\/SPAN><\/A> <br \/>\n<br \/><\/LI><\/UL><\/DIV><\/DIV>\n<DIV><A id=sect-5><\/A>\n<DIV style=\"FLOAT: right\" class=sectionEdit><SPAN class=sep>[<\/SPAN><SPAN><A href=\"http:\/\/wiki.kldp.org\/wiki.php\/EmacsForEditplusUser?action=edit&amp;section=5\"><SPAN>edit<\/SPAN><\/A><\/SPAN><SPAN class=sep>]<\/SPAN><\/DIV>\n<H2><A id=s-1.4><\/A>Editplus\uc5d0\ub294 \uc5c6\uc9c0\ub9cc \ubd80\uac00\uc801\uc73c\ub85c \uc54c\uc544\uc57c \ud558\ub294 <SPAN class=searchword0>Emacs<\/SPAN> \uc0ac\uc6a9\ubc95 <A class=perma href=\"http:\/\/wiki.kldp.org\/wiki.php\/EmacsForEditplusUser#s-1.4\">\u00b6<\/A><\/H2>\n<DIV id=sc-5><br \/>\n\n<DIV><STRONG>\uc708\ub3c4\uc6b0<\/STRONG> \n<UL>\n<LI>\uc218\ud3c9\uc73c\ub85c \ub098\ub204\uae30 C-x 3 (M-x split-window-horizontally) <\/LI>\n<LI>\uc218\uc9c1\uc73c\ub85c \ub098\ub204\uae30 C-x 2 (M-x split-window-vertically) <\/LI>\n<LI>\uc708\ub3c4\uc6b0 \uc62e\uaca8\ub2e4\ub2c8\uae30 C-x o (\uc2dc\uacc4\ubc29\ud5a5\uc73c\ub85c \uc774\ub3d9\ud55c\ub2e4. \ub610\ub294 \ub9c8\uc6b0\uc2a4\ub85c \ud074\ub9ad\ud55c\ub2e4.) <\/LI>\n<LI>\uc708\ub3c4\uc6b0 \uc0ad\uc81c C-x 1 <\/LI>\n<LI>\uc708\ub3c4\uc6b0 \ucc3d \ub298\ub9ac\uae30 \n<UL>\n<LI>\uae38\uc774 C-x ^ <\/LI>\n<LI>\ud3ed C-x } \ub610\ub294 C-x { <\/LI><\/UL><\/LI>\n<LI>\uc708\ub3c4\uc6b0 \uc0ac\uc774\uc988 \ud1b5\uc77c C-x + <br \/>\n<br \/>\ubcf4\ud1b5\uc740 mode line\uc744 \ub9c8\uc6b0\uc2a4\ub85c \ub4dc\ub798\uadf8\ud558\uc5ec \uc870\uc815\ud55c\ub2e4. \uc0ac\uc774\uc988\ub97c \uc870\uc815\ud558\uae30 \uc704\ud574 \ub2e8\ucd95\ud0a4\ub97c \uc5ec\ub7ec\ubc88 \ub204\ub974\uae30 \uc2eb\ub2e4\uba74 C-u\ub97c \uc0ac\uc6a9\ud558\ub294 \ubc29\ubc95\ub3c4 \uc788\ub2e4. \uc608, C-u 20 C-x ^ <\/LI><\/UL>\n<DIV class=indent>TIP. M-x compare-windows \ubc84\ud37c\uc758 \ub0b4\uc6a9\uc744 \ube44\uad50\ud558\uace0 \ucc98\uc74c\uc73c\ub85c \ub2e4\ub978 \ubd80\ubd84\uc744 \ubcf4\uc5ec\uc900\ub2e4. \ub9cc\uc57d \ub450\uac1c\uc774\uc0c1\uc77c \uacbd\uc6b0 \ud604\uc7ac \ucee4\uc11c\uac00 \uc704\uce58\ud574 \uc788\ub294 \uc708\ub3c4\uc6b0\uc640 \uc2dc\uacc4 \ubc29\ud5a5\uc73c\ub85c \ub2e4\uc74c \uc708\ub3c4\uc6b0\uc758 \ub0b4\uc6a9\uc774 \ube44\uad50\ub41c\ub2e4. <br \/>\n<\/DIV><\/DIV><\/DIV><\/DIV>\n","protected":false},"excerpt":{"rendered":"<p>Editplus\uc758 \ud3b8\uc9d1\uba85\ub839 \ub4e4\uc5ec\uc4f0\uae30\uc640 \ub0b4\uc5b4\uc4f0\uae30 \ub4e4\uc5ec\uc4f0\uae30 C-u 8 C-x TAB \ub610\ub294 C-8 C-x TAB \ub610\ub294 C-x r t \uc785\ub825\ud6c4 \uc2a4\ud398\uc774\uc2a4\ub098 \ud0ed\uc73c\ub85c \uc6d0\ud558\ub294 \ub9cc\ud07c \uc785\ub825 \ub0b4\uc5b4\uc4f0\uae30 C C-u 8 C-x TAB \ub610\ub294 C C-8 C-x TAB \ub610\ub2e4\ub978 \ubc29\ubc95 (\uc0ac\uac01\ud615 \uc601\uc5ed\uc744 \uc774\uc6a9\ud55c \uc138\ubc00\ud55c \uc870\uc815) \uc601\uc5ed\uc9c0\uc815, C-x r k (\uc9c0\uc815\ub41c \uc601\uc5ed \uc9c0\uc6c0) \uc601\uc5ed\uc9c0\uc815, C-x r o (\uc9c0\uc815\ub41c \uc601\uc5ed\ub9cc\ud07c \uacf5\ubc31\uc0bd\uc785) [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_import_markdown_pro_load_document_selector":0,"_import_markdown_pro_submit_text_textarea":"","site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"categories":[39],"tags":[],"class_list":["post-358","post","type-post","status-publish","format-standard","hentry","category-os_linux_unix_macos"],"_links":{"self":[{"href":"https:\/\/hasu0707.duckdns.org\/blog\/index.php?rest_route=\/wp\/v2\/posts\/358","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/hasu0707.duckdns.org\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/hasu0707.duckdns.org\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/hasu0707.duckdns.org\/blog\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/hasu0707.duckdns.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=358"}],"version-history":[{"count":0,"href":"https:\/\/hasu0707.duckdns.org\/blog\/index.php?rest_route=\/wp\/v2\/posts\/358\/revisions"}],"wp:attachment":[{"href":"https:\/\/hasu0707.duckdns.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=358"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/hasu0707.duckdns.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=358"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/hasu0707.duckdns.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=358"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}