{"id":294203,"date":"2024-11-07T20:04:30","date_gmt":"2024-11-07T12:04:30","guid":{"rendered":"https:\/\/lrxjmw.cn\/zlxtzazhsyet.html"},"modified":"2024-11-07T20:04:30","modified_gmt":"2024-11-07T12:04:30","slug":"zlxtzazhsyet","status":"publish","type":"post","link":"https:\/\/lrxjmw.cn\/zlxtzazhsyet.html","title":{"rendered":"\u5728 Linux \u7cfb\u7edf\u4e2d\u5b89\u88c5\u548c\u4f7f\u7528 Emacs\uff1a\u63d0\u5347\u5de5\u4f5c\u6548\u7387\u4e0e\u6109\u60a6\u611f"},"content":{"rendered":"
Emacs\u662f\u4e00\u6b3e\u529f\u80fd\u5168\u9762\u7684\u6587\u672c\u7f16\u8f91\u5668\uff0c\u5728Linux<\/a>\u7cfb\u7edf\u4e2d\u5e94\u7528\u5e7f\u6cdb\u3002\u5b83\u4e0d\u4ec5\u80fd\u591f\u7f16\u5199\u4ee3\u7801redhat linux 9.0\u4e0b\u8f7d\uff0c\u8fd8\u80fd\u6267\u884c\u6587\u672c\u5904\u7406\u7b49\u591a\u79cd\u4efb\u52a1\u3002\u719f\u7ec3\u8fd0\u7528Emacssuse linux\uff0c\u80fd\u663e\u8457\u63d0\u5347\u5de5\u4f5c\u6548\u7387\u548c\u5f00\u53d1\u8fc7\u7a0b\u4e2d\u7684\u6109\u60a6\u611f\u3002<\/p>\n \u5b89\u88c5Emacs<\/b><\/p>\n \u5728\u4f17\u591aLinux<\/a>\u53d1\u884c\u7248\u4e2d\uff0c\u5b89\u88c5\u8f6f\u4ef6\u901a\u8fc7\u5305\u7ba1\u7406\u5668\u53d8\u5f97\u5f02\u5e38\u7b80\u5355\u3002\u4ee5Debian\u548cUbuntu\u7cfb\u7edf\u4e3a\u4f8b\uff0c\u53ea\u9700\u5728\u7ec8\u7aef\u8f93\u5165\u76f8\u5e94\u547d\u4ee4<\/a>\uff0c\u8f6f\u4ef6\u5373\u53ef\u8f7b\u677e\u5b89\u88c5\u5e76\u7acb\u5373\u6295\u5165\u4f7f\u7528\u3002\u5b89\u88c5\u5b8c\u6210\u540e\uff0c\u5305\u7ba1\u7406\u7cfb\u7edf\u5c06\u4fdd\u969cEmacs\u6587\u4ef6\u7684\u5b8c\u6574\u6027\u548c\u5b89\u5168\u6027\uff0c\u907f\u514d\u6587\u4ef6\u7f3a\u5931\u6216\u635f\u574f\u3002\u6b64\u5916\uff0c\u8fd9\u79cd\u5b89\u88c5\u65b9\u6cd5\u8fd8\u4fbf\u4e8e\u540e\u7eed\u7684\u5347\u7ea7\u548c\u7ef4\u62a4\u3002\u82e5\u60f3\u83b7\u53d6\u6700\u65b0\u7248\u672c\uff0c\u4e5f\u53ef\u4ee5\u4ece\u5b98\u65b9\u7f51\u7ad9\u4e0b\u8f7d\u6e90\u4ee3\u7801\u81ea\u884c\u7f16\u8bd1\u5b89\u88c5\uff0c\u4f46\u8fd9\u9700\u8981\u8f83\u9ad8\u7684\u7cfb\u7edf\u64cd\u4f5c\u719f\u7ec3\u5ea6\uff0c\u9002\u5408\u7ecf\u9a8c\u4e30\u5bcc\u7684\u7528\u6237\u3002<\/p>\n \u5b98\u7f51\u4e0b\u8f7d\u9700\u8981\u4f60\u5bf9\u7f16\u8bd1\u73af\u5883\u548c\u4f9d\u8d56\u5e93\u6709\u6240\u638c\u63e1\u3002\u9996\u5148\uff0c\u5fc5\u987b\u5b89\u88c5\u5305\u62ecGCC\u5728\u5185\u7684\u7f16\u8bd1\u5de5\u5177\u94fe\u3002\u540c\u65f6\uff0c\u52a1\u5fc5\u5b89\u88c5\u597dEmacs\u6240\u9700\u7684\u5404\u7c7b\u5e93\u6587\u4ef6\uff0c\u4f8b\u5982\u56fe\u50cf\u5e93\u548c\u5b57\u7b26\u5904\u7406\u5e93\u3002\u5728\u7f16\u8bd1\u8fc7\u7a0b\u4e2d\uff0c\u4f60\u53ef\u80fd\u4f1a\u9047\u5230\u5404\u5f0f\u5404\u6837\u7684\u95ee\u9898\uff0c\u8fd9\u8981\u6c42\u4f60\u5177\u5907\u8db3\u591f\u7684\u8010\u5fc3\u6765\u9010\u4e00\u6392\u67e5\u3002<\/p>\n <\/p>\n \u57fa\u672c\u754c\u9762\u5e03\u5c40<\/b><\/p>\n Emacs\u542f\u52a8\u540e\uff0c\u9996\u5148\u770b\u5230\u7684\u662f\u5176\u72ec\u7279\u7684\u754c\u9762\u5e03\u5c40\u3002\u9876\u90e8\u83dc\u5355\u680f\u7f57\u5217\u4e86\u4f17\u591a\u529f\u80fd\u9009\u9879\u3002\u5728\u8fd9\u91cc\uff0c\u4f60\u53ef\u4ee5\u8f7b\u677e\u627e\u5230\u65b0\u5efa\u3001\u6253\u5f00\u3001\u4fdd\u5b58\u7b49\u6587\u4ef6\u64cd\u4f5c\u3002\u7f16\u8f91\u83dc\u5355\u4e2d\uff0c\u526a\u5207\u3001\u590d\u5236\u3001\u7c98\u8d34\u7b49\u5e38\u7528\u64cd\u4f5c\u4e00\u76ee\u4e86\u7136\u3002\u6b64\u5916\uff0c\u5e95\u90e8\u7684\u72b6\u6001\u680f\u4f1a\u5b9e\u65f6\u66f4\u65b0\uff0c\u663e\u793a\u5f53\u524d\u6a21\u5f0f\uff0c\u5982\u7f16\u8f91\u6a21\u5f0f\u6216\u5176\u4ed6\u6a21\u5f0f\u3002<\/p>\n Emacs\u7684\u754c\u9762\u53ef\u4ee5\u968f\u610f\u8c03\u6574\u3002\u7528\u6237\u80fd\u6309\u9700\u6539\u52a8\u5de5\u5177\u680f\u548c\u663e\u793a\u65b9\u5f0f\u3002\u6bd4\u5982\uff0c\u4f5c\u4e3a\u4ee3\u7801\u5f00\u53d1\u8005\uff0c\u4f60\u6216\u8bb8\u5e0c\u671b\u754c\u9762\u7b80\u6d01\uff0c\u53ea\u663e\u793a\u4e0e\u4ee3\u7801\u76f8\u5173\u7684\u5143\u7d20\uff1b\u82e5\u662f\u6587\u6863\u7f16\u5199\u8005\uff0c\u4f60\u53ef\u80fd\u66f4\u503e\u5411\u4e8e\u4e00\u4e2a\u7c7b\u4f3c\u4f20\u7edf\u6587\u5b57\u5904\u7406\u8f6f\u4ef6\u7684\u754c\u9762\u5e03\u5c40\u3002\u53ea\u9700\u4fee\u6539\u914d\u7f6e\u6587\u4ef6\uff0c\u8fd9\u4e9b\u4e2a\u6027\u5316\u9700\u6c42\u4fbf\u80fd\u8f7b\u677e\u5b9e\u73b0\u3002<\/p>\n <\/p>\n \u5e38\u7528\u5feb\u6377\u952e<\/b><\/p>\n Emacs\u4e2d\u62e5\u6709\u4f17\u591a\u5b9e\u7528\u7684\u5feb\u6377\u952e\u3002\u4f8b\u5982\uff0cCtrl+xCtrl+f\u80fd\u8fc5\u901f\u6253\u5f00\u6587\u4ef6\u3002\u8fd9\u5bf9\u90a3\u4e9b\u7ecf\u5e38\u5728\u7ec8\u7aef\u64cd\u4f5c\u3001\u4e60\u60ef\u5feb\u901f\u8f93\u5165\u6307\u4ee4\u7684\u7528\u6237\u6765\u8bf4\uff0c\u6781\u4e3a\u65b9\u4fbf\u3002\u518d\u8005\uff0cCtrl+s\u5219\u662f\u4fdd\u5b58\u6587\u4ef6\u7684\u5feb\u6377\u952e\u3002\u5728\u4e13\u6ce8\u7f16\u8f91\u6587\u6863\u6216\u4ee3\u7801\u65f6\uff0c\u65e0\u9700\u518d\u52a8\u7528\u9f20\u6807\u53bb\u5bfb\u627e\u4fdd\u5b58\u6309\u94ae\u3002<\/p>\n Ctrl+-\u8fd9\u4e2a\u5feb\u6377\u952e\u53ef\u4ee5\u7528\u6765\u64a4\u9500\u4e4b\u524d\u7684\u64cd\u4f5c\u3002\u5b83\u5728\u4f60\u4e0d\u5c0f\u5fc3\u64cd\u4f5c\u9519\u8bef\u65f6\u80fd\u8fc5\u901f\u5e2e\u4f60\u7ea0\u6b63\u3002\u4f46\u4f60\u8981\u7559\u610f\uff0c\u4e0d\u540c\u7684\u6a21\u5f0f\u4e0b\u5feb\u6377\u952e\u7684\u529f\u80fd\u53ef\u80fd\u4f1a\u6709\u6240\u4e0d\u540c\u3002\u6bd4\u5982\uff0c\u5728\u4ee3\u7801\u7f16\u8f91\u548c\u6587\u672c\u7f16\u8f91\u6a21\u5f0f\u4e0b\uff0c\u67d0\u4e9b\u5feb\u6377\u952e\u53ef\u80fd\u4f1a\u88ab\u8d4b\u4e88\u65b0\u7684\u542b\u4e49\uff0c\u6216\u8005\u4ea7\u751f\u4e0d\u540c\u7684\u64cd\u4f5c\u6548\u679c\u3002<\/p>\n <\/p>\n \u7f16\u8f91\u6a21\u5f0f<\/b><\/p>\n Emacs\u7684\u7f16\u8f91\u6a21\u5f0f\u79cd\u7c7b\u7e41\u591a\u3002\u5176\u4e2d\uff0c\u6700\u57fa\u7840\u7684\u6a21\u5f0f\u662f\u6587\u672c\u7f16\u8f91\u6a21\u5f0f\u3002\u5728\u8fd9\u4e2a\u6a21\u5f0f\u4e0b\uff0c\u4f60\u53ef\u4ee5\u50cf\u64cd\u4f5c\u666e\u901a\u7684\u6587\u672c\u7f16\u8f91\u5668\u90a3\u6837\uff0c\u81ea\u5982\u5730\u8f93\u5165\u6587\u5b57\u5e76\u8fdb\u884c\u7f16\u8f91\u3002\u8fd9\u79cd\u6a21\u5f0f\u975e\u5e38\u9002\u5408\u64b0\u5199\u6587\u6863\u3001\u7b14\u8bb0\u7b49\u3002\u53e6\u5916\uff0c\u8fd8\u6709\u4ee3\u7801\u7f16\u8f91\u6a21\u5f0f\u3002\u5728\u6b64\u6a21\u5f0f\u4e0b\uff0cEmacs\u4f1a\u6839\u636e\u4ee3\u7801\u7684\u8bed\u6cd5\u8fdb\u884c\u9ad8\u4eae\u663e\u793a\u3002<\/p>\n \u4ee3\u7801\u5f00\u53d1\u4e2d\u8fd9\u4e00\u70b9\u6781\u4e3a\u5173\u952e\u3002\u4e0d\u8bba\u662fC\u8bed\u8a00\u8fd8\u662fPython\u7b49\u4e0d\u540c\u7c7b\u578b\u7684\u4ee3\u7801\uff0c\u5b83\u90fd\u80fd\u667a\u80fd\u5730\u8bc6\u522b\u5e76\u5448\u73b0\u5408\u9002\u7684\u89c6\u89c9\u6548\u679c\u3002\u6b64\u5916\uff0c\u5728\u4ee3\u7801\u7f16\u8f91\u72b6\u6001\u4e0blinux emacs \u4f7f\u7528\u6559\u7a0b<\/strong>\uff0c\u8fd8\u62e5\u6709\u4f17\u591a\u8f85\u52a9\u529f\u80fd\uff0c\u6bd4\u5982\u81ea\u52a8\u7f29\u8fdb\u548c\u4ee3\u7801\u81ea\u52a8\u8865\u5168\u7b49\uff0c\u8fd9\u4e9b\u8f85\u52a9\u5de5\u5177\u80fd\u6709\u6548\u63d0\u5347\u7f16\u7801\u901f\u5ea6linux emacs \u4f7f\u7528\u6559\u7a0b<\/strong>\uff0c\u964d\u4f4e\u51fa\u9519\u7684\u98ce\u9669\u3002<\/p>\n \u63d2\u4ef6\u7684\u4f7f\u7528<\/b><\/p>\n Emacs\u7684\u63d2\u4ef6\u529f\u80fd\u5927\u5927\u589e\u5f3a\u4e86\u5b83\u7684\u529f\u80fd\u3002\u6bd4\u5982\uff0c\u6709\u4e13\u95e8\u7528\u4e8e\u4ee3\u7801\u7248\u672c\u63a7\u5236\u7684\u63d2\u4ef6\u3002\u82e5\u4f60\u7528Git\u6765\u7ba1\u7406\u4ee3\u7801\uff0c\u5b89\u88c5\u4e86\u76f8\u5e94\u7684\u63d2\u4ef6\u540e\uff0c\u5c31\u80fd\u5728Emacs\u4e2d\u8f7b\u677e\u5b8c\u6210\u5404\u79cdGit\u64cd\u4f5c\uff0c\u8bf8\u5982\u63d0\u4ea4\u3001\u62c9\u53d6\u7b49\u3002\u8fd9\u6837\u4e00\u6765\uff0c\u5c31\u65e0\u9700\u5728\u7f16\u8f91\u5668\u548c\u7ec8\u7aef\u4e4b\u95f4\u6765\u56de\u5207\u6362\u4e86\u3002<\/p>\n \u6709\u4e13\u95e8\u7684\u4ee3\u7801\u683c\u5f0f\u5316\u63d2\u4ef6\u3002\u5404\u79cd\u7f16\u7a0b\u8bed\u8a00\u90fd\u6709\u81ea\u5df1\u72ec\u7279\u7684\u683c\u5f0f\u5316\u8981\u6c42\u3002\u8fd9\u4e9b\u63d2\u4ef6\u80fd\u4f9d\u636e\u65e2\u5b9a\u6807\u51c6\u8fc5\u901f\u5bf9\u4ee3\u7801\u8fdb\u884c\u683c\u5f0f\u5316\uff0c\u4f7f\u4ee3\u7801\u663e\u5f97\u66f4\u4e3a\u6574\u9f50\u6709\u5e8f\u3002\u5b83\u4eec\u7684\u5b89\u88c5\u65b9\u5f0f\u5404\u5f02\uff0c\u4f46\u901a\u5e38\u90fd\u80fd\u901a\u8fc7\u5728\u914d\u7f6e\u6587\u4ef6\u4e2d\u52a0\u5165\u7279\u5b9a\u7684\u4ee3\u7801\u7247\u6bb5\u6765\u5b8c\u6210\u3002<\/p>\n <\/p>\n \u914d\u7f6e\u6587\u4ef6<\/b><\/p>\n Emacs\u7684\u914d\u7f6e\u6587\u4ef6\uff0c\u662f\u5176\u4e2a\u6027\u5316\u7684\u6838\u5fc3\u6240\u5728\u3002\u7f16\u8f91\u914d\u7f6e\u6587\u4ef6\uff0c\u4f60\u4fbf\u80fd\u5b9a\u5236\u51e0\u4e4e\u6240\u6709\u7684\u529f\u80fd\u3002\u914d\u7f6e\u6587\u4ef6\u4e2d\u7684\u8bed\u6cd5\uff0c\u6709\u5176\u7279\u5b9a\u7684\u89c4\u5219\u3002\u867d\u7136\u770b\u8d77\u6765\u53ef\u80fd\u6709\u4e9b\u590d\u6742\uff0c\u4f46\u4e00\u65e6\u638c\u63e1\u4e86\u8fd9\u4e9b\u89c4\u5219\uff0c\u4f60\u5c31\u80fd\u968f\u5fc3\u6240\u6b32\u5730\u6253\u9020\u51fa\u5c5e\u4e8e\u81ea\u5df1\u7684Emacs\u3002<\/p>\n \u5728\u914d\u7f6e\u6587\u4ef6\u4e2d\uff0c\u4f60\u53ef\u4ee5\u8bbe\u5b9a\u5b57\u4f53\u7684\u5927\u5c0f\u3001\u989c\u8272\u4e3b\u9898\u7b49\u5916\u89c2\u5143\u7d20\u3002\u6b64\u5916\uff0c\u4f60\u8fd8\u80fd\u4fee\u6539\u5404\u79cd\u64cd\u4f5c\u7684\u9ed8\u8ba4\u6a21\u5f0f\uff0c\u6bd4\u5982\u81ea\u5b9a\u4e49\u5feb\u6377\u952e\u7684\u529f\u80fd\u3002\u540c\u65f6\uff0c\u4f60\u8fd8\u53ef\u4ee5\u5728\u914d\u7f6e\u6587\u4ef6\u4e2d\u52a0\u5165\u63d2\u4ef6\u7684\u542f\u52a8\u4ee3\u7801\uff0c\u786e\u4fdd\u63d2\u4ef6\u80fd\u591f\u6b63\u5e38\u8fd0\u884c\u3002<\/p>\n Emacs\u662f\u5426\u8ba9\u4f60\u89c9\u5f97\u6709\u8da3\uff1f\u4e0d\u59a8\u7559\u4e0b\u4f60\u7684\u770b\u6cd5\u3002\u540c\u65f6\uff0c\u4e5f\u6b22\u8fce\u4f60\u4e3a\u8fd9\u7bc7\u6587\u7ae0\u70b9\u8d5e\u548c\u8f6c\u53d1\u3002<\/p>\n","protected":false},"excerpt":{"rendered":" Emacs\u662f\u4e00\u6b3e\u529f\u80fd\u5168\u9762\u7684\u6587\u672c\u7f16\u8f91\u5668\uff0c\u5728Linux\u7cfb\u7edf\u4e2d\u5e94\u7528\u5e7f\u6cdb\u3002\u719f\u7ec3\u8fd0\u7528Emacs\uff0c\u80fd\u663e\u8457\u63d0\u5347\u5de5\u4f5c\u6548\u7387\u548c\u5f00\u53d1\u8fc7\u7a0b\u4e2d\u7684\u6109\u60a6\u611f\u3002\u6b64\u5916\uff0c\u8fd9\u79cd\u5b89\u88c5\u65b9\u6cd5\u8fd8\u4fbf\u4e8e\u540e\u7eed\u7684\u5347\u7ea7\u548c\u7ef4\u62a4\u3002\u4e0d\u8bba\u662fC\u8bed\u8a00\u8fd8\u662fPython\u7b49\u4e0d\u540c\u7c7b\u578b\u7684\u4ee3\u7801\uff0c\u5b83\u90fd\u80fd\u667a\u80fd\u5730\u8bc6\u522b\u5e76\u5448\u73b0\u5408\u9002\u7684\u89c6\u89c9\u6548\u679c\u3002<\/p>\n","protected":false},"author":1,"featured_media":294204,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[988],"tags":[2606,109,4116,3183,4000],"class_list":["post-294203","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-tougao","tag-e-6","tag-linux","tag-dmbj","tag-wbbjq","tag-zdbq"],"acf":[],"_links":{"self":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/294203","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/comments?post=294203"}],"version-history":[{"count":0,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/294203\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media\/294204"}],"wp:attachment":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media?parent=294203"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/categories?post=294203"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/tags?post=294203"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}