Showing posts with label emacs. Show all posts
Showing posts with label emacs. Show all posts

Friday, 23 January 2026

Character format issues in emacs

The command cat -v is very useful to show control characters in a file. For example, if you want to debug unusual speech marks (Unicode used instead of ASCII) this is one way to do it.

Thursday, 20 November 2025

emacsx - An Emacs Launcher for .bashrc

Here is a cool emacs launcher for your .bashrc file if you like reverse video.

# Launch Emacs in full screen, optionally with a file

# Launch Emacs in full screen, optionally with a file

emacsx() {
  if [ "$#" -eq 0 ]; then
    command emacs -rv --fullscreen
  else
    command emacs -rv --fullscreen "$@"
  fi
}

$# in bash is a special parameter that represents the number of positional parameters to a script of function.