.emacs 86 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724
  1. ;; so this is Digit's main emacs config file. if you're not Digit, this will be of no interest to you. move along.
  2. ;; gonna organise this even before i entirely refactor to a .org file
  3. ;; sections (work in progress... some still to be tidied/added)
  4. ;
  5. ;; org-mode stuff
  6. ;; ;; org-journal-mode stuff
  7. ;; ;; org-roam-mode stuff
  8. ;; ;; org-agenda-mode stuff
  9. ;; ;; org-etc... stuff
  10. ;; ;;
  11. ;; search-mode stuff
  12. ;;
  13. ; coms stuff ;;;;;;;;;;;;;;;;;;;;;;;;;;;
  14. ;; erc-mode stuff
  15. ;; ;; sauron stuff (i know sauron does more, but i only use for erc)
  16. ;; ;; erc tls stuff
  17. ;; ;; erc nick colouring stuff
  18. ;; ;; erc etc... stuff
  19. ;; newsgroup stuff
  20. ;; email stuff
  21. ;; matrix stuff
  22. ;; elfeed-mode stuff
  23. ;; diaspora-mode stuff
  24. ;;
  25. ;; calendar-mode stuff
  26. ;;
  27. ; language specific stuff ;;;;;;;;;;;;;;
  28. ;; haskell-mode stuff
  29. ;;
  30. ;; ibuffer-mode stuff
  31. ;;
  32. ; multimedia stuff ;;;;;;;;;;;;;;;;;;;;;
  33. ;; audio-mode stuff
  34. ;;
  35. ;; now i'll keep organising this contents list, and organising things in their right place by it.
  36. ;; gonna find/make a command and bind to equalise window sizes.
  37. ;; gonna find/make a way to add to context menu
  38. ;;;; found https://github.com/zonuexe/right-click-context
  39. ;;(depends-on "right-click-context" :git "git@github.com:zonuexe/right-click-context.git")
  40. ;; ^ ERRORS: symbol's definition is void: depends-on
  41. ;;(right-click-context-mode 1)
  42. ;; see https://github.com/zonuexe/right-click-context README for more help
  43. ;;
  44. ;; and, under the customize menu heading,
  45. ;; and DSL subheading
  46. ;;; (require 'datetime-format nil t)
  47. ;;;(let ((right-click-context-local-menu-tree
  48. ;;; (append right-click-context-global-menu-tree
  49. ;;; '(("Insert"
  50. ;;; ("FooBar" :call (insert "FooBar"))
  51. ;;; ("Current Time" :call (insert (datetime-format 'atom)) :if (fboundp 'datetime-format)))))))
  52. ;;; (right-click-context-menu))
  53. ;; gonna add alt 1-9 tab keybinds
  54. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  55. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  56. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  57. ;; search stuff
  58. ;; add counter to search
  59. (setq isearch-lazy-count t)
  60. (setq lazy-count-prefix-format "(%s/%s) ")
  61. (setq lazy-count-suffix-format nil)
  62. ;; search defaults as regexp
  63. ;; (setq search-whitespace-regexp ".*?")
  64. ;; end of search stuff
  65. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  66. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  67. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  68. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  69. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  70. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  71. ;; org-mode stuff (shall tidy, adding stuff here)
  72. ;; bind, go to digit.org <- oh yeah, i'll remember i have this bind yet. n_n never used.
  73. (global-set-key (kbd "C-c i")
  74. (lambda () (interactive) (find-file "~/digit.org")))
  75. ;; org-mode's org-shiftleft and org-shiftright need rebinding since i use those for window switching, so:
  76. (global-set-key (kbd "C-<")
  77. 'org-shiftleft)
  78. (global-set-key (kbd "C->")
  79. 'org-shiftright)
  80. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  81. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  82. ;;;; org-journal stuff
  83. ;; https://github.com/bastibe/org-journal
  84. ;; adding on whim. 20190314
  85. ;; off while nonexistant:
  86. ;;(add-to-list 'load-path "/home/digit/gittings/org-journal/")
  87. ;;(require 'org-journal)
  88. ;;
  89. ;;;; end of org-journal stuff
  90. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  91. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  92. ;; end of org-mode stuff
  93. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  94. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  95. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  96. ;; gonna set keybind here to up/down through tabs list... ctrl up goes right, ctrl down goes left
  97. ;; tab-bar-switch-to-next-tab
  98. ;; tab-bar-switch-to-prev-tab
  99. (global-set-key (kbd "C-<next>")
  100. 'tab-bar-switch-to-next-tab)
  101. (global-set-key (kbd "C-<prior>")
  102. 'tab-bar-switch-to-prev-tab)
  103. ;; gonna set ctrl shift t to tab-bar-new-tab
  104. (global-set-key (kbd "C-S-t")
  105. 'tab-bar-new-tab)
  106. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  107. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  108. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  109. ;; usenet newsgroup stuff ;;
  110. (setq user-full-name '"Digit")
  111. ;; (setq user-mail-address '"digit.s thing @g thing .com")
  112. ;; disabling this, because it messes with tetris scores, and i'm not rly usenett'ing yet
  113. ;; (setq user-mail-address '"digit.notvalidemail@neitherhere.northere")
  114. (setq user-mail-address '"digit@mozart") ;; could work. ;D
  115. ;;gnus
  116. ;; (setq gnus-select-method '(nntp "news.eternal-september.org"))
  117. (setq gnus-select-method '(nntp "rec.games.roguelike.development"))
  118. ;; end of usenet newsgroup stuff
  119. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  120. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  121. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  122. ;; what's this when did i add it... a function to insert date... o_O
  123. (defun insert-date () (interactive)
  124. (insert (shell-command-to-string "echo -n $(date +%Y%m%d)")))
  125. (defun insert-date-and-time () (interactive)
  126. (insert (shell-command-to-string "echo -n $(date '+%Y%m%d %H:%M:%S')")))
  127. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  128. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  129. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  130. ;; audio stuff (i think. double check all this is)
  131. ;;elpaca
  132. (add-to-list 'load-path "/home/digit/gittings/elpaca");; ok so how i do?
  133. ;; for supercollider audio tracker
  134. ;;(require 'sclang)
  135. ;; but not doing that on this stable (old) system, because it wants :
  136. ;; 250 upgraded, 60 newly installed, 401 to remove and 1597 not upgraded.
  137. ;;Need to get 395 MB of archives.
  138. ;;After this operation, 2,853 MB disk space will be freed.
  139. ;;Do you want to continue? [Y/n] ^C⏎
  140. ;; no, i dont. n_n
  141. ;; end of audio stuff
  142. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  143. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  144. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  145. ;; oh look, it's an old start of the file, before all ^ got added
  146. ;;;;;;; before proceeding with the emacs config...
  147. ;;;;;;; some notes on health (kept here for now so i dont lose them. lol)
  148. ;;;;;;; cannabis saves my life. trying to figure out what in it does that.
  149. ;;;;;;; best i've worked out so far:
  150. ;;;;;;;
  151. ;;;;;;; CBD:THC at about 15-30:1, and over 1.2g CBD daily.
  152. ;;;;;;; the THC there, meaning d9-thc-c5, but i know d8-THC-c5's greatly needed too, foremost for asthma.
  153. ;;;;;;; the CBD's for widespread help with my >25 ailments, notably for candida, which is a precursor for most.
  154. ;;;;;;; also for candida, thinking i really need to get the following terpenes (preliminary/guesswork):
  155. ;;;;;;;
  156. ;;;;;;; ocimene, beta-ocimene, terpinolene, alpha-bisbolol, caryophyllene, thymol, eugenol, alpha-pinene, beta-pinene, fenchol, ... and i'll find more later. get a load of these in me, n i might manage to kill of candida, and restore myself to health, ridding myself of anxiety, anal bleeding, depression, brainfog and more.
  157. ;;;;;;;
  158. ;; orly? https://emacs.stackexchange.com/questions/822/how-to-setup-default-windows-at-startup
  159. ;; n this will save my windows n buffers layout ?
  160. ;;(desktop-save-mode 1)
  161. ;; Added by Package.el. This must come before configurations of
  162. ;; installed packages. Don't delete this line. If you don't want it,
  163. ;; just comment it out by adding a semicolon to the start of the line.
  164. ;; You may delete these explanatory comments.
  165. (package-initialize)
  166. ;; turned off while doesnt exist
  167. ;;(load-file "~/.emacs.d/t-mouse.el")
  168. ;;specialfiles i want open all the time from the start.
  169. ;;(find-file "/path/to/your/file")
  170. ;;;;as advised @ http://stackoverflow.com/questions/999708/how-to-open-files-automatically-when-starting-emacs
  171. ;; what, and why, did i add this line? .... O_O
  172. ;;((((((((((((((((((((((((((((((((((((((((((((((()))))))))))))))))))))))))))))))))))))))))))))))
  173. ;;cos it's pretty when uncommented, no?
  174. ;; custom rainbow delimiters ftw.
  175. ;; ;;
  176. ;; added this following a video tute
  177. (defun my/insert-line-before (times)
  178. "Inserts newline(s) preceding cursor line"
  179. (interactive "p") ; Called from -Mx
  180. (save-excursion ; store position
  181. (move-beginning-of-line 1)
  182. (newline times ))) ; insert line before current
  183. ;; same tute still, this is how to add keybinds, yay
  184. (global-set-key (kbd "C-S-o")
  185. 'my/insert-line-before)
  186. ;;;;;;;;;;;;;;;;;;;;;;;;;;;
  187. ;;;;;;;;;;;;;;;;;;;;;;;;;;;
  188. ;;;;;;;;;;;matrix;;;;;;;;;
  189. ;
  190. (add-to-list 'load-path "/home/digit/.emacs.d/matrix-client")
  191. ;;why does this complain saying, "no such file or directory, request"?
  192. ;;(require 'matrix-client)
  193. ;;;;;;;;;;;;;;;;;;;;;;;;;;;
  194. ;;;;;;;;;;;;;;;;;;;;;;;;;;;
  195. ;;;;;;;;;;;;;;;;;;;;;;;;;;;
  196. ;;methinks rainbow delimiters shud work with these 2-- 3(?) lines now.
  197. ;; now that they're in the right order! lol
  198. ;; off while nonexistant:(load-file "~/gittings/rainbow-delimiters/rainbow-delimiters.elc")
  199. ;; off while nonexistant:(add-hook 'prog-mode-hook 'rainbow-delimiters-mode)
  200. ;; off while nonexistant:(require 'rainbow-delimiters)
  201. ;; mouse cursor colour fix
  202. (set-mouse-color "dark orange")
  203. ;;windmove http://emacswiki.org/emacs/WindMove
  204. (when (fboundp 'windmove-default-keybindings)
  205. (windmove-default-keybindings))
  206. ;;;orrr leave windmove-default-keybindings off (uncomment the 2 lines above), n it should allow shift selection of chars.
  207. ;; remains to be seen.
  208. ;;(global-set-key (kbd "C-c <left>") 'windmove-left)
  209. ;;(global-set-key (kbd "C-c <right>") 'windmove-right)
  210. ;;(global-set-key (kbd "C-c <up>") 'windmove-up)
  211. ;;(global-set-key (kbd "C-c <down>") 'windmove-down)
  212. ;;or
  213. ;;(global-set-key (kbd "C-c h") 'windmove-left)
  214. ;;(global-set-key (kbd "C-c l") 'windmove-right)
  215. ;;(global-set-key (kbd "C-c j") 'windmove-up)
  216. ;;(global-set-key (kbd "C-c k") 'windmove-down)
  217. ;;or shift arrow... which seems to work. o_O
  218. ;; or... so they say
  219. ;;(global-set-key [M-left] 'windmove-left) ; move to left window
  220. ;;(global-set-key [M-right] 'windmove-right) ; move to right window
  221. ;;(global-set-key [M-up] 'windmove-up) ; move to upper window
  222. ;;(global-set-key [M-down] 'windmove-down) ; move to lower window
  223. ;;totally gonna fix those for desired behaviour
  224. ;;tho i suppose i want to switch buffers, not move window focus...
  225. ;;arg. how do i get those keys working (in terminal(?)), my precious back n forward keys... perfect for buffer cycling... if only i could find the character
  226. ;;(global-set-key (kbd "<XF86Forward>") 'next-buffer) ;; thisema time
  227. ;;(global-set-key [xf86forward] 'next-buffer)
  228. ;;(global-set-key [Back] 'previous-buffer)
  229. ;; gah^ buffer switching like that no work in terminal emacs
  230. ;;and for those of us on keyboards without fancy keys like xf86forward and back on our keyboards:
  231. ;;(global-set-key (kbd "M-<right>") 'next-buffer)
  232. ;;(global-set-key (kbd "M-<left>") 'previous-buffer)
  233. ;;or
  234. (global-set-key (kbd "M-]") 'next-buffer)
  235. (global-set-key (kbd "M-[") 'previous-buffer)
  236. (global-set-key (kbd "C-<mouse-8>") 'next-buffer)
  237. (global-set-key (kbd "C-<mouse-9>") 'previous-buffer)
  238. ;; now how to get a bind to cycle only erc
  239. ;; and a bind to cycle any but erc
  240. ;;;;;;;;;;;;;;;;;;;;;;;;
  241. ;;;; el-feed stuff
  242. ;;;;;;;;;;;;;;;;;;;;;;;;
  243. ;; add the Elfeed package directory to your load-path
  244. (setq load-path (cons "~/gittings/elfeed/" load-path))
  245. ;; It is recommended that you make a global binding for elfeed.
  246. (global-set-key (kbd "C-x w") 'elfeed)
  247. ;;Running the interactive function elfeed will pop up the *elfeed-search* buffer, which will display feed items.
  248. ;;
  249. ;; g: refresh view of the feed listing
  250. ;; G: fetch feed updates from the servers
  251. ;; s: update the search filter (see tags)
  252. ;;
  253. ;;This buffer will be empty until you add your feeds to the elfeed-feeds list and initiate an update with M-x elfeed-update (or G in the Elfeed buffer). This will populate the Elfeed database with entries.
  254. ;; Somewhere in your .emacs file
  255. (setq elfeed-feeds
  256. '(;;"http://nullprogram.com/feed/"
  257. ;; "http://planet.emacsen.org/atom.xml"
  258. ;; "http://ks392457.kimsufi.com/dnb/rss.xml"
  259. ;; "http://ks392457.kimsufi.com/dnb/rss.atom"
  260. ;; "http://ks392457.kimsufi.com/dhb/rss.xml"
  261. ;; "http://ks392457.kimsufi.com/dhb/rss.atom"
  262. ;; "http://ks392457.kimsufi.com/dob/rss.xml"
  263. ;; "http://ks392457.kimsufi.com/dob/rss.atom"
  264. ;; "https://theintercept.com/podcasts/"
  265. ;; "https://www.rt.com/rss/"
  266. "https://stallman.org/rss/rss.xml"))
  267. ;;;;;;;;;;;;;;;;;;;;;;;;
  268. ;;;; diaspora-el stuff
  269. ;;;;;;;;;;;;;;;;;;;;;;;;
  270. ;; FIXME
  271. ;; cannot find some of its deps when it tries to launch
  272. ;;(setq load-path (cons "~/gittings/diaspora.el/" load-path))
  273. ;;(require 'diaspora)
  274. ;;;;;;;;;;;;;;;;;;;;;;;;
  275. ;;;; calendar stuff
  276. ;;;;;;;;;;;;;;;;;;;;;;;;
  277. ;; i like to know what time it is back home
  278. (setq calendar-latitude 58.98)
  279. (setq calendar-longitude 2.96)
  280. (setq calendar-location-name "Orkney")
  281. ;; (setq calendar-time-zone -360)
  282. ;; (setq calendar-standard-time-zone-name "CST")
  283. ;; (setq calendar-daylight-time-zone-name "CDT")
  284. ;; window navigation (did this when insomniac awaked ~ sleepy, check it)
  285. (define-key global-map (read-kbd-macro "M-<up>") 'windmove-up)
  286. (define-key global-map (read-kbd-macro "M-<down>") 'windmove-down)
  287. (define-key global-map (read-kbd-macro "M-<left>") 'windmove-left)
  288. (define-key global-map (read-kbd-macro "M-<right>") 'windmove-right)
  289. ;; and make selections work now too. move shift-direction back to selecting text, not switching window...
  290. ;;;;;;;;;;;;;;;;;;;;;;;;;;
  291. ;;;; multimedia stuff
  292. ;;;;;;;;;;;;;;;;;;;;;;;;;;
  293. ;; FIXME nope, this buggered up launch too
  294. ;;(add-to-list 'load-path "/home/digit/gittings/emms-player-mpv")
  295. ;;(require 'emms-player-mpv)
  296. ;;(add-to-list 'emms-player-list 'emms-player-mpv)
  297. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  298. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; resize fonts... ;;
  299. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  300. ;; ok, lets define what i want first... and then get wrestling once i know the goal.
  301. ;; C-- and C-=, incrementaly font size in the buffer.
  302. ;; C-M-- and C-M-=, incrementaly font size in all buffers and special places (modebar, etc).
  303. ;;easy resize fonts
  304. (global-set-key (kbd "C-M-=") 'text-scale-increase)
  305. (global-set-key (kbd "C-M--") 'text-scale-decrease)
  306. (global-set-key (kbd "C-<mouse-4>") 'text-scale-increase)
  307. (global-set-key (kbd "C-<mouse-5>") 'text-scale-decrease)
  308. ;; resize fonts, as seen:
  309. ;;https://www.emacswiki.org/emacs/CycleFontSizes
  310. ;; Firefox-like zooming of fonts.
  311. (setq default-font-zoom-index 2)
  312. (setq font-zoom-index default-font-zoom-index)
  313. ;;font face resize scale shenanigans
  314. ;
  315. ;;(setq font-zoom-list
  316. ;; (list "-*-fixed-*-*-*-*-6-*-*-*-*-*-*-*"
  317. ;; "-*-fixed-*-*-*-*-10-*-*-*-*-*-*-*"
  318. ;; "-*-fixed-*-*-*-*-13-*-*-*-*-*-*-*"
  319. ;; "-*-fixed-*-*-*-*-17-*-*-*-*-*-*-*"
  320. ;; "-*-fixed-*-*-*-*-18-*-*-*-*-*-*-*"
  321. ;; "-*-fixed-*-*-*-*-24-*-*-*-*-*-*-*"
  322. ;; "-*-fixed-*-*-*-*-36-*-*-*-*-*-*-*"
  323. ;; "-*-fixed-*-*-*-*-48-*-*-*-*-*-*-*"))
  324. ;;(setq font-zoom-list
  325. ;; (list "-*-bf-*-*-*-*-3-*-*-*-*-*-*-*"
  326. ;; "-*-qnub-*-*-*-*-4-*-*-*-*-*-*-*"
  327. ;; "-*-fixed-*-*-*-*-5-*-*-*-*-*-*-*"
  328. ;; "-*-fixed-*-*-*-*-6-*-*-*-*-*-*-*"
  329. ;; "-*-tydals-*-*-*-*-7-*-*-*-*-*-*-*"
  330. ;; "-*-fixed-*-*-*-*-8-*-*-*-*-*-*-*"
  331. ;; "-*-fixed-*-*-*-*-9-*-*-*-*-*-*-*"
  332. ;; "-*-fixed-*-*-*-*-10-*-*-*-*-*-*-*"
  333. ;; "-*-fixed-*-*-*-*-11-*-*-*-*-*-*-*"
  334. ;; "-*-fixed-*-*-*-*-12-*-*-*-*-*-*-*"
  335. ;; "-*-fixed-*-*-*-*-16-*-*-*-*-*-*-*"
  336. ;; "-*-fixed-*-*-*-*-22-*-*-*-*-*-*-*"
  337. ;; "-*-fixed-*-*-*-*-28-*-*-*-*-*-*-*"
  338. ;; "-*-fixed-*-*-*-*-32-*-*-*-*-*-*-*"))
  339. ;
  340. ;;(setq font-zoom-list
  341. ;; (list "-*-bf-*-*-*-*-4-*-*-*-*-*-*-*" ;; otb, but keeping anyways!
  342. ;;;; "-*-qnub-*-*-*-*-5-*-*-*-*-*-*-*" ;;doesnt get picked up
  343. ;;;; "-*-mnky-*-*-*-*-6-*-*-*-*-*-*-*" ;;blocks
  344. ;; "-*-djfl-*-*-*-*-7-*-*-*-*-*-*-*" ;; nice, but uncertain. works well at 72
  345. ;;;; "-*-kob-*-*-*-*-8-*-*-*-*-*-*-*" ;; just silly/scribbly
  346. ;; "-*-rmnd-*-*-*-*-9-*-*-*-*-*-*-*" ;; otb gets picked up over ttf
  347. ;;;; "-*-tidyr-*-*-*-*-10-*-*-*-*-*-*-*" ;; uhh
  348. ;;;; "-*-tidyra-*-*-*-*-11-*-*-*-*-*-*-*" ;; ""
  349. ;;;; "-*-tidyrb-*-*-*-*-12-*-*-*-*-*-*-*" ;; ""
  350. ;; "-*-tydls-*-*-*-*-8-*-*-*-*-*-*-*" ;; tydls "tidals"/"tiddles" an old fave... but otb.
  351. ;; "-*-wastage-*-*-*-*-16-*-*-*-*-*-*-*"
  352. ;; "-*-wastest-*-*-*-*-22-*-*-*-*-*-*-*"
  353. ;; "-*-bf-*-*-*-*-28-*-*-*-*-*-*-*"
  354. ;; ;; more fonts:
  355. ;; ;; mimia ;; incomplete.
  356. ;; ;; nzt ;; noice!
  357. ;; ;; yti. nice, narrow, but needs bigger size number than you'd think. 88 n its crisp.
  358. ;; ;; ytia, as above
  359. ;; ;; yz, crisp at 49
  360. ;; ;; zem, crisp at 87
  361. ;; ;; clso, looks crisp at ... oh, any. seems otb pickup
  362. ;; "-*-clso-*-*-*-*-32-*-*-*-*-*-*-*"))
  363. ;;(setq font-zoom-list
  364. ;; (list "((t (:height 42 :family merg)))"
  365. ;; "((t (:height 49 :family yz)))"
  366. ;; "((t (:height 87 :family "zem")))"
  367. ;; "((t (:height 88 :family "yti")))"
  368. ;; "((t (:height 145 : family 'merg')))"
  369. ;; ))
  370. ;; tried setting it like this again, with n without quotes. why that way no work anymore?
  371. ;;(setq font-zoom-list
  372. ;; (list ((t (:height 49 :family "yz")))
  373. ;; ((t (:height 57-63 :family "jjfhlo"))) ;; jffhlo better than jffh
  374. ;; "((t (:height 145 : family "merg")))"
  375. ;; "((t (:height 290 : family "merg")))"
  376. ;; "((t (:height 580 : family "merg")))"
  377. ;; "((t (:height 570 : family "merg")))"
  378. ;; "((t (:height 190 : family "merg")))"
  379. ;; "((t (:height 157 : family "merg")))"
  380. ;; ))
  381. ;;bring back yz somewhere in the mix. yz is nice. no?
  382. (setq font-zoom-list
  383. (list "-*-nztt-*-*-*-*-6-*-*-*-*-*-*-*" ;;"((t (:height 42 :family "nzt")))"
  384. "-*-nztt-*-*-*-*-9-*-*-*-*-*-*-*" ;;"((t (:height 42 :family "nzt")))"
  385. "-*-nztt-*-*-*-*-12-*-*-*-*-*-*-*" ;;"((t (:height 42 :family "nzt")))"
  386. "-*-nztt-*-*-*-*-18-*-*-*-*-*-*-*" ;;"((t (:height 42 :family "nzt")))"
  387. "-*-mnky-*-*-*-*-6-*-*-*-*-*-*-*" ;;blocks
  388. "-*-merg-*-*-*-*-16-*-*-*-*-*-*-*" ;;CONFIRMEDFONT
  389. ;; how do i get this, the default, slipped in here? (:inherit nil :stipple nil :background "#221321" :foreground "#ffbb55" :inverse-video nil :box nil :strike-through nil :overline nil :underline nil :slant normal :weight normal :height 146 :width normal :foundry "PfEd" :family "merg")... i will try...
  390. "-*-merg-*-*-*-*-20-*-*-*-*-*-*-*" ;;testing default-font default-face back in place... ... y'know, i think that worked. 20=146 :) first time guess. :)
  391. "-*-merg-*-*-*-*-24-*-*-*-*-*-*-*" ;;testing~fence
  392. "-*-merg-*-*-*-*-32-*-*-*-*-*-*-*" ;;CONFIRMEDFONT
  393. ;; "-*-yz-*-*-*-*-5-*-*-*-*-*-*-*" ;;prior list faves, but broken
  394. "-*-fixed-*-*-*-*-6-*-*-*-*-*-*-*"
  395. "-*-fixed-*-*-*-*-7-*-*-*-*-*-*-*"
  396. "-*-fixed-*-*-*-*-8-*-*-*-*-*-*-*"
  397. "-*-fixed-*-*-*-*-10-*-*-*-*-*-*-*"
  398. "-*-clean-*-*-*-*-8-*-*-*-*-*-*-*"
  399. "-*-mnky-*-*-*-*-6-*-*-*-*-*-*-*" ;;blocks
  400. "-*-fixed-*-*-*-*-13-*-*-*-*-*-*-*"
  401. "-*-mnky-*-*-*-*-6-*-*-*-*-*-*-*" ;;blocks
  402. ;; "-*-djfl-*-*-*-*-7-*-*-*-*-*-*-*" ;; nice, but uncertain. works well at 72
  403. ;; "-*-rmnd-*-*-*-*-9-*-*-*-*-*-*-*" ;; otb gets picked up over ttf
  404. "-*-tydls-*-*-*-*-8-*-*-*-*-*-*-*" ;; tydls "tidals"/"tiddles" an old fave... but otb.
  405. "-*-bf-*-*-*-*-4-*-*-*-*-*-*-*" ;; the smallest
  406. ;; "-*-'qnub-test'-*-*-*-*-4-*-*-*-*-*-*-*" ;; quantum sized
  407. "-*-tydls-*-*-*-*-6-*-*-*-*-*-*-*" ;;
  408. "-*-nztt-*-*-*-*-6-*-*-*-*-*-*-*" ;;"((t (:height 42 :family "nzt")))"
  409. "-*-brf-*-*-*-*-5-*-*-*-*-*-*-*" ;; tight club
  410. "-*-zfr-*-*-*-*-5-*-*-*-*-*-*-*" ;; tight club
  411. "-*-referal-*-*-*-*-5-*-*-*-*-*-*-*" ;; another fave, tight club
  412. "-*-pen-*-*-*-*-5-*-*-*-*-*-*-*" ;; tight club
  413. "-*-tydls-*-*-*-*-5-*-*-*-*-*-*-*" ;; remake of classic tidyr, tight club
  414. ;; "-*-nztt-*-*-*-*-5.5-*-*-*-*-*-*-*" ;; rar
  415. "-*-nztt-*-*-*-*-6-*-*-*-*-*-*-*" ;; my fave (scalable)
  416. ;; nice, but off for flow "-*-yz-*-*-*-*-7-*-*-*-*-*-*-*" ;;"((t (:height 49 :family "yz")))"
  417. ;; nice, but off for flow "-*-tiptoe-*-*-*-*-6-*-*-*-*-*-*-*"
  418. ;; "-*-jffhlo-*-*-*-*-6-*-*-*-*-*-*-*" why was this one not on?
  419. "-*-djsl-*-*-*-*-7-*-*-*-*-*-*-*" ;; my old fave (non-scalable)
  420. ;; "-*-jffhlo-*-*-*-*-7-*-*-*-*-*-*-*"
  421. ;; ;; "-*-zia-*-*-*-*-8-*-*-*-*-*-*-*" ;;"((t (:height ?? :family "zia")))" ;; why does this not work in my devuan?
  422. "-*-mnky-*-*-*-*-12-*-*-*-*-*-*-*" ;;testing
  423. "-*-merg-*-*-*-*-16-*-*-*-*-*-*-*" ;;CONFIRMEDFONT
  424. "-*-merg-*-*-*-*-32-*-*-*-*-*-*-*" ;;
  425. "-*-carpy-*-*-*-*-10-*-*-*-*-*-*-*" ;;testing, anti-dyslexia
  426. "-*-nztt-*-*-*-*-6-*-*-*-*-*-*-*" ;; my fave (scalable)
  427. ;; "-*-jffhlo-*-*-*-*-8-*-*-*-*-*-*-*" ;;retesting
  428. "-*-jffhle-*-*-*-*-8-*-*-*-*-*-*-*" ;;retesting
  429. "-*-nztt-*-*-*-*-12-*-*-*-*-*-*-*" ;; my fave (scalable)
  430. ;; "-*-jffhlo-*-*-*-*-12-*-*-*-*-*-*-*" ;;retesting
  431. ;; "-*-jffhlo-*-*-*-*-16-*-*-*-*-*-*-*" ;;retesting
  432. "-*-jffhle-*-*-*-*-12-*-*-*-*-*-*-*" ;;retesting
  433. "-*-jffhle-*-*-*-*-16-*-*-*-*-*-*-*" ;;retesting
  434. ;; "-*-nztt-*-*-*-*-8-*-*-*-*-*-*-*" ;; my fave (scalable)
  435. ;; "-*-nztt-*-*-*-*-9-*-*-*-*-*-*-*" ;; my fave (scalable)
  436. "-*-nztt-*-*-*-*-18-*-*-*-*-*-*-*" ;; my fave (scalable)
  437. ;; "-*-jffhlo-*-*-*-*-24-*-*-*-*-*-*-*" ;;retesting
  438. "-*-jffhle-*-*-*-*-24-*-*-*-*-*-*-*" ;;retesting
  439. "-*-nztt-*-*-*-*-24-*-*-*-*-*-*-*" ;; my fave (scalable)
  440. "-*-merg-*-*-*-*-32-*-*-*-*-*-*-*" ;;
  441. "-*-nztt-*-*-*-*-32-*-*-*-*-*-*-*" ;; my fave (scalable)
  442. ;; "-*-jffhlo-*-*-*-*-32-*-*-*-*-*-*-*" ;;
  443. "-*-jffhle-*-*-*-*-32-*-*-*-*-*-*-*" ;;
  444. "-*-merg-*-*-*-*-64-*-*-*-*-*-*-*" ;;CONFIRMEDFONT
  445. "-*-nztt-*-*-*-*-64-*-*-*-*-*-*-*" ;; my fave (scalable)
  446. ;; "-*-jffhlo-*-*-*-*-64-*-*-*-*-*-*-*" ;; jffhlor & jffhlu too, btw. but the hle version has copyright and registered copyright too. :3 progress. :)
  447. "-*-jffhle-*-*-*-*-64-*-*-*-*-*-*-*" ;;
  448. "-*-merg-*-*-*-*-128-*-*-*-*-*-*-*" ;;CONFIRMEDFONT
  449. ))
  450. ;; TO DO: multiple chains of these. n then modally nested, so can switch across to different chains of font increments... will be able to keep em all same then! yay.
  451. ;;(setq font-zoom-list
  452. ;; (list ;;"-*-yz-*-*-*-*-5-*-*-*-*-*-*-*"
  453. ;; "-*-merg-*-*-*-*-16-*-*-*-*-*-*-*" ;;testing
  454. ;; "-*-merg-*-*-*-*-16-*-*-*-*-*-*-*" ;;testing
  455. ;;;; "-*-merg-*-*-*-*-17-*-*-*-*-*-*-*" ;;testing
  456. ;;;; "-*-merg-*-*-*-*-18-*-*-*-*-*-*-*" ;;testing
  457. ;;;; "-*-merg-*-*-*-*-19-*-*-*-*-*-*-*" ;;testing
  458. ;; "-*-merg-*-*-*-*-20-*-*-*-*-*-*-*" ;;testing
  459. ;; "-*-merg-*-*-*-*-24-*-*-*-*-*-*-*" ;;testing
  460. ;; "-*-merg-*-*-*-*-32-*-*-*-*-*-*-*" ;;testing
  461. ;; "-*-bf-*-*-*-*-4-*-*-*-*-*-*-*" ;;
  462. ;;;; "-*-'qnub-test'-*-*-*-*-4-*-*-*-*-*-*-*" ;;
  463. ;;;; "-*-tydls-*-*-*-*-6-*-*-*-*-*-*-*" ;;
  464. ;; ;; "-*-nzt-*-*-*-*-6-*-*-*-*-*-*-*" ;;"((t (:height 42 :family "nzt")))"
  465. ;; "-*-brf-*-*-*-*-5-*-*-*-*-*-*-*"
  466. ;; "-*-zfr-*-*-*-*-5-*-*-*-*-*-*-*"
  467. ;; "-*-referal-*-*-*-*-5-*-*-*-*-*-*-*"
  468. ;; "-*-pen-*-*-*-*-5-*-*-*-*-*-*-*"
  469. ;; "-*-tydls-*-*-*-*-7-*-*-*-*-*-*-*"
  470. ;; "-*-nztt-*-*-*-*-6-*-*-*-*-*-*-*" ;; my fave (scalable)
  471. ;; "-*-yz-*-*-*-*-7-*-*-*-*-*-*-*" ;;"((t (:height 49 :family "yz")))"
  472. ;; "-*-tiptoe-*-*-*-*-6-*-*-*-*-*-*-*"
  473. ;;;; "-*-jffhlo-*-*-*-*-6-*-*-*-*-*-*-*"
  474. ;; "-*-djsl-*-*-*-*-7-*-*-*-*-*-*-*" ;; my old fave (non-scalable)
  475. ;;;; "-*-jffhlo-*-*-*-*-7-*-*-*-*-*-*-*"
  476. ;; ;; "-*-zia-*-*-*-*-8-*-*-*-*-*-*-*" ;;"((t (:height ?? :family "zia")))" ;; why does this not work in my devuan?
  477. ;; "-*-mnky-*-*-*-*-12-*-*-*-*-*-*-*" ;;testing
  478. ;; "-*-merg-*-*-*-*-15-*-*-*-*-*-*-*" ;;testing
  479. ;; "-*-merg-*-*-*-*-16-*-*-*-*-*-*-*" ;;testing
  480. ;; "-*-merg-*-*-*-*-17-*-*-*-*-*-*-*" ;;testing
  481. ;; "-*-merg-*-*-*-*-18-*-*-*-*-*-*-*" ;;testing
  482. ;; "-*-merg-*-*-*-*-19-*-*-*-*-*-*-*" ;;testing
  483. ;; ;; "-*-zem-*-*-*-*-12-*-*-*-*-*-*-*" ;;"((t (:height 87 :family "zem")))"
  484. ;; "-*-jffhlo-*-*-*-*-8-*-*-*-*-*-*-*" ;;"((t (:height 57-63 :family "jjfh")))" ;; jffhlo better than jffh
  485. ;; "-*-carpy-*-*-*-*-10-*-*-*-*-*-*-*" ;;testing
  486. ;; "-*-clso-*-*-*-*-12-*-*-*-*-*-*-*" ;;testing
  487. ;; "-*-bggf-*-*-*-*-9-*-*-*-*-*-*-*" ;;"((t (:height 64 :family "bggf")))"
  488. ;; "-*-djfl-*-*-*-*-12-*-*-*-*-*-*-*" ;;testing
  489. ;; "-*-jffhlo-*-*-*-*-12-*-*-*-*-*-*-*" ;;"((t (:height 57-63 :family "jjfh")))" ;; jffhlo better than jffh
  490. ;; "-*-wastest-*-*-*-*-16-*-*-*-*-*-*-*" ;;"((t (:height 120 :family "wastest")))"
  491. ;; "-*-jffhlo-*-*-*-*-16-*-*-*-*-*-*-*" ;;"((t (:height 57-63 :family "jjfh")))" ;; jffhlo better than jffh
  492. ;; ;; "-*-hurpicat-*-*-*-*-25-*-*-*-*-*-*-*";;"((t (:height ??? :family "bggf")))"
  493. ;; "-*-merg-*-*-*-*-32-*-*-*-*-*-*-*" ;;testing
  494. ;; "-*-bggf-*-*-*-*-19-*-*-*-*-*-*-*";;"((t (:height ??? :family "bggf")))"
  495. ;; "-*-djfl-*-*-*-*-22-*-*-*-*-*-*-*";;"((t (:height ??? :family "djfl")))"
  496. ;; "-*-bggf-*-*-*-*-27-*-*-*-*-*-*-*";;"((t (:height ??? :family "bggf")))"
  497. ;; "-*-bggf-*-*-*-*-32-*-*-*-*-*-*-*";;"((t (:height ??? :family "bggf")))"
  498. ;; "-*-bggf-*-*-*-*-38-*-*-*-*-*-*-*";;"((t (:height ??? :family "bggf")))"
  499. ;; "-*-nztt-*-*-*-*-57-*-*-*-*-*-*-*";;"((t (:height ??? :family "bggf")))"
  500. ;; "-*-zia-*-*-*-*-62-*-*-*-*-*-*-*";;"((t (:height ??? :family "bggf")))"
  501. ;;;;"-*-yz-*-*-*-*-5-*-*-*-*-*-*-*"
  502. ;; "-*-jffhlo-*-*-*-*-65-*-*-*-*-*-*-*" ;;
  503. ;;;; "-*-'qnub-test'-*-*-*-*-4-*-*-*-*-*-*-*" ;;
  504. ;;;; "-*-tydls-*-*-*-*-6-*-*-*-*-*-*-*" ;;
  505. ;; ;; "-*-nzt-*-*-*-*-6-*-*-*-*-*-*-*" ;;"((t (:height 42 :family "nzt")))"
  506. ;; "-*-nztt-*-*-*-*-69-*-*-*-*-*-*-*"
  507. ;;;; "-*-yz-*-*-*-*-7-*-*-*-*-*-*-*" ;;"((t (:height 49 :family "yz")))"
  508. ;; "-*-zia-*-*-*-*-72-*-*-*-*-*-*-*" ;;"((t (:height ?? :family "zia")))"
  509. ;;; "-*-mnky-*-*-*-*-12-*-*-*-*-*-*-*" ;;testing
  510. ;; ;; "-*-zem-*-*-*-*-12-*-*-*-*-*-*-*" ;;"((t (:height 87 :family "zem")))"
  511. ;; "-*-jffhlo-*-*-*-*-75-*-*-*-*-*-*-*" ;;"((t (:height 57-63 :family "jjfh")))" ;; jffhlo better than jffh
  512. ;; "-*-bggf-*-*-*-*-80-*-*-*-*-*-*-*" ;;"((t (:height 64 :family "bggf")))"
  513. ;; "-*-djfl-*-*-*-*-88-*-*-*-*-*-*-*" ;;testing
  514. ;; "-*-wastest-*-*-*-*-90-*-*-*-*-*-*-*" ;;"((t (:height 120 :family "wastest")))"
  515. ;; "-*-jffhlo-*-*-*-*-92-*-*-*-*-*-*-*" ;;"((t (:height 57-63 :family "jjfh")))" ;; jffhlo better than jffh
  516. ;; "-*-bggf-*-*-*-*-98-*-*-*-*-*-*-*";;"((t (:height ??? :family "bggf")))"
  517. ;; "-*-djfl-*-*-*-*-102-*-*-*-*-*-*-*";;"((t (:height ??? :family "djfl")))"
  518. ;; "-*-bggf-*-*-*-*-104-*-*-*-*-*-*-*";;"((t (:height ??? :family "bggf")))"
  519. ;; "-*-bggf-*-*-*-*-120-*-*-*-*-*-*-*";;"((t (:height ??? :family "bggf")))"
  520. ;; "-*-nztt-*-*-*-*-130-*-*-*-*-*-*-*";;"((t (:height ??? :family "bggf")))"
  521. ;; "-*-zia-*-*-*-*-144-*-*-*-*-*-*-*";;"((t (:height ??? :family "bggf")))"
  522. ;; ))
  523. ;; ^ so that works great. might wanna try adding https://www.emacswiki.org/emacs/stripes.el or something, to help with readability speed in those super-tight tiny fonts.
  524. ;; reminder of the old nice default:
  525. ;; '(default ((t (:inherit nil :stipple nil :background "#100a05" :foreground "#eec055" :inverse-video nil :box nil :strike-through nil :overline nil :underline nil :slant normal :weight normal :height 91 :width normal :foundry "unknown" :family "jffhlo"))))
  526. ;
  527. (defun font-zoom-increase-font-size ()
  528. (interactive)
  529. (progn
  530. (setq font-zoom-index (min (- (length font-zoom-list) 1)
  531. (+ font-zoom-index 1)))
  532. (set-frame-font (nth font-zoom-index font-zoom-list))))
  533. ;
  534. (defun font-zoom-decrease-font-size ()
  535. (interactive)
  536. (progn
  537. (setq font-zoom-index (max 0
  538. (- font-zoom-index 1)))
  539. (set-frame-font (nth font-zoom-index font-zoom-list))))
  540. ;
  541. (defun font-zoom-reset-font-size ()
  542. (interactive)
  543. (progn
  544. (setq font-zoom-index default-font-zoom-index)
  545. (set-frame-font (nth font-zoom-index font-zoom-list))))
  546. ;
  547. (define-key global-map (read-kbd-macro "C--") 'font-zoom-decrease-font-size)
  548. (define-key global-map (read-kbd-macro "C-=") 'font-zoom-increase-font-size)
  549. (define-key global-map (read-kbd-macro "C-0") 'font-zoom-reset-font-size)
  550. ;
  551. (set-frame-font (nth font-zoom-index font-zoom-list)) ;;
  552. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  553. ;; funky start fonts ¯\_(ツ)_/¯ ; ;
  554. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  555. ;;(setq fancy-startup-text )
  556. ;;wanted;;;;"There's no shame in the truth.")
  557. ;;wanted;;;;((t (:foreground "#988262" :family "grgi")))))
  558. ;;(setq fancy-about-text )
  559. ;;wanted;;;;"Their's know shaman, the truth.")
  560. ;;wanted;;;;((t (:foreground "#988262" :family "grgi")))))
  561. ;;(defface fancy-about-text-face '((t ;;(:background "#029" :foreground "#f0f" :family "hurpicat")))
  562. ;; "a face to highlight the start"
  563. ;; :group 'faces)
  564. ;; adapted from https://ergoemacs.googlecode.com/svn/trunk/ergoemacs/init_version.el
  565. ;;(setq fancy-startup-text nil)
  566. ;;(setq fancy-startup-text nil)
  567. (setq fancy-startup-text
  568. ;; '((:face (variable-pitch (:background "#207" :foreground "#ff0" :height 55 :family "nzt"))
  569. '((:face (variable-pitch (:inherit default :height 72 :family "jffhlo"))
  570. "This is "
  571. :link ("DigitEmacs"
  572. (lambda (button) (browse-url "http://www.gnu.org/software/emacs/")))
  573. ".\n\n"
  574. "and dont u forget it."
  575. ".\n\n")))
  576. ;;(setq fancy-about-text
  577. ;; '(((lambda () (emacs-version))
  578. ;; "\n\n"
  579. ;; :face (variable-pitch (:inherit nil :stipple nil :background "#100a05" :foreground "#eec055" :inverse-video nil :box nil :strike-through nil :overline nil :underline nil :slant normal :weight normal :height 55 :width normal :foundry "unknown" :height 42 :family "nzt"))
  580. ;; "\tEmacs contributors\n"
  581. ;; :link ("GNU Emacs Authors"
  582. ;; (lambda (button)
  583. ;; (view-file (expand-file-name "AUTHORS" data-directory))
  584. ;; (goto-char (point-min))))
  585. ;; "\n"
  586. ;; :face (variable-pitch (:slant oblique))
  587. ;; "meep meep ABSOLUTELY NO WARRANTY\n"
  588. ;; :face variable-pitch
  589. ;; "\n"
  590. ;; )))
  591. ;; menus!
  592. ;;
  593. ;;[2016-05-18 22:20:53] <n2o4> Basically you could write menus to any major/minor mode and use them.
  594. ;;[2016-05-18 22:21:51] <n2o4> Can't remember having toyed with them too much, but I think they're just named, sparse key-maps with some kind of menu-identifier.
  595. ;;[2016-05-18 22:22:03] * Digit doesnt remember if it was 2013 or 2010 he started emacsing
  596. ;;[2016-05-18 22:22:57] <n2o4> Ie. (define-key menumap [menu description] "Docstring" . function)
  597. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  598. ;;haskell mode stuff, gawdamnit i want haskell-mode! :>
  599. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  600. ;; melpa first.
  601. ;; with or without proper haskell mode, can have tidal (with Dirt)
  602. ;;You will have to start dirt every time you want to run Tidal, otherwise there will be no sound.
  603. ;; from shell: cd ~/gittings/Dirt && ./dirt &
  604. ;;(add-to-list 'load-path "~/audiostuff/_tidal")
  605. (add-to-list 'load-path "~/gittings/haskell-mode")
  606. (require 'haskell-mode)
  607. ;;(require 'tidal)
  608. ;;;; ^ If tidal.el did not come with this document, you can grab it here: https://raw.github.com/yaxu/Tidal/master/tidal.el
  609. ;;;; n like, put it somewhere loadable.
  610. ;; testing autojoin on ident, rather than autojoin on connection. so if things are bork next time i restart erc, that'll likely be why.
  611. (require 'package)
  612. (custom-set-variables
  613. ;; custom-set-variables was added by Custom.
  614. ;; If you edit it by hand, you could mess it up, so be careful.
  615. ;; Your init file should contain only one such instance.
  616. ;; If there is more than one, they won't work right.
  617. '(browse-url-browser-display nil)
  618. '(elfeed-feeds '("https://stallman.org/rss/rss.xml"))
  619. '(erc-accidental-paste-threshold-seconds 1)
  620. '(erc-autoaway-idle-seconds 802200)
  621. '(erc-autoaway-message
  622. "Digit (innactive for %i seconds)... probably flying a griffin through space")
  623. '(erc-autoaway-mode t)
  624. '(erc-autojoin-mode t)
  625. '(erc-autojoin-timing 'ident)
  626. '(erc-button-buttonize-nicks t)
  627. '(erc-button-mode t)
  628. '(erc-fill-column 112)
  629. '(erc-fool-highlight-type 'all)
  630. '(erc-fools
  631. '("wojtekxtx" "painkill" "#shadowdaemon" "fryst" "edm" "storkme" "c4ntelope" "circuitbone" "luna_" "sirbriggs[m]" "z8np" "SireWolf" "unrooted" "brownorange" "redempt1on" "ArtOfWar" "xau" "wallabra" "hodapp" "applegal" "RedRyder" "peetaur" "artOwar" "Nikopol" "StmlLove" "mats1" "SummerSkies" "artao" "TheLinuxNerd" "R2Robot" "Astrobot" "epicgirl" "astroo" "redempt1on" "mrig" "buZz" "storkme" "ArcusBot[m]" "ProfSimm" "fenn" "manicennui" "Vladimir" "JoePinball" "CloudEvil" "Althego" "chatguy" "arryana" "plankster" "zapster" "caveman" "Treefingers" "M6piz7wk" "M6piz7wk[m]" "boggles" "nomic" "troy_cambridge" "causative" "Karael" "truffles" "FloridaMan" "LovemirrorLove" "Jeroenpc" "assan" "cmpunches" "cpunches" "phanes" "bagira" "eskimo" "Rorschach" "AlyssaXY" "peerce" "hoglahoo" "synfinatic" "Ozzzy" "ndnihil" "shoober420" "ebassi_" "cappe" "tritoch" "sid10506@gateway/web/irccloud.com/x-gsmmmbcsetrwwtoy" "downey" "downey[i]" "woodwose" "gullibleisland" "yuken" "Redfoxmoon" "gonzobot" "theoneisall" "Techy" "devfx11" "n01d" "DaemonFC" "rtn0" "Blukunfando" "blitzkraft" "sorcerer" "SUP3RN3T5" "cosmicblue" "mefisofeles" "drakken" "rabbitear" "rabbitear_g" "parrotlover" "deusexmachina" "NoImNotNineVolt" "CrystalMath" "moaz" "travis-ci" "irc-core" "void-" "xbps-builder" "DevTwo" "DevFour" "dfoolz" "forcer" "aidalgol" "theplic" "Gremble" "storge" "TheRedMoo*" "TheRedMood" "rHermes" "rrHermes" "darryl" "snubby" "snobby" "zebrapig" "Jovo" "(^dka)bot!" "(^luna)cat[1|2](^8)" "Weedykins" "irker*" "Anonymoose" "Anonymoooose" "fsbot" "Agent_K" "Mr_K" "apm1" "savior" "alazare619" "variegata" "eth0ghost" "merrigan" "gerritwk23" "jenkins-exherbo" "exherbo-commits" "Lorentz" "bobysdadda" "boboysdadda" "seonel97" "NixOS_GitHub" "Derpadong" "onetwo" "onetwo_" "ic2000" "geggam" "Myau" "Tipping_Fedora" "baotunggg" "c_smith" "ringo32" "TestingTe" "McClane2" "MatthewAllan93" "swift110" "vimuser" "calher" "-travis-ci-" "systemd" "punkjesus" "wigums" "phanes" "cpunches" "Jookia" "Halts" "Leah" "Tazy" "orbea" "BobPage" "RandIter" "_ohm" "bonsaikitten" "convexed_cave" "iamben" "The_Document" "noodlepie" "phizzy" "phizzy_" "egnuph" "dugz" "z6np" "beanandana" "Angélica" "QcMat" "Bacta" "drakonis" "fpbot" "hiya" "spacedust" "kstigs" "kreyren" "Angelica" "Sam_Hyde" "Anselmo" "khronosschoty") nil nil "if you argue with fools... but anyhoo, not all here are fools (e.g. some are bots), but still wise not argue with them. best avoid such escalations (because convictions become identities and then challenges provoke fight (or flight, or freeze)). dont let the trolls bait you into their tar pits. no need for drama, egotism, hate n stinky shar-chi negative vibes. - so this list is just to prevent my hot head escalating drama. more readily keeps the peace.")
  632. '(erc-hide-list '("JOIN" "PART" "QUIT"))
  633. '(erc-highlight-nicknames-mode t)
  634. '(erc-input-line-position -2)
  635. '(erc-irccontrols-mode t)
  636. '(erc-keep-place-mode t)
  637. '(erc-list-mode t)
  638. '(erc-log-mode t)
  639. '(erc-lurker-hide-list '("JOIN" "PART" "QUIT"))
  640. '(erc-lurker-threshold-time 1950)
  641. '(erc-match-mode t)
  642. '(erc-max-buffer-size 190000)
  643. '(erc-menu-mode t)
  644. '(erc-modules
  645. '(autoaway autojoin button completion irccontrols list match menu move-to-prompt netsplit networks noncommands readonly ring scrolltobottom stamp track))
  646. '(erc-move-to-prompt-mode t)
  647. '(erc-netsplit-mode t)
  648. '(erc-networks-mode t)
  649. '(erc-nick "Digit")
  650. '(erc-nick-uniquifier "Digitteknohippie")
  651. '(erc-noncommands-mode t)
  652. '(erc-notify-list
  653. '("Rognvald" "ivylearog" "lo9rd" "jukilop0" "Stoffel" "valroadie"))
  654. '(erc-notify-mode t)
  655. '(erc-notify-signoff-hook '(erc-notify-signoff))
  656. '(erc-notify-signon-hook '(erc-notify-signon))
  657. '(erc-pal-highlight-type 'nick)
  658. '(erc-part-reason 'erc-part-reason-normal)
  659. '(erc-part-reason-various-alist '(("" "still here in spirit")))
  660. '(erc-pcomplete-mode t)
  661. '(erc-prompt "ommmmmmmmm")
  662. '(erc-readonly-mode t)
  663. '(erc-ring-mode t)
  664. '(erc-server-flood-margin 10)
  665. '(erc-server-flood-penalty 3)
  666. '(erc-spelling-mode t)
  667. '(erc-stamp-mode t)
  668. '(erc-text-matched-hook '(erc-log-matches))
  669. '(erc-timestamp-format "[%Y-%m-%e %H:%M:%S] ")
  670. '(erc-timestamp-format-left "[%Y-%m-%e %H:%M:%S] ")
  671. '(erc-timestamp-format-right nil)
  672. '(erc-timestamp-only-if-changed-flag nil)
  673. '(erc-track-minor-mode t)
  674. '(erc-track-mode t)
  675. '(erc-truncate-mode t)
  676. '(erc-user-full-name "Digit")
  677. '(fancy-splash-image
  678. "/home/digit/images/avatars/digitlogo2016dropfrominfinity.png")
  679. '(nil nil t)
  680. '(org-agenda-files '("/home/digit/digit.org"))
  681. '(package-archives
  682. '(("gnu" . "http://elpa.gnu.org/packages/")
  683. ("melpa-stable" . "http://stable.melpa.org/packages/")))
  684. '(package-selected-packages
  685. '(rainbow-mode fish-mode ghc-imported-from ghc ac-haskell-process))
  686. '(scroll-bar-mode 'right)
  687. '(tetris-x-colors
  688. [[0.5 0.5 0.7]
  689. [0.7 0 1]
  690. [0.8 0.6 0]
  691. [0.7 0.3 0.8]
  692. [1 0.5 0]
  693. [1 1 0]
  694. [1 1 1]])
  695. '(shift-select-mode t))
  696. ;;https://github.com/haskell/haskell-mode
  697. ;; ^ haskell mode sorted from that.
  698. ;; now wud work better with contrib installed too, derp. darcs get http://code.haskell.org/XMonadContrib
  699. ;;copy and pastes from old .emacs ~ do i need to say that still? edited.
  700. ;; wrapping
  701. (global-visual-line-mode 1)
  702. ;; line numbers
  703. (global-linum-mode 0)
  704. ;; kill visual line
  705. ;; kill visual line stuff removed due to behaving ilogically
  706. ;; scrollbar on right
  707. ;; (set-scroll-bar-mode 'right)
  708. ;; no scrollbar
  709. ;;(scroll-bar-mode -1)
  710. ;; no menubar
  711. (menu-bar-mode -1)
  712. ;; no toolbar
  713. (tool-bar-mode -1)
  714. ;; you're a winner! (i forget why... what's winner mode?)
  715. (when (fboundp 'winner-mode)
  716. (winner-mode 1))
  717. ;;i wanna bind mouse-8 to winner undo, and mouse-9 to winner undo undo. global map? i think so
  718. ;;(define-key global-map [mouse-8] 'winner-undo)
  719. (global-set-key [mouse-8] 'winner-undo)
  720. (global-set-key [mouse-9] 'winner-redo)
  721. ;;i think i wanna bind C mouse-8 to some "back" specific to pane(window) and C mouse-9 to forward equivalent.
  722. ;; SAURON STUFF ==== SAURON STUFF ==== SAURON STUFF
  723. ;; sauron Sauron
  724. (add-to-list 'load-path "/home/digit/gittings/sauron");; ok so how i add sauron-start-hidden?
  725. (require 'sauron)
  726. (setq
  727. ;; yeah, so this is happening. :) leet length in sauron.
  728. sauron-max-line-length 1337
  729. ;; whadelseugot?
  730. sauron-watchpatterns
  731. '("\\bbedrock\\b" "brg" "witch" "sauron" "tydls" "nzt" "tidyr" "\\bdbtfc\\b")
  732. ;; ^ these no work. sauron's not watching. hrm. erc keywords n highlights work. but these escape sauron's gaze.
  733. ;;sauron-watch-nicks
  734. ;; '("lo9rd" "lo9rd1" "tuseau2" "slam" "wgreenhouse" "ambo")
  735. ;; ;; blocking events
  736. ;;(add-hook 'sauron-event-block-functions
  737. ;; (lambda (origin prio msg &optional props)
  738. ;; (or
  739. ;; (string-match "has quit" msg) ;; ignore events that match 'foo'
  740. ;; ;; other matchers
  741. ;; )))
  742. ;; timeout duration to prevent swampings
  743. ;; sauron-nick-insensitivity 420
  744. )
  745. ;;;; ^ see sauron's README.org for more tips. it gooood. ~/gittings/sauron/README.org
  746. ;;;; as found in https://github.com/djcb/sauron#blocking-events-from-showing-up--sauron-event-block-functions
  747. (add-hook 'sauron-event-block-functions
  748. (lambda (origin prio msg &optional props)
  749. (or
  750. (string-match "#haskell" msg) ;; ignore events that match '#haskell', hopefully letting my existence in haskell be pleasant.
  751. ;; other matchers
  752. )));; will wanna toggle this disabled for a while whenever wanting help in #haskell again for a while.
  753. ;; ok, lets see if adding this like this launches sauron in the background when emacs starts...
  754. (sauron-start-hidden)
  755. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  756. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  757. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  758. ;; ERC STUFF ==== ERC STUFF ==== ERC STUFF
  759. ;; http://www.gnu.org/software/emacs/manual/html_mono/erc.html & emacs erc wiki
  760. ;; tls/ssl stuff for erc n stuff
  761. ;;<Oejet> Hi Digit, I'd like you to consider switching on TLS in your client. It's not too difficult in ERC:
  762. ;;[2016-04-25 17:52:29] <Oejet> M-x erc-tls
  763. ;;<Oejet> IRC server: chat.freenode.net
  764. ;;<Oejet> IRC port: 6697
  765. ;;[2016-04-25 18:22:38] <Digit> thanks! you made that sound really simple. i was about to M-x erc-tls, then i read https://www.emacswiki.org/emacs/ErcSSL and am back to intimidated. ^_^
  766. ;;[2016-04-25 18:24:05] <Oejet> I read that page first, and was highly confused.
  767. ;;[2016-04-25 18:25:44] <Oejet> It's not necessary at all.
  768. ;;[2016-04-25 18:26:36] <Oejet> Do you run ERC by typing: `M-x erc`?
  769. ;;[2016-04-25 18:42:59] <Digit> yup
  770. ;;^ Oejet says not necessary
  771. ;;(require 'tls)
  772. ;;;;;;;;tryin this...
  773. ;;(setq erc-scrolltobottom-enable) ;; do i need this? .... no... it errors.
  774. (setq-default erc-scrolltobottom-enable) ;; will either line work at all?
  775. ;;;;;;;;;;;;;;;;;;;;
  776. ;; Erc Button URL ;; as taken from https://www.emacswiki.org/emacs/ErcConfiguration (so the I/i there isnt me).
  777. ;;;;;;;;;;;;;;;;;;;;
  778. ;; Sometimes people often type URL’s like:
  779. ;;
  780. ;; <nick> Try foo.org!
  781. ;;
  782. ;;I want my emacs to be able to buttonize that url (even though it doesn’t contain a www or http, and launch my galeon if i middle-click. I also want emacs to be very strict about the last letter and realize that ! is not part of the url. Finally, I don’t care too much about false positives, but false negatives are a pain. So, here’s the tweak I use:
  783. (setq erc-button-url-regexp "\\([-a-zA-Z0-9_=!?#$@~`%&*+\\/:;,]+\\.\\)+[-a-zA-Z0-9_=!?#$@~`%&*+\\/:;,]*[-a-zA-Z0-9\\/]")
  784. ;;;;;;;;;;;;;;;;;;
  785. ;; nick colours ;;
  786. ;;;;;;;;;;;;;;;;;;
  787. ;; as seen @ https://www.emacswiki.org/emacs/ErcNickColors
  788. ;; option 1
  789. ;; Oiriginal Pool of colors to use when coloring IRC nicks.
  790. ;;(setq erc-colors-list '("green" "blue" "red"
  791. ;; "dark gray" "dark orange"
  792. ;; "dark magenta" "maroon"
  793. ;; "indian red" "black" "forest green"
  794. ;; "midnight blue" "dark violet"))
  795. ;; this next bit says my pref, but, it's not really... i need make better. i need make rainbow nicks, where each character's a colour, ideally even gradients from first to last character.
  796. ;;my pref colours.
  797. (setq erc-colors-list '(;;"#e3b" "#d4c" "#c5d" ;; fakin purps1
  798. "#dcb" "#cba" "#ba9" ;; mild orange light
  799. "#a98" "#987" "#876" ;; mild orange mid
  800. "#ecb" "#dba" "#ca9" ;; mild rust light
  801. "#b98" "#a87" "#976" ;; mild rust mid
  802. ;;; "#787" "#676" "#565" ;; mild greens mid
  803. ;;; "#a9a" "#bab" "#cbc" ;; mild greens light
  804. ;; "#989" "#878" "#767" ;; mild purp mid
  805. ;; "#656" "#545" "#434" ;; mild purp dark
  806. ;; "#667" "#778" "#99a" ;; mild blue mid
  807. ;; "#abb" "#baa" "#cdd" ;; mild blue light
  808. "#dd9" "#cc8" "#bb7" ;; mild yellow light
  809. "#bb6" "#aa5" "#994" ;; mild yellow dark
  810. ;; "#865" "#754" "#643" ;; mild rust dark
  811. ;; "#673" "#784" "#895" ;; mild lime dark
  812. "#9a6" "#ab7" "#bc8" ;; mild lime mid
  813. ;;; "#cd9" "#dea" "#efb" ;; mild lime bright
  814. ;; "#678" "#567" "#456" ;; mild stone dark
  815. ;; "#789" "#89a" "#9ab" ;; mild stone mid
  816. ;; "#d55" "#d37" "#d73" ;; extension1
  817. ;;;; "#5d5" "#3d7" "#7d3" ;; extension2
  818. ;; "#55d" "#37d" "#73d" ;; extension3
  819. ;; "#c66" "#c48" "#c84" ;; extension4
  820. ;;;; "#6c6" "#4c8" "#8c4" ;; extension5
  821. ;; "#66c" "#48c" "#84c" ;; extension6
  822. ;; "#b77" "#b59" "#b95" ;; extension7
  823. ;;;; "#7b7" "#5b9" "#9b5" ;; extension8
  824. ;; "#77b" "#59b" "#95b" ;; extension9
  825. ;; "#a88" "#a6a" "#aa6" ;; extension10
  826. ;; "#8a8" "#6aa" "#a5a" ;; extension10
  827. ;; "#88a" "#7aa" "#a4a" ;; extension10
  828. "#878" "#978" "#a78" "#b78" ;; fakin purps2
  829. "#989" "#98a" "#a89" "#b89" ;; fakin purps3
  830. "#a9a" "#b9a" "#c9a" ;; fakin purps4
  831. "#aaa" "#baa" "#bab" "#bac" ;; fakin purps5
  832. "#cab" "#dab" "#eab" ;; fakin purps6
  833. "#cbc" "#dbc" "#ebc" "#cbd" ;; fakin purps7
  834. "#edc" "#dcb" "#cba" ;; mild rust light remix1
  835. "#edb" "#dca" "#cb9" ;; mild rust light remix2
  836. "#eda" "#dc9" "#cb8" ;; mild rust light remix3
  837. "#dbb" "#caa" "#b99" ;; mild rust light remix4
  838. "#777" "#888" "#999")) ;;greys
  839. ;;;; Digit's Nice Language-inator
  840. ;;;;(defun erc-nice-language
  841. ;;;; "Makes naughty words acceptable for kids"
  842. ;;;;;;;;NOPE gonna have to ask for help in getting more than one to work.
  843. (add-hook 'erc-send-pre-hook
  844. (lambda (s1)
  845. (setq str
  846. (replace-regexp-in-string
  847. "facebook"
  848. "fascbook"
  849. s1))))
  850. ;; ^ ok, so how do i do multiple ones... just repeat that add-hook expression?
  851. ;; wanna s|https://www.youtube.com/watch?v=|https://www.invidio.us/watch?v=|
  852. ;;(add-hook 'erc-send-pre-hook
  853. ;; (lambda (s1)
  854. ;; (setq str
  855. ;; (replace-regexp-in-string
  856. ;; "shit"
  857. ;; "scat"
  858. ;; s1))))
  859. ;;(add-hook 'erc-send-pre-hook
  860. ;; (lambda (s1)
  861. ;; (setq str
  862. ;; (replace-regexp-in-string
  863. ;; "cunt"
  864. ;; "foofoo"
  865. ;; s1))))
  866. ;;(add-hook 'erc-send-pre-hook
  867. ;; (lambda (s1)
  868. ;; (setq str
  869. ;; (replace-regexp-in-string
  870. ;; "bastard"
  871. ;; "fathersans"
  872. ;; s1))))
  873. ;;)
  874. ;;;; special colors for some people
  875. (setq erc-nick-color-alist '(("lo9rd" . "white")
  876. ("Tago" . "red")
  877. ))
  878. (defun erc-get-color-for-nick (nick)
  879. "Gets a color for NICK. If NICK is in erc-nick-color-alist, use that color, else hash the nick and use a random color from the pool"
  880. (or (cdr (assoc nick erc-nick-color-alist))
  881. (nth
  882. (mod (string-to-number
  883. (substring (md5 (downcase nick)) 0 6) 16)
  884. (length erc-colors-list))
  885. erc-colors-list)))
  886. (defun erc-put-color-on-nick ()
  887. "Modifies the color of nicks according to erc-get-color-for-nick"
  888. (save-excursion
  889. (goto-char (point-min))
  890. (if (looking-at "<\\([^>]*\\)>")
  891. (let ((nick (match-string 1)))
  892. (put-text-property (match-beginning 1) (match-end 1) 'face
  893. (cons 'foreground-color
  894. (erc-get-color-for-nick nick)))))))
  895. (add-hook 'erc-insert-modify-hook 'erc-put-color-on-nick)
  896. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  897. ;;here's my attempt to restore erc chat logging configury.;;
  898. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  899. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  900. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  901. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  902. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  903. ;; all this came from:
  904. ;; https://www.emacswiki.org/emacs/ErcLogging
  905. ;;where the logs get saved
  906. ;;(setq erc-log-channels-directory "~/.erc/logs/")
  907. ;; for some reason, i cant get that location to work. !! ??? !!! wtf
  908. (setq erc-log-channels-directory "~/log/")
  909. ;; likewise didnt work
  910. ;;(setq erc-log-channels-directory "~/smeg/")
  911. ;;Calling the function ‘erc-save-buffer-in-logs’ in an ERC-mode buffer will save a log.
  912. ;;saves buffers on quit buffer or part
  913. (setq erc-save-buffer-on-part t)
  914. ;; omigosh, could this restore my logging?
  915. (setq erc-log-write-after-insert t)
  916. (setq erc-log-write-after-send t)
  917. ;;If you want timestamps in the logs but not shown while you chat, set this, too:
  918. ;; (setq erc-hide-timestamps t)
  919. ;; unsure how this would react with logged-unshown timestamps thing above, but,
  920. ;; this doozey will let you toggle timestamps showing, with a keybind!
  921. ;; to do (remember to come back n add mention here of whether when they're toggled off they still show in logs)
  922. ;;(add-hook 'erc-mode
  923. ;; (lambda () (define-key erc-mode-map [kbd "C-t"] #'erc-toggle-timestamps)))
  924. ;; fuckit, that wasnt getting transpose-chars out of the way (no matter my mess of edits n websearches).
  925. ;; lets try adding an unset too.
  926. ;;;; THIS ONE WORKS... return to it upon failure of refinements, or for reference during refinements.
  927. ;;(add-hook 'erc-mode
  928. ;; (global-unset-key (kbd "C-t"))
  929. ;; ;; (lambda () (set-local-key (kbd "C-t") #'erc-toggle-timestamps)))
  930. ;; '(set-local-key (kbd "C-t") 'erc-toggle-timestamps))
  931. ;;(global-set-key (kbd "C-t") 'erc-toggle-timestamps)
  932. ;;
  933. ;;;; THIS ONE... lets see...
  934. ;; yep, well, it's shorter, and cleaner looking. but indeed, the one above is at least some ways closer to doing it properly.
  935. ;; i never used transpose anyway. ;D this is better.
  936. (global-unset-key (kbd "C-t"))
  937. (global-set-key (kbd "C-t") 'erc-toggle-timestamps)
  938. ;; here begins actual work on toggling show/hide JOIN/PART/QUIT messages. !!! yes. :)
  939. ;; so, we'll have something like above
  940. ;; not working code yet, just a pseudo-code copy-pasta parody
  941. ;;(global-unset-key (kbd "C-j"))
  942. ;;(global-set-key (kbd "C-j") 'erc-toggle-joinpartquit)
  943. ;; but of course, we need to make erc-toggle-joinpartquit
  944. ;; and that's what we're here for.
  945. ;;
  946. ;; and again, this is not yet working tested code, just copy-pasta crudest editing
  947. ;; of, this time, erc-stamp.el's erc-toggle-timestams
  948. ;;
  949. ;;(defun erc-toggle-joinpartquit ()
  950. ;; "Hide or show JOIN, PART, QUIT messages in ERC buffers.
  951. ;;
  952. ;;Note that JOIN/PART/QUIT messages can only be shown for a message using this
  953. ;;function if `erc-joinpartquit-format' was set and joinpartquit was
  954. ;;enabled when the message was inserted."
  955. ;; (interactive)
  956. ;; (if erc-hide-joinpartquit
  957. ;; (setq erc-hide-joinpartquit nil)
  958. ;; (setq erc-hide-joinpartquit t))
  959. ;; (mapc (lambda (buffer)
  960. ;; (with-current-buffer buffer
  961. ;; (erc-munge-invisibility-spec)))
  962. ;; (erc-buffer-list)))
  963. ;;This variable actually defaults to on. If you don’t like query / channel windows to be filled with the previous correspondance when you next open them, eval the following code:
  964. ;; there may be issues with this.
  965. (setq erc-log-insert-log-on-open nil)
  966. ;; erc-log-all-but-server-buffers (defined in erc-log.el) has side effects
  967. ;; ;;; Original version in the Emacs sources:
  968. ;; (defun erc-log-all-but-server-buffers (buffer)
  969. ;; "Returns t if logging should be enabled in BUFFER.
  970. ;; Returns nil if `erc-server-buffer-p' returns t."
  971. ;; (save-excursion
  972. ;; (save-window-excursion
  973. ;; (set-buffer buffer)
  974. ;; (not (erc-server-buffer-p)))))
  975. ;; My (who?) version:
  976. (defun erc-log-all-but-server-buffers (buffer)
  977. (with-current-buffer buffer
  978. (not (erc-server-buffer-p))))
  979. ;;
  980. ;; ;;; Anyway, a more direct modification also works fine:
  981. ;; (defun erc-log-all-but-server-buffers (buffer)
  982. ;; (set-buffer buffer)
  983. ;; (not (erc-server-buffer-p)))
  984. ;; more Auto-saving log files on emacs exit
  985. ;; Normally when exiting emacs with log files on, you will be prompted to save each buffer in turn. This can be quite frustrating if you need to exit in a hurry (“You ever need to leave emacs?” some might ask ;-)). Here’s a lisp snippit which will save all erc buffers to logs when exiting.
  986. (defadvice save-buffers-kill-emacs (before save-logs (arg) activate)
  987. (save-some-buffers t (lambda () (when (eq major-mode 'erc-mode) t))))
  988. ;; it was found replacing the when line above with this avoids trying to save server buffers etc with no associated file:
  989. ;;(when (and (eq major-mode 'erc-mode)
  990. ;; (not (null buffer-file-name))))
  991. ;;Auto-saving log files on channel activity
  992. ;;Only tested with ERC 5.3:
  993. (setq erc-save-buffer-on-part nil ;;was nil try t?
  994. erc-save-queries-on-quit nil ;; was nil try t?
  995. erc-log-write-after-send t
  996. erc-log-write-after-insert t)
  997. ;;Check your version of ERC (C-h v erc-version-string RET) before reading on, as this (above) is probably the solution you want.
  998. ;; (These settings clearly post-date most of the discussion below)
  999. ;;see https://www.emacswiki.org/emacs/ErcLogging from delYsid's advice
  1000. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  1001. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  1002. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  1003. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  1004. ;;that's the end of the erc logging restoration configury.;;
  1005. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  1006. ;; adding for Sauron's sake (preventing pm from changing sauron)
  1007. ;; found here https://www.reddit.com/r/emacs/comments/1xfeuw/how_do_i_pin_windows_in_place/
  1008. ;; if you find this behaviour inadequate, try CodyChan's solution with sticky mode.
  1009. ;; Locked mode
  1010. (global-set-key (kbd "C-c C-l") 'locked-buffer-mode)
  1011. (define-minor-mode locked-buffer-mode
  1012. "Make the current window always display this buffer."
  1013. nil " locked" nil
  1014. (set-window-dedicated-p (selected-window) locked-buffer-mode))
  1015. ;; yeah, that didnt work... or so it seemed when that guy spammed me, filling up sauron. :/
  1016. ;; lets you clear the buffers, lightening the load.
  1017. ;; try /flush
  1018. ;; see here for more info:
  1019. ;; http://www.emacswiki.org/emacs/ErcTruncation
  1020. (defun erc-cmd-FLUSH (&rest ignore)
  1021. "Erase the current buffer."
  1022. (let ((inhibit-read-only t))
  1023. (erase-buffer)
  1024. (message "Flushed contents of channel")
  1025. t))
  1026. ;; see http://www.emacswiki.org/emacs/ErcScrollToBottom
  1027. ;; set erc to keep the text entry line at the bottom of screen -nil, -1, -2
  1028. ;; but supposedly this is only for carbon emacs... see the next entry for the redisplay bugfix
  1029. (setq erc-input-line-position -2)
  1030. ;; ErcScrollToBottom, redisplay bug fix (yes, it's long)
  1031. ;;; Replacement functions to unbreak `erc-hide-list' for ERC 5.3
  1032. (defun erc-display-buffer-list (buffer)
  1033. "Sanitize a 'buffer' name or list, and convert to a buffer-name list."
  1034. (cond ((bufferp buffer) (list buffer))
  1035. ((listp buffer) buffer)
  1036. ((processp buffer) (list (process-buffer buffer)))
  1037. ((eq 'all buffer)
  1038. ;; Hmm, or all of the same session server?
  1039. (erc-buffer-list nil erc-server-process))
  1040. ((and (eq 'active buffer) (erc-active-buffer))
  1041. (list (erc-active-buffer)))
  1042. ((erc-server-buffer-live-p)
  1043. (list (process-buffer erc-server-process)))
  1044. (t (list (current-buffer)))))
  1045. (defun erc-display-message (parsed type buffer msg &rest args)
  1046. "Display MSG in BUFFER.
  1047. ARGS, PARSED, and TYPE are used to format MSG sensibly.
  1048. See also `erc-format-message' and `erc-display-line'."
  1049. (let ((string (if (symbolp msg)
  1050. (apply 'erc-format-message msg args)
  1051. msg)))
  1052. (setq string
  1053. (cond
  1054. ((null type)
  1055. string)
  1056. ((listp type)
  1057. (mapc (lambda (type)
  1058. (setq string
  1059. (erc-display-message-highlight type string)))
  1060. type)
  1061. string)
  1062. ((symbolp type)
  1063. (erc-display-message-highlight type string))))
  1064. (if (not (erc-response-p parsed))
  1065. (erc-display-line string buffer)
  1066. (erc-put-text-property 0 (length string) 'erc-parsed parsed string)
  1067. (erc-put-text-property 0 (length string) 'rear-sticky t string)
  1068. (dolist (buf (erc-display-buffer-list buffer))
  1069. (unless (member (erc-response.command parsed)
  1070. (with-current-buffer buf
  1071. erc-hide-list))
  1072. (erc-display-line string buffer))))))
  1073. ;;move me to erc section
  1074. ;;
  1075. ;; may wanna add the other nicks of spacedust as they arise. you'll likely be able to tell by how riled up you get
  1076. ;; and... how am i seeing rabbitear_g? ... ignore does not seem to be working. ooh well, nice it didnt. they just shared https://www.youtube.com/watch?v=CZIINXhGDcs Debt: The First 5,000 Years | David Graeber | Talks at Google - length 1h 21m 10s - 6,388 likes, 253 dislikes (96.2%) - 420,259 views - Talks at Google on 2012.02.09
  1077. (setq erc-ignore-list '("Tazy" "dfoolz" "Tazy_" "rabbitear_g" "phizzy" "phizzynoodle" "noodlepie" "drakken" "Proliferate"))
  1078. ;; ahhh, oops, i did have spacedust on ignore... will add again next time i get riled up by em.
  1079. ;;move me to erc section
  1080. ;; foolery
  1081. ;;[2020-11- 1 21:36:00] <wgreenhouse> Digit: when foolery reaches a higher level, I (add-hook 'erc-text-matched-hook 'erc-hide-fools) and customize erc-log-matches-types-alist to make a match buffer for fools
  1082. ;;[2020-11- 1 21:36:26] <wgreenhouse> then they (or replies to them) never show up in the main channel, but I can refer to another buffer at leisure
  1083. ;;[2020-11- 1 21:39:04] <wgreenhouse> you can skip the second step if the foolish content is likely discardable without even looking at the other buffer
  1084. ;;(add-hook 'erc-text-matched-hook 'erc-hide-fools)
  1085. ;; mark the line between read and unread
  1086. ;; keeps possition rather than marking the line, unfortunately.
  1087. ;;(erc-keep-place-mode 1)
  1088. ;; lets sort this jumping to middle of the screen crap, once n for all.
  1089. ;; https://www.gnu.org/software/emacs/manual/html_node/emacs/Auto-Scrolling.html#Auto-Scrolling
  1090. (setq scroll-margin 1
  1091. scroll-conservatively 0
  1092. ;; scroll-up-aggressively 0.01 ;; ? involved in the erroneous behavior of scrolling to top ?
  1093. scroll-down-aggressively 0.01)
  1094. (setq-default scroll-down-aggressively 0.01)
  1095. ;; (setq-default scroll-up-aggressively 0.01) ;; removed for testing
  1096. (setq scroll-step 1) ;; claimed to risk display lock-up in some cases... leaving on until that happens.
  1097. (setq scroll-conservatively 10000)
  1098. (setq auto-window-vscroll nil)
  1099. ;;(setq auto-save-interval 9000) ;; lets see if that matters at all... ~~ it wont, but desperate.
  1100. ;; ^ testing this out... hopefully that fixes the scroll issue. found that help in https://www.emacswiki.org/emacs/SmoothScrolling
  1101. ;; after reading the tips there, i'm starting to suspect my line wrap is involved in the times when it jumps.
  1102. ;; however...
  1103. ;; something i've added with these new lines has caused the jumps to go to the top of the screen, not the middle, when it does jump. scroll-up-aggressively?
  1104. ;;chans to autojoin
  1105. (setq erc-autojoin-channels-alist
  1106. ;; minimal list:
  1107. ;;'(("freenode.net" "#witchnix")
  1108. ;; while testing erc fixes list:
  1109. ;;'(("freenode.net" "#witchnix" "#cowtapult" "#erc" "#emacs-beginners")
  1110. ;;prior full list:
  1111. ;;'(("freenode.net" "#witchlinux" "#witchnix" "#whichlinux" "#cowtapult" "#muhcows" "#dev-cowtapult" "#muhcows-factoids" "#bedrock" "##bedrock-chat" "#freepost" "#geekhack" "#uzbl" "##crunchbang" "#guix" "#emacs-beginners" "#erc" "#tidal" "#haskell-irc" "#yi" "#libertybsd" "#jackbang" "#pioneer" "#fsf-members" "#fsfe" "#dragora" "#devuan" "#gentoo-chat")
  1112. ;; about
  1113. ;; added caclulate
  1114. ;; for help getting net on laptop again. ... which was probably just my cable loose. try again back n forth between mate and spectrwm.
  1115. ;; added
  1116. '(
  1117. ("libera.chat" "#witchlinux" "#mergence" "#akashicwhatever" "#peers" "#vervis" "#forgefed" "#forgefed-chat" "#forgefed-offtopic" "#forgefed-dev" "#muhcows" "#twocows" "#gentoo-weed" "#Bedrock" "##bedrock-chat" "##bedrock-treehouse" "#qutebrowser" "##meditation" "##cooking" "##astrology" "#straightbrowser" "#emacs-til" "##?") ;;reshortened20210227nowyou'rejustbeingsilly
  1118. ("irc.rizon.net" "#clOveros")
  1119. ;; ("freenode.net" "#gentoo-reiki" "#freenode");;testing for fix
  1120. ;; https://geti2p.net/en/faq
  1121. ;;("irc2p" "")
  1122. ;; hafta take #bedrock off the join list. ["this seems the most reliable way to prevent my unwanted over-enthused-about-bedrock noise. long live bedrock."] "#bedrock"
  1123. ;; [2020-11-26 13:41:44] <paradigm> the vast majority of the time I see activity in #bedrock, it's you talking to yourself. Over time, activity in #bedrock has shrunk significantly. I think these are related - people stop participating in #bedrock because they know it's just going to be noise. I don't want to be rude or aggressive here, but please stop talking to yourself in #bedrock. Use ##bedrock-chat or get a diary or something.
  1124. ;; [2020-11-26 14:23:13] <Digit> very much taken on board. will /immensely/ re-double my efforts to stfu in there. i want the best for bedrock. thankyou for bringing this to my attention. very sorry about that.
  1125. ;; [2020-11-26 14:27:44] * paradigm nods
  1126. ;; and... i didnt send this (at time of pasting into my .emacs
  1127. ;; ommmmmmmmm [sorry if this is unwelcome, i just thought sharing this perspective / these insights might help more than saying nothing more.] just a small note. still grateful you brought this to my attention, however on reflection, methinks, in context, that was more than a tad unduly /dismissive/ (uncharacteristically) undiplomatic phrasing "talking to yourself". has been intended as sharing ideas/issues. that no one responds cannot really be pinned on me. ~ though that's difficult to get right for each chan (one chan's too much, is another's too little). also, i notice the irony, that my contributions there were in part intended to help spark engagement (failed at that as they may be) in an already quiet chan, not scare it away [so i do still question the theory on the direction of causality]. but still, so be it. i'll stay out of the way, because i dont think i'd be able to contain myself [the realisation that prompted my immediate /part (which i hope didn't cause you to think you were heavy-handed there (besides that dismissive phrase (which wasnt the cause of my /part)))], and it'd just hurt trying (and/or failing), especially now knowing that's how detrimental/negatively you perceive my input (not at all comfortable for social anxiety), and i very much don't want to add to your (i suspect, already big) stress pile (nor mine). will be interesting to see (~i'll still check the happenings from lunacat81's irssi from time to time~) if things eventually pick up in my absence :) (or, heh, if an air of chilling intimidation maintains a silence n_n). no harm in my absence though, since my urge to help bedrock typically exceeds my ability to help. wishing you and bedrock all the best. :)
  1128. ;; ... even taking ##bedrock-chat off auto-join, realising that dickheaded move's so soured it for me now.
  1129. ;;reshorted again 20210227 to be like the new other install. n_n ("freenode.net" "#gnu-health" "#witchlinux" "#akashicwhatever" "#witchnix" "#peers" "#geekhack" "#emacs-beginners" "#erc" "#fsf-members" "#fsf" "#vervis" "#libreplanet" "#muhcows" "#voidlinux" "##rms" "#spaceshipsforeverybody" "#soffmimuhod" "#cultivators" "#artix" "#exherbo" "#fish" "#carbslinux" "#i3" "#youtube-dl" "#gentoo-weed" "#clfswm" "#spiritscience" "#osdev") ; this was getting long again then i decided to add each distro i'm using with bedrock.... ok, some... ok, just #exherbo. not gona have ~#artix~, #devuan, #gentoo, etc. #arya too? you added it... do it without systemd?
  1130. ;; ("freenode.net" "#witchlinux" "#akashicwhatever" "#witchnix" "#peers" "#geekhack" "#emacs-beginners" "#erc" "#fsf-members" "#fsf" "#vervis" "#muhcows" "#cultivators" "#exherbo" "#carbslinux" "#gentoo-weed") ;;reshortened20210227
  1131. ("freenode.net" "#witchlinux" "#akashicwhatever" "#peers" "#geekhack" "#vervis" "#yi" "#carbslinux" "#exherbo" "#muhcows" "#gentoo-weed") ;;reshortened20210227nowyou'rejustbeingsilly omigosh that's short n minimal... trimmed to the importants... u-oh, stop thinking you could trim that further, NO. stop at that. no more trimming. no, you're not getting rid of witchlinux, peers, geekhack, vervis, any of it. omigosh this is tiiiiight. ... few days later, i add back in carbslinux and exherbo. n_n it was quiet.... too quiet. ;D
  1132. ;; ("freenode.net" "#gnu-health" "#witchlinux" "#akashicwhatever" "#witchnix" "#bedrock" "##bedrock-chat" "#peers" "#geekhack" "#emacs-beginners" "#erc" "#fsf-members" "#fsf" "##gentoo-reiki" "#vervis" "#libreplanet" "#muhcows" "#voidlinux" "##rms" "#spaceshipsforeverybody" "#techrights" "##boardsofcanada" "#soffmimuhod" "##gentoo-herb" "##bedrock-ganja" "#cultivators" "#tricorders" "#yi" "#vsido" "#gentoo-weed") ; this getting long again..
  1133. ;; that didnt quite take.
  1134. ;; sad to see #gentoo-weed and #cultivators go. thanks sorceror for starting this new chapter in my life for me. might as well get rid of the funtoos too, n keep this trim.
  1135. ;;;;;;;; as of 20200629, due to sorceror's unfathomnable vindictive hot headed wilful ignorance and lack of an educated mind. just not safe. in #cultavators and #gentoo-weed anymore. so i start a new chapter in my life now.
  1136. ;; ("freenode.net" "#gnu-health" "#witchlinux" "#akashicwhatever" "#witchnix" "#whichlinux" "#dev-cowtapult" "#bedrock" "##bedrock-chat" "#peers" "#geekhack" "#emacs-beginners" "#erc" "#fsf-members" "#fsf" "#gentoo-weed" "##gentoo-reiki" "#gentoo-reiki" "##scandisquad" "#vikings" "#vervis" "#libreplanet" "#muhcows" "#voidlinux" "##rms" "#funtoo" "##funtoo" "#spaceshipsforeverybody" "##funtoo-herb" "#techrights" "#cultivators" "##boardsofcanada" "#soffmimuhod") ;; this is getting too long again (trying to prune).
  1137. ;; ("freenode.net" "#gnu-health" "#witchlinux" "#akashicwhatever" "#witchnix" "#whichlinux" "#dev-cowtapult" "#bedrock" "##bedrock-chat" "#peers" "#geekhack" "#emacs-beginners" "#erc" "#fsf-members" "#fsf" "#gentoo-weed" "##gentoo-reiki" "#gentoo-reiki" "##scandisquad" "#vikings" "#vervis" "#libreplanet" "#muhcows" "#voidlinux" "##rms" "#funtoo" "##funtoo" "#spaceshipsforeverybody" "##funtoo-herb" "#techrights" "##boardsofcanada") ;; this is getting too long again (trying to prune).
  1138. ;; ("freenode.net" "#gnu-health" "#witchlinux" "#akashicwhatever" "#witchnix" "#whichlinux" "#dev-cowtapult" "#bedrock" "##bedrock-chat" "#peers" "#geekhack" "#emacs-beginners" "#erc" "#fsf-members" "#fsf" "#gentoo-weed" "##gentoo-reiki" "#gentoo-reiki" "##scandisquad" "#vikings" "#vervis" "#libreplanet" "#muhcows" "#voidlinux" "##rms" "#funtoo" "##funtoo" "#spaceshipsforeverybody" "##funtoo-herb" "#techrights") ;; this is getting too long again (saved in this comment as was).
  1139. ;;; and dont bother going back into ##autism. Soni's feifdom there brooks no honest discussion. XD
  1140. ;;; as mentioned in the chan as my parting messages after an abrupt warning without rational explanation:
  1141. ;;;;; woah, rly? tell ye what... if you're gonna be running that kind of feifdom where positive suggestions and honest well intentioned discussion are taken in such a negative way... i'm out.
  1142. ;;; aw. #funtoo died. https://joindiaspora.com/posts/245d2f4031b0013819bf002590d8e506 long live ##funtoo *shrug*
  1143. ;;logon join woes
  1144. ;; ("freenode.net" "#akashicwhatever")
  1145. ;; also pruned "###bedrock-renegades" "#e" "#devuan" "#guix" "#uzbl""#libertybsd"
  1146. ;; pruned some gentoos: "#redcore" "#calculate" "#cloveros"
  1147. ;; someday: #littlesis #oligrapher
  1148. ;; fuck going back to ##cannabis, QcMat's too much a pillock. XD lmao.
  1149. ;; "#nimblypimbly" "#pioneer"
  1150. ;; ##crunchbang #cannabidiol (ops)
  1151. ;; #racket
  1152. ;; guff list: "#muhcows-factoids" "#muhcows" "#cowtapult" "#frlev"
  1153. ;; banned from ##nutrition for 3 months for posting what i thought was an amusing a pro vegan image.
  1154. ;; <Digit> RandIter: are you on this diet? https://shorturl.at/dlEG2 :3
  1155. ;;[2018-01-12 13:14:46] <Nutrohelper[bot]> [ (R: joindiaspora.com) (image/jpeg) 54.8KB ]
  1156. ;;[2018-01-12 13:17:06] <RandIter> Digit: btw, GOS prebiotic is far better than farty inulin
  1157. ;;[2018-01-12 13:27:10] <Digit> ach, i'm probably getting more than enough through my diet really. i just wanted something on hand to fill gaps. thnx for the tip.
  1158. ;;[2018-01-12 13:37:03] <arnthor> love me some insol fiber
  1159. ;;[2018-01-12 13:38:03] <arnthor> I was on a low fodmap diet and I think it made me severely depressed
  1160. ;;[2018-01-12 13:38:32] <arnthor> I, at least, felt so much better after introducing more veggies to my diet
  1161. ;;[2018-01-12 13:45:38] * Digit giving himself a crash course basic overview of FOS, GOS, bGOS, bc+GOS, HMO, IMO, n aware of context of genetics/epigenetics n the rest of the diet and the rest of the gut biome, n likes how he's swung through among many other tabs not yet looked at, one where he searched for "ghee and butyrate" :)
  1162. ;;[2018-01-12 13:48:37] <RandIter> Galactomune is a good GOS product but it can be a tad expensive.
  1163. ;;[2018-01-12 14:03:24] <RandIter> Digit: that was an unacceptable link you posted in this channel.
  1164. ;;[2018-01-12 14:03:45] <RandIter> Digit: the sentence is a 3 month ban.
  1165. ;;[2018-01-12 14:04:24] *** You have been kicked off channel ##nutrition by RandIter (uid32215@gateway/web/irccloud.com/x-sbcugybhszgcochp): posting a shitty image
  1166. ;;;;;;;;; and the pm exchange:
  1167. ;;[2018-01-12 14:11:30] <Digit> no warning? just straight to 3 month ban? wow.
  1168. ;;[2018-01-12 14:14:14] <RandIter> keep in touch. In 3 months you will have a great prebiotic strategy in place
  1169. ;;[2018-01-12 14:14:28] <RandIter> Looking forward to your report
  1170. ;;[2018-01-12 14:16:41] <Digit> currently taking ##nutrition off my auto-join list, and, tbh, not inclined to return if ops gonna dish out the ban hammer so suddenly without warning. frankly, i thought that was a harmless satirical whimsical way to enquire about vegan/vegetarian diet. thought i was keeping things light n friendly.
  1171. ;;[2018-01-12 14:18:21] <Digit> i'd like to know how you interpreted that image, such that it warranted a ban. is there some ~i dont know what~ that i'm missing?
  1172. ;;[2018-01-12 14:19:20] <RandIter> I frankly don't know what to make of that image.
  1173. ;;[2018-01-12 14:19:37] <RandIter> It didn't seem relevant to the channel.
  1174. ;;[2018-01-12 14:19:52] <Digit> ....???? that makes the banhammer decision even less fathomnable, if you didnt know what to make of it.
  1175. ;;[2018-01-12 14:20:30] <RandIter> It is still not relevant to the channel
  1176. ;;[2018-01-12 14:20:40] <RandIter> Anyway
  1177. ;;[2018-01-12 14:20:47] <RandIter> Bam reduced to 24h
  1178. ;;[2018-01-12 14:20:50] <Digit> n because u cant see the relevance...
  1179. ;;[2018-01-12 14:20:51] <RandIter> *ban
  1180. ;;[2018-01-12 14:21:05] <RandIter> It served no educational purpose!
  1181. ;;[2018-01-12 14:21:26] <RandIter> You can rejoin after 24h
  1182. ;;[2018-01-12 14:22:31] <Digit> maybe after i've cooled down, i'll reconsider rejoining. but that was a grotesquely souring misuse of power, from my perspective, does not make the place seem like a welcoming place to discuss nutrition anymore, knowing that's how it'll be.
  1183. ;;[2018-01-12 14:22:59] <RandIter> lol your link was not one about discussing nutrition
  1184. ;;[2018-01-12 14:23:37] <RandIter> you shouldn't cool down. you have a right to remain angry.
  1185. ;;[2018-01-12 14:23:47] <Digit> you decided so, because you couldnt see it, n so, ban-hammer. no warning. no discussion. .... you do see the problem with that approach, right?
  1186. ;;[2018-01-12 14:23:58] <RandIter> i saw it
  1187. ;;[2018-01-12 14:24:27] <RandIter> yes I couldn't see your pov
  1188. ;;[2018-01-12 14:24:51] <RandIter> feel free to stay gone
  1189. ;;[2018-01-12 14:24:57] <RandIter> have a nice day
  1190. ;;[2018-01-12 14:25:17] <RandIter> 24h is nothing
  1191. ;;[2018-01-12 14:25:27] <Digit> and... just to counter the claim it was not relevant: whether one is vegan/vegetarian or not is relevant, not only to nutrition, but to the specific topic currently at play.
  1192. ;;[2018-01-12 14:25:42] <Digit> sorry the whimsy was off the mark for you.
  1193. ;;;;;;; i'll review this later when i've cooled down to see if i was being a dick, or RandIter, or both, or neither. ... right now though, i'm fuming. what a dick. not inclined to return to RandIter's harsh feifdom.
  1194. ;;emergency list
  1195. ;; '(("freenode.net" "#somewhereoutoftheway")
  1196. ;;biglist '(("freenode.net" "#witchlinux" "#witchnix" "#cowtapult" "#dev-cowtapult" "#muhcows" "#muhcows-factoids" "#bedrock" "##bedrock-chat" "#freepost" "#gogs" "#geekhack" "#xbps" "#voidlinux" "#uzbl" "##crunchbang" "#guix" "#emacs-beginners" "#erc" "#tidal" "#freeablo" "#haskell-irc" "#yi" "#bot-cowtapult" "#libertybsd" "#flare-rpg" "#freeablo")
  1197. ;;shortlist '(("freenode.net" "#witchlinux" "#witchnix" "#cowtapult" "#bedrock" "#freepost" "#geekhack" "#uzbl" "##crunchbang" "#emacs-beginners" "#erc")
  1198. ;; '(("freenode.net" "#witchlinux" "#crunchbang" "#vsido" "##slackware" "#bedrock" "#emacs" "#linuxbbq" "#exherbo" "#muhcows" "#vsidofringe" "#delicate-linux" "#witchnix" "#queertoo" "#fsf-member" "#exherbo" "#erc" "#guix" "#nixos" "#uzbl" "#funtoo" "#nouveau")
  1199. ;;emergency help '(("freenode.net" "#freenode")
  1200. ;; meh, efnet, thought about it, but old hobbled... meh.
  1201. ("efnet.port80.se" "#scottishgreens") ;; nah, shite server, empty chan
  1202. ;; fitting for home of a scottish greens chat.
  1203. ("irc.indymedia.org" "#scottishgreens") ;; better server, still empty chan
  1204. ("oftc.net" "#vsido" "#fish" "#morpheus" "#suckless" "#gentard")
  1205. ;; ("fuge.it" "#7" "#subtlefuge" "#" "#thelovelydialect")
  1206. ;; ("thegeekgroup.org" "#thegeekgroup") ;; joelama suggested
  1207. ("gimp.org" "#gimp")
  1208. ("spotchat.org" "#nixtuts")
  1209. ("quakenet.org" "#elite-dangerous")
  1210. ("coldfront.net" "#mensa")
  1211. ("undernet.org" "#mensa" "#erowid" "#GRANDCANYON")
  1212. ("chat.serenia.net" "#sauk" "#lounge")
  1213. ("irc.mysociety.org" "#mschat"))) ;;ms, my society, not microsoft, dont worry.
  1214. ;;;;;;;;;disabling this portion, got logging fix added at start of file.;;;;;;;;;;;;;;;;
  1215. ;;;;logging
  1216. ;;;;;; https://www.emacswiki.org/emacs/ErcLogging;;
  1217. ;;;; logs location:
  1218. ;;(setq erc-log-channels-directory "~/log/")
  1219. ;;;; log on part
  1220. ;;(setq erc-save-buffer-on-part t)
  1221. ;;;;timestamps in the logs but not shown in chat.
  1222. ;;;; (setq erc-hide-timestamps t)
  1223. ;;
  1224. ;;;;autologging
  1225. ;;;; auto-saving log files on channel activity
  1226. ;;(setq erc-save-buffer-on-part nil
  1227. ;; erc-save-queries-on-quit nil
  1228. ;; erc-log-write-after-send t
  1229. ;; erc-log-write-after-insert t)
  1230. ;;;;^ (re(?))trying this method since pre5.3 seemed not to work. also added allbuffer save method bellow (may be unecessary with autosaving, idk)
  1231. ;;old pre 5.3 method
  1232. ;;(add-hook 'erc-insert-post-hook 'erc-save-buffer-in-logs)
  1233. ;;^ didnt work in initial test, leaving on to see if works once a fresh erc is started. ... doubt it. remove and return to https://www.emacswiki.org/emacs/ErcLogging for more methods to investigate
  1234. ;;adding this from https://www.emacswiki.org/emacs/ErcLogging
  1235. ;;(defadvice save-buffers-kill-emacs (before save-logs (arg) activate)
  1236. ;;(save-some-buffers t (lambda () (when (eq major-mode 'erc-mode) t))))
  1237. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  1238. ;;nickilist
  1239. ;; https://www.emacswiki.org/emacs/ErcNicklist
  1240. ;; -dissabled this because it didnt work, no such file or directory...
  1241. ;;(require 'erc-nicklist)
  1242. ;;buddy list
  1243. (setq erc-pals '("dizzie" "orbea" "weebea" "jony123" "jony321" "wgreenhouse" "VastOne" "dajjal" "lo9rd" "DarkSith" "JordanG" "bongcro" "moogle*" "tuseau2" "tuseau" "paradigm" "valroadie" "cibia" "wei2912" "stoffel" "jukilop0" "xskoulax" "morlog" "Rongvlad" "fr33domlover" "XanCeleste" "Tago" "ivylearog" "chede" "chade" "dfj" "bill-auger" "bill-auger_" "el3"))
  1244. ;; "cookiemon5ter" gets added, and taken away. XD
  1245. ;; had to take off "Him" until i suss how to escape chars to prevent unintended hilights.
  1246. ;;
  1247. ;;keyword highlights
  1248. ;;(setq erc-keywords '("\\bwitch\\b" "\\berc\\b" "\\borkney\\b"))
  1249. (setq erc-keywords '(("\\bpoliticalcompass\\b" erc-keyword-face)
  1250. ("\\bwitch\\b" erc-keyword-face)
  1251. ("\\bwitchcraft\\b" erc-keyword-witchcraft-face)
  1252. ("\\bbedrock\\b" erc-keyword-bedrock-face)
  1253. ;;("\\bbot\\b" erc-keyword-bot-face)
  1254. ("\\bsavant\\b" erc-keyword-savant-face)
  1255. ("\\blunacat2\\b" erc-keyword-lunacat-face)
  1256. ;;("\\bgo_bot\\b" erc-keyword-bot-face)
  1257. ("\\bzebrapig\\b" erc-keyword-bot-face)
  1258. ("\\bsoffmi\\b" erc-keyword-soffmi-face)
  1259. ("\\bplait\\b" erc-keyword-plait-face)
  1260. ("\\bplaiter\\b" erc-keyword-plait-face)
  1261. ("\\bremaster\\b" erc-keyword-remunter-face)
  1262. ("\\bbrc\\b" erc-keyword-bedrock-face) ;; brc ("BedRock Change local Context")
  1263. ("\\bbri\\b" erc-keyword-bedrock-face) ;; bri ("BedRock Information")
  1264. ("\\bbrl\\b" erc-keyword-bedrock-face) ;; brl ("BedRock aLl")
  1265. ("\\bbrsh\\b" erc-keyword-bedrock-face) ;; brsh ("BedRock SHell")
  1266. ("\\bbrw\\b" erc-keyword-bedrock-face) ;; brw ("Bedrock Where")
  1267. ("\\bbrp\\b" erc-keyword-bedrock-face) ;; brp ("BedRock Path")
  1268. ("\\bbrs\\b" erc-keyword-bedrock-face) ;; brs ("BedRock Setup")
  1269. ("\\bbru\\b" erc-keyword-bedrock-face) ;; bru ("BedRock Union")
  1270. ("\\bbrn\\b" erc-keyword-bedrock-face) ;; brn
  1271. ("\\bbrc\\b" erc-keyword-bedrock-face)))
  1272. (defface erc-keyword-lunacat-face '((t (:background "#223355" :foreground "#88ff33")))
  1273. "ERC face to highlight occurances of the word lunacat"
  1274. :group 'erc-faces)
  1275. (defface erc-keyword-witcraft-face '((t (:background "#990077")))
  1276. "ERC face to highlight occurances of the word witchcraft"
  1277. :group 'erc-faces)
  1278. (defface erc-keyword-bedrock-face '((t (:foreground "#55ff00" :background "#111111")))
  1279. "ERC face to highlight occurances of the word bedrock"
  1280. :group 'erc-faces)
  1281. (defface erc-keyword-savant-face '((t (:foreground "#608" :background "#ff0")))
  1282. "ERC face to highlight occurances of the word savant"
  1283. :group 'erc-faces)
  1284. (defface erc-keyword-bot-face '((t (:foreground "#8800ff")))
  1285. "ERC face to highlight bots"
  1286. :group 'erc-faces)
  1287. (defface erc-keyword-soffmi-face '((t (:background "#beeeef")))
  1288. "ERC face to highlight soffmi"
  1289. :group 'erc-faces)
  1290. (defface erc-keyword-plait-face '((t (:background "#029" :foreground "#f0f" :family "hurpicat")))
  1291. "ERC face to highlight plait"
  1292. :group 'erc-faces)
  1293. (defface erc-keyword-remunter-face '((t (:background "#b0f" :foreground "#f80" :family "hurpicat")))
  1294. "ERC face to highlight remaster"
  1295. :group 'erc-faces)
  1296. ;; how many characters per line u want?
  1297. ;; simply:
  1298. ;; (setq erc-fill-column 88)
  1299. ;; complexly:
  1300. ;; adjusts per size of screen... new lines only, can look messy with stuff already on screen.
  1301. (add-hook 'window-configuration-change-hook
  1302. '(lambda ()
  1303. (setq erc-fill-column (- (window-width) 2))))
  1304. ;; = simple erc audio notification =
  1305. ;; http://www.emacswiki.org/emacs/ErcSound
  1306. ;; (add-hook 'erc-insert-post-hook
  1307. ;; (lambda () (goto-char (point-min))
  1308. ;; (when (re-search-forward
  1309. ;; (regexp-quote (erc-current-nick)) nil t) (ding))))
  1310. ;; = fancy erc audio notification =
  1311. ;; http://www.emacswiki.org/emacs/ErcSound
  1312. ;;;;;;;;; commented out this while having sound problems.
  1313. ;; (add-hook 'erc-text-matched-hook
  1314. ;; (lambda (match-type nickuserhost message)
  1315. ;; (cond
  1316. ;; ((eq match-type 'current-nick)
  1317. ;; (play-sound-file "~/sounds/digit.wav"))
  1318. ;; ((eq match-type 'keyword)
  1319. ;; (play-sound-file "~/sounds/ting.wav")))))
  1320. ;; this should wrap chat the way you like.
  1321. (add-hook 'erc-mode-hook 'visual-line-mode)
  1322. ;; this should nicks more distinct. nick colours nick faces auto
  1323. ;;(load-file "~/.emacs.d/.ercnickcolorsdigitstyle")
  1324. ;;(load-file "~/.emacs.d/.ercnickcolorsdigitstyle1") ;;shudnt need to load if i load all .emacs.d ... do i do that? :3
  1325. ;; cont nick colors... "if u run one emacs daemon to rule them all (including both terminal and X clients): "
  1326. (add-hook 'after-make-frame-functions '(lambda (frame) (erc-set-colors-list)))
  1327. ;; n2o4's typing break tip
  1328. (setq type-break-demo-boring-stats t
  1329. type-break-terse-messages t
  1330. type-break-demo-functions '(type-break-demo-boring)
  1331. type-break-mode-line-message-mode t
  1332. type-break-query-mode t)
  1333. ;;
  1334. ;; thnx YoungFrog for hand holding, getting bug 16737 workaround
  1335. (setq x-select-enable-primary nil
  1336. x-select-enable-clipboard nil
  1337. save-interprogram-paste-before-kill nil)
  1338. ;;thnx csed for helping my windows get smaller
  1339. (setq window-min-height 1)
  1340. ;; do a (setq mode-line-format nil) for no mode-line
  1341. ;; you'll want to reimplement this, once addapted with your own bell audio file, rather than system beep (which is annoying).
  1342. ;; got from that video, where batman got it from http://stackoverflow.com/questions/11679700/emacs-disable-beep-when-trying-to-move-beyond-the-end-of-the-document
  1343. ;; if i typed it correctly. lol.
  1344. ;;(defun my-bell-function ())
  1345. ;;(setq ring-bell-function 'my-bell-function)
  1346. ;;(setq visible-bell nil)
  1347. ;; A predicate for suppressing the bell at night
  1348. ;;https://www.emacswiki.org/emacs/AlarmBell#toc9
  1349. (defvar night-start 19
  1350. "The hour that people go to sleep.")
  1351. (defvar night-end 11
  1352. "The hour that people wake up.")
  1353. (defun nightp ()
  1354. "Check if it is night."
  1355. (let ((hr (nth 2 (decode-time (current-time)))))
  1356. (unless (< hr night-end) (> hr night-start))))
  1357. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  1358. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  1359. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  1360. ;; testing
  1361. ;;defaliasing some commands yo...
  1362. ;; no wait, how do i do this? i fell asleep midway to finding out
  1363. ;;(defalias f erc-add-fool "add fool to the list")
  1364. ;; end of testing
  1365. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  1366. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  1367. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  1368. ;; end of erc stuff (i think. keep tidying...)
  1369. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  1370. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  1371. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  1372. ;;;;;;;;;;;;;;;;
  1373. ;;;;;;;;;;;;;;;;
  1374. ;;;;;;;;;;;;;;;;
  1375. ;; ibuffer stuff
  1376. ;; built with help from http://martinowen.net/blog/2010/02/03/tips-for-emacs-ibuffer.html
  1377. ;; and with overwhelming confusion from https://www.emacswiki.org/emacs/IbufferMode
  1378. ;;anti-freeze
  1379. (global-unset-key (kbd "C-z"))
  1380. ;;might want this one on, might not...
  1381. (global-set-key (kbd "C-x C-b") 'ibuffer) ;; Use Ibuffer for Buffer List
  1382. (setq ibuffer-saved-filter-groups
  1383. '(("home"
  1384. ("emacs-config" (or (filename . ".emacs.d")
  1385. (filename . ".emacs")))
  1386. ("Org" (or (mode . org-mode)
  1387. (filename . "OrgMode")))
  1388. ("fish" (mode . fish-mode))
  1389. ("Haskell" (mode . haskell-mode))
  1390. ("ERC" (mode . erc-mode))
  1391. ("fyelz" (filename . ".fyelz"))
  1392. ("Help" (or (name . "\*Help\*")
  1393. (name . "\*Apropos\*")
  1394. (name . "\*info\*"))))))
  1395. ;;went wrong?! (fmakunbound 'ibuffer-saved-filter-groups)(setq debug-on-error t)
  1396. (add-hook 'ibuffer-mode-hook
  1397. '(lambda ()
  1398. (ibuffer-switch-to-saved-filter-groups "home")))
  1399. ;; less noisey clutter of empty groups
  1400. (setq ibuffer-show-empty-filter-groups nil)
  1401. ;; auto update ibuffer
  1402. (add-hook 'ibuffer-mode-hook
  1403. '(lambda ()
  1404. (ibuffer-auto-mode 1)
  1405. (ibuffer-switch-to-saved-filter-groups "home")))
  1406. ;;;;;;;;;;;;;;;;
  1407. ;;;;;;;;;;;;;;;;
  1408. ;;;;;;;;;;;;;;;;
  1409. ;; and meddling the background... in hunt of a 1 colour for gui, 1 for tui
  1410. (defun on-after-init ()
  1411. (unless (display-graphic-p (selected-frame))
  1412. (set-face-background 'default "unspecified-bg" (selected-frame))))
  1413. (add-hook 'window-setup-hook 'on-after-init)
  1414. ;; backup of default font face background colour, before making it black again, to be compatible with my terminals.
  1415. ;; '(default ((t (:inherit nil :stipple nil :background "#221321" :foreground "#ffbb55" :inverse-video nil :box nil :strike-through nil :overline nil :underline nil :slant normal :weight normal :height 146 :width normal :foundry "PfEd" :family "merg"))))
  1416. ;; '(default ((t (:inherit nil :stipple nil :background "#30192d" :foreground "#ffbb55" :inverse-video nil :box nil :strike-through nil :overline nil :underline nil :slant normal :weight normal :height 116 :width normal :foundry "PfEd" :family "merg"))))
  1417. ;; '(default ((t (:inherit nil :stipple nil :background "#381922" :foreground "#ffbb55" :inverse-video nil :box nil :strike-through nil :overline nil :underline nil :slant normal :weight normal :height 116 :width normal :foundry "PfEd" :family ""))))
  1418. (custom-set-faces
  1419. ;; custom-set-faces was added by Custom.
  1420. ;; If you edit it by hand, you could mess it up, so be careful.
  1421. ;; Your init file should contain only one such instance.
  1422. ;; If there is more than one, they won't work right.
  1423. '(default ((t (:inherit nil :stipple nil :background "#381919" :foreground "#ffbb55" :inverse-video nil :box nil :strike-through nil :overline nil :underline nil :slant normal :weight normal :height 57 :width normal :foundry "PfEd" :family "nztt"))))
  1424. '(custom-button ((t (:background "#332233" :foreground "#ffddaa" :box (:line-width 2 :style released-button)))))
  1425. '(custom-button-mouse ((t (:background "#996633" :foreground "#ffcc00" :box (:line-width 2 :style released-button)))))
  1426. '(custom-button-pressed ((t (:background "#fc0" :foreground "#963" :box (:line-width 2 :style pressed-button)))))
  1427. '(erc-action-face ((t nil)))
  1428. '(erc-button ((t (:underline "#cba"))))
  1429. '(erc-command-indicator-face ((t (:underline "#119999"))))
  1430. '(erc-current-nick-face ((t (:background "#420" :foreground "#cbd"))) nil "#cbd #420 dont change it trying to please the eye")
  1431. '(erc-default-face ((t (:foreground "#CFA259"))))
  1432. '(erc-fool-face ((t (:foreground "#888e8b"))))
  1433. '(erc-header-line ((t (:foreground "#EEC055"))))
  1434. '(erc-input-face ((t (:foreground "#a73"))))
  1435. '(erc-keyword-face ((t (:foreground "pale green"))))
  1436. '(erc-keyword-plait-face ((t (:background "#029" :foreground "#f0f" :family "pen"))))
  1437. '(erc-my-nick-face ((t (:foreground "brown"))))
  1438. '(erc-my-nick-prefix-face ((t (:inherit erc-nick-default-face))))
  1439. '(erc-nick-default-face ((t (:underline "#654"))))
  1440. '(erc-nick-msg-face ((t (:foreground "IndianRed"))))
  1441. '(erc-nick-prefix-face ((t (:inherit erc-nick-default-face))))
  1442. '(erc-notice-face ((t (:foreground "#86c"))))
  1443. '(erc-pal-face ((t (:background "#552233"))))
  1444. '(erc-prompt-face ((t (:background "#426" :foreground "#b85"))))
  1445. '(erc-timestamp-face ((t (:foreground "#988262" :family "referal"))))
  1446. '(error ((t (:foreground "Green"))))
  1447. '(header-line ((t (:inherit mode-line :background "#3a281d" :foreground "#FFC27B" :box nil :overline "#352025"))))
  1448. '(highlight ((t (:background "#080"))))
  1449. '(linum ((t (:inherit (shadow default) :background "#060402" :foreground "#FFFFFF"))))
  1450. '(mode-line ((t (:background "#60492f" :foreground "#ffdda5" :overline "#bb9977"))))
  1451. '(mode-line-buffer-id ((t nil)))
  1452. '(mode-line-emphasis ((t (:underline "#fff"))))
  1453. '(mode-line-highlight ((t (:background "#554433" :box (:line-width -1 :color "#853") :overline "#ff6600" :weight light))))
  1454. '(mode-line-inactive ((t (:inherit mode-line :background "#332233" :foreground "#a09080" :box (:line-width -1 :color "#302030") :overline "#809" :weight light))))
  1455. '(org-level-1 ((t (:inherit nil :foreground "#7c0"))))
  1456. '(org-level-2 ((t (:foreground "#bb0"))))
  1457. '(org-level-3 ((t (:foreground "#9a7e55"))))
  1458. '(org-level-4 ((t (:foreground "#a54"))))
  1459. '(org-level-5 ((t (:foreground "#772f70"))))
  1460. '(org-level-6 ((t (:foreground "#538"))))
  1461. '(org-level-7 ((t (:foreground "#358"))))
  1462. '(org-level-8 ((t (:foreground "#385"))))
  1463. '(rainbow-delimiters-depth-1-face ((t (:foreground "#aee"))))
  1464. '(rainbow-delimiters-depth-2-face ((t (:foreground "#fff"))))
  1465. '(rainbow-delimiters-depth-3-face ((t (:foreground "#ffde00"))))
  1466. '(rainbow-delimiters-depth-4-face ((t (:foreground "#ff8d00"))))
  1467. '(rainbow-delimiters-depth-5-face ((t (:foreground "#d36"))))
  1468. '(rainbow-delimiters-depth-6-face ((t (:foreground "#a1c"))))
  1469. '(rainbow-delimiters-depth-7-face ((t (:foreground "#75b"))))
  1470. '(rainbow-delimiters-depth-8-face ((t (:foreground "#88d"))))
  1471. '(rainbow-delimiters-depth-9-face ((t (:foreground "#8bf"))))
  1472. '(rainbow-delimiters-unmatched-face ((t (:foreground "#00ff00"))))
  1473. '(region ((t (:background "#195738"))))
  1474. '(sauron-header-face ((t (:foreground "#6a4c38" :overline "black"))))
  1475. '(scroll-bar ((t (:background "#321" :foreground "#963"))))
  1476. '(stripe-highlight ((t (:background "#191517"))))
  1477. '(tab-bar ((t (:inherit nil :background "#573819" :foreground "#ffaa00"))))
  1478. '(tab-bar-tab-inactive ((t (:inherit tab-bar-tab :background "#381900"))))
  1479. '(tooltip ((t (:inherit variable-pitch :background "#3f2d2e" :foreground "#EEC055" :height 59))))
  1480. '(variable-pitch ((t (:family "nztt")))))