so, i managed to figure out how to include my Emacs config in the website without actually having it on the website. probably a bit hacky but in my publish.el i have:

;; retrieve literate emacs config from it's git repo
(if (file-exists-p "configuration.org")
(delete-file "configuration.org"))
(url-copy-file "https://git.sr.ht/~peregrinator/.emacs.d/blob/main/configuration.org" "configuration.org")

and then I include that in the empty Org file in my content sources as:

#+title: Literate Emacs Configuration

#+include: "../../configuration.org" :lines "8-"

so that the last metadata line (i.e. date) is also included along with the rest of the content

#Emacs #OrgMode #EmacsTip

#emacstip Reading the builtin manuals using `M-x info`! Got some spare time? Read a couple of interesting looking manual pages.

Navigation tips: `n` or `p` for next and previous nodes, `u` to go up one node. Press enter to follow a link. `l` to go back to where you where if followed a link or pressed a key you didn't intend. Finally, `?` to see a list of commands and general help information.

Some starting manuals to explore: the #emacs manual, Emacs Lisp Intro and Magit manuals.

#emacstip Use the interfactive function `base64-encode-region` to encode the current region in base64!

for some emails sent to our mailing list contain user-agent: emacs version x, gnus version x after to, from, subject in email headers.

actual
to: "recipient email id"
from: "sender email id"
subject: "something which is short & precise"

desired
to: "recipient email id"
from: "sender email id"
subject: "something which is short & precise"
user-agent: emacs version x, gnus version x

what should i add in .emacs or .gnus?

#LinuxForEveryone #debian #emacstip #gnus #gnu #helpwanted #question #emailclients #emailgeeks #email #emacs #emacs28

Very good explanation of Emacs completion styles:

https://youtu.be/w9hHMDyF9V4

Highly recommend it.

#emacs #emacstip

Emacs Minibuffer Completions

YouTube

Recently discovered a highlight feature of emacs, which makes it dead simple to change the face for a particular text. Check M-s h C-h, also take a look at hi-lock.el.

Thanks to Bhaskar Chowdhury.

#emacs #emacstip

When editing a file in Emacs `C-h S` allows to see the documentation for symbol at point or other item relevant to major mode (can be typed in minibuffer prompt).

For Texinfo files it will be searching entries in Texinfo manual, for shell files it will look up Bash, gawk, sed, coreutils, diff info pages.

This behavior is controlled by info-lookup-alist variable. Learn more with `C-h v info-lookup-alist RET`.

#emacs #emacstip

If I have a sudo or other interactive command in a Makefile I run compile/project-compile with universal argument to make Emacs prompt for interactive shell input.

C-u M-x compile
M-x recompile

#emacs #emacstip

Did you know that you can navigate magit status buffer elements with imenu?

consult-imenu in my case.

#emacs #emacstip #git #magit

The dired trick from Protesilaos' video:

`C-u s` in dired buffer allows to set ls switches and immediately update the content.

For example -R will show all subdirectories the same way as `dired-maybe-insert-subdir` do for one dir, changing some other switches will provide different output format.

I use it rarely, but sometimes it's handy. Read `man ls` for more information.

#emacs #emacstip #dired