[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/latex-table-wizard 71b7b2c252 55/70: Update copyright y
|
From: |
ELPA Syncer |
|
Subject: |
[elpa] externals/latex-table-wizard 71b7b2c252 55/70: Update copyright year and fix bug |
|
Date: |
Sat, 13 May 2023 08:59:14 -0400 (EDT) |
branch: externals/latex-table-wizard
commit 71b7b2c2520378facd2b3124488164e98fedc7f0
Author: Enrico Flor <nericoflor@gmail.com>
Commit: Enrico Flor <nericoflor@gmail.com>
Update copyright year and fix bug
Now setting the two user options -no-focus and -no-highlight to t
actually has the intended effect.
---
latex-table-wizard.el | 42 ++++++++++++++++++++++--------------------
1 file changed, 22 insertions(+), 20 deletions(-)
diff --git a/latex-table-wizard.el b/latex-table-wizard.el
index ad53273924..baf2d3c020 100644
--- a/latex-table-wizard.el
+++ b/latex-table-wizard.el
@@ -1,11 +1,11 @@
;;; latex-table-wizard.el --- Magic editing of LaTeX tables -*-
lexical-binding: t; -*-
-;; Copyright (C) 2022 Enrico Flor
+;; Copyright (C) 2022, 2023 Enrico Flor
;; Author: Enrico Flor <enrico@eflor.net>
;; Maintainer: Enrico Flor <enrico@eflor.net>
;; URL: https://github.com/enricoflor/latex-table-wizard
-;; Version: 1.2.0
+;; Version: 1.2.1
;; Keywords: convenience
;; Package-Requires: ((emacs "27.1") (auctex "12.1") (transient "0.3.7"))
@@ -663,14 +663,15 @@ given, a value is retrieved with
The overlay has a non-nil value for the name property
\\='table-inside-ol\\='."
- (let ((ols '()))
- (dolist (x list-of-cells)
- (push (make-overlay (plist-get x :start)
- (plist-get x :end))
- ols))
- (dolist (x ols)
- (overlay-put x 'tabl-inside-ol t)
- (overlay-put x 'face 'latex-table-wizard-highlight))))
+ (unless latex-table-wizard-no-highlight
+ (let ((ols '()))
+ (dolist (x list-of-cells)
+ (push (make-overlay (plist-get x :start)
+ (plist-get x :end))
+ ols))
+ (dolist (x ols)
+ (overlay-put x 'tabl-inside-ol t)
+ (overlay-put x 'face 'latex-table-wizard-highlight)))))
(defvar-local latex-table-wizard--selection nil
"Current selection, a list of cell objects.")
@@ -1462,14 +1463,15 @@ all defined faces."
(defun latex-table-wizard--hide-rest ()
"Apply face `latex-table-wizard-background' outside of table."
- (latex-table-wizard--parse-table)
- (let* ((tab-b (car (car latex-table-wizard--parse)))
- (tab-e (1+ (cdr (car latex-table-wizard--parse))))
- (ols `(,(make-overlay (point-min) tab-b)
- ,(make-overlay tab-e (point-max)))))
- (dolist (x ols)
- (overlay-put x 'tabl-outside-ol t)
- (overlay-put x 'face 'latex-table-wizard-background))))
+ (unless latex-table-wizard-no-focus
+ (latex-table-wizard--parse-table)
+ (let* ((tab-b (car (car latex-table-wizard--parse)))
+ (tab-e (1+ (cdr (car latex-table-wizard--parse))))
+ (ols `(,(make-overlay (point-min) tab-b)
+ ,(make-overlay tab-e (point-max)))))
+ (dolist (x ols)
+ (overlay-put x 'tabl-outside-ol t)
+ (overlay-put x 'face 'latex-table-wizard-background)))))
(defun latex-table-wizard--cleanup ()
"Remove all overlays created by \\='latex-table-wizard\\='.
@@ -1528,8 +1530,8 @@ its beginning."
orig-point
(plist-get cell :end))
(goto-char (plist-get cell :start)))
- (latex-table-wizard--hl-cells (list cell)))
- (call-interactively #'latex-table-wizard-prefix)))
+ (latex-table-wizard--hl-cells (list cell))))
+ (call-interactively #'latex-table-wizard-prefix))
;;;###autoload
(defun latex-table-wizard-customize ()
- [elpa] externals/latex-table-wizard da4a2e3540 24/70: Made into a minor mode, (continued)
- [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, 2023/05/13
- [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 <=
- [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
- [elpa] externals/latex-table-wizard c315f144a6 47/70: Add short description file, ELPA Syncer, 2023/05/13
- [elpa] externals/latex-table-wizard bb8c0e04f1 58/70: Two commands to comment out cells added, ELPA Syncer, 2023/05/13