Warning: The tag-visit-function `ecb-tag-visit-smart-tag-start' moves point outside of tag

Dan Kruchinin <[email protected]>
Newsgroups gmane.emacs.code-browser
Message-ID <20080709053928.GA2836@midgard>
Hi all.

After building last version of ecb from cvs I get "Warning: The tag-visit-function `ecb-tag-visit-smart-tag-start' moves point outside of tag - ignored"
when I jump from ecb frame to the "variable" in current buffer(only when "variable" is a *macro*).
For example I have the following code:
===
#include <stdio.h>

#define TMP 1

int main(void)
{
    return 0;
}
===

I get mentioned above warning exactly after ecb-jump-to-tag function(with TMP tag as an argument) was called.

emacs version: GNU Emacs 23.0.60.2 (x86_64-unknown-linux-gnu, GTK+ Version 2.12.10)
CEDET Version: 1.0pre5
Backtrace:
===
Debugger entered--Lisp error: (wrong-type-argument symbolp [object ecb-dlist-node "node" [object ecb-dlist-node "node" [object ecb-dlist-node "node" [object ecb-dlist-node "node" nil #3 [object ecb-nav-history-item "First item" 0 0]] #2 [object ecb-nav-tag-history-item "main" 638 -35 #<buffer tmp.c> #<marker at 36 in tmp.c> #<marker at 68 in tmp.c> "main" nil]] #1 [object ecb-nav-tag-history-item "TMP" 7 -28 #<buffer tmp.c> #<marker at 29 in tmp.c> #<marker at 32 in tmp.c> "TMP" nil]] nil [object ecb-nav-tag-history-item "TMP" 0 0 #<buffer tmp.c> #<marker at 29 in tmp.c> #<marker at 32 in tmp.c> "TMP" nil]])
  byte-code("N�H�=�" [obj eieio-class-definition 0 defclass] 2)
  eieio-oref([object ecb-dlist-node "node" [object ecb-dlist-node "node" [object ecb-dlist-node "node" [object ecb-dlist-node "node" nil #2 [object ecb-nav-history-item "First item" 0 0]] #1 [object ecb-nav-tag-history-item "main" 638 -35 #<buffer tmp.c> #<marker at 36 in tmp.c> #<marker at 68 in tmp.c> "main" nil]] #0 [object ecb-nav-tag-history-item "TMP" 7 -28 #<buffer tmp.c> #<marker at 29 in tmp.c> #<marker at 32 in tmp.c> "TMP" nil]] nil [object ecb-nav-tag-history-item "TMP" 0 0 #<buffer tmp.c> #<marker at 29 in tmp.c> #<marker at 32 in tmp.c> "TMP" nil]] data)
  ecb-dlist-node([object ecb-dlist-node "node" [object ecb-dlist-node "node" [object ecb-dlist-node "node" [object ecb-dlist-node "node" nil #2 [object ecb-nav-history-item "First item" 0 0]] #1 [object ecb-nav-tag-history-item "main" 638 -35 #<buffer tmp.c> #<marker at 36 in tmp.c> #<marker at 68 in tmp.c> "main" nil]] #0 [object ecb-nav-tag-history-item "TMP" 7 -28 #<buffer tmp.c> #<marker at 29 in tmp.c> #<marker at 32 in tmp.c> "TMP" nil]] nil [object ecb-nav-tag-history-item "TMP" 0 0 #<buffer tmp.c> #<marker at 29 in tmp.c> #<marker at 32 in tmp.c> "TMP" nil]])
  apply(ecb-dlist-node [object ecb-dlist-node "node" [object ecb-dlist-node "node" [object ecb-dlist-node "node" [object ecb-dlist-node "node" nil #2 [object ecb-nav-history-item "First item" 0 0]] #1 [object ecb-nav-tag-history-item "main" 638 -35 #<buffer tmp.c> #<marker at 36 in tmp.c> #<marker at 68 in tmp.c> "main" nil]] #0 [object ecb-nav-tag-history-item "TMP" 7 -28 #<buffer tmp.c> #<marker at 29 in tmp.c> #<marker at 32 in tmp.c> "TMP" nil]] nil [object ecb-nav-tag-history-item "TMP" 0 0 #<buffer tmp.c> #<marker at 29 in tmp.c> #<marker at 32 in tmp.c> "TMP" nil]])
  eieio-generic-call(ecb-get-data ([object ecb-dlist-node "node" [object ecb-dlist-node "node" [object ecb-dlist-node "node" [object ecb-dlist-node "node" nil #3 [object ecb-nav-history-item "First item" 0 0]] #2 [object ecb-nav-tag-history-item "main" 638 -35 #<buffer tmp.c> #<marker at 36 in tmp.c> #<marker at 68 in tmp.c> "main" nil]] #1 [object ecb-nav-tag-history-item "TMP" 7 -28 #<buffer tmp.c> #<marker at 29 in tmp.c> #<marker at 32 in tmp.c> "TMP" nil]] nil [object ecb-nav-tag-history-item "TMP" 0 0 #<buffer tmp.c> #<marker at 29 in tmp.c> #<marker at 32 in tmp.c> "TMP" nil]]))
  ecb-get-data([object ecb-dlist-node "node" [object ecb-dlist-node "node" [object ecb-dlist-node "node" [object ecb-dlist-node "node" nil #2 [object ecb-nav-history-item "First item" 0 0]] #1 [object ecb-nav-tag-history-item "main" 638 -35 #<buffer tmp.c> #<marker at 36 in tmp.c> #<marker at 68 in tmp.c> "main" nil]] #0 [object ecb-nav-tag-history-item "TMP" 7 -28 #<buffer tmp.c> #<marker at 29 in tmp.c> #<marker at 32 in tmp.c> "TMP" nil]] nil [object ecb-nav-tag-history-item "TMP" 0 0 #<buffer tmp.c> #<marker at 29 in tmp.c> #<marker at 32 in tmp.c> "TMP" nil]])
  ecb-nav-save-current()
  ecb-jump-to-tag("/home/dk/development/test/tmp.c" ("TMP" variable (:constant-flag t) nil #<overlay from 29 to 32 in tmp.c>) #<window 8 on tmp.c> nil nil)
  ecb-method-clicked([cl-struct-tree-node #(" TMP" 0 1 (tree-buffer-image-length 1 tree-buffer-image-start 0 rear-nonsticky ... display ...) 1 4 (face font-lock-variable-name-face)) 0 ("TMP" variable (:constant-flag t) nil #<overlay from 29 to 32 in tmp.c>) nil [cl-struct-tree-node #(" Variables" 0 1 ... 1 10 ...) 1 (ecb-bucket--node "Variables" variable) (#0) [cl-struct-tree-node "root" -1 nil ... nil nil t t nil nil] end t t #(" Variables" 0 1 ... 1 10 ...) ""] end nil nil #(" TMP" 0 1 (tree-buffer-image-length 1 tree-buffer-image-start 0 rear-nonsticky ... display ...) 1 4 (face font-lock-variable-name-face)) #(" `-" 0 2 (face ecb-tree-guide-line-face tree-buffer-image-length 1 tree-buffer-image-start 2 rear-nonsticky ... display ...) 2 3 (face ecb-tree-guide-line-face rear-nonsticky ... display ... tree-buffer-image-length 1 tree-buffer-image-start 2))] 0 nil nil nil " *ECB Methods*")
  tree-buffer-select(0 nil nil nil)
  #[nil "��‰�$�" [tree-buffer-select 0 nil] 5 nil nil]()
  call-interactively(#[nil "��‰�$�" [tree-buffer-select 0 nil] 5 nil nil] nil nil)
===

-- 
W.B.R.
Dan.

-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
Ecb-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ecb-list
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.