[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/ebdb eee0868 03/11: Downcase all-completions string whe
From: |
Eric Abrahamsen |
Subject: |
[elpa] externals/ebdb eee0868 03/11: Downcase all-completions string when searching |
Date: |
Sun, 22 Oct 2017 13:17:01 -0400 (EDT) |
branch: externals/ebdb
commit eee0868f2e528fdf9871f921a0ec1f0915154512
Author: Eric Abrahamsen <address@hidden>
Commit: Eric Abrahamsen <address@hidden>
Downcase all-completions string when searching
* ebdb.el (ebdb-search): ebdb-puthash downcases its strings, so
downcase the strings when doing all-completions, too. Actually,
maybe we shouldn't be downcasing strings on hash -- is that leftover
from when the hashtable was actually an obarray?
---
ebdb.el | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/ebdb.el b/ebdb.el
index ff948db..65fc15f 100644
--- a/ebdb.el
+++ b/ebdb.el
@@ -5189,7 +5189,8 @@ string must be a prefix of the sought string."
(stringp crit)
(string-prefix-p "^" crit)
(setq completed-strings
- (all-completions (substring crit 1) ebdb-hashtable)
+ (all-completions (downcase (substring crit 1))
+ ebdb-hashtable)
recs
(delq nil
(apply
- [elpa] externals/ebdb updated (aac31a3 -> db53550), Eric Abrahamsen, 2017/10/22
- [elpa] externals/ebdb c9acc38 04/11: Add ebdb-org-field-tags to ebdb-hash-extra-predicates, Eric Abrahamsen, 2017/10/22
- [elpa] externals/ebdb eee0868 03/11: Downcase all-completions string when searching,
Eric Abrahamsen <=
- [elpa] externals/ebdb fd66ed0 05/11: Add optional "shortcut" arg to ebdb-prompt-for-db, Eric Abrahamsen, 2017/10/22
- [elpa] externals/ebdb db53550 11/11: Protect against bug with timestamp/creation-dates, Eric Abrahamsen, 2017/10/22
- [elpa] externals/ebdb c56d9e2 02/11: Get ebdb-ispell working again, Eric Abrahamsen, 2017/10/22
- [elpa] externals/ebdb 121281d 01/11: Part one of migration from org-contacts, Eric Abrahamsen, 2017/10/22
- [elpa] externals/ebdb d4dbf34 07/11: New ebdb-record-change-name methods for strings, Eric Abrahamsen, 2017/10/22
- [elpa] externals/ebdb 59449b9 10/11: New defsubst ebdb-record-self, Eric Abrahamsen, 2017/10/22
- [elpa] externals/ebdb 2661406 09/11: Use cached record name string in cl-print-object, Eric Abrahamsen, 2017/10/22
- [elpa] externals/ebdb d806d7d 08/11: Compiler-inspired fixes, vol 335534, Eric Abrahamsen, 2017/10/22
- [elpa] externals/ebdb 90ff5d1 06/11: New MUA command for toggling record layout, Eric Abrahamsen, 2017/10/22