[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] externals/caml 38c4de4 082/197: bricoles
From: |
Stefan Monnier |
Subject: |
[nongnu] externals/caml 38c4de4 082/197: bricoles |
Date: |
Sat, 21 Nov 2020 01:19:43 -0500 (EST) |
branch: externals/caml
commit 38c4de40eaf0f523bbdb2631b788c00a32ab2ad0
Author: Damien Doligez <damien.doligez-inria.fr>
Commit: Damien Doligez <damien.doligez-inria.fr>
bricoles
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5743
f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
---
caml-types.el | 7 +++----
1 file changed, 3 insertions(+), 4 deletions(-)
diff --git a/caml-types.el b/caml-types.el
index b0f1e27..3f3ef4b 100644
--- a/caml-types.el
+++ b/caml-types.el
@@ -194,8 +194,7 @@ See `caml-types-location-re' for annotation file format.
accu)))
(setq stack (cons node stack))))))
(if (null stack)
- (let ((dummy-pos (vector "" 0 0 0)))
- (vector dummy-pos dummy-pos ()))
+ (error "no annotations found for this source file")
(let* ((left-pos (elt (car (last stack)) 0))
(right-pos (elt (car stack) 1)))
(if (null (cdr stack))
@@ -253,7 +252,7 @@ See `caml-types-location-re' for annotation file format.
(nright (elt node 1))
(left ())
(right ())
- (i 3))
+ i)
(cond
((not (caml-types-pos-inside targ-pos node))
(if (not (caml-types-pos<= nleft targ-pos))
@@ -352,7 +351,7 @@ and its type is displayed in the minibuffer, until the move
is released."
(type-buf (caml-types-find-file type-file))
(target-line) (target-bol)
target-pos
- Left Right limits cnum loc mes ty-start ty-end
+ Left Right limits cnum node mes ty-start ty-end
(tree caml-types-annotation-tree)
)
(caml-types-preprocess type-file type-buf)
- [nongnu] externals/caml 5a9f7c6 026/197: tabs -> spaces, (continued)
- [nongnu] externals/caml 5a9f7c6 026/197: tabs -> spaces, Stefan Monnier, 2020/11/21
- [nongnu] externals/caml 8364471 027/197: changed label_pattern syntax, Stefan Monnier, 2020/11/21
- [nongnu] externals/caml 97c1bb7 037/197: highlight ignore, Stefan Monnier, 2020/11/21
- [nongnu] externals/caml 32f0f75 056/197: Updated caml-help.el, Stefan Monnier, 2020/11/21
- [nongnu] externals/caml 1a97395 057/197: detabisation, Stefan Monnier, 2020/11/21
- [nongnu] externals/caml 758702f 060/197: Several bug fixes and improvements in caml-help., Stefan Monnier, 2020/11/21
- [nongnu] externals/caml bb899a1 069/197: amelioration des locations, Stefan Monnier, 2020/11/21
- [nongnu] externals/caml e149514 072/197: PR#1704, Stefan Monnier, 2020/11/21
- [nongnu] externals/caml 850c621 048/197: Made run-caml autoload in caml.el, Stefan Monnier, 2020/11/21
- [nongnu] externals/caml 778e3cf 079/197: utilisation d'un arbre, Stefan Monnier, 2020/11/21
- [nongnu] externals/caml 38c4de4 082/197: bricoles,
Stefan Monnier <=
- [nongnu] externals/caml 432e972 081/197: duh, Stefan Monnier, 2020/11/21
- [nongnu] externals/caml 285775f 080/197: plus rapide, Stefan Monnier, 2020/11/21
- [nongnu] externals/caml e1a8649 084/197: - added file caml-xemacs.el for XEmacs compatibility., Stefan Monnier, 2020/11/21
- [nongnu] externals/caml a94bd19 083/197: hash-table des annotations, Stefan Monnier, 2020/11/21
- [nongnu] externals/caml d7bde19 088/197: Modified `caml-types-explore' so that all well-typed subexpressions of the, Stefan Monnier, 2020/11/21
- [nongnu] externals/caml 570c595 089/197: installer caml-emacs.el, Stefan Monnier, 2020/11/21
- [nongnu] externals/caml ab2d4cc 107/197: fusion des modifs de 3.08.4, Stefan Monnier, 2020/11/21
- [nongnu] externals/caml 347ceba 108/197: PR#3767 features 1 and 2: display full location of events instead of one position, Stefan Monnier, 2020/11/21
- [nongnu] externals/caml 4238e85 110/197: fusion des changements 3.09.3 -> release309_merge310, Stefan Monnier, 2020/11/21
- [nongnu] externals/caml 074d219 106/197: fusion des changements jusqu'a 3.08.3, Stefan Monnier, 2020/11/21