[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/elisa 8a2c92dc34 54/98: Fix parsing info manuals
From: |
ELPA Syncer |
Subject: |
[elpa] externals/elisa 8a2c92dc34 54/98: Fix parsing info manuals |
Date: |
Wed, 17 Jul 2024 18:58:04 -0400 (EDT) |
branch: externals/elisa
commit 8a2c92dc3489c164e8b5b7d72480cbd99fd87539
Author: Sergey Kostyaev <kostyaev.sergey2@wb.ru>
Commit: Sergey Kostyaev <kostyaev.sergey2@wb.ru>
Fix parsing info manuals
---
elisa.el | 12 +++++++-----
1 file changed, 7 insertions(+), 5 deletions(-)
diff --git a/elisa.el b/elisa.el
index 09139a4de6..eacc8bf80e 100644
--- a/elisa.el
+++ b/elisa.el
@@ -374,17 +374,20 @@ FOREIGN KEY(collection_id) REFERENCES collections(rowid)
(if-let ((rowid (caar (sqlite-select
elisa-db
(format "select rowid from data
where kind_id = %s and collection_id = %s and path = '%s' and hash = '%s';"
- kind-id collection-id
node-name hash)))))
+ kind-id collection-id
+ (elisa-sqlite-escape
node-name) hash)))))
nil
(sqlite-execute
elisa-db
(format
"insert into data(kind_id, collection_id, path, hash,
data) values (%s, %s, '%s', '%s', '%s');"
- kind-id collection-id node-name hash
(elisa-sqlite-escape text)))
+ kind-id collection-id
+ (elisa-sqlite-escape node-name) hash
(elisa-sqlite-escape text)))
(caar (sqlite-select
elisa-db
(format "select rowid from data where kind_id =
%s and collection_id = %s and path = '%s' and hash = '%s';"
- kind-id collection-id node-name hash))))))
+ kind-id collection-id
+ (elisa-sqlite-escape node-name) hash))))))
(when rowid
(sqlite-execute
elisa-db
@@ -396,8 +399,7 @@ FOREIGN KEY(collection_id) REFERENCES collections(rowid)
rowid (elisa-sqlite-escape text))))))
chunks)
(condition-case nil
- (progn (funcall-interactively #'Info-forward-node)
- (sleep-for 0 10))
+ (funcall-interactively #'Info-forward-node)
(error
(setq continue nil))))))))
- [elpa] externals/elisa 8794e14d75 29/98: Improve built-in manuals directory location method, (continued)
- [elpa] externals/elisa 8794e14d75 29/98: Improve built-in manuals directory location method, ELPA Syncer, 2024/07/17
- [elpa] externals/elisa c03baded1e 32/98: Bump version, ELPA Syncer, 2024/07/17
- [elpa] externals/elisa a99ed0b234 33/98: Add semantic splitting, ELPA Syncer, 2024/07/17
- [elpa] externals/elisa 90a76fc7c2 37/98: Add webpage semantic chunks extraction function, ELPA Syncer, 2024/07/17
- [elpa] externals/elisa d90df5889d 38/98: Add function that return buffer with url content, ELPA Syncer, 2024/07/17
- [elpa] externals/elisa 0f94c23a5d 40/98: Add more sqlite tables, ELPA Syncer, 2024/07/17
- [elpa] externals/elisa e877f8f5c7 44/98: First implementation for web search, ELPA Syncer, 2024/07/17
- [elpa] externals/elisa 5ca66e9f0d 47/98: Fix custom variables, ELPA Syncer, 2024/07/17
- [elpa] externals/elisa 273a1d492d 50/98: Add reranker to RAG pipeline, ELPA Syncer, 2024/07/17
- [elpa] externals/elisa ade7ac0af9 52/98: Update info manual parsing, ELPA Syncer, 2024/07/17
- [elpa] externals/elisa 8a2c92dc34 54/98: Fix parsing info manuals,
ELPA Syncer <=
- [elpa] externals/elisa cecc5cb13f 55/98: Make sync parsing interactive, ELPA Syncer, 2024/07/17
- [elpa] externals/elisa 4cad3085fd 57/98: Use more async calls to prevent emacs from blocking, ELPA Syncer, 2024/07/17
- [elpa] externals/elisa ad130b564f 60/98: Add parse file function, ELPA Syncer, 2024/07/17
- [elpa] externals/elisa b419fb2cf2 61/98: Add code for parsing directory as an elisa collection, ELPA Syncer, 2024/07/17
- [elpa] externals/elisa ef06534f46 62/98: Implement incremental parsing, ELPA Syncer, 2024/07/17
- [elpa] externals/elisa 0e32d7bb5c 63/98: Add async directory parsing, ELPA Syncer, 2024/07/17
- [elpa] externals/elisa f744ce305a 67/98: Add reparse current collection command, ELPA Syncer, 2024/07/17
- [elpa] externals/elisa 9ad7827337 70/98: Fix semantic split with single chunk, ELPA Syncer, 2024/07/17
- [elpa] externals/elisa 439ed1d4f8 76/98: Make executable customization simpler, ELPA Syncer, 2024/07/17
- [elpa] externals/elisa e5691f59c5 80/98: Make syncronous functions non-interactive, ELPA Syncer, 2024/07/17