[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/easy-escape fb73cb5 11/27: Update README and add packag
From: |
ELPA Syncer |
Subject: |
[elpa] externals/easy-escape fb73cb5 11/27: Update README and add package header |
Date: |
Tue, 14 Sep 2021 17:57:30 -0400 (EDT) |
branch: externals/easy-escape
commit fb73cb50d81a0aa1623d493e6e900fadf44a8de6
Author: Clément Pit--Claudel <clement.pitclaudel@live.com>
Commit: Clément Pit--Claudel <clement.pitclaudel@live.com>
Update README and add package header
---
README.md | 20 +++++++++++---------
easy-escape.el | 11 ++++++-----
2 files changed, 17 insertions(+), 14 deletions(-)
diff --git a/README.md b/README.md
index e0e572a..e1623b8 100644
--- a/README.md
+++ b/README.md
@@ -45,17 +45,19 @@ This will be valid if the package gets accepted on MELPA:
## Fine-tuning
-If you find the distinction between the fontified double-slash and the
+* `easy-escape-minor-mode` is only enabled for lisp derivatives by default. To
enable in other modes, use `(add-hook 'YOUR-MODE-HOOK 'easy-escape-minor-mode)`.
+
+* If you find the distinction between the fontified double-slash and the
single slash too subtle, try the following:
-* Adjust the foreground of `easy-escape-face`:
+ * Adjust the foreground of `easy-escape-face`:
- ```elisp
- (set-face-attribute 'easy-escape-face nil :foreground "red")
- ```
+ ```elisp
+ (set-face-attribute 'easy-escape-face nil :foreground "red")
+ ```
-* Set `easy-escape-character` to a different character:
+ * Set `easy-escape-character` to a different character:
- ```elisp
- (setq easy-escape-character ?╲)
- ```
+ ```elisp
+ (setq easy-escape-character ?╲)
+ ```
diff --git a/easy-escape.el b/easy-escape.el
index 1e28d7f..297e613 100644
--- a/easy-escape.el
+++ b/easy-escape.el
@@ -1,8 +1,10 @@
;;; easy-escape.el --- Improve readability of escape characters in regular
expressions -*- lexical-binding:t -*-
-;; Copyright (C) 2015 Clément Pit--Claudel
+;; Copyright (C) 2015 Clément Pit--Claudel
;; Author: Clément Pit--Claudel <clement.pitclaudel@live.com>
-;; URL: https://github.com/cpitclaudel/company-coq
+;; Version: 0.1
+;; Keywords: convenience, lisp, tools
+;; URL: https://github.com/cpitclaudel/easy-escape
;; This program is free software; you can redistribute it and/or modify
;; it under the terms of the GNU General Public License as published by
@@ -17,14 +19,13 @@
;; You should have received a copy of the GNU General Public License
;; along with this program. If not, see <http://www.gnu.org/licenses/>.
-
;;; Commentary:
;; `easy-escape-minor-mode' composes double backslashes (escape characters)
into
;; single backslashes, and highlights them to improve readability.
;;
;; For example, `easy-escape` displays "\\(?:\\_<\\\\newcommand\\_>\\s-*\\)?"
-;; as "\(?:\_<\\newcommand\_>\s-*\)?". The underlying text is not modified.
+;; as "\(?:\_<\\newcommand\_>\s-*\)?". The underlying text is not modified.
;;
;; The default it to use a single \ character instead of two, but the character
;; used and its color can be customized using `easy-escape-face' and
@@ -71,7 +72,7 @@ Most of these characters require non-standard fonts to
display properly, however
(defconst easy-escape--keywords
'((easy-escape--mark-escapes (0 (easy-escape--compose (match-beginning 0)))
(0 'easy-escape-face append)))
- "Font-lock keyword list used internally")
+ "Font-lock keyword list used internally.")
(defun easy-escape--in-string-p (pos)
"Indicate whether POS is inside of a string."
- [elpa] externals/easy-escape baa6091 01/27: Initial commit, (continued)
- [elpa] externals/easy-escape baa6091 01/27: Initial commit, ELPA Syncer, 2021/09/14
- [elpa] externals/easy-escape b7d6596 06/27: Add copyright notice, ELPA Syncer, 2021/09/14
- [elpa] externals/easy-escape ad76064 07/27: Add screenshots, ELPA Syncer, 2021/09/14
- [elpa] externals/easy-escape c7ee1cb 02/27: Add autoload and clean up easy-escape-character list, ELPA Syncer, 2021/09/14
- [elpa] externals/easy-escape caea5e0 04/27: Rename to easy-escape-minor-mode, ELPA Syncer, 2021/09/14
- [elpa] externals/easy-escape c35994a 08/27: Add README, ELPA Syncer, 2021/09/14
- [elpa] externals/easy-escape f83079c 09/27: Fix image name, ELPA Syncer, 2021/09/14
- [elpa] externals/easy-escape bcdc7f9 13/27: Remove the lexical-binding declaration, ELPA Syncer, 2021/09/14
- [elpa] externals/easy-escape a379bdc 05/27: Revert changes when mode is disabled, ELPA Syncer, 2021/09/14
- [elpa] externals/easy-escape cb88404 10/27: Remove example from README, ELPA Syncer, 2021/09/14
- [elpa] externals/easy-escape fb73cb5 11/27: Update README and add package header,
ELPA Syncer <=
- [elpa] externals/easy-escape 2510683 16/27: Add emacs-lisp hook to README, ELPA Syncer, 2021/09/14
- [elpa] externals/easy-escape c87d76e 17/27: Suppress spurious warning, ELPA Syncer, 2021/09/14
- [elpa] externals/easy-escape a6449f2 20/27: Clean up screenshot code, ELPA Syncer, 2021/09/14
- [elpa] externals/easy-escape 213d339 14/27: Don't use font-lock-flush in Emacs < 25, ELPA Syncer, 2021/09/14
- [elpa] externals/easy-escape 8623aa9 18/27: Hide backslashes before '(', ')', and '|', ELPA Syncer, 2021/09/14
- [elpa] externals/easy-escape 02f4bfc 03/27: Fix mode lighter, ELPA Syncer, 2021/09/14
- [elpa] externals/easy-escape eacfc5d 12/27: Don't enable by default, ELPA Syncer, 2021/09/14
- [elpa] externals/easy-escape fb3e713 15/27: Fix typo in README, ELPA Syncer, 2021/09/14
- [elpa] externals/easy-escape 63fa5fc 19/27: Update screenshot, ELPA Syncer, 2021/09/14
- [elpa] externals/easy-escape 6f38e00 21/27: Fix a typo in a docstring, ELPA Syncer, 2021/09/14