[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] 294/352: Put case-fold in language options rather than email pars
From: |
Stefan Monnier |
Subject: |
[elpa] 294/352: Put case-fold in language options rather than email parser function |
Date: |
Mon, 07 Jul 2014 14:05:08 +0000 |
monnier pushed a commit to branch master
in repository elpa.
commit 328c6eb9df74a00172ca9e19a455850d3e5c698d
Author: Teemu Likonen <address@hidden>
Date: Wed Jul 6 16:32:28 2011 +0300
Put case-fold in language options rather than email parser function
Now that language option "case-fold" is effective with checker function
(and all) change the email example in README.org so that the option is
set in language options rather than in the email checker function.
---
README.org | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/README.org b/README.org
index 80437d7..68e0ded 100644
--- a/README.org
+++ b/README.org
@@ -287,6 +287,7 @@ start composing mail to that address. Here's the language
configuration:
("email"
(program . email-address-detect)
(face . highlight)
+ (case-fold . t)
(regexp-start . "\\<")
(regexp-body . "address@hidden")
(regexp-end . "\\>")
@@ -299,8 +300,7 @@ Then the needed functions:
#+BEGIN_SRC emacs-lisp
(defun email-address-detect (strings)
- (let ((case-fold-search t)
- addresses)
+ (let (addresses)
(dolist (string strings addresses)
(when (string-match "\\<[a-z.-]+\\>@\\<[a-z.-]+\\>" string)
(push (match-string-no-properties 0 string) addresses)))))
- [elpa] 331/352: Remove "mode" from "Speck mode" link text, (continued)
- [elpa] 331/352: Remove "mode" from "Speck mode" link text, Stefan Monnier, 2014/07/07
- [elpa] 335/352: Fix typo in the doc string of wcheck-language-date, Stefan Monnier, 2014/07/07
- [elpa] 332/352: Add link to Marmalade package archive, Stefan Monnier, 2014/07/07
- [elpa] 352/352: * wcheck-mode: New package., Stefan Monnier, 2014/07/07
- [elpa] 299/352: Version 2011.07.27, Stefan Monnier, 2014/07/07
- [elpa] 290/352: Change README link to point to a newer commit, Stefan Monnier, 2014/07/07
- [elpa] 259/352: Rephrase documentation and comments, Stefan Monnier, 2014/07/07
- [elpa] 321/352: Make README.org more org-export-friendly, Stefan Monnier, 2014/07/07
- [elpa] 293/352: Remove duplicate word "function" from doc string, Stefan Monnier, 2014/07/07
- [elpa] 324/352: Leave author and timestamp out from exported README.org, Stefan Monnier, 2014/07/07
- [elpa] 294/352: Put case-fold in language options rather than email parser function,
Stefan Monnier <=
- [elpa] 206/352: Käsitellään oikolukuehdotusten virheet toisella tavalla, Stefan Monnier, 2014/07/07
- [elpa] 347/352: Add elpa pkg file to the repository (version 2014.5.17), Stefan Monnier, 2014/07/07
- [elpa] 178/352: Käytetään Emacs Lisp -tiedostojen vakiintuneita otsakkeita, Stefan Monnier, 2014/07/07
- [elpa] 315/352: Update copyright year to 2013, Stefan Monnier, 2014/07/07
- [elpa] 154/352: Optimoidaan hieman funktiota wcheck-collect-faces, Stefan Monnier, 2014/07/07
- [elpa] 165/352: Lisätään autoload-vihje funktiolle wcheck-spelling-suggestions, Stefan Monnier, 2014/07/07
- [elpa] 242/352: New feature: call custom functions from suggestion menu, Stefan Monnier, 2014/07/07
- [elpa] 153/352: Siirretään ajastimen käynnistys ja sammutus omiin funktioihinsa, Stefan Monnier, 2014/07/07
- [elpa] 295/352: Minor README formatting, Stefan Monnier, 2014/07/07
- [elpa] 343/352: Delete obsolete variable wcheck-read-or-skip-faces, Stefan Monnier, 2014/07/07