[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/latex-table-wizard 85af90dac4 52/70: Use TeX-comment-fo
From: |
ELPA Syncer |
Subject: |
[elpa] externals/latex-table-wizard 85af90dac4 52/70: Use TeX-comment-forward |
Date: |
Sat, 13 May 2023 08:59:14 -0400 (EDT) |
branch: externals/latex-table-wizard
commit 85af90dac4b44ed7333a6aa95512220398dd4b32
Author: Enrico Flor <nericoflor@gmail.com>
Commit: Enrico Flor <nericoflor@gmail.com>
Use TeX-comment-forward
---
latex-table-wizard.el | 16 +++++-----------
1 file changed, 5 insertions(+), 11 deletions(-)
diff --git a/latex-table-wizard.el b/latex-table-wizard.el
index d9a3bd2c36..6771206bd3 100644
--- a/latex-table-wizard.el
+++ b/latex-table-wizard.el
@@ -247,8 +247,8 @@ If NAME is nil, skip any LaTeX macro that point is looking
at."
;; skips stuff that is not a LaTeX argument group.
(while (looking-at-p "{\\|\\[")
(forward-sexp)
- (when (looking-at "[[:space:]]*\\(%.*\n\\)?[[:space:]]*")
- (goto-char (match-end 0))))
+ (TeX-comment-forward 1)
+ (skip-syntax-forward " "))
;; now we have moved too far ahead looking for arguments,
;; let's jump back all the whitespace
(skip-syntax-backward " ")
@@ -313,12 +313,8 @@ argument."
(end)
(end-of-row))
(while (and (< (point) lim) (not end))
- (cond ((and (looking-at "%")
- (not (TeX-escaped-p)))
- ;; the first step is important to avoid being fooled by
- ;; column or row delimiters in comments!
- (forward-line))
- ((looking-at-p "[[:space:]]+")
+ (TeX-comment-forward 1)
+ (cond ((looking-at-p "[[:space:]]+")
(skip-syntax-forward " "))
((and (not (TeX-escaped-p))
(looking-at-p "\\\\begin\\({\\|\\[\\)"))
@@ -412,9 +408,7 @@ Each value is an integer, S and E are markers."
(forward-char 1)
(insert " "))
(while (< (point) env-end)
- (when (looking-at-p "[[:space:]]*\\($\\|%\\)")
- ;; nothing interesting left between point and eol
- (forward-line))
+ (TeX-comment-forward 1)
(let ((data (latex-table-wizard--get-cell-boundaries
col-re row-re env-end)))
(push `( :column ,col
- [elpa] externals/latex-table-wizard 4f3f4011ab 22/70: Add group for face and remove before-save-hook, (continued)
- [elpa] externals/latex-table-wizard 4f3f4011ab 22/70: Add group for face and remove before-save-hook, ELPA Syncer, 2023/05/13
- [elpa] externals/latex-table-wizard acdd4d8b56 23/70: New interactive function that calls transient prefix, ELPA Syncer, 2023/05/13
- [elpa] externals/latex-table-wizard da4a2e3540 24/70: Made into a minor mode, ELPA Syncer, 2023/05/13
- [elpa] externals/latex-table-wizard f9fb0ae878 28/70: Cleanup and some bug fixed, ELPA Syncer, 2023/05/13
- [elpa] externals/latex-table-wizard 9ce3165694 32/70: Add center and right alignment, ELPA Syncer, 2023/05/13
- [elpa] externals/latex-table-wizard e3553c7759 34/70: Add feedback about cell jumps, ELPA Syncer, 2023/05/13
- [elpa] externals/latex-table-wizard 13359e40f6 44/70: rename readme, ELPA Syncer, 2023/05/13
- [elpa] externals/latex-table-wizard f290f87949 45/70: add empty changelog file, ELPA Syncer, 2023/05/13
- [elpa] externals/latex-table-wizard 3bafcbefeb 49/70: Update commentary section, ELPA Syncer, 2023/05/13
- [elpa] externals/latex-table-wizard 36e68b0fd8 48/70: Add .elpaignore, ELPA Syncer, 2023/05/13
- [elpa] externals/latex-table-wizard 85af90dac4 52/70: Use TeX-comment-forward,
ELPA Syncer <=
- [elpa] externals/latex-table-wizard ff8c832ad0 53/70: Version 1.1.0, ELPA Syncer, 2023/05/13
- [elpa] externals/latex-table-wizard 71b7b2c252 55/70: Update copyright year and fix bug, ELPA Syncer, 2023/05/13
- [elpa] externals/latex-table-wizard 2544236eb3 57/70: New commands to kill row and column content, ELPA Syncer, 2023/05/13
- [elpa] externals/latex-table-wizard 1f4effedfa 59/70: NOCYCLE argument added to movement commands, ELPA Syncer, 2023/05/13
- [elpa] externals/latex-table-wizard d5494445cf 62/70: Fix latex-table-wizard--comment-thing for multiline cells, ELPA Syncer, 2023/05/13
- [elpa] externals/latex-table-wizard c496237fa1 64/70: Minor bug fix in latex-table-wizard-right, ELPA Syncer, 2023/05/13
- [elpa] externals/latex-table-wizard 04b3d59de7 65/70: Four new commands added to edit cell content, ELPA Syncer, 2023/05/13
- [elpa] externals/latex-table-wizard e61e1c1f0f 69/70: Fix parsing when whole table is inside certain macros, ELPA Syncer, 2023/05/13
- [elpa] externals/latex-table-wizard 9d779a2d9b 42/70: Correct conditional in mode startup, ELPA Syncer, 2023/05/13
- [elpa] externals/latex-table-wizard f2f2efeed4 50/70: New alignment commands and bug fixes, ELPA Syncer, 2023/05/13