{"id":212,"date":"2018-01-21T21:42:09","date_gmt":"2018-01-21T21:42:09","guid":{"rendered":"http:\/\/labiol.xyz\/?p=212"},"modified":"2018-01-21T21:42:09","modified_gmt":"2018-01-21T21:42:09","slug":"emacs-plik-konfiguracyjny","status":"publish","type":"post","link":"https:\/\/www.labiol.xyz\/index.php\/2018\/01\/21\/emacs-plik-konfiguracyjny\/","title":{"rendered":"Emacs &#8211; plik konfiguracyjny."},"content":{"rendered":"<p>Przyk\u0142adowy plik konfiguracyjny emacs.<\/p>\n<div id=\"_mcePaste\">;; ========== Support Wheel Mouse Scrolling ==========<\/div>\n<div id=\"_mcePaste\">(mouse-wheel-mode t)<\/div>\n<div id=\"_mcePaste\">;; ========== Enable Line and Column Numbering ==========<\/div>\n<div id=\"_mcePaste\">;;<\/div>\n<div id=\"_mcePaste\">;; Show line-number in the mode line<\/div>\n<div id=\"_mcePaste\">(line-number-mode 1)<\/div>\n<div id=\"_mcePaste\">;; Show column-number in the mode line<\/div>\n<div id=\"_mcePaste\">(column-number-mode 1)<\/div>\n<div id=\"_mcePaste\">;; ========= Set colours ==========<\/div>\n<div id=\"_mcePaste\">;; Set cursor and mouse-pointer colours<\/div>\n<div id=\"_mcePaste\">;;(set-cursor-color &#8220;red&#8221;)<\/div>\n<div id=\"_mcePaste\">;;(set-mouse-color &#8220;goldenrod&#8221;)<\/div>\n<div id=\"_mcePaste\">;; Set region background colour<\/div>\n<div id=\"_mcePaste\">;;(set-face-background &#8216;region &#8220;blue&#8221;)<\/div>\n<div id=\"_mcePaste\">;; Set emacs background colour<\/div>\n<div id=\"_mcePaste\">;;(set-background-color &#8220;black&#8221;)<\/div>\n<div id=\"_mcePaste\">;; ===== Set the highlight current line minor mode =====<\/div>\n<div id=\"_mcePaste\">;;<\/div>\n<div id=\"_mcePaste\">;; ;; In every buffer, the line which contains the cursor will be fully<\/div>\n<div id=\"_mcePaste\">;; ;; highlighted<\/div>\n<div id=\"_mcePaste\">;;<\/div>\n<div id=\"_mcePaste\">(global-hl-line-mode 1)<\/div>\n<div id=\"_mcePaste\">(add-hook &#8216;c-mode-hook &#8216;turn-on-font-lock)<\/div>\n<div id=\"_mcePaste\">(global-font-lock-mode 1)<\/div>\n<p>;; ========== Support Wheel Mouse Scrolling ==========<br \/>\n(mouse-wheel-mode t)<br \/>\n;; ========== Enable Line and Column Numbering ==========;;;; Show line-number in the mode line(line-number-mode 1)<br \/>\n;; Show column-number in the mode line(column-number-mode 1)<br \/>\n;; ========= Set colours ==========<br \/>\n;; Set cursor and mouse-pointer colours;;(set-cursor-color &#8220;red&#8221;);;(set-mouse-color &#8220;goldenrod&#8221;)<br \/>\n;; Set region background colour;;(set-face-background &#8216;region &#8220;blue&#8221;)<br \/>\n;; Set emacs background colour;;(set-background-color &#8220;black&#8221;)<br \/>\n;; ===== Set the highlight current line minor mode =====;;;; ;; In every buffer, the line which contains the cursor will be fully;; ;; highlighted;;(global-hl-line-mode 1)<br \/>\n(add-hook &#8216;c-mode-hook &#8216;turn-on-font-lock)<br \/>\n(global-font-lock-mode 1)<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Przyk\u0142adowy plik konfiguracyjny emacs. ;; ========== Support Wheel Mouse Scrolling ========== (mouse-wheel-mode t) ;; ========== Enable Line and Column Numbering ========== ;; ;; Show line-number in the mode line (line-number-mode 1) ;; Show column-number in the mode line (column-number-mode 1) ;; ========= Set colours ========== ;; Set cursor and mouse-pointer &hellip; <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[],"class_list":["post-212","post","type-post","status-publish","format-standard","hentry","category-linux"],"_links":{"self":[{"href":"https:\/\/www.labiol.xyz\/index.php\/wp-json\/wp\/v2\/posts\/212","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.labiol.xyz\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.labiol.xyz\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.labiol.xyz\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.labiol.xyz\/index.php\/wp-json\/wp\/v2\/comments?post=212"}],"version-history":[{"count":1,"href":"https:\/\/www.labiol.xyz\/index.php\/wp-json\/wp\/v2\/posts\/212\/revisions"}],"predecessor-version":[{"id":213,"href":"https:\/\/www.labiol.xyz\/index.php\/wp-json\/wp\/v2\/posts\/212\/revisions\/213"}],"wp:attachment":[{"href":"https:\/\/www.labiol.xyz\/index.php\/wp-json\/wp\/v2\/media?parent=212"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.labiol.xyz\/index.php\/wp-json\/wp\/v2\/categories?post=212"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.labiol.xyz\/index.php\/wp-json\/wp\/v2\/tags?post=212"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}