Customizing SyntaxHighlighter Evolved For Undefined Languages

SyntaxHighlighter Evolved supports a lot of languages. It would be impossible to support all of them. Fortunately many languages are similar enough to ones already supported by it. For example Common Lisp (not supported) is similar enough to Clojure (supported). Therefore you can alias Common Lisp to use Clojure’s formatter.

Here Is How

In Bash—Pass Arguments From Function To Another

When I’m good about using and re-using functions in Bash I always end up passing arguments through from one function to another. For example:

function pie {
  open /Applications/Emacs.app --args --debug-init "$@"
}

function pienthm {
  EMACSNOTHEME=t pie --reverse-video "$@"
}

Horrible to admit but I keep forgetting the syntax even are taking copious notes on the GNU Bash manual.

BTW: hear, hear to including Bash-isms in every shell script!

Go To The Logical Begin And End Of A Buffer’s Content

The only time that I call beginning-of-buffer is when I want to visit the file header, which isn’t very often. The rest of the time I only want to go up to where the code begins, or at least close to it. That is the logical beginning of the buffer. Another example is going to the beginning of a magit-status invoked buffer: I’ve never use the first first 3 lines of it. The logical start of it is the Untracked file listing. The Beginend package moves your cursor to the the logical beginning of the buffer content. It also implements a logical end-of-buffer. It might not sound like much, but it bumps up your user experience by more than a few notches: it makes the modes do what many of us are thinking and that is the ultimate feel good experience. Here is an example:

Demonstration Follows

Blogging With Emacs🐃 From Org2Blog🦄 to WordPress

Blogging from Org2Blog to WordPress just works and that is just about all there is to it. All of the markup works. Even MathJax works:

Brad told me that this is the most beautiful equation in mathematics:

Euler’s Formula: \(e^{ \pm i\theta } = \cos \theta \pm i\sin \theta\)

Thank you Brad.

https://raw.githubusercontent.com/grettke/wisdomandwonder/master/post/2019-02-01-01.org is this post itself 😄😮.

Start using it https://github.com/org2blog/org2blog!