Monday, June 19, 2023

Adding file local variables

There's a mechanism in emacs to customize file load into a buffer by initializing or overriding variables on a per file basis. Local Variables can be defined at the beginning of the file. These local variables get initialized during opening of the file.

-*- coding: utf-8; lexical-binding: t; -*-
-*- mode: org; buffer-read-only:t -*-

another version without the mode tag for other files.

-*- buffer-read-only:t -*-

Author: dgg

Created: 2023-06-19 Mon 23:09

Validate

Tuesday, June 13, 2023

Testing html and css

Cat
Furry
Lovely
Octopus
Smart
Many legs
source: xah lee css

How to search for stuff in Emacs?

To search for information within Emacs you can use the help system. The following three options are:
  • search the variable: C-h v "search-string"
  • search symbol inside the help section: C-h S "search-string"
  • search inside the info global section: C-h i g "search-string"
Have you asked Emacs? C-h v translation-table-for-input gives you a summary, and C-h S translation-table-for-input takes you to the info node C-h i g (elisp)Translation of Characters which tells you more about translation tables. source Stack Overflow