Emacs file variable

From Just Solve the File Format Problem
(Difference between revisions)
Jump to: navigation, search
(Created page with "{{FormatInfo |formattype=electronic |subcat=Elements of File Formats }} By '''Emacs file variable''', we mean the boilerplate runes that appear near the beginning of some [[so...")
 
m
Line 7: Line 7:
 
  # -*- coding: utf-8 -*-
 
  # -*- coding: utf-8 -*-
  
โˆ’
The variable definitions can help to (for example) interpret or display the files.
+
The variable definitions can help to (for example) interpret or display the file.
  
โˆ’
This syntax apparently originates from the Emacs text editor. Subsets and extensions of it have been borrowed by many other text editors, viewers, and other software.
+
This syntax apparently originates from the Emacs text editor. Subsets and extensions of it have been borrowed by some other text editors, viewers, and other software.
  
 
== Specifications ==
 
== Specifications ==

Revision as of 21:17, 17 May 2016

File Format
Name Emacs file variable
Ontology

By Emacs file variable, we mean the boilerplate runes that appear near the beginning of some source code files, usually delimited by "-*-". For example:

#!/usr/bin/python
# -*- coding: utf-8 -*-

The variable definitions can help to (for example) interpret or display the file.

This syntax apparently originates from the Emacs text editor. Subsets and extensions of it have been borrowed by some other text editors, viewers, and other software.

Specifications

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox