[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#17284: Host name completion in shell mode take 45 seconds
From: |
Stefan Monnier |
Subject: |
bug#17284: Host name completion in shell mode take 45 seconds |
Date: |
Fri, 03 Apr 2015 09:28:44 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) |
>> pcmpl-ssh-known-hosts: Use `char-before' instead of `looking-back'.
> Couldn't the byte-compiler warn when `looking-back' is used without
> specifying LIMIT? Making LIMIT non-optional seems too harsh.
diff --git a/lisp/subr.el b/lisp/subr.el
index 163a1c4..16a3440 100644
--- a/lisp/subr.el
+++ b/lisp/subr.el
@@ -3485,6 +3484,7 @@ LIMIT.
As a general recommendation, try to avoid using `looking-back'
wherever possible, since it is slow."
+ (declare (advertised-calling-convention (regexp limit &optional greedy)))
(let ((start (point))
(pos
(save-excursion
-- Stefan
- bug#17284: Host name completion in shell mode take 45 seconds, Svend Sorensen, 2015/04/02
- bug#17284: Host name completion in shell mode take 45 seconds, Nicolas Richard, 2015/04/03
- bug#17284: Host name completion in shell mode take 45 seconds, Svend Sorensen, 2015/04/03
- bug#17284: Host name completion in shell mode take 45 seconds, Nicolas Richard, 2015/04/03
- bug#17284: Host name completion in shell mode take 45 seconds, martin rudalics, 2015/04/03
- bug#17284: Host name completion in shell mode take 45 seconds,
Stefan Monnier <=
- bug#17284: Host name completion in shell mode take 45 seconds, martin rudalics, 2015/04/04
- bug#17284: Host name completion in shell mode take 45 seconds, Stefan Monnier, 2015/04/04
- bug#17284: Host name completion in shell mode take 45 seconds, martin rudalics, 2015/04/04
- bug#17284: Host name completion in shell mode take 45 seconds, Dmitry Gutov, 2015/04/03
- bug#17284: Host name completion in shell mode take 45 seconds, Nicolas Richard, 2015/04/03
- bug#17284: Host name completion in shell mode take 45 seconds, Drew Adams, 2015/04/03
- bug#17284: Host name completion in shell mode take 45 seconds, martin rudalics, 2015/04/04
- bug#17284: Host name completion in shell mode take 45 seconds, Drew Adams, 2015/04/04
- bug#17284: Host name completion in shell mode take 45 seconds, martin rudalics, 2015/04/04
- bug#17284: Host name completion in shell mode take 45 seconds, Drew Adams, 2015/04/04