[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] master 27c913a 040/173: Don't use `require-match t' in normal bac
From: |
Dmitry Gutov |
Subject: |
[elpa] master 27c913a 040/173: Don't use `require-match t' in normal backends |
Date: |
Thu, 23 Jun 2016 00:28:36 +0000 (UTC) |
branch: master
commit 27c913afb9446971d1e0f1f3b272e5650a6206c5
Author: Dmitry Gutov <address@hidden>
Commit: Dmitry Gutov <address@hidden>
Don't use `require-match t' in normal backends
Fixes #351
---
company-abbrev.el | 5 ++---
company-tempo.el | 3 +--
company.el | 7 ++++---
3 files changed, 7 insertions(+), 8 deletions(-)
diff --git a/company-abbrev.el b/company-abbrev.el
index a454aaa..0a849ad 100644
--- a/company-abbrev.el
+++ b/company-abbrev.el
@@ -1,6 +1,6 @@
;;; company-abbrev.el --- company-mode completion back-end for abbrev
-;; Copyright (C) 2009-2011 Free Software Foundation, Inc.
+;; Copyright (C) 2009-2011, 2015 Free Software Foundation, Inc.
;; Author: Nikolaj Schumacher
@@ -44,8 +44,7 @@
(candidates (nconc
(delete "" (all-completions arg global-abbrev-table))
(delete "" (all-completions arg local-abbrev-table))))
- (meta (abbrev-expansion arg))
- (require-match t)))
+ (meta (abbrev-expansion arg))))
(provide 'company-abbrev)
;;; company-abbrev.el ends here
diff --git a/company-tempo.el b/company-tempo.el
index ac91988..09d1dfb 100644
--- a/company-tempo.el
+++ b/company-tempo.el
@@ -1,6 +1,6 @@
;;; company-tempo.el --- company-mode completion back-end for tempo
-;; Copyright (C) 2009-2011 Free Software Foundation, Inc.
+;; Copyright (C) 2009-2011, 2015 Free Software Foundation, Inc.
;; Author: Nikolaj Schumacher
@@ -56,7 +56,6 @@
(prefix (or (car (tempo-find-match-string tempo-match-finder)) ""))
(candidates (all-completions arg (tempo-build-collection)))
(meta (company-tempo-meta arg))
- (require-match t)
(sorted t)))
(provide 'company-tempo)
diff --git a/company.el b/company.el
index ec42103..8bb7ea3 100644
--- a/company.el
+++ b/company.el
@@ -389,9 +389,10 @@ will be used when rendering the popup. This command only
makes sense for
backends that provide non-prefix completion.
`require-match': If this returns t, the user is not allowed to enter
-anything not offered as a candidate. Use with care! The default value nil
-gives the user that choice with `company-require-match'. Return value
-`never' overrides that option the other way around.
+anything not offered as a candidate. Please don't use that value in normal
+backends. The default value nil gives the user that choice with
+`company-require-match'. Return value `never' overrides that option the
+other way around.
`init': Called once for each buffer. The back-end can check for external
programs and files and load any required libraries. Raising an error here
- [elpa] master 7ad049d 031/173: Fix the svg url, (continued)
- [elpa] master 7ad049d 031/173: Fix the svg url, Dmitry Gutov, 2016/06/22
- [elpa] master 5296784 038/173: company-template: Add a summary line, Dmitry Gutov, 2016/06/22
- [elpa] master 5fc4a9a 034/173: Update company-clang-objc-templatify in line with the previous change, Dmitry Gutov, 2016/06/22
- [elpa] master abe46da 037/173: company-files: Skip disconnected remote completions for "/xyz", Dmitry Gutov, 2016/06/22
- [elpa] master 1f1925f 005/173: company-backends: Make the version check more conservative, Dmitry Gutov, 2016/06/22
- [elpa] master 9486563 035/173: Accept markers in the data returned by c-a-p-f functions, Dmitry Gutov, 2016/06/22
- [elpa] master c08dbc1 039/173: Don't use `sit-for', Dmitry Gutov, 2016/06/22
- [elpa] master 1dce769 036/173: company-version: Require find-func, Dmitry Gutov, 2016/06/22
- [elpa] master 5b736e9 024/173: Introduce company-dabbrev-ignore-invisible, Dmitry Gutov, 2016/06/22
- [elpa] master b20726c 026/173: string-prefix-p signals error on nil in Emacs < 25, Dmitry Gutov, 2016/06/22
- [elpa] master 27c913a 040/173: Don't use `require-match t' in normal backends,
Dmitry Gutov <=
- [elpa] master 4ba4264 047/173: company--begin-new: Reorder statements, Dmitry Gutov, 2016/06/22
- [elpa] master 9c8364d 049/173: company-keywords: Support scala-mode, Dmitry Gutov, 2016/06/22
- [elpa] master d2ff1dc 046/173: company--begin-new: Call `company-cancel' in the unique case, Dmitry Gutov, 2016/06/22
- [elpa] master a053848 050/173: Sort alphabetically, to appease a test, Dmitry Gutov, 2016/06/22
- [elpa] master 25cf452 060/173: Don't start automatically during macro recording, Dmitry Gutov, 2016/06/22
- [elpa] master 7419d5f 058/173: Update the tests, Dmitry Gutov, 2016/06/22
- [elpa] master 8202638 041/173: Document ignore-case backend command, Dmitry Gutov, 2016/06/22
- [elpa] master d463642 062/173: company-etags-find-table: fix fallback tags file expansion, Dmitry Gutov, 2016/06/22
- [elpa] master 5f8e6eb 066/173: Merge pull request #397 from bremner/make-elpa-fix, Dmitry Gutov, 2016/06/22
- [elpa] master 6e88174 053/173: Don't cut off the last character from a wrapped line, Dmitry Gutov, 2016/06/22