SHA256
1
0
forked from pool/emacs-auctex

Refresh auctex-13.3-auto-TL-2024.tar.xz

OBS-URL: https://build.opensuse.org/package/show/editors/emacs-auctex?expand=0&rev=61
This commit is contained in:
Dr. Werner Fink 2024-03-27 13:10:24 +00:00 committed by Git OBS Bridge
parent 64f2348958
commit 282625bd8d
4 changed files with 60 additions and 3 deletions

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:964af1e5646b36f7cee4e26f6159fb966cc5b7b83adc7912bc76d89cf8b44780
size 4568632
oid sha256:775721294c75e480e3ba191f7181d4477f0e2c7e8b3f56d59faa85d21adad0c6
size 4572516

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Wed Mar 27 10:37:32 UTC 2024 - Dr. Werner Fink <werner@suse.de>
- Add patch ignore-errors.patch
* Allow to scan *all* style files
- Refresh auctex-13.3-auto-TL-2024.tar.xz
-------------------------------------------------------------------
Tue Mar 26 12:28:14 UTC 2024 - Dr. Werner Fink <werner@suse.de>

View File

@ -16,7 +16,7 @@
#
%bcond_with tex4auto
%bcond_without tex4auto
%define tlversion 2024
%if %{undefined ext_el}
%define ext_el .gz
@ -56,6 +56,7 @@ URL: https://www.gnu.org/software/auctex
# PATCH-FEATURE-UPSTREAM dvips.patch
Patch0: dvips.patch
Patch1: auctex-13.1-expand.patch
Patch2: ignore-errors.patch
BuildArch: noarch
%description
@ -80,6 +81,7 @@ you cannot use this package for XEmacs.
%setup -n auctex-%{version}
%patch -P0
%patch -P1
%patch -P2
%build
unset ${!LC_*}

48
ignore-errors.patch Normal file
View File

@ -0,0 +1,48 @@
---
latex.el | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
--- latex.el
+++ latex.el 2024-03-27 10:36:50.635375638 +0000
@@ -2022,7 +2022,7 @@ TYPE is one of the symbols mac or env."
;; over [>=] and a balanced {}
((looking-at-p "[>=]")
(forward-char 1)
- (with-syntax-table syntax (forward-sexp)))
+ (with-syntax-table syntax (ignore-errors (forward-sexp))))
;; Mandatory arguments:
;; m: Ask for input with "Text" as prompt
((looking-at-p "m")
@@ -2038,7 +2038,7 @@ TYPE is one of the symbols mac or env."
;; R<token1><token2>{default}
((looking-at-p "R")
(re-search-forward "R\\(.\\)\\(.\\)" (+ (point) 3) t)
- (with-syntax-table syntax (forward-sexp))
+ (with-syntax-table syntax (ignore-errors (forward-sexp)))
(push `(TeX-arg-string nil nil nil nil
,(match-string-no-properties 1)
,(match-string-no-properties 2))
@@ -2062,12 +2062,12 @@ TYPE is one of the symbols mac or env."
;; O{default}
((looking-at-p "O")
(forward-char 1)
- (with-syntax-table syntax (forward-sexp))
+ (with-syntax-table syntax (ignore-errors (forward-sexp)))
(push (vector "Text") args))
;; D<token1><token2>{default}
((looking-at-p "D")
(re-search-forward "D\\(.\\)\\(.\\)" (+ (point) 3) t)
- (with-syntax-table syntax (forward-sexp))
+ (with-syntax-table syntax (ignore-errors (forward-sexp)))
(push (vector #'TeX-arg-string nil nil nil nil
(match-string-no-properties 1)
(match-string-no-properties 2))
@@ -2099,7 +2099,7 @@ TYPE is one of the symbols mac or env."
,(match-string-no-properties 1))
args)
(when (looking-at-p TeX-grop)
- (with-syntax-table syntax (forward-sexp))))
+ (with-syntax-table syntax (ignore-errors (forward-sexp)))))
;; Finished:
(t nil))))
(if (eq type 'env)