diff options
author | User Mms <mms@voyager.local> | 2024-10-17 21:08:50 +0200 |
---|---|---|
committer | User Mms <mms@voyager.local> | 2024-10-17 21:08:50 +0200 |
commit | 8fbff6319173bb19d2c74db70e4568fd08b01ee6 (patch) | |
tree | 58697a5b114fe41f83a49b8dd3bed3e885df1d43 | |
parent | 56a32cb861e698cbe633b037e4a9bc42dd7403c3 (diff) |
tidy up
-rw-r--r-- | assets/emacs/bg.gif | bin | 0 -> 2166 bytes | |||
-rw-r--r-- | assets/emacs/cool-macs.png | bin | 0 -> 791136 bytes | |||
-rw-r--r-- | assets/emacs/elfeed-details.png | bin | 0 -> 2327424 bytes | |||
-rw-r--r-- | assets/emacs/elfeed-list.png | bin | 0 -> 566755 bytes | |||
-rw-r--r-- | assets/emacs/emacs-yeetube-play.png | bin | 0 -> 493492 bytes | |||
-rw-r--r-- | assets/emacs/emacs-yeetube-search.png | bin | 0 -> 159274 bytes | |||
-rw-r--r-- | assets/emacs/header-rect.png | bin | 0 -> 794932 bytes | |||
-rw-r--r-- | assets/emacs/malyon-zork.png | bin | 0 -> 84678 bytes | |||
-rw-r--r-- | assets/emacs/webbuttons/cryssite.png | bin | 0 -> 1919 bytes | |||
-rw-r--r-- | assets/emacs/webbuttons/emacs.gif | bin | 0 -> 1286 bytes | |||
-rw-r--r-- | assets/emacs/webbuttons/freebsd.gif | bin | 0 -> 999 bytes | |||
-rw-r--r-- | assets/emacs/webbuttons/kofi.png | bin | 0 -> 1520 bytes | |||
-rw-r--r-- | config/_default/menus.en.toml | 61 | ||||
-rw-r--r-- | content-org/blog.org | 34 | ||||
-rw-r--r-- | content-org/cool-emacs.org | 42 | ||||
-rw-r--r-- | content/_index.md | 55 | ||||
-rw-r--r-- | content/cool-emacs/_index.md | 48 | ||||
-rw-r--r-- | content/cool-emacs/emacs-as-a-shell.md | 35 | ||||
-rw-r--r-- | content/emacs/_index.html | 0 | ||||
-rw-r--r-- | content/emacs/_index.md | 49 | ||||
-rw-r--r-- | content/emacs/elfeed.md (renamed from content/cool-emacs/reading-rss-elfeed.md) | 4 | ||||
-rw-r--r-- | content/emacs/emacs-as-a-shell.md | 50 | ||||
-rw-r--r-- | content/emacs/input-completition-in-emacs.md (renamed from content/cool-emacs/input-completition-in-emacs.md) | 4 | ||||
-rw-r--r-- | content/emacs/literate-programing-in-emacs.md (renamed from content/cool-emacs/literate-programing-in-emacs.md) | 4 | ||||
-rw-r--r-- | content/emacs/malyon.md (renamed from content/cool-emacs/interactive-fiction-malyon.md) | 3 | ||||
-rw-r--r-- | content/emacs/multi-process-emacs.md (renamed from content/cool-emacs/multi-process-emacs.md) | 7 | ||||
-rw-r--r-- | content/emacs/notmuch.md (renamed from content/cool-emacs/read-email-notmuch.md) | 2 | ||||
-rw-r--r-- | content/emacs/org-babel.md (renamed from content/cool-emacs/org-babel.md) | 4 | ||||
-rw-r--r-- | content/emacs/whys-of-emacs.md (renamed from content/cool-emacs/whys-of-emacs.md) | 4 | ||||
-rw-r--r-- | content/emacs/yeetube.md (renamed from content/cool-emacs/watch-youtube.md) | 4 | ||||
-rw-r--r-- | layouts/partials/menu/item.html | 6 | ||||
-rw-r--r-- | retired-2024-emacs/baseof.html (renamed from layouts/cool-emacs/baseof.html) | 0 | ||||
-rw-r--r-- | retired-2024-emacs/list.html (renamed from layouts/cool-emacs/list.html) | 0 | ||||
-rw-r--r-- | retired-2024-emacs/redirect.html (renamed from layouts/cool-emacs/redirect.html) | 0 | ||||
-rw-r--r-- | retired-2024-emacs/single.html (renamed from layouts/cool-emacs/single.html) | 0 | ||||
-rw-r--r-- | themes/24-unification/layouts/_default/baseof.html | 1 |
36 files changed, 277 insertions, 140 deletions
diff --git a/assets/emacs/bg.gif b/assets/emacs/bg.gif Binary files differnew file mode 100644 index 0000000..2aacfd9 --- /dev/null +++ b/assets/emacs/bg.gif diff --git a/assets/emacs/cool-macs.png b/assets/emacs/cool-macs.png Binary files differnew file mode 100644 index 0000000..b754bcd --- /dev/null +++ b/assets/emacs/cool-macs.png diff --git a/assets/emacs/elfeed-details.png b/assets/emacs/elfeed-details.png Binary files differnew file mode 100644 index 0000000..d0cbc9b --- /dev/null +++ b/assets/emacs/elfeed-details.png diff --git a/assets/emacs/elfeed-list.png b/assets/emacs/elfeed-list.png Binary files differnew file mode 100644 index 0000000..6c26e9d --- /dev/null +++ b/assets/emacs/elfeed-list.png diff --git a/assets/emacs/emacs-yeetube-play.png b/assets/emacs/emacs-yeetube-play.png Binary files differnew file mode 100644 index 0000000..acf4e6d --- /dev/null +++ b/assets/emacs/emacs-yeetube-play.png diff --git a/assets/emacs/emacs-yeetube-search.png b/assets/emacs/emacs-yeetube-search.png Binary files differnew file mode 100644 index 0000000..3f6abb6 --- /dev/null +++ b/assets/emacs/emacs-yeetube-search.png diff --git a/assets/emacs/header-rect.png b/assets/emacs/header-rect.png Binary files differnew file mode 100644 index 0000000..aa1f923 --- /dev/null +++ b/assets/emacs/header-rect.png diff --git a/assets/emacs/malyon-zork.png b/assets/emacs/malyon-zork.png Binary files differnew file mode 100644 index 0000000..2612dd6 --- /dev/null +++ b/assets/emacs/malyon-zork.png diff --git a/assets/emacs/webbuttons/cryssite.png b/assets/emacs/webbuttons/cryssite.png Binary files differnew file mode 100644 index 0000000..bda262e --- /dev/null +++ b/assets/emacs/webbuttons/cryssite.png diff --git a/assets/emacs/webbuttons/emacs.gif b/assets/emacs/webbuttons/emacs.gif Binary files differnew file mode 100644 index 0000000..495caf8 --- /dev/null +++ b/assets/emacs/webbuttons/emacs.gif diff --git a/assets/emacs/webbuttons/freebsd.gif b/assets/emacs/webbuttons/freebsd.gif Binary files differnew file mode 100644 index 0000000..cd41141 --- /dev/null +++ b/assets/emacs/webbuttons/freebsd.gif diff --git a/assets/emacs/webbuttons/kofi.png b/assets/emacs/webbuttons/kofi.png Binary files differnew file mode 100644 index 0000000..0b330b5 --- /dev/null +++ b/assets/emacs/webbuttons/kofi.png diff --git a/config/_default/menus.en.toml b/config/_default/menus.en.toml index 4c1f5cb..03a4106 100644 --- a/config/_default/menus.en.toml +++ b/config/_default/menus.en.toml @@ -27,20 +27,27 @@ submenu = "sections-bsd" section = "bsd" + + [[sections-bsd]] - name = "FreeBSD" - pageRef = "/bsd" - [[sections-bsd.params]] - urlSufix = "#freebsd" - + weight = 200 + name = "TP X1 Ext.@FreeBSD" + pageRef = "/bsd/thinkpad" + [[sections-bsd]] + weight = 300 name = "OpenBSD webstack" - pageRef = "/unix-history/02_unix/" - [[sections-bsd.params]] - urlSufix = "#openbsd" - + pageRef = "/bsd/open-bsd-web-stack/" - [[sections]] + +[[sections-bsd]] + name = "More..." + weight = 10000 + pageRef = "/bsd" + + + +[[sections]] name = "Unix History" pageRef = "/unix-history" weight = 1000 @@ -60,6 +67,40 @@ name = "3 - Forks and Wars" pageRef = "/unix-history/03_unix_wars/" + + +[[sections]] + name = "Emacs" + pageRef = "/emacs" + weight = 1100 + [[sections.params]] + section="emacs" + submenu = "sections-emacs" + + +[[sections-emacs]] + name = "Notmuch" + weight = 100 + pageRef = "/emacs/notmuch/" + + +[[sections-emacs]] + name = "Elfeed" + weight = 200 + pageRef = "/emacs/elfeed/" + + +[[sections-emacs]] + name = "Literate programming" + weight = 1000 + pageRef = "/emacs/literate-programing-in-emacs/" + +[[sections-emacs]] + name = "More..." + weight = 10000 + pageRef = "/emacs" + + [[sections]] name = "More" pageRef = "/more" diff --git a/content-org/blog.org b/content-org/blog.org index ea5090f..e22ae68 100644 --- a/content-org/blog.org +++ b/content-org/blog.org @@ -69,6 +69,40 @@ Love you, Drew! https://www.youtube.com/watch?v=7OsWuFo2jp4 +** Microsoft GitHub on Open Source + +Me, like many others, were lured into (non-MS) GitHub years ago. +It was nicer than the entire competition - it worked better, it looked better, it was where *all* the Open Source lived. +Well, not all. +But it was standard for any new project to begin with creating a GitHub repository. + +But is stil a good idea? +I don't think so. +In fact, I think that Microsoft GitHub is the single worse place for Open Source to live. + +Funny think is, that only one thing changed - the owner. +Microsoft, past-Balmmer era, in their "pro-open source" phase (mon! it's not a phase!) bought the single most important place for software. +Not only software development, but software in general. +It is near impossible to use sotware without thouching something that was stored on Microsoft Github. + +But, let's face it, Microsoft hasn't changed one bit. +They may own Thorvald's soul and body but they are still actively against Open Source. + +Why do *care* about Open Source? +It's not a popularity contest, it's a bullet point in CV. +Open Souce is based on community, as groups of people who have nothing in common, join forces to create something. +They may come from different backgrounds, location, believes, and so on. +The one thing that connect them, is this project they are developing. + +(non-MS) GitHub was great for it. +You had all the developers out there. +You could collaborate with the entire world! +GitHub was a great place to share code. + +But Microsoft Github is anythihg but that. + + + ** DONE Broken system CLOSED: [2024-10-16 Wed 22:28] :PROPERTIES: diff --git a/content-org/cool-emacs.org b/content-org/cool-emacs.org index 0df2357..026fe0e 100644 --- a/content-org/cool-emacs.org +++ b/content-org/cool-emacs.org @@ -3,13 +3,12 @@ #+URL: https://michal.sapka.me #+STARTUP: show2levels indent logdone -#+HUGO_BASE_DIR: ~/ghq/vcs.sapka.me/michal-sapka-me/ +#+HUGO_BASE_DIR: ~/ghq/michal.sapka.me/mms/site #+HUGO_WEIGHT: auto -#+HUGO_SECTION: cool-emacs - -* CE :@emacs: +#+HUGO_SECTION: emacs +* CE :@emacs:@emacs: :PROPERTIES: -:EXPORT_HUGO_CUSTOM_FRONT_MATTER: :image_dir "cool-emacs" :image_max_width 480 +:EXPORT_HUGO_CUSTOM_FRONT_MATTER: :image_dir "emacs" :image_max_width 480 :EXPORT_HUGO_PAIRED_SHORTCODES: image tableofcontent menu :END: @@ -20,12 +19,14 @@ CLOSED: [2024-06-15 Sat 21:52] :EXPORT_HUGO_CUSTOM_FRONT_MATTER+: :primary_menu emacs :EXPORT_HUGO_CUSTOM_FRONT_MATTER+: :shortname Cool usages of Emacs :EXPORT_HUGO_MENU: :menu emacs :post "Emacs usage that is not text editing" +:EXPORT_HUGO_CUSTOM_FRONT_MATTER+: :aliases '(/cool-emacs/) :END: #+attr_shortcode: :file cool-macs.png #+attr_shortcode: :alt An Emacs logo in cool glassess doing a skateboard flip -#+attr_shortcode: :class right no-border +#+attr_shortcode: :class pull-right #+attr_shortcode: :forced_width 350 +#+attr_shortcode: :transparency yes #+begin_image noop #+end_image @@ -67,9 +68,9 @@ The mascot, Coolmacs, was drawn by [[https://drewsh.com/][Drew]]. *** DONE Read RSS with Elfeed CLOSED: [2023-05-19 Wed 23:00] :PROPERTIES: -:EXPORT_FILE_NAME: reading-rss-elfeed +:EXPORT_FILE_NAME: elfeed :EXPORT_HUGO_CUSTOM_FRONT_MATTER+: :abstract Setting up config inside an org file -:EXPORT_HUGO_CUSTOM_FRONT_MATTER+: :aliases '(/2023/moving-my-rss-reading-to-emacs-with-elfeed/ /emacs/moving-my-rss-reading-to-emacs-with-elfeed/ /emacs/elfeed-literate-config/) +:EXPORT_HUGO_CUSTOM_FRONT_MATTER+: :aliases '(/2023/moving-my-rss-reading-to-emacs-with-elfeed/ /emacs/moving-my-rss-reading-to-emacs-with-elfeed/ /cool-emacs/elfeed-literate-config/) :END: Since Emacs became my shell of choice[fn:1], I am abandoning more and more dedicated applications in favor of different packages. @@ -189,10 +190,10 @@ Much more readable! Elfeed-org will ignore the entire outer tree and extract the *** DONE Read email with Notmuch CLOSED: [2023-07-03 Wed 23:00] :PROPERTIES: -:EXPORT_FILE_NAME: read-email-notmuch +:EXPORT_FILE_NAME: notmuch :EXPORT_HUGO_CUSTOM_FRONT_MATTER: :abstract My email based workflow for GitHub Pull Review Requests :EXPORT_HUGO_MENU_OVERRIDE: :name "Reading and automating email using Notmuch" -:EXPORT_HUGO_CUSTOM_FRONT_MATTER+: :aliases '(/2023/notmuch/ /emacs/notmuch/) +:EXPORT_HUGO_CUSTOM_FRONT_MATTER+: :aliases '(/2023/notmuch/ /emacs/notmuch/ /cool-emacs/read-email-notmuch) :END: Web email interfaces have taken over the world a long time ago. Except for Outlook users, only a few people even consider using an actual application for it. @@ -529,9 +530,9 @@ One cool thing I plan to apply soon is integrating notmuch(1) with Org-mode with *** DONE Watch YouTube with Yeetube and mpv CLOSED: [2024-02-23 Fri 16:16] :PROPERTIES: -:EXPORT_FILE_NAME: watch-youtube +:EXPORT_FILE_NAME: yeetube :EXPORT_HUGO_CUSTOM_FRONT_MATTER+: :abstract Let's use YouTube from the comfort of Emacs -:EXPORT_HUGO_CUSTOM_FRONT_MATTER+: :aliases '(/emacs/watching-youtube-with-emacs/) +:EXPORT_HUGO_CUSTOM_FRONT_MATTER+: :aliases '(/emacs/watching-youtube-with-emacs/ /cool-emacs/watch-youtube) :END: @@ -648,8 +649,9 @@ We need to use =eww= to open the page and we can get the URL from there. *** DONE Play Interactive Fiction with Malyon CLOSED: [2024-06-20 Thu 22:38] :PROPERTIES: -:EXPORT_FILE_NAME: interactive-fiction-malyon +:EXPORT_FILE_NAME: malyon :EXPORT_HUGO_CUSTOM_FRONT_MATTER+: :abstract Play classic text adventures with Emacs +:EXPORT_HUGO_CUSTOM_FRONT_MATTER+: :alias '(/cool-emacs/interactive-fiction-malyon) :END: #+begin_quote @@ -728,7 +730,7 @@ CLOSED: [2023-12-26 Tue 22:12] :PROPERTIES: :EXPORT_FILE_NAME: whys-of-emacs :EXPORT_HUGO_CUSTOM_FRONT_MATTER+: :abstract My reasons for using Emacs -:EXPORT_HUGO_CUSTOM_FRONT_MATTER+: :aliases '(/emacs/whys-of-emacs/) +:EXPORT_HUGO_CUSTOM_FRONT_MATTER+: :aliases '(/cool-emacs/whys-of-emacs/) :END: I have used many editors over the years. I've started with Notepad, then moved to Notepad++, Sublime Text, IntelliJ, and VS Code. @@ -899,7 +901,7 @@ CLOSED: [2023-04-13 Wed 23:00] :PROPERTIES: :EXPORT_FILE_NAME: emacs-as-a-shell :EXPORT_HUGO_CUSTOM_FRONT_MATTER+: :abstract My current understanding of Emacs -:EXPORT_HUGO_CUSTOM_FRONT_MATTER+: :aliases '(/2023/emacs-as-a-shell/ /emacs/emacs-as-a-shell/) +:EXPORT_HUGO_CUSTOM_FRONT_MATTER+: :aliases '(/2023/emacs-as-a-shell/ /cool-emacs/emacs-as-a-shell/) :END: Pavel Korytov writes in his [[https://sqrtminusone.xyz/posts/2023-04-13-emacs/][recent post]]; @@ -935,13 +937,14 @@ So, when you look at it this way, Emacs makes a lot of sense: - It runs above basic OS. You can replace your window manager with Emacs, but you need some sort of kernel. - You can live entirely inside Emacs, just like you can live entirely inside a terminal. - + *** DONE Multiprocess Emacs environment CLOSED: [2024-06-17 Mon 17:46] :PROPERTIES: :EXPORT_FILE_NAME: multi-process-emacs :EXPORT_HUGO_CUSTOM_FRONT_MATTER+: :abstract Running dedicated Emacs processes +:EXPORT_HUGO_CUSTOM_FRONT_MATTER+: :alias '(/cool-emacs/multi-process-emacs) :END: The more you move into Emacs, the happier you may become. @@ -1014,7 +1017,7 @@ CLOSED: [2023-05-26 Wed 23:00] :PROPERTIES: :EXPORT_FILE_NAME: input-completition-in-emacs :EXPORT_HUGO_CUSTOM_FRONT_MATTER+: :abstract Icomplete, IDO and FIDO -:EXPORT_HUGO_CUSTOM_FRONT_MATTER+: :aliases '(/2023/input-completition-in-emacs/ /emacs/input-completition-in-emacs/) +:EXPORT_HUGO_CUSTOM_FRONT_MATTER+: :aliases '(/2023/input-completition-in-emacs/ /cool-emacs/input-completition-in-emacs/) :END: Emacs consists of a massive set of tools with a long history. Therefore, whatever the problem is, someone likely has already created a package for it. @@ -1122,7 +1125,7 @@ CLOSED: [2024-01-30 Tue 19:10] :PROPERTIES: :EXPORT_FILE_NAME: literate-programing-in-emacs :EXPORT_HUGO_CUSTOM_FRONT_MATTER+: :abstract A short introduction into the idea of literate programming -:EXPORT_HUGO_CUSTOM_FRONT_MATTER+: :aliases '(/emacs/literate-programing-in-emacs/) +:EXPORT_HUGO_CUSTOM_FRONT_MATTER+: :aliases '(/cool-emacs/literate-programing-in-emacs/) :END: **** Abstract @@ -1234,7 +1237,7 @@ CLOSED: [2024-02-07 Wed 21:23] :PROPERTIES: :EXPORT_FILE_NAME: org-babel :EXPORT_HUGO_CUSTOM_FRONT_MATTER+: :abstract A short introduction into the world if Org Babel -:EXPORT_HUGO_CUSTOM_FRONT_MATTER+: :aliases '(/emacs/org-babel/) +:EXPORT_HUGO_CUSTOM_FRONT_MATTER+: :aliases '(/cool-emacs/org-babel/) :END: *Abstract*: a very short introduction into the word of Org Babel. @@ -1390,3 +1393,4 @@ If you are interested in the subject, you can look at much more details sources: - [[https://protesilaos.com/codelog/2023-12-18-emacs-org-advanced-literate-conf/][Advanced literate configuration]] on Prot's website. - [[https://org-babel.readthedocs.io/en/latest/][Cheat sheet]] + diff --git a/content/_index.md b/content/_index.md index b9e70c1..0721a0e 100644 --- a/content/_index.md +++ b/content/_index.md @@ -1,9 +1,48 @@ ---- -title: "Homepage" -date: 2022-12-28T23:42:51+01:00 -draft: false -categories: -- msw -noback: true ---- ++++ +title = "Cool Emacs" +author = ["Michał Sapka"] +date = 2024-06-15T21:52:00+02:00 +categories = ["emacs"] +draft = false +weight = 2001 +image_dir = "emacs" +image_max_width = 480 +primary_menu = "emacs" +shortname = "Cool usages of Emacs" +[menu] + [menu.emacs] + weight = 2001 + identifier = "cool-emacs" + post = "Emacs usage that is not text editing" ++++ +{{< image forced_width="350" class="right no-border" alt="An Emacs logo in cool glassess doing a skateboard flip" file="cool-macs.png" >}} +noop +{{< /image >}} + +> _Let me tell you: Emacs is not a text editor._ +> +> -- Emerald McS., PhD + +Even though most of what Emacs is known for is _editing text_, it can do so much more. +It's the most flexible application out there, so when you start to adjust the basics for yourself, you want to use it everywhere. +Here, I will present _Emacs_ as a general purpose interface. + + +## Cool ways to use Emacs {#cool-ways-to-use-emacs} + +{{< menu "cool-emacs-ways" >}} +Dune +{{< /menu >}} + + +## Appendix {#appendix} + +{{< menu "cool-emacs-appendix" >}} +Dune +{{< /menu >}} + + +## Coolmacs {#coolmacs} + +The mascot, Coolmacs, was drawn by [Drew](https://drewsh.com/). diff --git a/content/cool-emacs/_index.md b/content/cool-emacs/_index.md deleted file mode 100644 index de195f5..0000000 --- a/content/cool-emacs/_index.md +++ /dev/null @@ -1,48 +0,0 @@ -+++ -title = "Cool Emacs" -author = ["Michał Sapka"] -date = 2024-06-15T21:52:00+02:00 -categories = ["emacs"] -draft = false -weight = 2001 -image_dir = "cool-emacs" -image_max_width = 480 -primary_menu = "emacs" -shortname = "Cool usages of Emacs" -[menu] - [menu.emacs] - weight = 2001 - identifier = "cool-emacs" - post = "Emacs usage that is not text editing" -+++ - -{{< image forced_width="350" class="right no-border" alt="An Emacs logo in cool glassess doing a skateboard flip" file="cool-macs.png" >}} -noop -{{< /image >}} - -> _Let me tell you: Emacs is not a text editor._ -> -> -- Emerald McS., PhD - -Even though most of what Emacs is known for is _editing text_, it can do so much more. -It's the most flexible application out there, so when you start to adjust the basics for yourself, you want to use it everywhere. -Here, I will present _Emacs_ as a general purpose interface. - - -## Cool ways to use Emacs {#cool-ways-to-use-emacs} - -{{< menu "cool-emacs-ways" >}} -Dune -{{< /menu >}} - - -## Appendix {#appendix} - -{{< menu "cool-emacs-appendix" >}} -Dune -{{< /menu >}} - - -## Coolmacs {#coolmacs} - -The mascot, Coolmacs, was drawn by [Drew](https://drewsh.com/). diff --git a/content/cool-emacs/emacs-as-a-shell.md b/content/cool-emacs/emacs-as-a-shell.md deleted file mode 100644 index 02a2939..0000000 --- a/content/cool-emacs/emacs-as-a-shell.md +++ /dev/null @@ -1,35 +0,0 @@ -+++ -title = "Emacs as a Shell" -author = ["Michał Sapka"] -date = 2023-04-13T23:00:00+02:00 -categories = ["emacs"] -draft = false -weight = 3001 -image_dir = "cool-emacs" -image_max_width = 480 -primary_menu = "cool-emacs-appendix" -abstract = "My current understanding of Emacs" -aliases = ["/2023/emacs-as-a-shell/", "/emacs/emacs-as-a-shell/"] -[menu] - [menu.cool-emacs-appendix] - weight = 3001 - identifier = "emacs-as-a-shell" -+++ - -Pavel Korytov writes in his [recent post](https://sqrtminusone.xyz/posts/2023-04-13-emacs/); - -> So over time, Emacs has become my programming environment, email client, window manager, knowledge base, and a lot more. I think I ended up using Emacs for almost as many things as possible; - -This is where I want to be in the near future. So far I've moved my development environment and email to Emacs. Next up are notes, RSS reading, and music listening. - -What I love about Emacs is the consistency between modes/packages. They accomplish widely different things, but the general control scheme is the same. It's great since all TUI programs I use tend to support Vim's way of doing things. Having it all inside Emacs changes the dynamic. I'm trying to think of Emacs as a shell rather than an editor. - -What Emacs really is, is a virtual machine running LISP code. Some say that Emacs violates Linux philosophy. I don't see it this way. Does shell violate it? It's also a way to run different programs. Emacs is an abstraction over real shell which adds some calm to it. It's a way to have an interactive layer over OS... which also does text editing. - -So, when you look at it this way, Emacs makes a lot of sense: - -- It runs programs. Bigger packages, like Magit, are nothing short of real programs. -- It's scriptable. Elisp all the way! -- It allows for interoperability between programs. -- It runs above basic OS. You can replace your window manager with Emacs, but you need some sort of kernel. -- You can live entirely inside Emacs, just like you can live entirely inside a terminal. diff --git a/content/emacs/_index.html b/content/emacs/_index.html deleted file mode 100644 index e69de29..0000000 --- a/content/emacs/_index.html +++ /dev/null diff --git a/content/emacs/_index.md b/content/emacs/_index.md index e69de29..e02a859 100644 --- a/content/emacs/_index.md +++ b/content/emacs/_index.md @@ -0,0 +1,49 @@ ++++ +title = "Cool Emacs" +author = ["Michał Sapka"] +date = 2024-06-15T21:52:00+02:00 +categories = ["emacs"] +draft = false +weight = 2001 +image_dir = "emacs" +image_max_width = 480 +primary_menu = "emacs" +shortname = "Cool usages of Emacs" +aliases = ["/cool-emacs/"] +[menu] + [menu.emacs] + weight = 2001 + identifier = "cool-emacs" + post = "Emacs usage that is not text editing" ++++ + +{{< image transparency="yes" forced_width="350" class="pull-right" alt="An Emacs logo in cool glassess doing a skateboard flip" file="cool-macs.png" >}} +noop +{{< /image >}} + +> _Let me tell you: Emacs is not a text editor._ +> +> -- Emerald McS., PhD + +Even though most of what Emacs is known for is _editing text_, it can do so much more. +It's the most flexible application out there, so when you start to adjust the basics for yourself, you want to use it everywhere. +Here, I will present _Emacs_ as a general purpose interface. + + +## Cool ways to use Emacs {#cool-ways-to-use-emacs} + +{{< menu "cool-emacs-ways" >}} +Dune +{{< /menu >}} + + +## Appendix {#appendix} + +{{< menu "cool-emacs-appendix" >}} +Dune +{{< /menu >}} + + +## Coolmacs {#coolmacs} + +The mascot, Coolmacs, was drawn by [Drew](https://drewsh.com/). diff --git a/content/cool-emacs/reading-rss-elfeed.md b/content/emacs/elfeed.md index 550b8ab..a9bd64e 100644 --- a/content/cool-emacs/reading-rss-elfeed.md +++ b/content/emacs/elfeed.md @@ -5,11 +5,11 @@ date = 2023-05-19T23:00:00+02:00 categories = ["emacs"] draft = false weight = 3001 -image_dir = "cool-emacs" +image_dir = "emacs" image_max_width = 480 primary_menu = "cool-emacs-ways" abstract = "Setting up config inside an org file" -aliases = ["/2023/moving-my-rss-reading-to-emacs-with-elfeed/", "/emacs/moving-my-rss-reading-to-emacs-with-elfeed/", "/emacs/elfeed-literate-config/"] +aliases = ["/2023/moving-my-rss-reading-to-emacs-with-elfeed/", "/emacs/moving-my-rss-reading-to-emacs-with-elfeed/", "/cool-emacs/elfeed-literate-config/"] [menu] [menu.cool-emacs-ways] weight = 3001 diff --git a/content/emacs/emacs-as-a-shell.md b/content/emacs/emacs-as-a-shell.md new file mode 100644 index 0000000..2227be9 --- /dev/null +++ b/content/emacs/emacs-as-a-shell.md @@ -0,0 +1,50 @@ ++++ +title = "Emacs as a Shell" +author = ["Michał Sapka"] +date = 2023-04-13T23:00:00+02:00 +categories = ["emacs"] +draft = false +weight = 3002 +image_dir = "emacs" +image_max_width = 480 +primary_menu = "cool-emacs-appendix" +abstract = "My current understanding of Emacs" +aliases = ["/2023/emacs-as-a-shell/", "/cool-emacs/emacs-as-a-shell/"] +[menu] + [menu.cool-emacs-appendix] + weight = 3002 + identifier = "emacs-as-a-shell" ++++ + +Pavel Korytov writes in his [recent post](https://sqrtminusone.xyz/posts/2023-04-13-emacs/); + +> So over time, Emacs has become my programming environment, email client, window manager, knowledge base, and a lot more. I think I ended up using Emacs for almost as many things as possible; + +This is where I want to be in the near future. +So far I've moved my development environment and email to Emacs. +Next up are notes, RSS reading, and music listening. + +What I love about Emacs is the consistency between modes/packages. +They accomplish widely different things, but the general control scheme is the same. +It's great since all TUI programs I use tend to support Vim's way of doing things. +Having it all inside Emacs changes the dynamic. +I'm trying to think of Emacs as a shell rather than an editor. + +What Emacs really is, is a virtual machine running LISP code. +Some say that Emacs violates Linux philosophy. +I don't see it this way. +Does shell violate it? +It's also a way to run different programs. +Emacs is an abstraction over real shell which adds some calm to it. +It's a way to have an interactive layer over OS... which also does text editing. + +So, when you look at it this way, Emacs makes a lot of sense: + +- It runs programs. + Bigger packages, like Magit, are nothing short of real programs. +- It's scriptable. + Elisp all the way! +- It allows for interoperability between programs. +- It runs above basic OS. + You can replace your window manager with Emacs, but you need some sort of kernel. +- You can live entirely inside Emacs, just like you can live entirely inside a terminal. diff --git a/content/cool-emacs/input-completition-in-emacs.md b/content/emacs/input-completition-in-emacs.md index 6b7387f..b19d728 100644 --- a/content/cool-emacs/input-completition-in-emacs.md +++ b/content/emacs/input-completition-in-emacs.md @@ -5,11 +5,11 @@ date = 2023-05-26T23:00:00+02:00 categories = ["emacs"] draft = false weight = 3004 -image_dir = "cool-emacs" +image_dir = "emacs" image_max_width = 480 primary_menu = "cool-emacs-appendix" abstract = "Icomplete, IDO and FIDO" -aliases = ["/2023/input-completition-in-emacs/", "/emacs/input-completition-in-emacs/"] +aliases = ["/2023/input-completition-in-emacs/", "/cool-emacs/input-completition-in-emacs/"] [menu] [menu.cool-emacs-appendix] weight = 3004 diff --git a/content/cool-emacs/literate-programing-in-emacs.md b/content/emacs/literate-programing-in-emacs.md index 1c1bf98..3379bb2 100644 --- a/content/cool-emacs/literate-programing-in-emacs.md +++ b/content/emacs/literate-programing-in-emacs.md @@ -5,11 +5,11 @@ date = 2024-01-30T19:10:00+01:00 categories = ["emacs"] draft = false weight = 3005 -image_dir = "cool-emacs" +image_dir = "emacs" image_max_width = 480 primary_menu = "cool-emacs-appendix" abstract = "A short introduction into the idea of literate programming" -aliases = ["/emacs/literate-programing-in-emacs/"] +aliases = ["/cool-emacs/literate-programing-in-emacs/"] [menu] [menu.cool-emacs-appendix] weight = 3005 diff --git a/content/cool-emacs/interactive-fiction-malyon.md b/content/emacs/malyon.md index 25f37bb..95b1500 100644 --- a/content/cool-emacs/interactive-fiction-malyon.md +++ b/content/emacs/malyon.md @@ -5,10 +5,11 @@ date = 2024-06-20T22:38:00+02:00 categories = ["emacs"] draft = false weight = 3004 -image_dir = "cool-emacs" +image_dir = "emacs" image_max_width = 480 primary_menu = "cool-emacs-ways" abstract = "Play classic text adventures with Emacs" +alias = ["/cool-emacs/interactive-fiction-malyon"] [menu] [menu.cool-emacs-ways] weight = 3004 diff --git a/content/cool-emacs/multi-process-emacs.md b/content/emacs/multi-process-emacs.md index 97d7ee6..bd878c8 100644 --- a/content/cool-emacs/multi-process-emacs.md +++ b/content/emacs/multi-process-emacs.md @@ -4,14 +4,15 @@ author = ["Michał Sapka"] date = 2024-06-17T17:46:00+02:00 categories = ["emacs"] draft = false -weight = 3002 -image_dir = "cool-emacs" +weight = 3003 +image_dir = "emacs" image_max_width = 480 primary_menu = "cool-emacs-appendix" abstract = "Running dedicated Emacs processes" +alias = ["/cool-emacs/multi-process-emacs"] [menu] [menu.cool-emacs-appendix] - weight = 3002 + weight = 3003 identifier = "multiprocess-emacs-environment" +++ diff --git a/content/cool-emacs/read-email-notmuch.md b/content/emacs/notmuch.md index 377461a..1f6c0a9 100644 --- a/content/cool-emacs/read-email-notmuch.md +++ b/content/emacs/notmuch.md @@ -6,7 +6,7 @@ categories = ["emacs"] draft = false weight = 3002 abstract = "My email based workflow for GitHub Pull Review Requests" -aliases = ["/2023/notmuch/", "/emacs/notmuch/"] +aliases = ["/2023/notmuch/", "/emacs/notmuch/", "/cool-emacs/read-email-notmuch"] [menu] [menu.cool-emacs-ways] weight = 3002 diff --git a/content/cool-emacs/org-babel.md b/content/emacs/org-babel.md index ba37fe4..d6b5166 100644 --- a/content/cool-emacs/org-babel.md +++ b/content/emacs/org-babel.md @@ -5,11 +5,11 @@ date = 2024-02-07T21:23:00+01:00 categories = ["emacs"] draft = false weight = 3006 -image_dir = "cool-emacs" +image_dir = "emacs" image_max_width = 480 primary_menu = "cool-emacs-appendix" abstract = "A short introduction into the world if Org Babel" -aliases = ["/emacs/org-babel/"] +aliases = ["/cool-emacs/org-babel/"] [menu] [menu.cool-emacs-appendix] weight = 3006 diff --git a/content/cool-emacs/whys-of-emacs.md b/content/emacs/whys-of-emacs.md index 2dc7dd5..23912a2 100644 --- a/content/cool-emacs/whys-of-emacs.md +++ b/content/emacs/whys-of-emacs.md @@ -7,11 +7,11 @@ date = 2023-12-26T22:12:00+01:00 categories = ["emacs"] draft = false weight = 3001 -image_dir = "cool-emacs" +image_dir = "emacs" image_max_width = 480 primary_menu = "cool-emacs-appendix" abstract = "My reasons for using Emacs" -aliases = ["/emacs/whys-of-emacs/"] +aliases = ["/cool-emacs/whys-of-emacs/"] [menu] [menu.cool-emacs-appendix] weight = 3001 diff --git a/content/cool-emacs/watch-youtube.md b/content/emacs/yeetube.md index 6d1ff99..1d35a65 100644 --- a/content/cool-emacs/watch-youtube.md +++ b/content/emacs/yeetube.md @@ -5,11 +5,11 @@ date = 2024-02-23T16:16:00+01:00 categories = ["emacs"] draft = false weight = 3003 -image_dir = "cool-emacs" +image_dir = "emacs" image_max_width = 480 primary_menu = "cool-emacs-ways" abstract = "Let's use YouTube from the comfort of Emacs" -aliases = ["/emacs/watching-youtube-with-emacs/"] +aliases = ["/emacs/watching-youtube-with-emacs/", "/cool-emacs/watch-youtube"] [menu] [menu.cool-emacs-ways] weight = 3003 diff --git a/layouts/partials/menu/item.html b/layouts/partials/menu/item.html index 9802c6f..f000b2c 100644 --- a/layouts/partials/menu/item.html +++ b/layouts/partials/menu/item.html @@ -6,7 +6,7 @@ {{- if $pageItem.Params.menu_item_override_start_li }}<li>{{- end}} - {{$item.Pre}}<b><a href="{{ $item.URL }}">{{ $pageItem.Params.menu_item_override }}</a></b>{{- partial "menu/new-or-up.html" (dict "page" $pageItem) }}{{$item.Post}} + {{$item.Pre}}<a href="{{ $item.URL }}">{{ $pageItem.Params.menu_item_override }}</a>{{- partial "menu/new-or-up.html" (dict "page" $pageItem) }}{{$item.Post}} {{- if $pageItem.Params.menu_item_override_end_li }}</li>{{- end}} @@ -18,10 +18,10 @@ {{- else if $item.Params.placeholder }} <span class="placeholder">{{ $item.Pre }}{{$item.Name }}{{ $item.Post }}</span> {{- else}} - {{$item.Pre}} <b> + {{$item.Pre}} <a {{ if $item.Params.forcedId }}id="{{ $item.Params.forcedId }}"{{ end }} - href="{{ $item.URL }}">{{ $item.Name }}</a></b> + href="{{ $item.URL }}">{{ $item.Name }}</a> {{- partial "menu/new-or-up.html" (dict "page" $pageItem) }} {{ $item.Post }} diff --git a/layouts/cool-emacs/baseof.html b/retired-2024-emacs/baseof.html index 944354d..944354d 100644 --- a/layouts/cool-emacs/baseof.html +++ b/retired-2024-emacs/baseof.html diff --git a/layouts/cool-emacs/list.html b/retired-2024-emacs/list.html index e4e4a83..e4e4a83 100644 --- a/layouts/cool-emacs/list.html +++ b/retired-2024-emacs/list.html diff --git a/layouts/cool-emacs/redirect.html b/retired-2024-emacs/redirect.html index 599d57b..599d57b 100644 --- a/layouts/cool-emacs/redirect.html +++ b/retired-2024-emacs/redirect.html diff --git a/layouts/cool-emacs/single.html b/retired-2024-emacs/single.html index e4e4a83..e4e4a83 100644 --- a/layouts/cool-emacs/single.html +++ b/retired-2024-emacs/single.html diff --git a/themes/24-unification/layouts/_default/baseof.html b/themes/24-unification/layouts/_default/baseof.html index d4ba794..b780182 100644 --- a/themes/24-unification/layouts/_default/baseof.html +++ b/themes/24-unification/layouts/_default/baseof.html @@ -164,6 +164,7 @@ width: 192px; padding: 5px; box-sizing: border-box; + font-family: monospace; } > li.active { background-color: var(--button-emph-bg); |