>>> Alex Ott <alexott@...> seems to think that:
>Hello Eric
>
>No, this patch doesn't helps to fix this error. But i found, that
>following code will fix this error (at least for ctags)
[ ... ]
Hi,
Does file-remote-p also work in semanticdb.el as in the below patch?
I mostly didn't know how to check for remote files, but you had the
right function. In theory, the below will prevent any external parser
from going. If I push the logic into the ctags parser, then new
external parsers will have the same problem, and no tags will be
found.
Thoughts?
Eric
*** semanticdb.el.~1.132.~ 2009-01-31 13:09:26.000000000 -0500
--- semanticdb.el 2009-03-16 06:57:32.000000000 -0400
***************
*** 940,946 ****
"Create a table for the file FILENAME.
If there are no language specific configurations, this
function will read in the buffer, parse it, and kill the buffer."
! (if semanticdb-out-of-buffer-create-table-fcn
(funcall semanticdb-out-of-buffer-create-table-fcn filename)
(save-excursion
(let* ( ;; Remember the buffer to kill
--- 940,949 ----
"Create a table for the file FILENAME.
If there are no language specific configurations, this
function will read in the buffer, parse it, and kill the buffer."
! (if (and semanticdb-out-of-buffer-create-table-fcn
! (not (file-remote-p filename)))
! ;; Use external parser only of the file is accessible to the
! ;; local file system.
(funcall semanticdb-out-of-buffer-create-table-fcn filename)
(save-excursion
(let* ( ;; Remember the buffer to kill
|