[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/org-contacts 85dd965906 126/154: Remove testing code
From: |
ELPA Syncer |
Subject: |
[elpa] externals/org-contacts 85dd965906 126/154: Remove testing code |
Date: |
Fri, 9 Sep 2022 15:58:54 -0400 (EDT) |
branch: externals/org-contacts
commit 85dd965906b91a4fa9e6450385be0c5535572dea
Author: stardiviner <numbchild@gmail.com>
Commit: stardiviner <numbchild@gmail.com>
Remove testing code
---
org-contacts.el | 29 ++---------------------------
1 file changed, 2 insertions(+), 27 deletions(-)
diff --git a/org-contacts.el b/org-contacts.el
index 55054bdad6..7f819df441 100644
--- a/org-contacts.el
+++ b/org-contacts.el
@@ -676,7 +676,8 @@ description."
(cons (current-buffer) position))))
(defun org-contacts-org-complete-function ()
- "Function used in `completion-at-point-functions' in `org-mode' to complete
@name."
+ "Function used in `completion-at-point-functions' in `org-mode' to complete
@name.
+Usage: (add-hook 'completion-at-point-functions
'org-contacts-org-complete-function nil 'local)"
(when-let* ((end (point))
(begin (save-excursion (skip-chars-backward "[:alnum:]@")
(point)))
(symbol (buffer-substring-no-properties begin end))
@@ -711,32 +712,6 @@ description."
;; :company-location #'org-contacts-org-complete--location-function
))))
-(add-hook 'completion-at-point-functions 'org-contacts-org-complete-function
nil 'local)
-
-(try-completion
- "tri"
- (mapcar
- (lambda (contact) (plist-get contact :name))
- (org-contacts--all-contacts)))
-
-(all-completions "Chr" (nth 2 (org-contacts-org-complete-function)))
-
-;; @Chris
-
-;; (type-of
-;; (all-completions
-;; "tri"
-;; (mapcar
-;; (lambda (contact) (plist-get contact :name))
-;; (org-contacts--all-contacts))
-;; 'stringp))
-
-;;; TEST
-;;; @chris
-;; (add-hook 'completion-at-point-functions
'org-contacts-org-complete-function nil 'local)
-;; (remove-hook 'completion-at-point-functions
'org-contacts-completion-at-point 'local)
-;; (add-to-list 'completion-at-point-functions
'org-contacts-org-complete-function)
-
(defun org-contacts-gnus-get-name-email ()
"Get name and email address from Gnus message."
(if (gnus-alive-p)
- [elpa] externals/org-contacts c8ceb5290e 099/154: org-contacts.el: Add support for org-id generated link., (continued)
- [elpa] externals/org-contacts c8ceb5290e 099/154: org-contacts.el: Add support for org-id generated link., ELPA Syncer, 2022/09/09
- [elpa] externals/org-contacts 0107e8ecdb 100/154: org-contacts.el: Inherit face from org-link, ELPA Syncer, 2022/09/09
- [elpa] externals/org-contacts af3a5cb6fa 102/154: org-contacts.el: replace obsolete alias `loop' with `cl-loop', ELPA Syncer, 2022/09/09
- [elpa] externals/org-contacts 2c0bb90259 097/154: contrib/lisp/org-contacts.el: Add stardiviner as the maintainer, ELPA Syncer, 2022/09/09
- [elpa] externals/org-contacts ca3b10d5a8 098/154: org-contacts.el: Fix org-store-link error caused by org-contacts, ELPA Syncer, 2022/09/09
- [elpa] externals/org-contacts 0e33f05c4e 105/154: org-contacts.el: Fix store link function does not return link., ELPA Syncer, 2022/09/09
- [elpa] externals/org-contacts 3d9181c0c4 104/154: org-contacts.el: Use `bound-and-true-p' to check (unbound) var, ELPA Syncer, 2022/09/09
- [elpa] externals/org-contacts 3fa6b4c36b 120/154: Add package introduction in README, ELPA Syncer, 2022/09/09
- [elpa] externals/org-contacts 507e48cbd1 116/154: add README.org, ELPA Syncer, 2022/09/09
- [elpa] externals/org-contacts 986a5b3280 109/154: Prefer HTTPS to HTTP in most links, ELPA Syncer, 2022/09/09
- [elpa] externals/org-contacts 85dd965906 126/154: Remove testing code,
ELPA Syncer <=
- [elpa] externals/org-contacts 39c7aba7dc 127/154: Remove all-completions code logic, ELPA Syncer, 2022/09/09
- [elpa] externals/org-contacts 0501463909 149/154: Also detect whether org API function `org-add-link-type' available., ELPA Syncer, 2022/09/09
- [elpa] externals/org-contacts fe466ab2ae 139/154: Add org-mode mailto: link type :complete supporting, ELPA Syncer, 2022/09/09
- [elpa] externals/org-contacts 03a563b471 135/154: Add autoload cookies for org-link functions, ELPA Syncer, 2022/09/09
- [elpa] externals/org-contacts 3e075cdee4 123/154: Fix most of the compiler wanrings and add `Version:', ELPA Syncer, 2022/09/09
- [elpa] externals/org-contacts 919511eb86 154/154: Adding org-contacts to GNU ELPA, ELPA Syncer, 2022/09/09
- [elpa] externals/org-contacts 2916aae933 144/154: Fix warning: Invalid face reference: quote. Invalid face attribute :inherit 'org-link, ELPA Syncer, 2022/09/09
- [elpa] externals/org-contacts 84436fd7bc 136/154: Fix org-contacts file narrowed not widen recovered bug., ELPA Syncer, 2022/09/09
- [elpa] externals/org-contacts e64df72db4 094/154: Rationalize `org-link-(un)escape', ELPA Syncer, 2022/09/09
- [elpa] externals/org-contacts 478dfcc9b7 096/154: org-contacts.el: Add new link type "contact:", ELPA Syncer, 2022/09/09