94

GitHub - sachac/artbollocks-mode: Emacs mode for highlighting weasel words

 6 years ago
source link: https://github.com/sachac/artbollocks-mode
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
artbollocks-mode.el
===================

artbollocks-mode.el is an Emacs minor mode for avoiding cliches and bad grammar
when writing about art (or other topics).

Installation
============

Place artbollocks-mode.el in a directory on Emacs' load-path, and add the
following to your .emacs file:

(autoload 'artbollocks-mode "artbollocks-mode")

If you wish artbollocks-mode to be loaded automatically, add the following
to your .emacs file immediately after the autoload statement:

(add-hook 'text-mode-hook 'artbollocks-mode)

Manual Usage
============

If you do not add the add-hook statements to your .emacs file, you will have to
enable artbollocks-mode manually by typing the following in Emacs:

M-x artbollocks-mode

NOTE: If you manually enable artbollocks-mode, you might need to force
re-fontification initially. To do so, type the following in Emacs:

M-x font-lock-fontify-buffer

Art Bollocks Mode highlights those pesky weasel words that slip into
writing.

To load it automatically, add this to your ~/.emacs.d/init.el or ~/.emacs:

(add-to-list 'load-path "/wherever/you/extracted/artbollocks-mode")
(require 'artbollocks-mode)
(add-hook 'text-mode-hook 'artbollocks-mode)

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK