[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/ivy-hydra d837871 030/395: ivy.el (ivy-thing-at-point):
From: |
Basil L. Contovounesios |
Subject: |
[elpa] externals/ivy-hydra d837871 030/395: ivy.el (ivy-thing-at-point): Don't hang when pinging machine |
Date: |
Thu, 25 Feb 2021 08:31:24 -0500 (EST) |
branch: externals/ivy-hydra
commit d8378716f552174380542c404b12e61808ad8538
Author: Oleh Krehel <ohwoeowho@gmail.com>
Commit: Oleh Krehel <ohwoeowho@gmail.com>
ivy.el (ivy-thing-at-point): Don't hang when pinging machine
Call stack:
- ivy-thing-at-point
- file-name-at-point-functions
- ffap-guess-file-name-at-point
- ffap-guesser
- ffap-machine-at-point
- ffap-machine-p
Fixes #2311
---
ivy.el | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/ivy.el b/ivy.el
index 80d867c..425e60f 100644
--- a/ivy.el
+++ b/ivy.el
@@ -521,6 +521,8 @@ the restoring themselves.")
(defvar inhibit-message)
+(defvar ffap-machine-p-known)
+
(defun ivy-thing-at-point ()
"Return a string that corresponds to the current thing at point."
(substring-no-properties
@@ -532,7 +534,8 @@ the restoring themselves.")
(buffer-substring-no-properties beg (min end eol))))
((thing-at-point 'url))
((and (eq (ivy-state-collection ivy-last) #'read-file-name-internal)
- (let ((inhibit-message t))
+ (let ((inhibit-message t)
+ (ffap-machine-p-known 'reject))
(run-hook-with-args-until-success
'file-name-at-point-functions))))
((let ((s (thing-at-point 'symbol)))
(and (stringp s)
- [elpa] externals/ivy-hydra 096ff2a 020/395: counsel.el: Fix compiler warning, (continued)
- [elpa] externals/ivy-hydra 096ff2a 020/395: counsel.el: Fix compiler warning, Basil L. Contovounesios, 2021/02/25
- [elpa] externals/ivy-hydra 6ed0ad4 032/395: counsel.el (counsel-ag): Set :require-match to t., Basil L. Contovounesios, 2021/02/25
- [elpa] externals/ivy-hydra 03fb20e 033/395: ivy.el (ivy-help): Insert "describe-mode" outline, Basil L. Contovounesios, 2021/02/25
- [elpa] externals/ivy-hydra 66a8b1b 031/395: ivy.el (ivy--reset-state): Bind ivy-recursive-restore to nil, Basil L. Contovounesios, 2021/02/25
- [elpa] externals/ivy-hydra 76057b1 035/395: ivy-test.el (ivy--split): Add test, Basil L. Contovounesios, 2021/02/25
- [elpa] externals/ivy-hydra a6d80c1 003/395: counsel.el (counsel-git-grep-cmd-default): Do not include --full-name, Basil L. Contovounesios, 2021/02/25
- [elpa] externals/ivy-hydra c6f6f9a 005/395: ivy-overlay.el (ivy-overlay-show-after): Improve available-height calculation, Basil L. Contovounesios, 2021/02/25
- [elpa] externals/ivy-hydra c8120fb 016/395: counsel.el (counsel-cd): Add counsel-delete-process, Basil L. Contovounesios, 2021/02/25
- [elpa] externals/ivy-hydra 1578f52 022/395: ivy.el: Autoload ivy-hydra-read-action, Basil L. Contovounesios, 2021/02/25
- [elpa] externals/ivy-hydra f73cd70 023/395: counsel.el (counsel--find-file-matcher): Use counsel-find-file-ignore-regexp, Basil L. Contovounesios, 2021/02/25
- [elpa] externals/ivy-hydra d837871 030/395: ivy.el (ivy-thing-at-point): Don't hang when pinging machine,
Basil L. Contovounesios <=
- [elpa] externals/ivy-hydra aef2538 040/395: ivy-test.el (ivy--split): Add test, Basil L. Contovounesios, 2021/02/25
- [elpa] externals/ivy-hydra b603d89 045/395: counsel.el: Fix typos, Basil L. Contovounesios, 2021/02/25
- [elpa] externals/ivy-hydra e32f14d 067/395: targets/plain.el (ivy-use-virtual-buffers): Enable, Basil L. Contovounesios, 2021/02/25
- [elpa] externals/ivy-hydra 529cc08 071/395: ivy-test.el (ivy-swiper-wgrep): Disable on 24.5, Basil L. Contovounesios, 2021/02/25
- [elpa] externals/ivy-hydra 1b3d0a3 072/395: ivy.el (ivy--split): Fix for "\\" input, Basil L. Contovounesios, 2021/02/25
- [elpa] externals/ivy-hydra e2f1fe1 068/395: swiper.el (swiper--query-replace-updatefn): Fix bug, Basil L. Contovounesios, 2021/02/25
- [elpa] externals/ivy-hydra 4fbd5a9 081/395: ivy-test.el (ivy-completing-read): Add test, Basil L. Contovounesios, 2021/02/25
- [elpa] externals/ivy-hydra 83f04c0 092/395: counsel.el (counsel-flycheck): Add, Basil L. Contovounesios, 2021/02/25
- [elpa] externals/ivy-hydra 99c02cc 109/395: ivy.el (ivy-partial): Fix ivy-regex mistaken for ivy-text, Basil L. Contovounesios, 2021/02/25
- [elpa] externals/ivy-hydra 93d925d 121/395: counsel.el (counsel-mark--get-candidates): Extract, Basil L. Contovounesios, 2021/02/25