File: tildify.el.html
This package can be typically used for adding forgotten tildes in TeX
sources or adding sequences in SGML (e.g. HTML) texts.
For example, the Czech orthography requires avoiding one letter
prepositions at line endings. So they should be connected with the
following words by a tilde. Some users forget to do this all the
time. The purpose of this program is to check the text and suggest
adding of missing tildes on some places. It works in a similar
manner to query-replace-regexp.
The functionality of this program is actually performing query
replace on certain regions, but for historical reasons explained
above it is called tildify.
The default variable settings are suited for Czech, so do not try to understand them if you are not familiar with Czech grammar and spelling.
The algorithm was inspired by Petr Olšák's program vlna. Abilities of
tildify.el are a little limited; if you have improvement suggestions, let
me know.
Defined variables (11)
tildify-double-space-undos | Weather ‘tildify-space’ should undo hard space when space is typed again. |
tildify-foreach-region-function | A function calling a callback on portions of the buffer to tildify. |
tildify-ignored-environments-alist | Alist specifying ignored structured text environments. |
tildify-mode | Non-nil if Tildify mode is enabled. |
tildify-mode-hook | Hook run after entering or leaving ‘tildify-mode’. |
tildify-pattern | A pattern specifying where to insert hard spaces. |
tildify-pattern-alist | Alist specifying where to insert hard spaces. |
tildify-space-pattern | Pattern specifying whether to insert a hard space at point. |
tildify-space-predicates | A list of predicate functions for ‘tildify-space’ function. |
tildify-space-string | Representation of a hard (a.k.a. no-break) space in current major mode. |
tildify-string-alist | Alist specifying what is a hard space in the current major mode. |
Defined functions (11)
tildify--deprecated-ignore-evironments | (CALLBACK BEG END) |
tildify--find-env | (REGEXP PAIRS) |
tildify--foreach-region | (CALLBACK BEG END) |
tildify--pick-alist-entry | (MODE-ALIST &optional MODE) |
tildify-buffer | (&optional DONT-ASK) |
tildify-foreach-ignore-environments | (PAIRS CALLBACK BEG END) |
tildify-mode | (&optional ARG) |
tildify-region | (BEG END &optional DONT-ASK) |
tildify-space | () |
tildify-space-region-predicate | () |
tildify-tildify | (BEG END ASK) |