[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] 264/352: Ensure case-fold-search=t in the example email detect fu
From: |
Stefan Monnier |
Subject: |
[elpa] 264/352: Ensure case-fold-search=t in the example email detect function |
Date: |
Mon, 07 Jul 2014 14:04:48 +0000 |
monnier pushed a commit to branch master
in repository elpa.
commit 5e891ec9696e347dbcad13d65fb18175f91e0cda
Author: Teemu Likonen <address@hidden>
Date: Wed Jun 29 12:21:19 2011 +0300
Ensure case-fold-search=t in the example email detect function
---
README | 3 ++-
wcheck-mode.el | 3 ++-
2 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/README b/README
index 83b68bb..b7381d3 100644
--- a/README
+++ b/README
@@ -276,7 +276,8 @@ start composing mail to that address. Here's the language
configuration:
Then the needed functions:
(defun email-address-detect (strings)
- (let (addresses)
+ (let ((case-fold-search t)
+ addresses)
(dolist (string strings addresses)
(when (string-match "\\<[a-z.-]+\\>@\\<[a-z.-]+\\>" string)
(push (match-string-no-properties 0 string) addresses)))))
diff --git a/wcheck-mode.el b/wcheck-mode.el
index 143562e..d17852d 100644
--- a/wcheck-mode.el
+++ b/wcheck-mode.el
@@ -700,7 +700,8 @@ language configuration:
Then the needed functions:
(defun email-address-detect (strings)
- (let (addresses)
+ (let ((case-fold-search t)
+ addresses)
(dolist (string strings addresses)
(when (string-match \"\
\\\\=\\<[a-z.-]+\\\\=\\>@\\\\=\\<[a-z.-]+\\\\=\\>\" string)
- [elpa] 252/352: Rephrase grouping construct \(\) description in doc string, (continued)
- [elpa] 252/352: Rephrase grouping construct \(\) description in doc string, Stefan Monnier, 2014/07/07
- [elpa] 247/352: Escape \\< with \\=\\< in wcheck-language-data doc string, Stefan Monnier, 2014/07/07
- [elpa] 248/352: Clearer reference to the license text, Stefan Monnier, 2014/07/07
- [elpa] 255/352: Copy examples from wcheck-language-data doc to README, Stefan Monnier, 2014/07/07
- [elpa] 254/352: Rephrase some parts of README, Stefan Monnier, 2014/07/07
- [elpa] 261/352: Merge branch 'action', Stefan Monnier, 2014/07/07
- [elpa] 258/352: README: Move copyright and license text to the end, Stefan Monnier, 2014/07/07
- [elpa] 256/352: Add link to the GPL3 license text in www.gnu.org, Stefan Monnier, 2014/07/07
- [elpa] 260/352: The "args" option can no longer be a string, Stefan Monnier, 2014/07/07
- [elpa] 263/352: README: Add a section about source code repository, Stefan Monnier, 2014/07/07
- [elpa] 264/352: Ensure case-fold-search=t in the example email detect function,
Stefan Monnier <=
- [elpa] 277/352: Accept any value for case-fold option in customize system, Stefan Monnier, 2014/07/07
- [elpa] 268/352: Add a note for programmers about wcheck-marked-text-at, Stefan Monnier, 2014/07/07
- [elpa] 279/352: Remove examples from wcheck-language-data doc and replace it with URL, Stefan Monnier, 2014/07/07
- [elpa] 272/352: Revert "Emphasize wcheck-language-data-defaults in read-or-skip-faces doc", Stefan Monnier, 2014/07/07
- [elpa] 280/352: Add a table of contents to README file, Stefan Monnier, 2014/07/07
- [elpa] 276/352: Put quotes `...' around the example function add-word-to-dictionary, Stefan Monnier, 2014/07/07
- [elpa] 278/352: New feature: the only action menu item can be chosen automatically, Stefan Monnier, 2014/07/07
- [elpa] 269/352: Clarify that OPERATION-MODE can be also be nil, Stefan Monnier, 2014/07/07
- [elpa] 281/352: State that action-autoselect=nil is the default, Stefan Monnier, 2014/07/07
- [elpa] 282/352: Replace nested IF structure with COND in wcheck-actions, Stefan Monnier, 2014/07/07