[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] 12/14: company--posn-col-row: add comment
From: |
Dmitry Gutov |
Subject: |
[elpa] 12/14: company--posn-col-row: add comment |
Date: |
Sat, 13 Sep 2014 12:19:04 +0000 |
dgutov pushed a commit to branch master
in repository elpa.
commit cf60a6b635c81feed633c683931b9575df460a8b
Author: Dmitry Gutov <address@hidden>
Date: Sat Sep 13 16:14:46 2014 +0400
company--posn-col-row: add comment
---
company.el | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/company.el b/company.el
index 0991f6d..af125d0 100644
--- a/company.el
+++ b/company.el
@@ -773,6 +773,8 @@ means that `company-mode' is always turned on except in
`message-mode' buffers."
(defun company--posn-col-row (posn)
(let ((col (car (posn-col-row posn)))
+ ;; `posn-col-row' doesn't work well with lines of different height.
+ ;; `posn-actual-col-row' doesn't handle multiple-width characters.
(row (cdr (posn-actual-col-row posn))))
(when (and header-line-format (version< emacs-version "24.3.93.3"))
;; http://debbugs.gnu.org/18384
- [elpa] branch master updated (2ee393e -> 3c14efe), Dmitry Gutov, 2014/09/13
- [elpa] 04/14: Add test for the previous commit, Dmitry Gutov, 2014/09/13
- [elpa] 07/14: Use posn-actual-col-row to calculate the row, Dmitry Gutov, 2014/09/13
- [elpa] 08/14: company-complete-number: Make interactive, read the pressed digit, Dmitry Gutov, 2014/09/13
- [elpa] 09/14: company-gtags-modes: Turn into defcustom, Dmitry Gutov, 2014/09/13
- [elpa] 10/14: company-with-candidate-inserted: restore buffer modification status, Dmitry Gutov, 2014/09/13
- [elpa] 06/14: Don't use end-of-buffer-workaround, Dmitry Gutov, 2014/09/13
- [elpa] 13/14: Release 0.8.4, Dmitry Gutov, 2014/09/13
- [elpa] 01/14: company-begin-commands: include some cc-mode commands, Dmitry Gutov, 2014/09/13
- [elpa] 12/14: company--posn-col-row: add comment,
Dmitry Gutov <=
- [elpa] 05/14: Adjust for debbugs:18384 being fixed now, Dmitry Gutov, 2014/09/13
- [elpa] 11/14: Only use company-ropemacs when ropemacs-mode is on, Dmitry Gutov, 2014/09/13
- [elpa] 14/14: Merge commit '2ef6263c65a109b4d36503e6484fdbf4cb307d0f' from company, Dmitry Gutov, 2014/09/13
- [elpa] 03/14: company--posn-col-row: incf instead of decf for non-nil h-l-f, Dmitry Gutov, 2014/09/13
- [elpa] 02/14: company--posn-col-row: use `posn-col-row', Dmitry Gutov, 2014/09/13