Re: Drop tarball releases and go ELPA only

2024-07-03 Thread Mosè Giordano
Hi Arash,

I'm personally generally in favour of moving the release process
entirely to ELPA!

On Mon, 1 Jul 2024 at 14:17, Arash Esbati  wrote:

> • Archive current master as auctex-13, and keep main as default branch.
>   This means that every commit generates a new release on ELPA-devel.
> • Archive current master as auctex-13, and introduce a new intermediate
>   default branch, say develop or some such.  And then merge into main on
>   a regular basis.

My only comment is that I think it'd still be valuable to keep having
stable releases (published through ELPA) every now and then, just as
it is now, and not go full "every commit is a release" mode.  For
example proper releases are useful to take the time to summarise
notable changes (git log is good for developers, but not as much for
end users), and in particular better explain what to do with breaking
changes, when they happen.  And in general I think downstream
packagers tend to prefer "stable releases" to "pick a random commit"
when given the choice.

Bye,
Mosè



master 68efd23c: ; Fix version number in RELEASE file

2024-01-17 Thread Mosè Giordano
branch: master
commit 68efd23c8985fe1bd32f867916c7c8a66ff19743
Author: Mosè Giordano 
Commit: Mosè Giordano 

; Fix version number in RELEASE file
---
 RELEASE | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/RELEASE b/RELEASE
index d0ae6072..3c8a52f2 100644
--- a/RELEASE
+++ b/RELEASE
@@ -1,4 +1,4 @@
-Release notes for AUCTeX 13.2 with preview-latex
+Release notes for AUCTeX 13.3 with preview-latex
 
 
 AUCTeX provides by far the most wide-spread and sophisticated



release_13_3 8eda9fb7 1/2: ; make change-history-commit

2024-01-17 Thread Mosè Giordano
tag: release_13_3
commit 8eda9fb72e093e59370d9e9e0afc89f296653bc6
Author: Mosè Giordano 
Commit: Mosè Giordano 

; make change-history-commit
---
 ChangeLog.1 | 827 +++-
 1 file changed, 826 insertions(+), 1 deletion(-)

diff --git a/ChangeLog.1 b/ChangeLog.1
index 307e4a42..0899c74d 100644
--- a/ChangeLog.1
+++ b/ChangeLog.1
@@ -1,3 +1,828 @@
+2024-01-14  Arash Esbati  
+
+   Update style/simpleicons.el to package v11.0.0
+
+   * style/simpleicons.el (LaTeX-simpleicons-icons): Update icon
+   names to package version 11.0.0.
+
+2024-01-04  Arash Esbati  
+
+   Add new style/changebar.el
+
+   * tex.el (TeX-LaTeX-sentinel): Add entry for the changebar
+   package.
+
+   * Makefile.in (STYLESRC): Add new style.
+
+   * style/changebar.el: New file.
+
+2023-12-30  Arash Esbati  
+
+   Update style/simpleicons.el to package v10.4.0
+
+   * style/simpleicons.el (LaTeX-simpleicons-icons): Update icon
+   names to package version 10.4.0.
+
+2023-12-28  Arash Esbati  
+
+   Add new style/simpleicons.el
+
+   * Makefile.in (STYLESRC): Add new style.
+
+   * style/simpleicons.el: New file.
+
+2023-12-19  Arash Esbati  
+
+   * doc/auctex.texi: Wrap t inside @code.
+
+2023-12-19  Arash Esbati  
+
+   Wrap nil inside @code
+
+   * doc/auctex.texi:
+   * doc/faq.texi: Use @code{nil} in the documents.
+
+2023-12-19  Arash Esbati  
+
+   * doc/changes.texi: Edit changes since last release.
+
+2023-12-15  Tony Zorman  
+
+   Throw out fold spec after a single failure
+
+   So far, TeX-fold-expand-spec did not abort its expansion of the
+   current spec if *any* of the expansions succeeded.  This can lead to
+   some unexpected behaviour.  For example, given
+
+ (setopt TeX-fold-math-spec-list
+ '(("[1] of {1}||{1}" ("cite"
+
+   expanding `\cite{this}' would result in the overlay displaying
+   `… of this' instead of just `this', because one of the arguments
+   (the mandatory one) succeeded.  This is probably not what the user
+   intended.  Instead, in order for the spec to be chosen, *all
+   arguments should succeed.
+
+   * tex-fold.el (TeX-fold-expand-spec): Return non-nil value only when
+   all expansions suceeded.
+
+2023-12-08  Arash Esbati  
+
+   Add "includegraphics" to `paragraph-start'
+
+   * style/graphicx.el ("graphicx"): Let \includegraphics have its
+   own line.
+
+2023-12-08  Arash Esbati  
+
+   Update the caption bundle styles
+
+   * style/bicaption.el (LaTeX-arg-bicaption-captionsetup): Delete
+   now unneeded function.
+   ("bicaption"): Support new macro \bicaptionsetup.
+
+   * style/caption.el ("caption"): Remove support for bi-captions in
+   \captionsetup which isn't recommended anymore.
+   Keep fontification support for 2 optional arguments.
+   (LaTeX-caption-supported-float-types): Delete entries which now
+   can be set via \subcaptionsetup and \bicaptionsetup.
+   (LaTeX-caption-package-options-list): Delete dropped package
+   option "compatibility".
+
+   * style/subcaption.el ("subcaption"): Support \subcaptionsetup
+   macro.
+
+2023-12-07  Arash Esbati  
+
+   Simplify implementation of style/ocg-p.el
+
+   * style/ocg-p.el (LaTeX-env-ocgp-ocg): Delete function and move
+   code into the hook.
+   (LaTeX-arg-ocgp-layer-id, "ocg-p"): Adjust query prompt.
+
+2023-12-06  Arash Esbati  
+
+   Move support for xparse macros into core
+
+   * style/xparse.el: Move content from here ...
+
+   * latex.el: ... to here.
+   (LaTeX-auto-xparse-macro, LaTeX-auto-xparse-environment): New
+   variables needed for parsing.
+   (LaTeX-auto-regexp-list): Add regexp's for new macros.
+   (LaTeX-auto-prepare): Reset newly defined variables.
+   (LaTeX-arg-xparse-embellishment): Rename.
+   (LaTeX-xparse-macro-parse): Adjust to use the new variables.
+   (LaTeX-auto-cleanup): Use `LaTeX-xparse-macro-parse' to cleanup.
+   (LaTeX-common-initialization): Add macro entries.
+
+   * font-latex.el: ... and to here.
+   (font-latex-built-in-keyword-classes): Support fontification.
+
+   * doc/changes.texi: Mention the change.
+
+2023-12-05  Uwe Brauer  
+
+   Add support for the refcount package
+
+   * Makefile.in (STYLESRC): Add new style.
+
+   * style/refcount.el: New file.
+
+2023-11-29  Arash Esbati  
+
+   Add completion support for \DeclareGraphicsExtensions
+
+   * style/graphicx.el (LaTeX-includegraphics-pdftex-extensions)
+   (LaTeX-includegraphics-xetex-extensions): Replace regexp style
+   extensions with real ones.
+   ("graphicx"): Add completion support for
+   \DeclareGraphicsExtensions macro.
+
+2023-11-22  Arash E

tag release_13_3 created (now 33439b0e)

2024-01-17 Thread Mosè Giordano
giordano pushed a change to tag release_13_3.

at  33439b0e  (commit)
This tag includes the following new commits:

   new  8eda9fb7  ; make change-history-commit
   new  33439b0e  ; Release_13.3




release_13_3 33439b0e 2/2: ; Release_13.3

2024-01-17 Thread Mosè Giordano
tag: release_13_3
commit 33439b0ef2fdffbc555384d3d5731c220e37242c
Author: Mosè Giordano 
Commit: Mosè Giordano 

; Release_13.3
---
 ChangeLog-preview | 4 
 ChangeLog.1   | 4 
 2 files changed, 8 insertions(+)

diff --git a/ChangeLog-preview b/ChangeLog-preview
index 76c4d638..7c43a22e 100644
--- a/ChangeLog-preview
+++ b/ChangeLog-preview
@@ -1,3 +1,7 @@
+2024-01-17  Mosè Giordano  
+
+   * Version 13.3 released.
+
 2023-04-23  Mosè Giordano  
 
* Version 13.2 released.
diff --git a/ChangeLog.1 b/ChangeLog.1
index 0899c74d..454c7c18 100644
--- a/ChangeLog.1
+++ b/ChangeLog.1
@@ -1,3 +1,7 @@
+2024-01-17  Mosè Giordano  
+
+   * Version 13.3 released.
+
 2024-01-14  Arash Esbati  
 
Update style/simpleicons.el to package v11.0.0



master updated (d799eda3 -> 33439b0e)

2024-01-17 Thread Mosè Giordano
giordano pushed a change to branch master.

  from  d799eda3  ; Prepare for new release
  adds  8eda9fb7  ; make change-history-commit
  adds  33439b0e  ; Release_13.3

No new revisions were added by this update.

Summary of changes:
 ChangeLog-preview |   4 +
 ChangeLog.1   | 831 +-
 2 files changed, 834 insertions(+), 1 deletion(-)



master d799eda3: ; Prepare for new release

2024-01-17 Thread Mosè Giordano
branch: master
commit d799eda3f2f72547948f74d16a5e3cff68478e2a
Author: Mosè Giordano 
Commit: Mosè Giordano 

; Prepare for new release
---
 RELEASE   | 101 --
 configure.ac  |   4 +--
 doc/changes.texi  |   2 +-
 doc/tex-ref.tex   |  10 +++---
 latex/preview.dtx |   6 ++--
 5 files changed, 33 insertions(+), 90 deletions(-)

diff --git a/RELEASE b/RELEASE
index 3e33bb7a..d0ae6072 100644
--- a/RELEASE
+++ b/RELEASE
@@ -24,81 +24,24 @@ sleuth work, testing.
 New features and fixed bugs in this release
 ---
 
-AUCTeX no longer refuses to insert dollar sign when you type ‘$’ at
-point where AUCTeX thinks the current math mode didn’t start with
-dollar(s).  AUCTeX assumes the user knows that it isn’t in math
-mode actually.
-
-You can keep the former behavior by enabling the new customize
-option ‘TeX-refuse-unmatched-dollar’.
-
-AUCTeX supports completion-at-point of macro and environment
-arguments in LaTeX buffers.  The responsible function recognizes
-the argument position and extracts the corresponding candidates
-from the variables ‘TeX-symbol-list’ and ‘LaTeX-environment-list’.
-
-AUCTeX underlines the argument of macros which produce underlined
-text in the final product with ‘font-latex-underline-face’.  The
-corresponding keyword class is called ‘underline-command’.  See the
-section for fontification of macros if you dislike this feature and
-wish to deactivate it.
-
-Support for the Sioyek document viewer is added.
-
-AUCTeX now requires GNU Emacs 25.1 or higher.
-
-AUCTeX tracks the change in Emacs where initial inputs in the
-minibuffer during queries are getting phased out.  Queries for the
-mandatory arguments of macros and environments are adjusted where
-applicable.  The value which will be used after hitting ‘RET’
-without other input is shown in the prompt in parentheses prefixed
-with ‘default’.  For this change the signature of the function
-‘TeX-arg-length’ is altered.  The old argument list was:
- (defun TeX-arg-length (optional  prompt
- initial-input definition default)
-
-whereas the new one is:
- (defun TeX-arg-length (optional  prompt
- default initial-input definition)
-
-Note the position change of ‘DEFAULT’.
-
-Indenting of conditionals is improved.  Code inside constructs like
-‘\ifx . \else . \fi’ is correctly indented.  An interface for style
-files is also introduced which can add their macros to the
-indentation engine.  Check the file ‘algpseudocode.el’ for an
-example.
-
-You can optionally enable indent inside square brackets ‘[]’ by new
-user options ‘TeX-indent-open-delimiters’ and
-‘TeX-indent-close-delimiters’.
-
-Now ‘tex-buf.el’ is merged into ‘tex.el’ and no longer exists.  If
-your personal code has ‘(require 'tex-buf)’, one of the following
-prescriptions would serve.
-  1. Remove ‘(require 'tex-buf)’.
-  2. Replace it with ‘(require 'tex)’.
-  3. Replace it with ‘(require 'latex)’.
-
-When you edit a document divided into multiple files, auto parsed
-information for all sub files are saved under ‘auto’ subdirectory
-at master directory when ‘TeX-parse-self’ and ‘TeX-auto-save’
-options are enabled.  Now you can have support ‘.el’ file saved
-under ‘auto’ subdirectory of each directory of the sub file when
-the sub files aren’t located at the master directory.
-
-To achieve that, set new user option ‘TeX-auto-save-aggregate’ to
-‘nil’.
-
-There was another hook where former dynamic free variables could be
-used.  The usage was invalidated at version 13.1, by introduction
-of lexical binding over AUCTeX.
-
-The functions in ‘TeX-region-hook’ could access the free variables
-‘master-buffer’ and ‘orig-buffer’.  Those are now named
-‘TeX-region-master-buffer’ and ‘TeX-region-orig-buffer’,
+AUCTeX now requires GNU Emacs 26.1 or higher.
+
+LaTeX abbrevs are now available in docTeX mode buffers.
+
+AUCTeX temporarily rebinds the variable ‘gc-cons-percentage’ to a
+higher value during parsing which speeds up the process
+significantly.  The memory pressure should still be acceptable,
+even on older machines.
+
+Macros provided by the ‘xparse’ package are part of LaTeX kernel
+since October 2020.  AUCTeX tracks this change and the content of
+‘xparse.el’ is moved into ‘latex.el’ and ‘font-latex.el’
 respectively.
 
+The variable ‘preview-scale-function’ is now allowed as a
+file-local variable where the assigned value can only be between
+0.1 and 10.
+
 Requirements
 
 
@@ -156,12 +99,12 @@ Patrick Gundlach, Abdul-Lateef Haji-Ali, Jobst Hoffmann, 
Tassilo Horn,
 Yvon Hevel, Orlando Iovino, Mads Jensen, Arne Jørgensen, Philip
 Kaludercic, David Kastrup, Ikumi Keita, Philip Kime, Oleh Krehel,
 Joost Kremers, Frank Küster, Jan-Åke Larsson, Matthew Leach, Brian
-Leung, Antoine Levitt, Leo Liu, Vladimir Lomov, Stefan Monnier, Dan
-Nicolaescu, Piet van Oostrum, Pieter Pareit

master updated (191db684 -> bd2c1c67)

2023-04-23 Thread Mosè Giordano
giordano pushed a change to branch master.

  from  191db684  Improve style/enumitem.el
  adds  ec742f33  ; Prepare for new release
  adds  b49bb229  ; make change-history-commit
  adds  bd2c1c67  ; Release_13.2

No new revisions were added by this update.

Summary of changes:
 ChangeLog-preview |4 +
 ChangeLog.1   | 2622 -
 RELEASE   |  224 ++--
 admin/release-process.org |   11 +-
 configure.ac  |4 +-
 doc/changes.texi  |2 +-
 doc/tex-ref.tex   |6 +-
 latex/preview.dtx |2 +-
 8 files changed, 2724 insertions(+), 151 deletions(-)



tag release_13_2 created (now bd2c1c67)

2023-04-23 Thread Mosè Giordano
giordano pushed a change to tag release_13_2.

at  bd2c1c67  (commit)
This tag includes the following new commits:

   new  ec742f33  ; Prepare for new release
   new  b49bb229  ; make change-history-commit
   new  bd2c1c67  ; Release_13.2




release_13_2 ec742f33 1/3: ; Prepare for new release

2023-04-23 Thread Mosè Giordano
tag: release_13_2
commit ec742f33320928680dfb3b287add4d511a69f4d4
Author: Mosè Giordano 
Commit: Mosè Giordano 

; Prepare for new release
---
 RELEASE   | 224 +-
 admin/release-process.org |  11 ++-
 configure.ac  |   4 +-
 doc/changes.texi  |   2 +-
 doc/tex-ref.tex   |   6 +-
 latex/preview.dtx |   2 +-
 6 files changed, 99 insertions(+), 150 deletions(-)

diff --git a/RELEASE b/RELEASE
index b2543897..f2496ca4 100644
--- a/RELEASE
+++ b/RELEASE
@@ -1,4 +1,4 @@
-Release notes for AUCTeX 13.1 with preview-latex
+Release notes for AUCTeX 13.2 with preview-latex
 
 
 AUCTeX provides by far the most wide-spread and sophisticated
@@ -24,143 +24,85 @@ sleuth work, testing.
 New features and fixed bugs in this release
 ---
 
-In math environments 'gather', 'gather*', 'gathered', 'multline'
-and 'multline*', fill commands such as 'M-q' and 'C-c C-q C-e' are
-disabled.  This sorts out the inconsistency between those and
-'equation', 'displaymath' environments, in latter of which filling
-is already disabled.
-
-If you want filling in such environments, customize
-'LaTeX-indent-environment-list' to remove them.
-
-Auto fill continues to work in such environment anyway.
-
-In addition, AUCTeX adds support of alignment at '&' sign in
-'align'-like environments such as 'alignat', 'aligned' and so on,
-as well as 'matrix'-like environments such as 'pmatrix', 'bmatrix'
-and so on.
-
-Now two commands 'Texindex' and 'Texi2dvi' are available when you
-type 'C-c C-c' in Texinfo mode.  The command 'Texindex' runs
-'texindex' on index files and 'Texi2dvi' runs 'pdftexi2dvi' or
-'texi2dvi' according to the value of 'TeX-PDF-mode'.
-
-So you can typeset Texinfo documents into PDF or DVI format from
-within AUCTeX.
-
-AUCTeX's own help messages for LaTeX errors are now shown only for
-LaTeX runs.  AUCTeX shows raw error/warning messages found in
-'.log' files for runs of formats other than LaTeX, such as plain
-TeX, ConTeXt and Texinfo, as it does even for LaTeX runs when it
-can't find a matching entry in its own help message catalogue.
-
-Due to this change, customize option 'TeX-error-description-list'
-can no longer have a fallback entry that matches any error.  If
-your customized value includes such entry, typically '(".*" . "No
-help available")', please remove it.
-
-Two functions 'TeX-split-string' and 'TeX-assoc' are now obsolete
-and will be removed in future release.  If your personal code uses
-these functions, use 'split-string' and 'assoc-string' instead.
-
-The function 'TeX-read-key-val' now accepts a function call as
-second argument.  This change should help AUCTeX style writers who
-use 'TeX-arg-key-val' and have to deal with dynamic key-values.
-Example of usage:
- (TeX-add-style-hook "foo"
-  (lambda ()
-(TeX-add-symbols
- '("bar" (TeX-arg-key-val (function-returning-key-val))
-
-Since AUCTeX 12.2, 'C-x C-w' accidentally disabled the parse on
-save in that buffer, even when you enabled 'TeX-auto-save' option.
-This bug was fixed.
-
-AUCTeX now requires GNU Emacs 24.3 or higher.
-
-Old implementations for viewers were discarded, as announced long
-before.  The variables 'TeX-output-view-style' and 'TeX-view-style'
-have no effect now.  The former placeholders '%v' and '%vv' in
-'TeX-command-list' are ignored.
-
-AUCTeX now uses lexical binding which has been introduced in Emacs
-24.  This change should have no user-visible effect and require no
-manual adaptions except in the following cases.
-
-   - Entries added to the customization variable 'TeX-expand-list'
- also had access to variables 'command' and 'pos'.  Those are
- now properly declared and named 'TeX-expand-command' and
- 'TeX-expand-pos'.
-
-   - Entries added to the customization variable 'TeX-expand-list'
- had access to a variable 'file' which was bound to
- 'TeX-active-master', i.e., it evaluated to either the master
- or region file.  This usage must be replaced with either
- 'TeX-active-master' or 'TeX-active-master-with-quotes'.
-
-   - Viewer entries in 'TeX-view-program-list' also had access to a
- variable 'file' which was bound to the name of the master or
- region file without extension.  Instead, the function
- 'TeX-active-master' has to be used now.
-
-   - Macro argument parsing functions could set a variable
- 'exit-mark' to the buffer position where point should be left
- after all arguments have been read.  This variable is now
- named 'TeX-exit-mark'.
-
-   - The functions in 'LaTeX-section-hook' had access or modified
- the previously undeclared variables 'title', 'name', 'level',
- 'done-mark', and 'toc'.  These variables are now properly
- declared and have the 'LaTeX-' prefix, e.g.,
- 'LaTeX-d

release_13_2 bd2c1c67 3/3: ; Release_13.2

2023-04-23 Thread Mosè Giordano
tag: release_13_2
commit bd2c1c676b9a37d42db85a9514498750c23b3d08
Author: Mosè Giordano 
Commit: Mosè Giordano 

; Release_13.2
---
 ChangeLog-preview | 4 
 ChangeLog.1   | 4 
 2 files changed, 8 insertions(+)

diff --git a/ChangeLog-preview b/ChangeLog-preview
index 753847c9..76c4d638 100644
--- a/ChangeLog-preview
+++ b/ChangeLog-preview
@@ -1,3 +1,7 @@
+2023-04-23  Mosè Giordano  
+
+   * Version 13.2 released.
+
 2022-02-20  Mosè Giordano  
 
* Version 13.1 released.
diff --git a/ChangeLog.1 b/ChangeLog.1
index 9d979096..307e4a42 100644
--- a/ChangeLog.1
+++ b/ChangeLog.1
@@ -1,3 +1,7 @@
+2023-04-23  Mosè Giordano  
+
+   * Version 13.2 released.
+
 2023-04-19  Arash Esbati  
 
Improve style/enumitem.el



release_13_2 b49bb229 2/3: ; make change-history-commit

2023-04-23 Thread Mosè Giordano
tag: release_13_2
commit b49bb2292912b81b6603a419449c73f91a0084cf
Author: Mosè Giordano 
Commit: Mosè Giordano 

; make change-history-commit
---
 ChangeLog.1 | 2618 ++-
 1 file changed, 2617 insertions(+), 1 deletion(-)

diff --git a/ChangeLog.1 b/ChangeLog.1
index e379176c..9d979096 100644
--- a/ChangeLog.1
+++ b/ChangeLog.1
@@ -1,3 +1,2619 @@
+2023-04-19  Arash Esbati  
+
+   Improve style/enumitem.el
+
+   * style/enumitem.el (LaTeX-enumitem-key-val-options): Use
+   variables provided by latex.el and don't hard-code the font
+   related values.
+   (LaTeX-enumitem-auto-cleanup): Don't add environments defined in
+   tex-ispell.el to `ispell-tex-skip-alists' again.
+   Remove comment.
+
+2023-04-11  Arash Esbati  
+
+   Improve style/fancyvrb.el
+
+   * style/fancyvrb.el (LaTeX-fancyvrb-arg-define-macro): Improve
+   addition of parsed elements incl. starred version, fontification
+   and spell-checking skips.
+   (LaTeX-fancyvrb-arg-define-environment): Simplify addition of
+   parsed environments of "VerbatimOut" type.
+   Make sure the entire environments are skipped during
+   spell-checking.
+   (LaTeX-fancyvrb-add-syntactic-keywords-extra): New function for
+   adding fontification support for "SaveVerb" macros.
+   ("fancyvrb"): Add missing query of optional arguments for various
+   macros.  Simplify code.  Improve fontification.
+   Use the function `LaTeX-fancyvrb-add-syntactic-keywords-extra'.
+
+2023-04-11  Arash Esbati  
+
+   Improve spelling skip support for fancyvrb macros
+
+   * tex-ispell.el (TeX-ispell-skip-cmds-list): Improve skip support
+   for macros provided by fancyvrb package.
+
+2023-04-02  Arash Esbati(tiny change)
+   Dirk Ullrich  
+
+   Improve filling over comments in docTeX-mode
+
+   * doc/auctex.texi (Indenting): Document new option.
+
+   * latex.el (docTeX-indent-across-comments): New option.
+   (LaTeX-indent-calculate-last): Use new option in docTeX-mode.
+   Code contributed by Dirk Ullrich.
+
+2023-03-28  Arash Esbati  
+
+   Update style/expl3.el
+
+   * style/expl3.el ("expl3"): Add missing macros plus fontification.
+   (LaTeX-expl3-package-options): Update options.
+
+2023-03-27  Arash Esbati  
+
+   Fix query of optional arguments
+
+   * style/thmtools.el (LaTeX-thmtools-env-label): Add ?\r (RET) to
+   list of valid chars for input.
+
+2023-03-25  Arash Esbati  
+
+   * style/pdfpages.el ("pdfpages"): Replace `TeX-arg-eval'.
+
+2023-03-17  Arash Esbati  
+
+   Return correct completion candidates in math-mode
+
+   * latex.el (LaTeX-common-initialization): Make sure that from the
+   second elements inside `LaTeX-math-list' and `LaTeX-math-default',
+   only the strings are used for `TeX-complete-list'.  The second
+   element can also be a function which is not correct for completion
+   purposes.  (bug#62220)
+
+2023-03-15  Arash Esbati  
+
+   Replace `TeX-arg-eval' in style/newfloat.el
+
+   * style/newfloat.el ("newfloat"): Replace `TeX-arg-eval' with
+   closure.
+   Fix the first argument of `TeX-arg-completing-read'
+
+2023-03-14  Arash Esbati  
+
+   Simplify implementation of style/overpic.el
+
+   * style/overpic.el (LaTeX-arg-overpic-key-val): Delete function
+   and move the functionality into the hook.
+   (LaTeX-graphicx-key-val-options): Declare.
+
+2023-03-04  Tassilo Horn  
+
+   Fix \includegraphics key-vals prompt in beamer documents.
+
+   * style/beamer.el ("beamer"): Fix \includegraphics key-vals prompt in
+   beamer documents.
+   * style/overpic.el (LaTeX-arg-overpic-key-val): Fix
+   LaTeX-arg-overpic-key-val docstring which referred to the removed
+   function LaTeX-arg-graphicx-includegraphics-key-val.
+
+2023-02-21  Ikumi Keita  
+
+   Add new tests
+
+   * tests/latex/nested-indent-in.tex:
+   * tests/latex/nested-indent-out.tex:
+   New files for additional test for bug#48518.
+   * tests/latex/latex-test.el (AUCTeX-set-ert-path): Add new entries for
+   the above new files.
+   (LaTeX-indent-nested-envs): New test for bug#48518.
+   * tests/latex/latex-filling-in.tex:
+   * tests/latex/latex-filling-out.tex:
+   Add \usepackage and paragraphs for bug#61400
+
+2023-02-16  Ikumi Keita  
+
+   Fill \verb-like macros appropriately (bug#61400)
+
+   * latex.el (LaTeX-verbatim-macro-boundaries): Attach an optional
+   argument so that it can return boundaries of its argument only.
+   Include *-braces verbatim macros like \url{} as targets.  This affects
+   `LaTeX-current-verbatim-macro' in the same way.
+   Clean up codes to fix the following bugs.
+   (1) Inconsistent result when the point is 

[AUCTeX-commit] GNU AUCTeX branch, master, updated. c8a176ca7c87baa534768e55d9ccea76fa3cd212

2022-02-20 Thread Mosè Giordano
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU AUCTeX".

The branch, master has been updated
   via  c8a176ca7c87baa534768e55d9ccea76fa3cd212 (commit)
   via  0e03659db50cf5c9211b3b385d4b5a98ebaea0a9 (commit)
  from  8eb3cccba9f0085e5d4d1d734abcb9d1dcbf6169 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -
commit c8a176ca7c87baa534768e55d9ccea76fa3cd212
Author: Mosè Giordano 
Date:   Sun Feb 20 19:30:18 2022 +

; Release_13.1

commit 0e03659db50cf5c9211b3b385d4b5a98ebaea0a9
Author: Mosè Giordano 
Date:   Sun Feb 20 19:30:03 2022 +

; make change-history-commit

---

Summary of changes:
 ChangeLog-preview |4 +
 ChangeLog.1   | 2811 -
 2 files changed, 2814 insertions(+), 1 deletion(-)


hooks/post-receive
-- 
GNU AUCTeX

___
auctex-commit mailing list
auctex-com...@gnu.org
https://lists.gnu.org/mailman/listinfo/auctex-commit


[AUCTeX-commit] GNU AUCTeX tag, release_13_1, created. c8a176ca7c87baa534768e55d9ccea76fa3cd212

2022-02-20 Thread Mosè Giordano
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU AUCTeX".

The tag, release_13_1 has been created
at  c8a176ca7c87baa534768e55d9ccea76fa3cd212 (commit)

- Log -
commit c8a176ca7c87baa534768e55d9ccea76fa3cd212
Author: Mosè Giordano 
Date:   Sun Feb 20 19:30:18 2022 +

; Release_13.1
---


hooks/post-receive
-- 
GNU AUCTeX

___
auctex-commit mailing list
auctex-com...@gnu.org
https://lists.gnu.org/mailman/listinfo/auctex-commit


[AUCTeX-commit] GNU AUCTeX branch, master, updated. 8eb3cccba9f0085e5d4d1d734abcb9d1dcbf6169

2022-02-20 Thread Mosè Giordano
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU AUCTeX".

The branch, master has been updated
   via  8eb3cccba9f0085e5d4d1d734abcb9d1dcbf6169 (commit)
  from  afd2691e569ea523383bdcb6ceb43ec4e24f1cca (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -
commit 8eb3cccba9f0085e5d4d1d734abcb9d1dcbf6169
Author: Mosè Giordano 
Date:   Sun Feb 20 00:49:32 2022 +

; Re-prepare for upcoming release

---

Summary of changes:
 RELEASE   | 38 +++---
 doc/tex-ref.tex   |  6 +++---
 latex/preview.dtx |  2 +-
 3 files changed, 31 insertions(+), 15 deletions(-)


hooks/post-receive
-- 
GNU AUCTeX

___
auctex-commit mailing list
auctex-com...@gnu.org
https://lists.gnu.org/mailman/listinfo/auctex-commit


[AUCTeX-diffs] GNU AUCTeX branch, master, updated. e118a53e0a77efa53a3919c504368108131a1eb6

2021-11-29 Thread Mosè Giordano
)
+
+Since AUCTeX 12.2, 'C-x C-w' accidentally disabled the parse on
+save in that buffer, even when you enabled 'TeX-auto-save' option.
+This bug was fixed.
+
+AUCTeX now requires GNU Emacs 24.3 or higher.
+
+Old implementations for viewers were discarded, as announced long
+before.  The variables 'TeX-output-view-style' and 'TeX-view-style'
+have no effect now.  The former placeholders '%v' and '%vv' in
+'TeX-command-list' are ignored.
+
+AUCTeX now uses lexical binding which has been introduced in Emacs
+24.  This change should have no user-visible effect and require no
+manual adaptions except in the following cases.
+
+   - Entries added to the customization variable 'TeX-expand-list'
+ also had access to variables 'command' and 'pos'.  Those are
+ now properly declared and named 'TeX-expand-command' and
+ 'TeX-expand-pos'.
+
+   - Entries added to the customization variable 'TeX-expand-list'
+ had access to a variable 'file' which was bound to
+ 'TeX-active-master', i.e., it evaluated to either the master
+ or region file.  This usage must be replaced with either
+ 'TeX-active-master' or 'TeX-active-master-with-quotes'.
+
+   - Viewer entries in 'TeX-view-program-list' also had access to a
+ variable 'file' which was bound to the name of the master or
+ region file without extension.  Instead, the function
+ 'TeX-active-master' has to be used now.
+
+   - Macro argument parsing functions could set a variable
+ 'exit-mark' to the buffer position where point should be left
+ after all arguments have been read.  This variable is now
+ named 'TeX-exit-mark'.
+
+   - The functions in 'LaTeX-section-hook' had access or modified
+ the previously undeclared variables 'title', 'name', 'level',
+ 'done-mark', and 'toc'.  These variables are now properly
+ declared and have the 'LaTeX-' prefix, e.g.,
+ 'LaTeX-done-mark'.
+
+   - The functions in 'ConTeXt-numbered-section-hook' and
+ 'ConTeXt-unnumbered-section-hook' had access or modified the
+ previously undeclared variables 'title', 'name', 'level',
+ 'done-mark', and 'reference'.  These variables are now
+ properly declared and have the 'ConTeXt-' prefix, e.g.,
+ 'ConTeXt-title'.
+
+   - The functions in 'TeX-translate-location-hook' could access
+ and modify the free variables 'file', 'line', 'error',
+ 'offset', 'context', and 'string'.  Those are now properly
+ declared variables with the prefix 'TeX-translate-location-',
+ e.g., 'TeX-translate-location-file'.
+
+The constant 'LaTeX-dialect' has been renamed to 'TeX-dialect' and
+moved from 'latex.el' to 'tex.el'.  'LaTeX-dialect' now is an
+obsolete alias.
+
+The style 'latexinfo.el' is removed from AUCTeX.  'latexinfo.el'
+was meant to support latexinfo which in return was a LaTeX-2.09
+extension of Texinfo, but didn't manage to replace Texinfo.
+
+The style 'siunitx.el' is updated to support package version 3.
+Key-value options provided by older package versions are removed,
+deprecated macros and units are not supported anymore.
+
+AUCTeX has preliminary support for LaTeX-hooks.  Hooks provided by
+LaTeX kernel are known and available for completion in
+'\AddToHook', '\RemoveFromHook' and '\AddToHookNext'.
+
+AUCTeX is now able to place all generated output files, including
+those that are produced by applications running under AUCTeX,
+temporary files related to region processing and preview-latex
+files, in an output directory.  To use this feature, set the new
+user option 'TeX-output-dir' to the absolute path of the output
+directory or a relative path which would be interpreted as being
+relative to the master file in a multifile document.
+
+Note that this feature doesn't work if the document includes sub
+file placed in sub directory below the main file via '\include'
+command.
+
+Many other bugs were fixed.
 
 Requirements
 
@@ -125,11 +194,12 @@ Mohammad Hossein Bateni, Fabrice Ben Hamouda, Thomas 
Baumann, Vincent
 Belaïche, Berend de Boer, Alex Branham, Uwe Brauer, Ken Brown, Joshua
 Buhl, Jean-François Burnol, Patrice Dumas, Arash Esbati, Werner Fink,
 Miguel Frasson, Peter S. Galbraith, Mosè Giordano, Patrick Gundlach,
-Jobst Hoffmann, Tassilo Horn, Yvon Hevel, Orlando Iovino, Mads Jensen,
-Arne Jørgensen, David Kastrup, Ikumi Keita, Philip Kime, Oleh Krehel,
-Joost Kremers, Frank Küster, Jan-Åke Larsson, Matthew Leach, Antoine
-Levitt, Leo Liu, Vladimir Lomov, Stefan Monnier, Dan Nicolaescu, Piet
-van Oostrum, Pieter Pareit, Nicolas Richard, Augusto Ritter Stoffel,
+Abdul-Lateef Haji-Ali, Jobst Hoffmann, Tassilo Horn, Yvon Hevel,
+Orlando Iovino, Mads Jensen, Arne Jørgensen, Philip Kaludercic, David
+Kastrup, Ikumi Keita, Philip Kime, Oleh Krehel, Joost Kremers, Frank
+Küster, Jan-Åke Larsson, Matthew Leach, Brian Leung, Antoine Levitt,
+Leo Liu, Vladimir Lomov, Stefan Monnier, Dan Nicolaescu, Piet van
+Oostrum, Pieter Pareit, Nicolas Richard, Augusto Ritter Stoffe

Re: [a new branch?] (was: Output to directory patch)

2021-02-25 Thread Mosè Giordano
Hi Uwe,

On Thu, 25 Feb 2021 at 20:14, Uwe Brauer  wrote:
> I lately have a lot of (mercurial) repositories for Latex projects, that
> include quite a bit of files, so to keep that directory tidy I find very
> useful.

Sorry, but I don't buy this argument.  LaTeX isn't unique in producing
intermediate and final files after a build.  Building any non-trivial
C/C++ programs involves using a complex build system which would
generate lots of build files (makefiles, ninja, etc...), in addition
to the compiled files.  Some build systems make it easy to to the
build in a different directory than that where the source is, but one
of the main points is to easily delete those files.  However, it's
also easy to clean up all LaTeX intermediate and final files from
within AUCTeX, and you can ignore them in your VCS, if that's your
concern.  So in the end I don't see how this feature is so
fundamental, as nice as it is.

> May I suggest something? Why not give Al write access to the repository
> so that he can have his code in a new  branch?

How'd that be different from maintaining the branch on any other code
hosting service as he's doing now?

If implementing this feature in a clean and robust way was easy, it'd
have happened years ago, well before my attempt in 2013.

Bye,
Mosè



Re: Output to directory patch

2021-02-14 Thread Mosè Giordano
Hi all,

for the record I tried to work on this back in 2013:
https://github.com/giordano/auctex/commit/9c0eb5d4f2f82f4ff22683ef218727b6a45ae54d
(I believe this was based on a previous attempt by Ralf Angeli, but I
can't find a reference for this).  I'm pretty sure I didn't push this
forward because I faced some fundamental challenges that would have
made the functionality only half-baked.  Probably Keita identified
some of those issues.

Bye,
Mosè



[AUCTeX-diffs] GNU AUCTeX branch, master, updated. ec4060edb52c64fe2ae47464ad74081bfe000937

2020-10-18 Thread Mosè Giordano
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU AUCTeX".

The branch, master has been updated
   via  ec4060edb52c64fe2ae47464ad74081bfe000937 (commit)
   via  3a9705f141af1da221961b5d5a67288bc8e4bcbd (commit)
   via  dc09dbcc86ea66e4dcbcf154932bbdc2e276681e (commit)
  from  869f43f9100a069719274c8a3986801e7856bb09 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -
commit ec4060edb52c64fe2ae47464ad74081bfe000937
Author: Mosè Giordano 
Date:   Sun Oct 18 21:31:58 2020 +0100

; Some improvements to release instructions

* admin/release-process.org (Website [0/6]): Add some tips about dealing 
with
  the CVS repository.

diff --git a/admin/release-process.org b/admin/release-process.org
index 4807855..ea87618 100644
--- a/admin/release-process.org
+++ b/admin/release-process.org
@@ -57,8 +57,8 @@ checkout the repository locally should be
   cvs -z3 -d:ext:your_user_n...@cvs.savannah.gnu.org:/web/auctex co auctex
 #+END_SRC
 
-For this to work, you also need to have the environment variable =CVS_RSH= set
-to =ssh=:
+In order to access the 
[[http://web.cvs.savannah.gnu.org/viewvc/auctex/auctex/][remote CVS 
repository]], you also need to have the
+environment variable =CVS_RSH= set to =ssh=:
 
 #+BEGIN_SRC sh
   export CVS_RSH=ssh
@@ -79,7 +79,27 @@ You can also browse the 
[[http://web.cvs.savannah.gnu.org/viewvc/auctex/][conten
 - [ ] Register all changes. You can use for example =vc-mode= in Emacs: [0/2]
 
   - [ ] Register all new files with =i=
-  - [ ] Select all files and do check in/out with =v=
+  - [ ] Select all files in the same state with =m= and do check in/out with 
=v=
+  - [ ] To delete files not needed anymore I don’t know a better way than
+deleting them on disk, then manually running the command =cvs remove= in 
the
+local repository and then in =vc-mode= select all files marked as "removed"
+with =m= and make the change effective with =v=
+
+Simple shell commands to help replacing the old files with the new ones:
+
+#+BEGIN_SRC sh
+# Set these variables
+AUCTEX_DIR=""
+AUCTEX_WEBPAGES_DIR=""
+
+rm "${AUCTEX_WEBPAGES_DIR}"/manual/{auctex,preview-latex}.* \
+   "${AUCTEX_WEBPAGES_DIR}"/manual/auctex/*.html \
+   "${AUCTEX_WEBPAGES_DIR}"/manual/preview-latex/*.html
+
+cp "${AUCTEX_DIR}"/auctex-dist/www/manual/manual/{auctex,preview-latex}.* 
"${AUCTEX_WEBPAGES_DIR}"/manual/.
+cp "${AUCTEX_DIR}"/auctex-dist/www/manual/manual/auctex/* 
"${AUCTEX_WEBPAGES_DIR}"/manual/auctex/.
+cp "${AUCTEX_DIR}"/auctex-dist/www/manual/manual/preview-latex/* 
"${AUCTEX_WEBPAGES_DIR}"/manual/preview-latex/.
+#+END_src
 
 ** =preview= package to CTAN
 

commit 3a9705f141af1da221961b5d5a67288bc8e4bcbd
Author: Mosè Giordano 
Date:   Sun Oct 18 19:04:06 2020 +0100

; Release_12.3

diff --git a/ChangeLog-preview b/ChangeLog-preview
index 0096f55..6a89713 100644
--- a/ChangeLog-preview
+++ b/ChangeLog-preview
@@ -1,3 +1,7 @@
+2020-10-18  Mosè Giordano  
+
+   * Version 12.3 released.
+
 2019-10-30  Mosè Giordano  
 
* Version 12.2 released.
diff --git a/ChangeLog.1 b/ChangeLog.1
index 5ce2261..830d036 100644
--- a/ChangeLog.1
+++ b/ChangeLog.1
@@ -1,5 +1,9 @@
 2020-10-18  Mosè Giordano  
 
+   * Version 12.3 released.
+
+2020-10-18  Mosè Giordano  
+
Mark default argument to `LaTeX-arg-polyglossia-lang' as optional
 
* style/polyglossia.el (LaTeX-arg-polyglossia-lang): The `default' 
argument

commit dc09dbcc86ea66e4dcbcf154932bbdc2e276681e
Author: Mosè Giordano 
Date:   Sun Oct 18 19:02:58 2020 +0100

; make change-history-commit

diff --git a/ChangeLog.1 b/ChangeLog.1
index 3bfa41b..5ce2261 100644
--- a/ChangeLog.1
+++ b/ChangeLog.1
@@ -1,3 +1,887 @@
+2020-10-18  Mosè Giordano  
+
+   Mark default argument to `LaTeX-arg-polyglossia-lang' as optional
+
+   * style/polyglossia.el (LaTeX-arg-polyglossia-lang): The `default' 
argument
+ isn't currently used, mark it as ignored.
+
+2020-10-10  Mosè Giordano  
+
+   Prepare for upcoming release
+
+2020-08-28  Ikumi Keita  
+
+   Simplify mode line for emacs 27
+
+   * tex-buf.el: Don't add an entry in `minor-mode-alist' for
+   `compilation-in-progress'. In emacs 27, compile.el adds a similar
+   entry in `mode-line-modes'.
+
+2020-08-17  Ikumi Keita  
+
+   Fix document
+
+   * doc/auctex.texi (Fontification of math): Delete incorrect
+   description.
+
+2020-08-02  Ikumi Keita  
+
+   Restore all math environments in texmathp.el
+
+   * texmathp.el (texmathp-tex-commands-default): Restore all math
+   environments from style files. The idea to update t-t-c-d by style
+   files afterwards fails when texmathp is 

[AUCTeX-diffs] GNU AUCTeX tag, release_12_3, created. 3a9705f141af1da221961b5d5a67288bc8e4bcbd

2020-10-18 Thread Mosè Giordano
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU AUCTeX".

The tag, release_12_3 has been created
at  3a9705f141af1da221961b5d5a67288bc8e4bcbd (commit)

- Log -
commit 3a9705f141af1da221961b5d5a67288bc8e4bcbd
Author: Mosè Giordano 
Date:   Sun Oct 18 19:04:06 2020 +0100

; Release_12.3
---


hooks/post-receive
-- 
GNU AUCTeX

___
auctex-diffs mailing list
auctex-di...@gnu.org
https://lists.gnu.org/mailman/listinfo/auctex-diffs


[AUCTeX-diffs] GNU AUCTeX branch, master, updated. 869f43f9100a069719274c8a3986801e7856bb09

2020-10-18 Thread Mosè Giordano
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU AUCTeX".

The branch, master has been updated
   via  869f43f9100a069719274c8a3986801e7856bb09 (commit)
  from  c892ed81857e0bd74085cc392c52839f7362ff87 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -
commit 869f43f9100a069719274c8a3986801e7856bb09
Author: Mosè Giordano 
Date:   Sun Oct 18 18:58:29 2020 +0100

Mark default argument to `LaTeX-arg-polyglossia-lang' as optional

* style/polyglossia.el (LaTeX-arg-polyglossia-lang): The `default' argument
  isn't currently used, mark it as ignored.

diff --git a/style/polyglossia.el b/style/polyglossia.el
index b9aa3d4..aaa688d 100644
--- a/style/polyglossia.el
+++ b/style/polyglossia.el
@@ -148,7 +148,7 @@ The last language is the default one."
 The value is actually the tail of the list of options given to LANGUAGE."
   (member option (cdr (cdr (assoc language LaTeX-polyglossia-lang-list)
 
-(defun LaTeX-arg-polyglossia-lang (_optional default multiple setkeys)
+(defun LaTeX-arg-polyglossia-lang (_optional _default multiple setkeys)
   "Prompt for language and its options with completion and insert them
 as arguments.
 
@@ -156,14 +156,16 @@ This function is triggered by \"\setdefaultlanguage\",
 \"\setotherlanguage\", \"\setotherlanguages\", and \"\setkeys\"
 macros by polyglossia package.
 
-OPTIONAL is ignored, if DEFAULT is non-nil treat inserted
-language as default, if MULTIPLE is non-nil prompt for multiple
-languages, if SETKEYS is non-nil insert options as second
-mandatory argument."
+OPTIONAL and DEFAULT are ignored, if MULTIPLE is non-nil prompt
+for multiple languages, if SETKEYS is non-nil insert options as
+second mandatory argument."
   ;; DEFAULT =  t , MULTIPLE = nil, SETKEYS = nil: "\setdefaultlanguage".
   ;; DEFAULT = nil, MULTIPLE = nil, SETKEYS = nil: "\setotherlanguage".
   ;; DEFAULT = nil, MULTIPLE =  t , SETKEYS = nil: "\setotherlanguages".
   ;; DEFAULT = nil, MULTIPLE = nil, SETKEYS =  t : "\setkeys".
+
+  ;; Note: `DEFAULT' is currently ignored because we don't really have a
+  ;; mechanism to identify the default polyglossia language.
   (let ((language (funcall
   (if multiple
   'TeX-completing-read-multiple

---

Summary of changes:
 style/polyglossia.el | 12 +++-
 1 file changed, 7 insertions(+), 5 deletions(-)


hooks/post-receive
-- 
GNU AUCTeX

___
auctex-diffs mailing list
auctex-di...@gnu.org
https://lists.gnu.org/mailman/listinfo/auctex-diffs


[AUCTeX-diffs] GNU AUCTeX branch, master, updated. c892ed81857e0bd74085cc392c52839f7362ff87

2020-10-10 Thread Mosè Giordano
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU AUCTeX".

The branch, master has been updated
   via  c892ed81857e0bd74085cc392c52839f7362ff87 (commit)
  from  087b0300012d14cc86dec946d6c225cdb06460a1 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -
commit c892ed81857e0bd74085cc392c52839f7362ff87
Author: Mosè Giordano 
Date:   Sat Oct 10 19:28:20 2020 +0100

Prepare for upcoming release

diff --git a/RELEASE b/RELEASE
index 7ad98bf..1b194d2 100644
--- a/RELEASE
+++ b/RELEASE
@@ -1,4 +1,4 @@
-Release notes for AUCTeX 12.2 with preview-latex
+Release notes for AUCTeX 12.3 with preview-latex
 
 
 AUCTeX provides by far the most wide-spread and sophisticated
@@ -24,73 +24,53 @@ sleuth work, testing.
 New features and fixed bugs in this release
 ---
 
-AUCTeX reflects the changes in LaTeX2e 2019-10-01 release.
-'filecontents' environment now takes an optional argument and can
-be used anywhere in a document.  The macros '\Ref' and
-'\labelformat' are moved from 'varioref.sty' to LaTeX kernel.
-amsmath has a new macro '\overunderset'.
-
-A new method is implemented in preview-latex to adjust the
-foreground colors of generated images to those of Emacs, when the
-LaTeX command produces PDF.  The traditional method became invalid
-because of the change introduced in Ghostscript 9.27.
-Unfortunately, the new method doesn't work due to a bug in
-Ghostscript 9.27 and is valid only for Ghostscript > 9.27.  There
-is also a fallback method for gs 9.27 users which displays plain
-"black on white" images.  For successful function of preview-latex,
-the users are encouraged to set up the new user option
-'preview-pdf-color-adjust-method' to choose appropriate option
-among the three: new, traditional and fallback method.
-
-AUCTeX has support for the Flymake package in Emacs 26 or newer.
-To enable, call 'M-x flymake-mode RET' or add this to your '.emacs'
-file:
- (add-hook 'LaTeX-mode-hook #'flymake-mode)
-
-The way the option 'TeX-record-buffer' is used was corrected.  It
-was used in just the opposite way as the document says.  Erase the
-customization if you have customized this option since it now acts
-in reverse to your expectation.
-
-A former customize option 'japanese-TeX-command-list' is removed.
-Use 'japanese-TeX-engine-default', or if it's really necessary,
-customize 'TeX-command-list' directly if the task which the option
-used to carry is required.
-
-Support for standard LaTeX without e-TeX extension is now very
-limited.  It doesn't work if raw TeX code is put on the command
-line to invoke latex command.  It also fails for region compilation
-('C-c C-r' and so on) with documents of non-ascii file name.  In
-addition, it no longer works with preview-latex.  We consider this
-incompatibility is permissible because e-TeX extension is enabled
-for standard LaTeX by default long ago.  LaTeX variants such as
-XeLaTeX and LuaLaTeX are not affected.
-
-Key binds in Texinfo mode are improved.  Typing '$', '^', '_' and
-'\' now just self-inserts without pointless side effects in Texinfo
-mode.
-
-In addition, the option 'TeX-electric-escape' is now effective in
-Texinfo mode.  When it is enabled, typing '@' will invoke
-'TeX-electric-macro' offering completion in similar style with
-other TeX modes of AUCTeX.
-
-Fontification support for 'biblatex' package is improved and
-updated to macros provided by package version 3.12.  For qualified
-lists, at least 2 mandatory arguments are fontified.
-
-Support for column specifiers 'w' and 'W' provided by 'array'
-package is added to 'array.el'.  The correct counting of columns
-only works when the 'align' parameter is enclosed in braces, e.g.,
-'w{l}{3cm}'.  The short version 'wl{3cm}' is not supported.
-
-Entries for 'PDF Tools' are added in
-'TeX-view-program-list-builtin' for Windows and macOS. This viewer
-can be configured under these operating systems with an entry like
-this in an init file:
- (setq TeX-view-program-selection '((output-pdf "PDF Tools")))
-
-Several other bugs were fixed, many minor features were added.
+Support for 'PSTricks' is now PDF-oriented.  AUCTeX no longer turns
+off PDF mode for 'PSTricks' documents even without 'pst-pdf'.  It
+now sets up 'TeX-PDF-from-DVI' option so that PDF output is
+generated when 'TeX-PDF-mode' is enabled (default).  Users who want
+DVI output should disable PDF mode explicitly by file local
+variable, or customize 'TeX-PDF-mode' to 'nil'.
+
+The function 'font-latex-update-font-lock' has been obsoleted in
+order to fix 'bug#37945'.  That function was used by several style
+files in order to refresh 

Re: Onwards to lexical binding (attempt 1)

2020-09-05 Thread Mosè Giordano
Hi Tassilo,

thank you so much for taking the time to look into this!

Running `make check` locally on this branch I get

SUMMARY OF TEST RESULTS
---
Files examined: 13
Ran 42 tests, 35 results as expected, 4 unexpected, 3 skipped
2 files contained unexpected results:
  tex/command-expansion.log
  japanese/preview-latex.log
make[1]: *** [Makefile:85: check-doit] Error 1

It's probably worth checking the failing tests, at least some of them
are related.

Bye,
Mosè

On Fri, 4 Sep 2020 at 17:37, Tassilo Horn  wrote:
>
> Hi all,
>
> on the new branch lexical-binding-attempt-1, I've squashed all
> "reference to free variable" warnings in latex.el and context.el by
> declaring them properly with defvars and with a prefix, and changing all
> users.
>
> This affects in latex.el
>
>   LaTeX-done-mark
>   LaTeX-level
>   LaTeX-name
>   LaTeX-title
>   LaTeX-toc
>
> and in context.el
>
>   ConTeXt-done-mark
>   ConTeXt-level
>   ConTeXt-name
>   ConTeXt-title
>   ConTeXt-reference
>
> which were previously neither prefixed nor declared.
>
> Of course, that is an incompatible change which will break user
> LaTeX-section-hook functions which accessed those unprefixed variables.
> But if we want to go lexical-binding (which I think we should), there's
> no way around that.
>
> Of course, I did not test too much (and ConTeXt not at all), so it would
> be great if you could give it a whirl.  There are chances that I might
> have changed an occurrence which I shouldn't have.
>
> We still have such issues in tex.el with the variable `file' and some
> others.  If someone wants to take care of that in a similar vein, feel
> free to give it a shot.
>
> Bye,
> Tassilo
>
>
>



[AUCTeX-diffs] GNU AUCTeX branch, master, updated. 6202421b80a551f9348b765c04982ce66a4cacaf

2019-10-31 Thread Mosè Giordano
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU AUCTeX".

The branch, master has been updated
   via  6202421b80a551f9348b765c04982ce66a4cacaf (commit)
  from  c8911b38a81d33bd858843ae91bee400faa8eb32 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -
commit 6202421b80a551f9348b765c04982ce66a4cacaf
Author: Mosè Giordano 
Date:   Thu Oct 31 22:03:18 2019 +

; Add instructions for releasing a new version of AUCTeX

diff --git a/admin/release-process.org b/admin/release-process.org
new file mode 100644
index 000..dd5d305
--- /dev/null
+++ b/admin/release-process.org
@@ -0,0 +1,125 @@
+#+TITLE: How to release AUCTeX
+#+AUTHOR: Mosè Giordano
+#+DATE: [2019-10-31 Thu]
+
+This document descriptes the steps for AUCTeX maintainer to do a new release of
+the package.
+
+You will need to upload files to GNU FTP servers. In order to do so, we use an
+automated system. Before starting, 
[[https://www.gnu.org/prep/maintain/html_node/Automated-FTP-Uploads.html#Automated-FTP-Uploads][register
 for automated uploading]] if you did
+not already.
+
+** AUCTeX package [0/3]
+
+Note: I recommend iterating a few times the following steps in a test 
repository
+(of course excluding uploading of the package to the FTP server) to check that
+everything goes well, before actually doing the release.
+
+- [ ] Synchronise with the 
[[https://savannah.gnu.org/git/?group=auctex][remote repository on Savannah]]: 
=git pull=
+- [ ] Prepare for new release [0/3]
+
+  - [ ] Update AUCTeX version and copyright year in =configure.ac=,
+=doc/tex-ref.tex=, and =latex/preview.dtx=
+  - [ ] Make sure that all relevant changes are mentioned in =doc/changes.texi=
+  - [ ] Update =RELEASE= [0/3]
+
+- [ ] Update release version
+- [ ] Update list of changes: use =CHANGES= (which is generated from
+  =doc/changes.texi=, you may need to run =make= to update it after
+  changes above)
+- [ ] Update any other relevant information, like the list of
+  contributors
+
+- [ ] Towards the end of the top-level =Makefile= there are the instructions on
+  how to do the release. Follow them.
+
+  - The instructions may mention how to build the XEmacs and Windows packages,
+but you do not need to do that if you decided to stop providing those
+packages
+  - Make sure that the patch for =gendocs.sh= in the =www-docs= target applies
+correctly, otherwise you will need to update it. Remember to update it in
+the =gendocspath= branch of the AUCTeX remote repository too.
+  - [[https://www.nongnu.org/texi2html/][=texi2html=]] is needed to build the 
online documentation. So far, version
+1.8.2 has been used and tested. Version 5.0 may not be fully compatible (in
+particular, I have found that
+=auctex-dist/www/manual/manual/auctex/index.html= may be a broken link 
using
+=texi2html= 5.0)
+
+** Website [0/6]
+
+You now have to update the information about latest AUCTeX version on the
+website, and the online documentation. The website is maintained in a CVS
+repository on Savannah. Read the 
[[https://savannah.gnu.org/cvs/?group=www][Savannah instructions about how to 
use CVS for
+webpages]] (remember to replace =www= with =auctex= as project). The command to
+checkout the repository locally should be
+
+#+BEGIN_SRC sh
+  cvs -z3 -d:ext:your_user_n...@cvs.savannah.gnu.org:/web/auctex co auctex
+#+END_SRC
+
+For this to work, you also need to have the environment variable =CVS_RSH= set
+to =ssh=:
+
+#+BEGIN_SRC sh
+  export CVS_RSH=ssh
+#+END_SRC
+
+You can also browse the 
[[http://web.cvs.savannah.gnu.org/viewvc/auctex/][content of the CVS 
repository]].
+
+- [ ] Remove all =manual/{auctex,preview-latex}.*= files, and replace them with
+  the =auctex-dist/www/manual/manual/{auctex,preview-latex}.*= files from 
AUCTeX
+  repository
+- [ ] Remove all =manual/auctex/*.html= files, and replace them with the
+  =auctex-dist/www/manual/manual/auctex.*= files from AUCTeX repository
+- [ ] Remove all =manual/preview-latex/*.html= files, and replace them with the
+  =auctex-dist/www/manual/manual/preview-latex.*= files from AUCTeX repository
+- [ ] Update AUCTeX version and date in files in =src/= directory. When you are
+  done, run the script =./genpages.sh=
+- [ ] Update the =ChangeLog=
+- [ ] Register all changes. You can use for example =vc-mode= in Emacs: [0/2]
+
+  - [ ] Register all new files with =i=
+  - [ ] Select all files and do check in/out with =v=
+
+** =preview= package to CTAN
+
+Upload the =preview= tarball generated with =make preview-ball= to CTAN as a
+"package update" using the [[https://ctan.org/upload][upload form]].
+
+My understanding is that you can use your own name and 

[AUCTeX-diffs] GNU AUCTeX branch, master, updated. c8911b38a81d33bd858843ae91bee400faa8eb32

2019-10-30 Thread Mosè Giordano
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU AUCTeX".

The branch, master has been updated
   via  c8911b38a81d33bd858843ae91bee400faa8eb32 (commit)
   via  f06fcb090e089566adc14676b8c5e731e1b4b283 (commit)
  from  9a319640636d49ebe98b9f1ba2f176fa3c8b468d (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -
commit c8911b38a81d33bd858843ae91bee400faa8eb32
Author: Mosè Giordano 
Date:   Wed Oct 30 21:42:59 2019 +

; Release_12.2

diff --git a/ChangeLog-preview b/ChangeLog-preview
index 6fe6b6b..0096f55 100644
--- a/ChangeLog-preview
+++ b/ChangeLog-preview
@@ -1,3 +1,7 @@
+2019-10-30  Mosè Giordano  
+
+   * Version 12.2 released.
+
 2017-12-10  Mosè Giordano  
 
* Version 12.1 released.
diff --git a/ChangeLog.1 b/ChangeLog.1
index cc490bd..3bfa41b 100644
--- a/ChangeLog.1
+++ b/ChangeLog.1
@@ -1,3 +1,7 @@
+2019-10-30  Mosè Giordano  
+
+   * Version 12.2 released.
+
 2019-10-29  Mosè Giordano  
 
Prepare for upcoming release

commit f06fcb090e089566adc14676b8c5e731e1b4b283
Author: Mosè Giordano 
Date:   Wed Oct 30 21:42:21 2019 +

; make change-history-commit

diff --git a/ChangeLog.1 b/ChangeLog.1
index a7e98c8..cc490bd 100644
--- a/ChangeLog.1
+++ b/ChangeLog.1
@@ -1,3 +1,1928 @@
+2019-10-29  Mosè Giordano  
+
+   Prepare for upcoming release
+
+   * RELEASE: Update version number, release notes and list of 
contributors.
+   * configure.ac: Update version number.
+   * doc/auctex.texi: Update copyright years.
+   * doc/changes.texi: Mention generic bug fixes.
+   * doc/tex-ref.tex:
+   * latex/preview.dtx: Update version number and copyright years
+
+2019-10-26  Arash Esbati  
+
+   Add new style/xkcdcolors.el
+
+   * Makefile.in (STYLESRC): Add new style.
+
+   * style/xkcdcolors.el: New file.
+
+2019-10-26  Arash Esbati  
+
+   Add check for empty overlay
+
+   * tex-fold.el (TeX-fold-hide-item): Add an extra check to make
+   sure that the function runs when overlay start and end are
+   non-nil.  What is done in the end of function isn't useful with
+   evaporated overlays and used to cause bugs because `overlay-start'
+   and `overlay-end' return nil for such overlays, and functions such
+   as `TeX-fold-overfull-p` try to move point to the
+   overlay-end. (bug#37337)
+
+2019-10-20  Arash Esbati  
+
+   * style/amsmath.el ("amsmath"): Improve query strings.
+
+2019-10-19  Stefan Monnier  
+
+   multi-prompt.el, style/beamer*.el: Get copyright just right
+
+2019-10-18  Arash Esbati  
+
+   * doc/changes.texi: Mention changes in News.
+
+2019-10-18  Arash Esbati  
+
+   Add final adjustments for LaTeX 2019-10-01
+
+   * latex.el (LaTeX-env-contents): Adjust function to LaTeX kernel
+   2019-10-01 release.  Remove check for usage within preamble only.
+   Add query for optional argument with completion.
+   (LaTeX-verbatim-environments):
+   (LaTeX-indent-environment-list): Add filecontents(*) environments.
+
+   * style/amsmath.el ("amsmath"): Add support for \overunderset
+   macro.  Delete unnecessary `function' before `lambda'.  Re-indent
+   the code.
+
+2019-10-15  Ikumi Keita  
+
+   Change default for new Ghostscript
+
+   * preview.el.in (preview-pdf-color-adjust-method): Change the default
+   value to t and adjust doc string.
+   * doc/preview-problems.texi (No images are displayed with gs 9.27 and
+   earlier): Adjust its contents in line with the above change and change
+   the title from "... newer".
+
+2019-10-15  Ikumi Keita  
+
+   Fix for revised file access controls of gs (bug#37719)
+
+   * preview.el.in (preview-prepare-fast-conversion): Add commands for
+   revised file access controls introduced after gs 9.27.
+   (preview-gs-restart): Use "-d" option instead of "-s" because the
+   former does not accept "%d" in OutputFile parameter.
+   Don't wrap the file name into parentheses in line with this change.
+   (preview-gs-flag-error): Adjust the reconstructed gs command line
+   argument so that it matches with the above change.
+   Add comments about limitations of this function.
+
+2019-10-07  Ikumi Keita  
+
+   * preview.el.in (preview-undump-replacements): Fix last commit.
+
+2019-10-07  Ikumi Keita  
+
+   Fix preview-latex for TeXLive 2019 update
+
+   * preview.el.in (preview-LaTeX-command, preview-undump-replacements):
+   Remove the brace around the argument of \input.
+
+2019-09-23  Arash Esbati  
+
+   Add fontification support for ragged2e macros
+
+   * style/ragged2e.el ("ragged2e"): Add provided macros to 

[AUCTeX-diffs] GNU AUCTeX tag, release_12_2, created. c8911b38a81d33bd858843ae91bee400faa8eb32

2019-10-30 Thread Mosè Giordano
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU AUCTeX".

The tag, release_12_2 has been created
at  c8911b38a81d33bd858843ae91bee400faa8eb32 (commit)

- Log -
commit c8911b38a81d33bd858843ae91bee400faa8eb32
Author: Mosè Giordano 
Date:   Wed Oct 30 21:42:59 2019 +

; Release_12.2
---


hooks/post-receive
-- 
GNU AUCTeX

___
auctex-diffs mailing list
auctex-di...@gnu.org
https://lists.gnu.org/mailman/listinfo/auctex-diffs


[AUCTeX-diffs] GNU AUCTeX branch, master, updated. 9a319640636d49ebe98b9f1ba2f176fa3c8b468d

2019-10-29 Thread Mosè Giordano
d, many minor features were added.
 
 Requirements
 
@@ -79,19 +140,19 @@ bugs and suggesting improvements, but the most effective 
way of
 helping AUCTeX development remains volunteering for tasks.
 
 The following people contributed to this release series (in
-alphabetical order): Ivan Andrus, Ralf Angeli, Masayuki Ataka, Fabrice
-Ben Hamouda, Thomas Baumann, Vincent Belaïche, Berend de Boer, Uwe
-Brauer, Ken Brown, Joshua Buhl, Patrice Dumas, Arash Esbati, Werner
-Fink, Miguel Frasson, Peter S. Galbraith, Mosè Giordano, Patrick
-Gundlach, Jobst Hoffmann, Tassilo Horn, Yvon Hevel, Orlando Iovino,
-Mads Jensen, Arne Jørgensen, David Kastrup, Ikumi Keita, Philip Kime,
-Oleh Krehel, Joost Kremers, Frank Küster, Jan-Åke Larsson, Matthew
-Leach, Antoine Levitt, Leo Liu, Vladimir Lomov, Stefan Monnier, Dan
-Nicolaescu, Piet van Oostrum, Nicolas Richard, Augusto Ritter Stoffel,
-Florent Rougon, Santiago Saavedra, Davide G. M. Salvetti, Rüdiger
-Sonderfeld, Holger Sparr, Mike Sperber, Reiner Steib, Christian
-Schlauer, Shiro Takeda, Mark Trettin (Please accept our apologies if
-we forgot somebody.)
+alphabetical order): Ivan Andrus, Ralf Angeli, Masayuki Ataka,
+Mohammad Hossein Bateni, Fabrice Ben Hamouda, Thomas Baumann, Vincent
+Belaïche, Berend de Boer, Alex Branham, Uwe Brauer, Ken Brown, Joshua
+Buhl, Jean-François Burnol, Patrice Dumas, Arash Esbati, Werner Fink,
+Miguel Frasson, Peter S. Galbraith, Mosè Giordano, Patrick Gundlach,
+Jobst Hoffmann, Tassilo Horn, Yvon Hevel, Orlando Iovino, Mads Jensen,
+Arne Jørgensen, David Kastrup, Ikumi Keita, Philip Kime, Oleh Krehel,
+Joost Kremers, Frank Küster, Jan-Åke Larsson, Matthew Leach, Antoine
+Levitt, Leo Liu, Vladimir Lomov, Stefan Monnier, Dan Nicolaescu, Piet
+van Oostrum, Nicolas Richard, Augusto Ritter Stoffel, Florent Rougon,
+Santiago Saavedra, Davide G. M. Salvetti, Rüdiger Sonderfeld, Holger
+Sparr, Mike Sperber, Reiner Steib, Christian Schlauer, Shiro Takeda,
+Mark Trettin (Please accept our apologies if we forgot somebody.)
 
 Footnotes:
 
diff --git a/configure.ac b/configure.ac
index 4ba8b57..566378d 100644
--- a/configure.ac
+++ b/configure.ac
@@ -21,7 +21,7 @@ dnl along with AUCTeX; see the file COPYING.  If not, write 
to the Free
 dnl Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
 dnl MA 02110-1301, USA.
 
-AC_INIT(auctex,12.1,bug-auc...@gnu.org)
+AC_INIT(auctex,12.2,bug-auc...@gnu.org)
 
 AC_CHECK_PROGS_REQUIRED(MAKECMD, make, [make not found, aborting!])
 AC_PROG_MAKE_SET
diff --git a/doc/auctex.texi b/doc/auctex.texi
index cb25757..e8a99b4 100644
--- a/doc/auctex.texi
+++ b/doc/auctex.texi
@@ -12,7 +12,7 @@ This manual is for @AUCTeX{}
 (version @value{VERSION} from @value{UPDATED}),
 a sophisticated TeX environment for Emacs.
 
-Copyright @copyright{} 1992-1995, 2001, 2002, 2004-2018
+Copyright @copyright{} 1992-1995, 2001, 2002, 2004-2019
 Free Software Foundation, Inc.
 
 @quotation
diff --git a/doc/changes.texi b/doc/changes.texi
index 0019ec0..47e1a06 100644
--- a/doc/changes.texi
+++ b/doc/changes.texi
@@ -90,6 +90,9 @@ in an init file:
 @lisp
 (setq TeX-view-program-selection '((output-pdf "PDF Tools")))
 @end lisp
+
+@item
+Several other bugs were fixed, many minor features were added.
 @end itemize
 
 @heading News in 12.1
diff --git a/doc/tex-ref.tex b/doc/tex-ref.tex
index c34e38a..b022df9 100644
--- a/doc/tex-ref.tex
+++ b/doc/tex-ref.tex
@@ -42,9 +42,9 @@
 % Paul Rubin, Bob Chassell, Len Tower, and Richard Mlynarik
 % for creating the GNU Emacs Reference Card from which this was mutated
 
-\def\versionnumber{12.1}
-\def\year{2017}
-\def\version{December \year\ v\versionnumber}
+\def\versionnumber{12.2}
+\def\year{2019}
+\def\version{October \year\ v\versionnumber}
 
 \def\shortcopyrightnotice{\vskip 1ex plus 2 fill
   \centerline{\small \copyright\ \year\ Free Software Foundation, Inc.
@@ -53,7 +53,7 @@
 \def\copyrightnotice{%
 \vskip 1ex plus 2 fill\begingroup\small
 \centerline{Copyright \copyright\ 1987, 1992-1994, 2004-2006, 2008, 2010,}
-\centerline{2012, 2014-2017 Free Software Foundation, Inc.}
+\centerline{2012, 2014-2017, 2019 Free Software Foundation, Inc.}
 \centerline{for AUC\TeX\ version \versionnumber}
 
 Permission is granted to make and distribute copies of
diff --git a/latex/preview.dtx b/latex/preview.dtx
index b6f109f..a2f3db6 100644
--- a/latex/preview.dtx
+++ b/latex/preview.dtx
@@ -3,7 +3,7 @@
 %%Developed as part of AUCTeX https://www.gnu.org/software/auctex/>.
 %
 % Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006,
-%   2010, 2017 Free Software Foundation
+%   2010, 2017-2019 Free Software Foundation
 %
 % This program is free software; you can redistribute it and/or modify
 % it under the terms of the GNU General Public License as published by
@@ -439,7 +439,7 @@
 \NeedsTeXFormat{LaTeX2e} \def\reserved@a #1#2$#3:
 #4${\xdef#1{\reserved@c #2#4 $}} \def\reserved@c #1 #2${#1}
 \begingroup \catcode`\_=12
-\reser

Re: [AUCTeX-devel] xemacs (sigh)

2019-06-18 Thread Mosè Giordano
Hi Uwe,

On Tue, 18 Jun 2019 at 13:40, Uwe Brauer  wrote:
>
>
>
> Hi
>
> I am using GNU emacs (some master version from several weeks ago), the
> same for auctex.
>
> A colleague of mine still sticks to Xemacs 21.4 (Mule) and auctex 11.84
>
> Now the following error popped up when opening some (but not all) tex
> files for the xemacs user.
>
> ,
> |
> | Debugger entered--Lisp error: (wrong-number-of-arguments
> | TeX-add-style-hook 3)
> |   signal(wrong-number-of-arguments (TeX-add-style-hook 3))
> |   byte-code("..." [buf data kill-buffer signal] 3)
> |   find-file-noselect("~/Desktop/examn-jun19.tex")
> |   find-file("~/Desktop/examn-jun19.tex")
> | find-file-confirm-non-existing-internal("~/Desktop/examn-jun19.tex")
> |   find-file-confirm-non-existing("~/Desktop/examn-jun19.tex")
> |   call-interactively(find-file-confirm-non-existing)
> |
> |
> `
>
> Two questions
>
> 1. Somebody has an idea about the origin of that error? I vaguely can
>remember but not really.
>
> 2. Which is the last auctex version compatible with Xemacs?

Not sure about the origin of the error, but upgrading AUCTeX may be
useful.  Version 11.84 was released 12 years ago.  The latest version
supporting XEmacs is 11.92.

Bye,
Mosè

___
auctex-devel mailing list
auctex-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/auctex-devel


Re: [AUCTeX-devel] Many commands in TeX-command-list are not useful in context-mode

2019-05-08 Thread Mosè Giordano
We sorted out the copyright situation, patch installed, thank you so much!

Cheers,
Mosè

On Wed, 8 May 2019 at 21:32, Mosè Giordano  wrote:
>
> Hi Mohammad,
>
> I've waited a few days because I couldn't find your name in the list
> of people who assigned their copyright to FSF, and your name isn't
> there yet, just checked.  Did you receive confirmation from the
> copyright clerk that everything was fine?
>
> Bye,
> Mosè
>
> On Mon, 29 Apr 2019 at 16:50, Mohammad Hossein Bateni  
> wrote:
> >
> > Hi,
> >
> > I handled the copyright issue.  Everything should be good to go, except 
> > that I need to use my other email address (bat...@google.com) because of 
> > the copyright paperwork.  Which is why I updated the patch to that effect 
> > (see the attachment).
> >
> > Best,
> > MHB
> >
> > On Sun, Apr 21, 2019 at 3:46 PM Mohammad Hossein Bateni  
> > wrote:
> >>
> >> Please wait on this till I sort out the copyright.
> >>
> >> On Sun, Apr 21, 2019 at 1:29 PM Mohammad Hossein Bateni  
> >> wrote:
> >>>
> >>> Thanks for the review.
> >>>
> >>> As noted by Mosè, this change does not affect latex-mode at all.  Its 
> >>> effect on context-mode is also minimal.  It basically allows the user to 
> >>> pick and choose, while it removes a few tools from the default for 
> >>> context-mode.
> >>>
> >>> ConTeXt has two dialects now: Mark II and Mark IV.  BibTeX is perhaps 
> >>> still used in Mark II, though I don't know how many people actively use 
> >>> Mark II ConTeXt.  In Mark IV, I would say BibTeX is not required.
> >>>
> >>> Now I could be more aggressive and remove BibTeX from context-mode in the 
> >>> default.  What do you think?
> >>>
> >>> I will follow the instructions for assigning the copyright to FSF.
> >>>
> >>> On Sat, Apr 20, 2019 at 1:20 PM Colin Baxter  wrote:
> >>>>
> >>>> >>>>> Mosè Giordano  writes:
> >>>>
> >>>> > Hi Colin,
> >>>> > On Fri, 19 Apr 2019 at 19:45, Colin Baxter  
> >>>> wrote:
> >>>> >> Not everybody uses ConTeXt and I for one use dvi2ps, ps2pdf and
> >>>> >> index nearly everyday.
> >>>>
> >>>> > Sure, but the proposed patch hides by default some commands in
> >>>> > context-mode only, LaTeX users won't be affected by this.
> >>>>
> >>>> Thanks for the explanation.
> >>>>
> >>>> Best wishes,
> >>>>
> >>>> Colin Baxter
> >>>> m43...@yandex.com

___
auctex-devel mailing list
auctex-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/auctex-devel


[AUCTeX-diffs] GNU AUCTeX branch, master, updated. a30db7c0409aa7d15e87633ff9d2b73430c4d40c

2019-05-08 Thread Mosè Giordano
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU AUCTeX".

The branch, master has been updated
   via  a30db7c0409aa7d15e87633ff9d2b73430c4d40c (commit)
  from  23b34057e44b4c42a393d1fa4e0e8c11171b7ea2 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -
commit a30db7c0409aa7d15e87633ff9d2b73430c4d40c
Author: Mohammad Hossein Bateni 
Date:   Fri Apr 19 06:45:39 2019 -0400

Allow the user to customize which TeX commands are available in each mode.

Commands such as Biber, DVI2PS, PS2PDF, Index, etc. are not useful in
ConTeXt.  ConTeXt generates a PDF directly and has its own indexing
mechanism.

In Mark IV (which has been the preferred version for over a decade and
is actively developed), a new bibliography package is also available,
which can process old bibtex files as well.  So there is no need for
BibTeX.

Having so many commands in context-mode clutters the menus.  In the
definition of TeX-command-list, we either provide a list of relevant
modes, or set the value to `t' indicating that this command should
always be available.  In the latter case, the user cannot customize
it.  Here we provide sensible defaults as well as the ability for the
user to customize.

* tex.el (TeX-command-list): Hide by default some commands from 
context-mode.

Signed-off-by: Mosè Giordano 

diff --git a/tex.el b/tex.el
index d79e604..f5e8801 100644
--- a/tex.el
+++ b/tex.el
@@ -136,27 +136,41 @@ If nil, none is specified."
 ("ConTeXt Full" "%(cntxcom) %(extraopts) %(execopts)%t"
  TeX-run-TeX nil
  (context-mode) :help "Run ConTeXt until completion")
-("BibTeX" "bibtex %s" TeX-run-BibTeX nil t :help "Run BibTeX")
-("Biber" "biber %s" TeX-run-Biber nil t :help "Run Biber")
+("BibTeX" "bibtex %s" TeX-run-BibTeX nil
+ (plain-tex-mode latex-mode doctex-mode ams-tex-mode texinfo-mode
+context-mode)
+ :help "Run BibTeX")
+("Biber" "biber %s" TeX-run-Biber nil
+ (plain-tex-mode latex-mode doctex-mode ams-tex-mode texinfo-mode)
+ :help "Run Biber")
 ("View" "%V" TeX-run-discard-or-function t t :help "Run Viewer")
 ("Print" "%p" TeX-run-command t t :help "Print the file")
 ("Queue" "%q" TeX-run-background nil t :help "View the printer queue"
  :visible TeX-queue-command)
-("File" "%(o?)dvips %d -o %f " TeX-run-dvips t t
+("File" "%(o?)dvips %d -o %f " TeX-run-dvips t
+ (plain-tex-mode latex-mode doctex-mode ams-tex-mode texinfo-mode)
  :help "Generate PostScript file")
-("Dvips" "%(o?)dvips %d -o %f " TeX-run-dvips nil t
+("Dvips" "%(o?)dvips %d -o %f " TeX-run-dvips nil
+ (plain-tex-mode latex-mode doctex-mode ams-tex-mode texinfo-mode)
  :help "Convert DVI file to PostScript")
-("Dvipdfmx" "dvipdfmx %d" TeX-run-dvipdfmx nil t
+("Dvipdfmx" "dvipdfmx %d" TeX-run-dvipdfmx nil
+ (plain-tex-mode latex-mode doctex-mode ams-tex-mode texinfo-mode)
  :help "Convert DVI file to PDF with dvipdfmx")
-("Ps2pdf" "ps2pdf %f" TeX-run-ps2pdf nil t
+("Ps2pdf" "ps2pdf %f" TeX-run-ps2pdf nil
+ (plain-tex-mode latex-mode doctex-mode ams-tex-mode texinfo-mode)
  :help "Convert PostScript file to PDF")
 ("Glossaries" "makeglossaries %s" TeX-run-command nil
- t :help "Run makeglossaries to create glossary file")
-("Index" "makeindex %s" TeX-run-index nil t
+ (plain-tex-mode latex-mode doctex-mode ams-tex-mode texinfo-mode)
+ :help "Run makeglossaries to create glossary
+ file")
+("Index" "makeindex %s" TeX-run-index nil
+ (plain-tex-mode latex-mode doctex-mode ams-tex-mode texinfo-mode)
  :help "Run makeindex to create index file")
-("upMendex" "upmendex %s" TeX-run-index t t
+("upMendex" "upmendex %s" TeX-run-index t
+ (plain-tex-mode latex-mode doctex-mode ams-tex-mode texinfo-mode)
  :help "Run upmendex to create index file")
-("Xindy" "texindy %s" TeX-run-command nil t
+("Xindy" "texindy %s" TeX-run-command nil
+ (plain-tex-mode latex-mode doctex-mode ams-tex-mode texinfo-mode)
  :help "Run xindy to create index file")
 ("Check" "lacheck %s" TeX-run-compile nil (latex-mode)
  :help "Check LaTeX file for correctness")

---

Summary of changes:
 tex.el | 34 --
 1 file changed, 24 insertions(+), 10 deletions(-)


hooks/post-receive
-- 
GNU AUCTeX

___
auctex-diffs mailing list
auctex-di...@gnu.org
https://lists.gnu.org/mailman/listinfo/auctex-diffs


Re: [AUCTeX-devel] Many commands in TeX-command-list are not useful in context-mode

2019-05-08 Thread Mosè Giordano
Hi Mohammad,

I've waited a few days because I couldn't find your name in the list
of people who assigned their copyright to FSF, and your name isn't
there yet, just checked.  Did you receive confirmation from the
copyright clerk that everything was fine?

Bye,
Mosè

On Mon, 29 Apr 2019 at 16:50, Mohammad Hossein Bateni  wrote:
>
> Hi,
>
> I handled the copyright issue.  Everything should be good to go, except that 
> I need to use my other email address (bat...@google.com) because of the 
> copyright paperwork.  Which is why I updated the patch to that effect (see 
> the attachment).
>
> Best,
> MHB
>
> On Sun, Apr 21, 2019 at 3:46 PM Mohammad Hossein Bateni  
> wrote:
>>
>> Please wait on this till I sort out the copyright.
>>
>> On Sun, Apr 21, 2019 at 1:29 PM Mohammad Hossein Bateni  
>> wrote:
>>>
>>> Thanks for the review.
>>>
>>> As noted by Mosè, this change does not affect latex-mode at all.  Its 
>>> effect on context-mode is also minimal.  It basically allows the user to 
>>> pick and choose, while it removes a few tools from the default for 
>>> context-mode.
>>>
>>> ConTeXt has two dialects now: Mark II and Mark IV.  BibTeX is perhaps still 
>>> used in Mark II, though I don't know how many people actively use Mark II 
>>> ConTeXt.  In Mark IV, I would say BibTeX is not required.
>>>
>>> Now I could be more aggressive and remove BibTeX from context-mode in the 
>>> default.  What do you think?
>>>
>>> I will follow the instructions for assigning the copyright to FSF.
>>>
>>> On Sat, Apr 20, 2019 at 1:20 PM Colin Baxter  wrote:
>>>>
>>>> >>>>> Mosè Giordano  writes:
>>>>
>>>> > Hi Colin,
>>>> > On Fri, 19 Apr 2019 at 19:45, Colin Baxter  wrote:
>>>> >> Not everybody uses ConTeXt and I for one use dvi2ps, ps2pdf and
>>>> >> index nearly everyday.
>>>>
>>>> > Sure, but the proposed patch hides by default some commands in
>>>> > context-mode only, LaTeX users won't be affected by this.
>>>>
>>>> Thanks for the explanation.
>>>>
>>>> Best wishes,
>>>>
>>>> Colin Baxter
>>>> m43...@yandex.com

___
auctex-devel mailing list
auctex-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/auctex-devel


Re: [AUCTeX-devel] Many commands in TeX-command-list are not useful in context-mode

2019-04-24 Thread Mosè Giordano
Hi Colin,

On Tue, 23 Apr 2019 at 20:13, Colin Baxter  wrote:
> I think I was a little premature with the thanks. How do I get back to
> the old behaviour of no section headings when I enter a changelog with
> C-x 4a? I have tried
>
> (setq add-log-current-defun-function nil)
>
> with no effect. I still get an unwanted section heading.

Wrong thread?

Bye,
Mosè

___
auctex-devel mailing list
auctex-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/auctex-devel


Re: [AUCTeX-devel] Auctex and latexindent

2019-01-24 Thread Mosè Giordano
Hi Shawn,

this should do the trick:

--8<---cut here---start->8---
(with-eval-after-load "tex"
  (add-to-list 'TeX-command-list
'("Latexindent" "latexindent -w -s %a"
  TeX-run-command nil t
  :help "Run Latexindent on file.")))
--8<---cut here---end--->8---

However it doesn't revert the buffer automatically after running the
command, so you should do that manually.

Bye,
Mosè

On Wed, Jan 23, 2019 at 9:03 PM Shawn Way  wrote:
>
> I'm working on the Windows platform and I use the latexindent program to help 
> format the latex files I have, especially when working with tables.
>
> Is there an easy way to make auctex perform "latexindent -w -s" on the 
> current buffer's file?  I couldn't figure out how to customize auctex to this 
> degree.
>
> Thanks for your thoughts.
>
> Shawn Way
>
>
>
>
> ___
> auctex-devel mailing list
> auctex-devel@gnu.org
> https://lists.gnu.org/mailman/listinfo/auctex-devel
>

___
auctex-devel mailing list
auctex-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/auctex-devel


Re: [AUCTeX-devel] New column specifiers w and W in array.sty

2019-01-10 Thread Mosè Giordano
Hi Arash,

On Thu, Jan 10, 2019 at 10:17 PM Arash Esbati  wrote:
>
> Hi all,
>
> array.sty now comes with 2 new column specifiers w and W.  From the
> manual:
>
> w{align}{width}
> Sets the cell content in a box of the specified width aligned
> according to the align parameter which could be either l, c
> or r.  Works essentially like \makebox[width][align]{cell}
> so silently overprints if the cell content is wider than the
> specified width. If that is not desired use W instead.
>
> This can be easily added to array.el with:
>
> @@ -95,7 +95,7 @@ and make it buffer local. "
>
> ;; `array.sty' adds some new column specification letters.
> (set (make-local-variable 'LaTeX-array-column-letters)
> -   (concat LaTeX-array-column-letters "m" "b"))
> +   (concat LaTeX-array-column-letters "m" "b" "w" "W"))
>
>
> The fun part begins with this sentence in the manual:
>
> A declaration like w{l}{3cm} (or even shorter wl{3cm})
>
> This notation confuses `LaTeX-array-count-columns' as it counts the l as
> a new specifier and not as an argument to w.
>
> My suggestion is to add the above patch to array.el and mention in the
> News that AUCTeX supports only the version with braces.

I agree on this!

> Any comments?

No, please go ahead!

Bye,
Mosè

___
auctex-devel mailing list
auctex-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/auctex-devel


Re: [AUCTeX-devel] Removing obsolete contents from configure script etc.

2018-12-11 Thread Mosè Giordano
Hi Keita,

On Sun, Dec 9, 2018 at 5:14 PM Ikumi Keita  wrote:
> > Perhaps you may want to remove references to the Windows build, too,
> > as we don't do that anymore?
>
> I'm not particularly inclined to do so now.  Do you think it's
> important?

It isn't really important, but would be another change in the same
direction of removing now unused code.

Bye,
Mosè

___
auctex-devel mailing list
auctex-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/auctex-devel


Re: [AUCTeX-devel] Removing obsolete contents from configure script etc.

2018-12-08 Thread Mosè Giordano
Hi Keita,

thanks for tackling this!

On Fri, Dec 7, 2018 at 8:58 AM Ikumi Keita  wrote:
>
> Hi all,
>
> I removed a lot of obsolete compatibility codes for older emacsen from
> AUCTeX recently.  I would like to finish it by modifying configure
> script and Makefiles.
>
> However, I know almost nothing about autoconf.  So I'd like to have
> reviewed my proposal before actual commit.  Could you take a look at the
> attached patch and test it?  (I just did "look, guess and mimic" method
> to make these changes.)  I confirmed that it works on my machine, but am
> not firmly sure that it doesn't fail in other environments.
>
> I would appreciate your feedbacks.

I didn't test them, but the patch looks good overall.  Perhaps you may
want to remove references to the Windows build, too, as we don't do
that anymore?

> Also, I doubt the necessity of auctex.spec and preview-latex.spec
> currently.  It seems that they are not maintained for rather long period
> and no one complains about it these days.  I suppose they can be removed
> as well.

They're used to build RPM packages.  We don't do that ourselves, thus
I'd remove them as well.

Bye,
Mosè

___
auctex-devel mailing list
auctex-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/auctex-devel


Re: [AUCTeX-devel] question regarding installation under Windows

2018-09-03 Thread Mosè Giordano
Hi David and Michael,

Il giorno lun 3 set 2018 alle ore 10:37 David Kastrup  ha scritto:
>
> michael malone  writes:
>
> > I am not a programmer but I require the use of Emacs/auctex in Windows
> > so I can work in latex using voice recognition.
> >
> > Because I’m not a programmer the issues or questions I may have may be
> > very basic so apologies.
> >
> > I am following the detailed instructions for installing auctex found
> > here
> > https://www.gnu.org/software/auctex/manual/auctex/Installation-under-MS-Windows.html
>
> We probably should overhaul our installation instructions.

Actually this is already explained in the installation instructions:
https://www.gnu.org/software/auctex/manual/auctex.html#Installation
Other installation procedures are left there for reference (maybe it's
a bad idea?), but there is almost never a good reason to use anything
else besides ELPA to install AUCTeX.

Bye,
Mosè

___
auctex-devel mailing list
auctex-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/auctex-devel


Re: [AUCTeX-devel] support style files which are not (yet) on CTAN

2018-07-24 Thread Mosè Giordano
Hi Uwe,

2018-07-24 18:21 GMT+02:00 Uwe Brauer :
>
> Hi
>
> I am thinking of writing up a  pkg that supports Leslie Lamport's style
> pf2.sty. http://lamport.azurewebsites.net/latex/latex.html
>
> However this style file is not on CTAN, so I would like now, what is the
> attitude of others towards such package? Can we support them,
> officially?

I don't think we have a written policy about this, but I'm inclined
towards officially supporting only packages with a free license
included in CTAN.  This package doesn't meet either condition, in
particular, unless I missed it, it doesn't have any license, making it
a non-free software.

Anyway, nothing prevents you from writing the style file and
distributing it, with a free license ;-)

Bye,
Mosè

___
auctex-devel mailing list
auctex-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/auctex-devel


Re: [AUCTeX-devel] Problems installing auctex on Windows 10

2018-04-30 Thread Mosè Giordano
Hi RC,

is there any reason why you're building AUCTeX from source instead of
using ELPA?  See the instructions at
https://www.gnu.org/software/auctex/download.html

Bye,
Mosè

2018-04-30 23:10 GMT+02:00 R C :
> Hi,
> I am trying to install the current version of Auctex in Windows 10. I get
> the following error, related to docstrip,  when I run make. I do have
> Texlive 2018 installed. I would appreciate any help to fix this error.
>
>
> config.status: creating preview.el
> config.status: creating latex/Makefile
>
> Congratulations!  Configuration of AUCTeX is complete.
>
> Type "make" at the prompt to build.
> [03:40 PM][sd1@SD] [~/src/auctex]
> 562:64 $ make
> (cd latex ; make all)
> make[1]: Entering directory '/cygdrive/c/Users/sd1/src/auctex/latex'
> /usr/bin/tex '\nonstopmode \input bootstrap.ins'
> This is TeX, Version 3.14159265 (TeX Live 2017/Cygwin) (preloaded
> format=tex)
>
> (./bootstrap.ins
> ! I can't find file `docstrip'.
> l.1 \input docstrip
>
> (Press Enter to retry, or Control-D to exit)
> Please type another input file name
> ! Emergency stop.
> l.1 \input docstrip
>
> No pages of output.
> Transcript written on bootstrap.log.
> make[1]: *** [Makefile:74: preview-mk.ins] Error 1
> make[1]: Leaving directory '/cygdrive/c/Users/sd1/src/auctex/latex'
> make: *** [Makefile:215: texmf] Error 2
> --
> Regards,
> RC
>
> ___
> auctex-devel mailing list
> auctex-devel@gnu.org
> https://lists.gnu.org/mailman/listinfo/auctex-devel
>

___
auctex-devel mailing list
auctex-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/auctex-devel


Re: [AUCTeX-devel] Proposal for changes in error overview window management

2018-04-21 Thread Mosè Giordano
Hi Juanjo,

2018-04-19 8:31 GMT+02:00 Juan Jose Garcia-Ripoll
:
> Dear all,
>
> I am submitting a proposal for a patch of the current handling of
> TeX-error-overview windows. Currently this management is very agressive and
> overrides any strategy the user wishes to set up using display-buffer-alist.

Admittedly, window management of the error overview is not perfect, I
always wanted to improve it but never had the time.  Your effort is welcome.

> Let me show an example:
>
> * I set display-buffer-alist to use popup windows for the error overview.
> * I compile the latex and produce an error overview.
> * I edit and recompile.
> * AucTeX kills the buffer but not the window before compilation
> * Compilation proceeds and a *new* window with an error overview is
> produced.

Yes, this is something I don't like either.

> The patch solves this by using only display-buffer. pop-up-buffer and
> quit-window (which knows the right strategy to take when a buffer is to be
> hidden or closed), together with set-window to change context. In current
> Emacs there is no need to manage frames and windows separately: set-window
> changes the focus to the right frame.

What I don't like about your approach is that it changes the behavior
of `TeX-error-overview-goto-source'.  I really want to keep the error
overview active while navigating through the list of errors/warnings
with `n' and `p', I don't want the frame to go away.  In addition,
when the the error overview is displayed, now the echo area shows
"nil", I didn't get why.

Besides the comments about the patch, note that AUCTeX is part of the
GNU project.  Thus, you'd have to transfer the copyright of your
contributions to the Free Software Foundation and accept to release
your contributions under the terms of the GPL v3 license.  If you're
willing to do so, please fill the form at
https://git.savannah.gnu.org/gitweb/?p=gnulib.git;a=blob;f=doc/Copyright/request-assign.future;hb=HEAD
and send it to ass...@gnu.org.  Indicate Emacs as program, because
this will cover both Emacs and AUCTeX (and any other package in GNU
ELPA).

Bye,
Mosè

___
auctex-devel mailing list
auctex-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/auctex-devel


Re: [AUCTeX-devel] Refine flymake initialization

2018-03-01 Thread Mosè Giordano
Hi Vladimir,

2018-02-28 15:21 GMT+01:00 Vladimir Lomov :
> Hello,
> ...
> This patch works fine, thank you.

Thanks for checking, patch installed!

Bye,
Mosè

___
auctex-devel mailing list
auctex-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/auctex-devel


[AUCTeX-diffs] GNU AUCTeX branch, master, updated. ed54fb1b6f4c64765ba5be4c7c2d75fbea4ecbff

2018-03-01 Thread Mosè Giordano
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU AUCTeX".

The branch, master has been updated
   via  ed54fb1b6f4c64765ba5be4c7c2d75fbea4ecbff (commit)
  from  5592c69435c03110e207ef05feed96741cb94d1b (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -
commit ed54fb1b6f4c64765ba5be4c7c2d75fbea4ecbff
Author: Alex Branham 
Date:   Mon Feb 26 10:18:55 2018 -0600

Refine how we setup flymake backend function

* latex.el: Add LaTeX-flymake to TeX-latex-mode
* latex-flymake.el: Don't add to LaTeX-mode-hook

Signed-off-by: Mosè Giordano 

diff --git a/latex-flymake.el b/latex-flymake.el
index b06149c..2a86ebe 100644
--- a/latex-flymake.el
+++ b/latex-flymake.el
@@ -100,12 +100,5 @@ REPORT-FN is flymake's callback function."
   (process-send-region LaTeX--flymake-proc (point-min) (point-max))
   (process-send-eof LaTeX--flymake-proc
 
-(defun LaTeX-setup-flymake-backend ()
-  "Setup flymake backend for LaTeX."
-  (add-hook 'flymake-diagnostic-functions 'LaTeX-flymake nil t))
-
-(when (< 25 emacs-major-version)
-  (add-hook 'LaTeX-mode-hook #'LaTeX-setup-flymake-backend))
-
 (provide 'latex-flymake)
 ;;; latex-flymake.el ends here
diff --git a/latex.el b/latex.el
index 7354c23..d3c2e65 100644
--- a/latex.el
+++ b/latex.el
@@ -5901,7 +5901,10 @@ of `LaTeX-mode-hook'."
   ;; Defeat filladapt
   (if (and (boundp 'filladapt-mode)
   filladapt-mode)
-  (turn-off-filladapt-mode)))
+  (turn-off-filladapt-mode))
+  (when (< 25 emacs-major-version)
+;; Set up flymake backend, see latex-flymake.el
+(add-hook 'flymake-diagnostic-functions 'LaTeX-flymake nil t)))
 
 (TeX-abbrev-mode-setup doctex-mode)
 

---

Summary of changes:
 latex-flymake.el | 7 ---
 latex.el | 5 -
 2 files changed, 4 insertions(+), 8 deletions(-)


hooks/post-receive
-- 
GNU AUCTeX

___
auctex-diffs mailing list
auctex-di...@gnu.org
https://lists.gnu.org/mailman/listinfo/auctex-diffs


[AUCTeX-diffs] GNU AUCTeX branch, master, updated. 688fae25c7edd7f9d4e019739622f3c48f0a05ac

2018-03-01 Thread Mosè Giordano
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU AUCTeX".

The branch, master has been updated
   via  688fae25c7edd7f9d4e019739622f3c48f0a05ac (commit)
  from  ed54fb1b6f4c64765ba5be4c7c2d75fbea4ecbff (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -
commit 688fae25c7edd7f9d4e019739622f3c48f0a05ac
Author: Alex Branham 
Date:   Thu Mar 1 09:40:03 2018 -0600

Remove cl from AUCTeX

* tex.el: replace last 'cl with 'cl-lib
* latex.el: replace cl function with cl-lib function

Signed-off-by: Mosè Giordano 

diff --git a/latex.el b/latex.el
index d3c2e65..d30c256 100644
--- a/latex.el
+++ b/latex.el
@@ -6545,35 +6545,35 @@ function would return non-nil and `(match-string 1)' 
would return
 
 (defun LaTeX-indent-tabular ()
   "Return indent column for the current tabular-like line."
-  (destructuring-bind
-   (beg-pos . beg-col)
-   (LaTeX-env-beginning-pos-col)
-   (let ((tabular-like-end-regex
- (format "end{%s}"
- (regexp-opt
-  (let (out)
-(mapc (lambda (x)
- (when (eq (cadr x) 'LaTeX-indent-tabular)
-   (push (car x) out)))
-   LaTeX-indent-environment-list)
-out)
- (cond ((looking-at tabular-like-end-regex)
-   beg-col)
-
-  ((looking-at "")
-   (+ 2 beg-col))
-
-  ((looking-at "&")
-   (LaTeX-hanging-ampersand-position))
-
-  (t
-   (+ 2
-  (let ((any-col (save-excursion
-   (when (re-search-backward "\\|[^\\]&" 
beg-pos t)
- (current-column)
-(if (and any-col (= ?& (char-before (match-end 0
-(1+ any-col)
-  beg-col
+  (cl-destructuring-bind
+  (beg-pos . beg-col)
+  (LaTeX-env-beginning-pos-col)
+(let ((tabular-like-end-regex
+  (format "end{%s}"
+  (regexp-opt
+   (let (out)
+ (mapc (lambda (x)
+  (when (eq (cadr x) 'LaTeX-indent-tabular)
+(push (car x) out)))
+LaTeX-indent-environment-list)
+ out)
+  (cond ((looking-at tabular-like-end-regex)
+beg-col)
+
+   ((looking-at "")
+(+ 2 beg-col))
+
+   ((looking-at "&")
+(LaTeX-hanging-ampersand-position))
+
+   (t
+(+ 2
+   (let ((any-col (save-excursion
+(when (re-search-backward "\\|[^\\]&" 
beg-pos t)
+  (current-column)
+ (if (and any-col (= ?& (char-before (match-end 0
+ (1+ any-col)
+   beg-col
 
 (provide 'latex)
 
diff --git a/tex.el b/tex.el
index 8863a88..b7891a1 100644
--- a/tex.el
+++ b/tex.el
@@ -1,6 +1,6 @@
 ;;; tex.el --- Support for TeX documents.
 
-;; Copyright (C) 1985-1987, 1991, 1993-2017 Free Software Foundation, Inc.
+;; Copyright (C) 1985-1987, 1991, 1993-2018 Free Software Foundation, Inc.
 
 ;; Maintainer: auctex-devel@gnu.org
 ;; Keywords: tex
@@ -34,7 +34,7 @@
 (require 'custom)
 (require 'tex-site)
 (eval-when-compile
-  (require 'cl))
+  (require 'cl-lib))
 
 (defgroup TeX-file nil
   "Files used by AUCTeX."
@@ -2710,11 +2710,11 @@ are returned."
(dolist (subdir subdirs)
  (setq path (file-name-as-directory (concat item subdir)))
  (when (file-exists-p path)
-   (pushnew path input-dir-list :test #'equal)))
+   (cl-pushnew path input-dir-list :test #'equal)))
  (setq path (file-name-as-directory item))
  (when (file-exists-p path)
-   (pushnew path input-dir-list :test #'equal
- ;; No duplication in result is assured since `pushnew' is
+   (cl-pushnew path input-dir-list :test #'equal
+ ;; No duplication in result is assured since `cl-pushnew' is
  ;; used above.  Should we introduce an option for speed just
  ;; to accumulate all the results without care for
  ;; duplicates?
@@ -3131,6 +3131,7 @@ FORCE is not nil."
 
 (defcustom TeX-complete-word 'ispell-complete-word
   "*Function to call for completing non-macros in `tex-mode'."
+  :type 'function
   :group 'TeX-macro)
 
 (defcustom TeX-complete-expert-commands nil
@@ -4521,7 +4522,7 @@ EXTENSIONS defaults to `TeX-file-extensions'."

[AUCTeX-diffs] GNU AUCTeX branch, master, updated. 4b66b9f60e3ce4a552bd4f3230b659347add1446

2018-01-12 Thread Mosè Giordano
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU AUCTeX".

The branch, master has been updated
   via  4b66b9f60e3ce4a552bd4f3230b659347add1446 (commit)
  from  3e57fbe2a5e081838c594503340c7489bc1041d7 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -
commit 4b66b9f60e3ce4a552bd4f3230b659347add1446
Author: Mosè Giordano 
Date:   Fri Jan 12 11:32:18 2018 +0100

Do not actually write bug report instructions

* tex.el (TeX-submit-bug-report): Use `propertize' to show instructions 
without
  writing them in the message.

diff --git a/tex.el b/tex.el
index c923212..6d946f0 100644
--- a/tex.el
+++ b/tex.el
@@ -6231,14 +6231,36 @@ information about your AUCTeX version and AUCTeX 
configuration."
   'TeX-parse-self
   'TeX-master
   'TeX-command-list)
- nil nil
- "Remember to cover the basics, that is, what you expected to happen and
+ nil
+ ;; reporter adds too many new lines around salutation text, that we don't
+ ;; want, since it's itself a new line.
+ (lambda ()
+   (save-excursion
+(goto-char (point-min))
+(re-search-forward mail-header-separator)
+(forward-char)
+(delete-char 1)
+(forward-char)
+(delete-char 2)))
+ (propertize
+  "\n" 'display
+  (with-temp-buffer
+   (insert
+"Remember to cover the basics, that is, what you expected to happen and
 what in fact did happen.
 
 Be sure to consult the FAQ section in the manual before submitting
 a bug report.  In addition check if the bug is reproducable with an
 up-to-date version of AUCTeX.  So please upgrade to the version
-available from http://www.gnu.org/software/auctex/ if your
+available from ")
+   (insert-text-button
+"http://www.gnu.org/software/auctex/;
+'face 'link
+'help-echo (concat "mouse-2, RET: Follow this link")
+'action (lambda (button)
+  (browse-url "http://www.gnu.org/software/auctex/;))
+'follow-link t)
+   (insert " if your
 installation is older than the one available from the web site.
 
 If the bug is triggered by a specific \(La\)TeX file, you should try
@@ -6246,9 +6268,17 @@ to produce a minimal sample file showing the problem and 
include it
 in your report.
 
 Your report will be posted for the auctex package at the GNU bug
-tracker.  Visit http://debbugs.gnu.org/cgi/pkgreport.cgi?pkg=auctex
-to browse existing AUCTeX bugs.
-")))
+tracker.  Visit ")
+   (insert-text-button
+"http://debbugs.gnu.org/cgi/pkgreport.cgi?pkg=auctex;
+'face 'link
+'help-echo (concat "mouse-2, RET: Follow this link")
+'action (lambda (button)
+  (browse-url 
"http://debbugs.gnu.org/cgi/pkgreport.cgi?pkg=auctex;))
+'follow-link t)
+   (insert "\nto browse existing AUCTeX bugs.
+\n\n")
+   (buffer-string))
 
 
 ;;; Documentation

---

Summary of changes:
 tex.el | 42 --
 1 file changed, 36 insertions(+), 6 deletions(-)


hooks/post-receive
-- 
GNU AUCTeX

___
auctex-diffs mailing list
auctex-di...@gnu.org
https://lists.gnu.org/mailman/listinfo/auctex-diffs


[AUCTeX-diffs] GNU AUCTeX branch, master, updated. 3d08a92d0918a44305385c6c38445ab29a95add5

2017-12-21 Thread Mosè Giordano
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU AUCTeX".

The branch, master has been updated
   via  3d08a92d0918a44305385c6c38445ab29a95add5 (commit)
  from  f8290fc89a1b2d47f29f8712a697c1a725581c2b (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -
commit 3d08a92d0918a44305385c6c38445ab29a95add5
Author: Mosè Giordano 
Date:   Thu Dec 21 16:59:58 2017 +0100

Restore some code erroneously removed from font-latex.el

* font-latex.el (font-latex-make-sectioning-faces):
(font-latex-user-keyword-classes):
(font-latex-slide-title-face): Restore code.

diff --git a/font-latex.el b/font-latex.el
index 797d74f..d36e03e 100644
--- a/font-latex.el
+++ b/font-latex.el
@@ -223,9 +223,11 @@ Emacs."
 1.1)))
   (dotimes (num max)
 (let* ((num (- max (1+ num)))
-  (face-name (intern (format "font-latex-sectioning-%s-face" num
+  (face-name (intern (format "font-latex-sectioning-%s-face" num)))
+  (f-inherit (intern (format "font-latex-sectioning-%s-face" (1+ 
num)
   (eval
`(defface ,face-name
+ '((t (:height ,height-scale :inherit ,f-inherit)))
  (format "Face for sectioning commands at level %s.
 
 Probably you don't want to customize this face directly.  Better
@@ -699,6 +701,8 @@ restart Emacs."
:tag "Keywords with specs"
(group (string :tag "Keyword")
   (string :tag "Format specifier"
+  ,'(choice (face :tag "Face name")
+(custom-face-edit :tag "Face attributes"))
   (choice :tag "Type"
   ;; Maps to
   ;;`font-latex-match-command-with-arguments'
@@ -1157,6 +1161,9 @@ have changed."
   :group 'font-latex-highlighting-faces)
 
 (defface font-latex-slide-title-face
+  (let* ((scale 1.2))
+`((t (:inherit (variable-pitch font-lock-type-face)
+  :weight bold :height ,scale
   "Face for slide titles."
   :group 'font-latex-highlighting-faces)
 

---

Summary of changes:
 font-latex.el | 9 -
 1 file changed, 8 insertions(+), 1 deletion(-)


hooks/post-receive
-- 
GNU AUCTeX

___
auctex-diffs mailing list
auctex-di...@gnu.org
https://lists.gnu.org/mailman/listinfo/auctex-diffs


[AUCTeX-diffs] GNU AUCTeX branch, master, updated. 6861a883168935d89ea453a5e8bfed67cbf95a9b

2017-12-16 Thread Mosè Giordano
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU AUCTeX".

The branch, master has been updated
   via  6861a883168935d89ea453a5e8bfed67cbf95a9b (commit)
  from  12618afcb5d1a774adc47eb98b66d76e1353daf8 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -
commit 6861a883168935d89ea453a5e8bfed67cbf95a9b
Author: Mosè Giordano 
Date:   Sun Dec 17 02:15:54 2017 +0100

Change encoding of Elisp source files to UTF-8

* style/alphanum.el:
* style/dk-bib.el:
* style/doc.el:
* style/inputenc.el:
* style/jura.el:
* style/ltx-base.el:
* style/ltxdoc.el:
* tex-font.el:
* tex.el: Change coding of files to UTF-8.  Now that we require Emacs >= 24 
it
  is always possible to use this encoding.

diff --git a/style/alphanum.el b/style/alphanum.el
index 64d694c..d680aac 100644
--- a/style/alphanum.el
+++ b/style/alphanum.el
@@ -2,7 +2,7 @@
 
 ;; Copyright (C) 2004 Free Software Foundation, Inc.
 
-;; Author: Frank Küster 
+;; Author: Frank Küster 
 ;; Maintainer: auctex-devel@gnu.org
 ;; Keywords: tex
 
@@ -28,7 +28,7 @@
 ;; This is file alphanum.el, which makes AUCTeX usable with jura.cls
 ;; and its style file alphanum.sty.
 ;;
-;; Contributed by Frank Küster . The code for
+;; Contributed by Frank Küster . The code for
 ;; reftex has been written by Carsten Dominik, the maintainer of
 ;; reftex, but all the errors are mine.
 
@@ -96,5 +96,5 @@
  LaTeX-dialect)
 
 ;; Local Variables:
-;; coding: iso-8859-1
+;; coding: utf-8
 ;; End:
diff --git a/style/dk-bib.el b/style/dk-bib.el
index 63c8d3f..9c35a16 100644
--- a/style/dk-bib.el
+++ b/style/dk-bib.el
@@ -2,7 +2,7 @@
 
 ;; Copyright (C) 2005, 2014 Free Software Foundation, Inc.
 
-;; Author: Arne Jørgensen 
+;; Author: Arne Jørgensen 
 ;; Keywords: tex
 
 ;; This file is part of AUCTeX.
@@ -56,7 +56,7 @@
 options))
 
 ;; Local Variables:
-;; coding: iso-8859-1
+;; coding: utf-8
 ;; End:
 
 ;;; dk-bib.el ends here
diff --git a/style/doc.el b/style/doc.el
index 57b3ee9..b6f3060 100644
--- a/style/doc.el
+++ b/style/doc.el
@@ -2,7 +2,7 @@
 
 ;; Copyright (C) 2004, 2008, 2016 Free Software Foundation, Inc.
 
-;; Author: Frank Küster 
+;; Author: Frank Küster 
 ;; Maintainer: auctex-devel@gnu.org
 ;; Keywords: tex
 
@@ -189,5 +189,5 @@
  LaTeX-dialect)
 
 ;; Local Variables:
-;; coding: iso-8859-1
+;; coding: utf-8
 ;; End:
diff --git a/style/inputenc.el b/style/inputenc.el
index 53ba4f9..42a99e3 100644
--- a/style/inputenc.el
+++ b/style/inputenc.el
@@ -2,7 +2,7 @@
 
 ;; Copyright (C) 2005, 2014 Free Software Foundation, Inc.
 
-;; Author: Arne Jørgensen 
+;; Author: Arne Jørgensen 
 ;; Keywords: tex
 
 ;; This file is part of AUCTeX.
@@ -81,7 +81,7 @@
  LaTeX-dialect)
 
 ;; Local Variables:
-;; coding: iso-8859-1
+;; coding: utf-8
 ;; End:
 
 ;;; inputenc.el ends here
diff --git a/style/jura.el b/style/jura.el
index 4baac97..236f2ce 100644
--- a/style/jura.el
+++ b/style/jura.el
@@ -2,7 +2,7 @@
 
 ;; Copyright (C) 2004 Free Software Foundation, Inc.
 
-;; Author: Frank Küster 
+;; Author: Frank Küster 
 ;; Maintainer: auctex-devel@gnu.org
 ;; Keywords: tex
 
@@ -36,5 +36,5 @@
  LaTeX-dialect)
 
 ;; Local Variables:
-;; coding: iso-8859-1
+;; coding: utf-8
 ;; End:
diff --git a/style/ltx-base.el b/style/ltx-base.el
index 12f9234..1237afb 100644
--- a/style/ltx-base.el
+++ b/style/ltx-base.el
@@ -2,7 +2,7 @@
 
 ;; Copyright (C) 2004, 2016 Free Software Foundation, Inc.
 
-;; Author: Frank Küster 
+;; Author: Frank Küster 
 ;; Maintainer: auctex-devel@gnu.org
 ;; Keywords: tex
 
@@ -83,5 +83,5 @@
  LaTeX-dialect)
 
 ;; Local Variables:
-;; coding: iso-8859-1
+;; coding: utf-8
 ;; End:
diff --git a/style/ltxdoc.el b/style/ltxdoc.el
index 7edf178..c645a8b 100644
--- a/style/ltxdoc.el
+++ b/style/ltxdoc.el
@@ -2,7 +2,7 @@
 
 ;; Copyright (C) 2004 Free Software Foundation, Inc.
 
-;; Author: Frank Küster 
+;; Author: Frank Küster 
 ;; Maintainer: auctex-devel@gnu.org
 ;; Keywords: tex
 
@@ -37,5 +37,5 @@
  LaTeX-dialect)
 
 ;; Local Variables:
-;; coding: iso-8859-1
+;; coding: utf-8
 ;; End:
diff --git a/tex-font.el b/tex-font.el
index e2cb4b7..27c9cf2 100644
--- a/tex-font.el
+++ b/tex-font.el
@@ -121,9 +121,9 @@
(list (concat slash citations opt arg) 3 'font-lock-constant-face)
;;
;; Text between `` quotes ''.
-   (cons (concat (regexp-opt `("``" "\"<" "\"`" "<<" "«") t)
- 

[AUCTeX-diffs] GNU AUCTeX branch, master, updated. 12618afcb5d1a774adc47eb98b66d76e1353daf8

2017-12-16 Thread Mosè Giordano
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU AUCTeX".

The branch, master has been updated
   via  12618afcb5d1a774adc47eb98b66d76e1353daf8 (commit)
   via  8f46deaeaca9c603049a6cf132d3c1cd25faa605 (commit)
  from  6cb1e7deb69a199949926f4a2b33c2bb6b250c13 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -
commit 12618afcb5d1a774adc47eb98b66d76e1353daf8
Author: Mosè Giordano 
Date:   Sun Dec 17 02:03:21 2017 +0100

Remove code for compatibility with old Emacsens in tex.el

* tex.el: Always require `crm', which is available in all supported version 
of
  Emacs.
(TeX-completing-read-multiple): Remove function definition for XEmacs.
(TeX-view-predicate-list-builtin):
(TeX-source-correlate-sync-source):
(TeX-tree-expand):
(TeX-comment-forward): Remove code for compatibility with old Emacsens.

diff --git a/tex.el b/tex.el
index 9768327..6e220e4 100644
--- a/tex.el
+++ b/tex.el
@@ -772,70 +772,55 @@ overlays."
 ;;   (TeX-completing-read-multiple ...))
 ;;
 ;; which results in a void-variable error if crm hasn't been loaded before.
-;; XEmacs 21.4 `require' doesn't have the third NOERROR argument, thus we 
handle
-;; the file-error signal with a `condition-case' also in GNU Emacs.
-(condition-case nil
-(require 'crm)
-  (file-error
-   (error "AUCTeX requires crm.el which is included in Emacs and
-edit-utils >= 2.32 for XEmacs.")))
-
-(if (fboundp 'completing-read-multiple)
-(if (or (and (= emacs-major-version 24) (>= emacs-minor-version 4))
-   (>= emacs-major-version 25))
-   ;; For GNU Emacs 24.4 or later, based on `completing-read-multiple' of
-   ;; git commit b14abca9476cba2f500b5eda89441d593dd0f12b
-   ;;   2013-01-10  * lisp/emacs-lisp/crm.el: Allow any regexp for 
separators.
-   (defun TeX-completing-read-multiple
-   (prompt table  predicate require-match initial-input
-   hist def inherit-input-method)
- "Like `completing-read-multiple' which see.
+(require 'crm)
+
+(if (or (and (= emacs-major-version 24) (>= emacs-minor-version 4))
+   (>= emacs-major-version 25))
+;; For GNU Emacs 24.4 or later, based on `completing-read-multiple' of
+;; git commit b14abca9476cba2f500b5eda89441d593dd0f12b
+;;   2013-01-10  * lisp/emacs-lisp/crm.el: Allow any regexp for separators.
+(defun TeX-completing-read-multiple
+   (prompt table  predicate require-match initial-input
+   hist def inherit-input-method)
+  "Like `completing-read-multiple' which see.
 Retain zero-length substrings but ensure that empty input results
 in nil across different emacs versions."
- (unwind-protect
- (progn
-   (add-hook 'choose-completion-string-functions
- 'crm--choose-completion-string)
-   (let* ((minibuffer-completion-table #'crm--collection-fn)
-  (minibuffer-completion-predicate predicate)
-  ;; see completing_read in src/minibuf.c
-  (minibuffer-completion-confirm
-   (unless (eq require-match t) require-match))
-  (crm-completion-table table)
-  (map (if require-match
-   crm-local-must-match-map
- crm-local-completion-map))
-  ;; If the user enters empty input, `read-from-minibuffer'
-  ;; returns the empty string, not DEF.
-  (input (read-from-minibuffer
-  prompt initial-input map
-  nil hist def inherit-input-method))
-  result)
- (and def (string-equal input "") (setq input def))
- (if (equal (setq result (split-string input crm-separator))
-'(""))
- nil
-   result)))
-   (remove-hook 'choose-completion-string-functions
-'crm--choose-completion-string)))
-  ;; For GNU Emacs <= 24.3.
-  (defun TeX-completing-read-multiple
- (prompt table  predicate require-match initial-input
- hist def inherit-input-method)
-   "Like `completing-read-multiple' which see.
-Ensures that empty input results in nil across different emacs versions."
-   (let ((result (completing-read-multiple prompt table predicate
-   require-match initial-input
-   hist def inherit-input-method)))
- (if (equal result '("")) nil result
-  ;; For XEmacs.
+  

[AUCTeX-diffs] GNU AUCTeX branch, master, updated. 6cb1e7deb69a199949926f4a2b33c2bb6b250c13

2017-12-16 Thread Mosè Giordano
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU AUCTeX".

The branch, master has been updated
   via  6cb1e7deb69a199949926f4a2b33c2bb6b250c13 (commit)
   via  05c09bd9d5c9091674e7d94d75b397d713e90c1d (commit)
   via  d3d321a8d210b5b358af63d850444e827ba0826f (commit)
   via  9ba765e557dc1d9b6e67245f81e3529a6b037f38 (commit)
   via  f366130c9d61acded75ba55ae9c5c3979e15ca8a (commit)
  from  52e142662de8f4643a3682138c8612ae58169be8 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -
commit 6cb1e7deb69a199949926f4a2b33c2bb6b250c13
Author: Mosè Giordano 
Date:   Sun Dec 17 01:34:21 2017 +0100

Remove XEmacs compatibility code in tex.el

* tex.el (TeX-source-correlate-gnuserv-p):
(TeX-source-correlate-map):
(VirTeX-common-initialization):
(TeX-mode-map):
(TeX-search-syntax-table): Remove code for compatibility with XEmacs.

diff --git a/tex.el b/tex.el
index bedd252..be81f73 100644
--- a/tex.el
+++ b/tex.el
@@ -1808,8 +1808,7 @@ search, can set the variable.")
  (processp gnuserv-process)))
((and (boundp 'server-process)
  (processp server-process))
-nil)
-   ((featurep 'xemacs
+nil)))
 
 (defun TeX-source-correlate-server-enabled-p ()
   "Return non-nil if Emacs server or gnuserv is enabled."
@@ -1879,12 +1878,7 @@ If this is nil, an empty string will be returned."
TeX-synctex-tex-flags)
 ""))
 
-(defvar TeX-source-correlate-map
-  (let ((map (make-sparse-keymap)))
-;; (if (featurep 'xemacs)
-;;(define-key map [(control button1)] #'TeX-view-mouse)
-;;   (define-key map [C-down-mouse-1] #'TeX-view-mouse))
-map)
+(defvar TeX-source-correlate-map (make-sparse-keymap)
   "Keymap for `TeX-source-correlate-mode'.
 You could use this for unusual mouse bindings.")
 
@@ -3877,11 +3871,6 @@ The algorithm is as follows:
   ;; `(TeX-master-file nil nil t)' has to be called *before*
   ;; `TeX-update-style' as the latter will call `TeX-master-file'
   ;; without the `ask' bit set.
-  (when (featurep 'xemacs)
-(unless (boundp 'find-file-hook)
-  (defvaralias 'find-file-hook 'find-file-hooks))
-(when (not (emacs-version>= 21 5))
-  (make-local-hook 'find-file-hook)))
   (add-hook 'find-file-hook
(lambda ()
  ;; Check if we are looking at a new or shared file.
@@ -5052,14 +5041,9 @@ Brace insertion is only done if point is in a math 
construct and
 (define-key map "\C-c^" 'TeX-home-buffer)
 (define-key map "\C-c`"'TeX-next-error)
 ;; Remap bindings of `next-error'
-(if (featurep 'xemacs)
-   (substitute-key-definition 'next-error 'TeX-next-error map global-map)
-  (define-key map [remap next-error] 'TeX-next-error))
+(define-key map [remap next-error] 'TeX-next-error)
 ;; Remap bindings of `previous-error'
-(if (featurep 'xemacs)
-   (substitute-key-definition 'previous-error 'TeX-previous-error
-  map global-map)
-  (define-key map [remap previous-error] 'TeX-previous-error))
+(define-key map [remap previous-error] 'TeX-previous-error)
 ;; From tex-fold.el
 (define-key map "\C-c\C-o\C-f" 'TeX-fold-mode)
 
@@ -5501,9 +5485,7 @@ regardless of its data type."
 ;;; Navigation
 
 (defvar TeX-search-syntax-table
-  (let ((table (make-syntax-table (make-char-table (if (featurep 'xemacs)
-  'syntax
-'syntax-table)
+  (let ((table (make-syntax-table (make-char-table 'syntax-table
 ;; Preset mode-independent syntax entries.  (Mode-dependent
 ;; entries are set in the function `TeX-search-syntax-table'.)
 ;; ?\", ?\( and ?\) explicitely get whitespace syntax because

commit 05c09bd9d5c9091674e7d94d75b397d713e90c1d
Author: Mosè Giordano 
Date:   Sun Dec 17 01:31:57 2017 +0100

Remove TeX-how-many function

* tex.el (TeX-how-many): Remove function.
* latex.el (LaTeX-hanging-ampersand-position): Replace `TeX-how-many' with
  `how-many'.

diff --git a/latex.el b/latex.el
index fe905d6..4dcb4bf 100644
--- a/latex.el
+++ b/latex.el
@@ -6522,7 +6522,7 @@ function would return non-nil and `(match-string 1)' 
would return
(let* ((cur-pos (point)))
  (save-excursion
(if (re-search-backward "" beg-pos t)
-  (let ((cur-idx (TeX-how-many "[^\\]&" (point) cur-pos)))
+  (let ((cur-idx (how-many "[^\\]&" (point) cur-pos)))
 (goto-char beg-pos)
 (re-search-forward "[^\\]&" cur-pos t (+ 1 cur-idx))
 ;; If the above searchs fails, i.e. no "&" 

[AUCTeX-diffs] GNU AUCTeX branch, master, updated. 52e142662de8f4643a3682138c8612ae58169be8

2017-12-16 Thread Mosè Giordano
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU AUCTeX".

The branch, master has been updated
   via  52e142662de8f4643a3682138c8612ae58169be8 (commit)
  from  4dfb98c5213d809648eabea51f76434a5bee8217 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -
commit 52e142662de8f4643a3682138c8612ae58169be8
Author: Mosè Giordano 
Date:   Sun Dec 17 00:51:22 2017 +0100

Remove XEmacs compatibility code in latex.el

* latex.el (LaTeX-largest-level-set):
(LaTeX-after-insert-env-hook):
(LaTeX-indent-line):
(LaTeX-fill-region-as-paragraph):
(LaTeX-fill-newline):
(LaTeX-common-initialization): Remove code for compatibility with XEmacs.
(LaTeX-fill-delete-newlines): Remove function, no more needed.
(LaTeX-fill-region-as-para-do): Replace `LaTeX-fill-delete-newlines' with
`fill-delete-newlines'.

diff --git a/latex.el b/latex.el
index fa2ae34..37c77b4 100644
--- a/latex.el
+++ b/latex.el
@@ -296,9 +296,7 @@ Additionally the function will invalidate the section 
submenu in
 order to let the menu filter regenerate it."
   (setq LaTeX-largest-level (LaTeX-section-level section))
   (let ((offset (LaTeX-outline-offset)))
-(when (and (> offset 0)
-  ;; XEmacs does not know `outline-heading-alist'.
-  (boundp 'outline-heading-alist))
+(when (> offset 0)
   (let (lst)
(dolist (tup outline-heading-alist)
  (setq lst (cons (cons (car tup)
@@ -645,9 +643,7 @@ With prefix-argument, reopen environment afterwards."
 marker))
(move-marker marker nil)
 
-(if (featurep 'xemacs)
-(define-obsolete-variable-alias 'LaTeX-after-insert-env-hooks 
'LaTeX-after-insert-env-hook)
-  (define-obsolete-variable-alias 'LaTeX-after-insert-env-hooks 
'LaTeX-after-insert-env-hook "11.89"))
+(define-obsolete-variable-alias 'LaTeX-after-insert-env-hooks 
'LaTeX-after-insert-env-hook "11.89")
 
 (defvar LaTeX-after-insert-env-hook nil
   "List of functions to be run at the end of `LaTeX-insert-environment'.
@@ -3223,23 +3219,7 @@ Lines starting with an item is given an extra 
indentation of
 (looking-at
  (concat "\\([ \t]*" TeX-comment-start-regexp "+\\)+"))
 (concat (match-string 0) (TeX-comment-padding-string)
-(overlays (when (featurep 'xemacs)
-;; Isn't that fun?  In Emacs an `(overlays-at
-;; (line-beginning-position))' would do the
-;; trick.  How boring.
-(extent-list
- nil (line-beginning-position) (line-beginning-position)
- 'all-extents-closed-open 'overlay)))
 ol-specs)
-;; XEmacs' `indent-to' function (at least in version 21.4.15) has
-;; a bug which leads to the insertion of whitespace in front of an
-;; invisible overlay.  So during indentation we temporarily remove
-;; the 'invisible property.
-(dolist (ol overlays)
-  (when (extent-property ol 'invisible)
-(pushnew (list ol (extent-property ol 'invisible))
- ol-specs :test #'equal)
-   (set-extent-property ol 'invisible nil)))
 (save-excursion
   (cond ((and fill-prefix
  (TeX-in-line-comment)
@@ -3584,16 +3564,7 @@ not be subject to filling."
   :group 'LaTeX
   :type '(repeat string))
 
-(defvar LaTeX-nospace-between-char-regexp
-  (if (featurep 'xemacs)
-(if (and (boundp 'word-across-newline) word-across-newline)
-   word-across-newline
-  ;; NOTE: Ensure not to have a value of nil for such a rare case that
-  ;; somebody removes the mule test in `LaTeX-fill-delete-newlines' so that
-  ;; it could match only "\n" and this could lead to problem.  XEmacs does
-  ;; not have a category `\c|' and `\ct' means `Chinese Taiwan' in XEmacs.
-  "\\(\\cj\\|\\cc\\|\\ct\\)")
-"\\c|")
+(defvar LaTeX-nospace-between-char-regexp "\\c|"
   "Regexp matching a character where no interword space is necessary.
 Words formed by such characters can be broken across newlines.")
 
@@ -3783,7 +3754,7 @@ space does not end a sentence, so don't break a line 
there."
;; FROM, and point, are now before the text to fill,
;; but after any fill prefix on the first line.
 
-   (LaTeX-fill-delete-newlines from to justify nosqueeze squeeze-after)
+   (fill-delete-newlines from to justify nosqueeze squeeze-after)
 
;; This is the actual FILLING LOOP.
(goto-char from)
@@ -3875,100 +3846,9 @@ space does not end a sentence, so don't break a line 
there."
   ;; Return the fill-prefix we used
   fill-prefix)))
 
-;; Following lines are 

[AUCTeX-diffs] GNU AUCTeX branch, master, updated. 4dfb98c5213d809648eabea51f76434a5bee8217

2017-12-16 Thread Mosè Giordano
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU AUCTeX".

The branch, master has been updated
   via  4dfb98c5213d809648eabea51f76434a5bee8217 (commit)
  from  5b0664a8bf756cadd0fa20c789d337c836d57314 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -
commit 4dfb98c5213d809648eabea51f76434a5bee8217
Author: Mosè Giordano 
Date:   Sun Dec 17 00:21:00 2017 +0100

Remove XEmacs compatibility code in tex-buf.el

* tex-buf.el (TeX-record-buffer): Always define this option.
(TeX-recenter-output-buffer):
(TeX-previous-error):
(TeX-parse-TeX): Remove code for compatibility with XEmacs.
(TeX-parse-error): Fix a bug in the regexp.
(TeX-error-overview): Remove check for Emacs version.  Now this works in all
supported versions.

diff --git a/tex-buf.el b/tex-buf.el
index f458651..a32eb2a 100644
--- a/tex-buf.el
+++ b/tex-buf.el
@@ -202,16 +202,12 @@ depend on it being positive instead of the entry in 
`TeX-command-list'."
(TeX-command-region-end (point-max)))
 (TeX-command-region override-confirm)))
 
-(unless (featurep 'xemacs)
-  ;; This variable is not defined in XEmacs because XEmacs' version of
-  ;; `pop-to-buffer' doesn't support the optional NORECORD argument.  In
-  ;; XEmacs, the third arg is ON-FRAME (Emacs: NORECORD).
-  (defcustom TeX-record-buffer nil
-"Whether to record buffer names of generated TeX buffers.
+(defcustom TeX-record-buffer nil
+  "Whether to record buffer names of generated TeX buffers.
 When non-nil, these buffers are put at the front of the list of
 recently selected ones."
-:group 'TeX-command
-:type 'boolean))
+  :group 'TeX-command
+  :type 'boolean)
 
 (defun TeX-pop-to-buffer (buffer  other-window norecord)
   "Compatibility wrapper for `pop-to-buffer'.
@@ -230,14 +226,8 @@ This uses the function `display-buffer' as a subroutine; 
see the documentation
 of `display-buffer' for additional customization information.
 
 Optional third arg NORECORD non-nil means do not put this buffer
-at the front of the list of recently selected ones.
-
-NORECORD is ignored in XEmacs."
-  ;; Make sure not to use third arg in XEmacs.  In XEmacs, the third arg is
-  ;; ON-FRAME (Emacs: NORECORD), so we set it to nil.
-  (pop-to-buffer buffer other-window (and norecord
- (boundp 'TeX-record-buffer)
- TeX-record-buffer)))
+at the front of the list of recently selected ones."
+  (pop-to-buffer buffer other-window (and norecord TeX-record-buffer)))
 
 (defun TeX-recenter-output-buffer (line)
   "Redisplay buffer of TeX job output so that most recent output can be seen.
@@ -319,9 +309,7 @@ message buffer and start at the first error."
   (if (or (null (TeX-active-buffer))
  (eq 'compilation-mode (with-current-buffer TeX-command-buffer
  major-mode)))
-  (if (featurep 'xemacs)
- (next-error arg)
-   (next-error arg reparse))
+  (next-error arg reparse)
 
 ;; Force reparsing when the function is called with a universal-argument.
 (if (consp arg) (setq reparse t arg nil))
@@ -2380,10 +2368,7 @@ already in an Emacs buffer) and the cursor is placed at 
the error."
(if (> arg 0)
(1+ TeX-error-last-visited)
  (1- TeX-error-last-visited))
-   item (if (natnump TeX-error-last-visited)
-(nth TeX-error-last-visited TeX-error-list)
-  ;; XEmacs doesn't support `nth' with a negative 
index.
-  nil))
+   item (nth TeX-error-last-visited TeX-error-list))
  ;; Increase or decrease `arg' only if the warning isn't to be
  ;; skipped.
  (unless (TeX-error-list-skip-warning-p (nth 0 item) (nth 10 item))
@@ -2547,10 +2532,8 @@ Return non-nil if an error or warning is found."
;; Polish `file' string
(setq file
  (let ((string file))
-   ;; Trim whitespaces at the front.  XXX: XEmacs doesn't
-   ;; support character classes in regexps, like "[:space:]".
(setq string
- (if (string-match "\\'[ \t\n\r]*" string)
+ (if (string-match "\\`[ \t\n\r]+" string)
  (replace-match "" t t string)
string))
;; Sometimes `file' is something like
@@ -3690,70 +3673,68 @@ forward, if negative)."
   "Show an overview of the errors occurred in the last TeX run."
   (interactive)
   ;; Check requirements before 

Re: [AUCTeX-devel] Missing fontification for some core macros

2017-12-16 Thread Mosè Giordano
Hi Arash,

2017-12-16 16:01 GMT+01:00 Arash Esbati :
> Hi all,
>
> I always wondered why AUCTeX doesn't fontify some core macros like
> \LaTeXe, \marginpar or \bibitem, e.g.
>
>
>
> Is there a rationale for this behavior?

I don't know whether there was actually a rationale for this, to me
looks like no one ever cared about fontifying them.

Bye,
Mosè

___
auctex-devel mailing list
auctex-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/auctex-devel


[AUCTeX-diffs] GNU AUCTeX tag, release_12_1, created. 5b0664a8bf756cadd0fa20c789d337c836d57314

2017-12-10 Thread Mosè Giordano
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU AUCTeX".

The tag, release_12_1 has been created
at  5b0664a8bf756cadd0fa20c789d337c836d57314 (commit)

- Log -
commit 5b0664a8bf756cadd0fa20c789d337c836d57314
Author: Mosè Giordano 
Date:   Sun Dec 10 21:49:45 2017 +0100

; Release_12.1
---


hooks/post-receive
-- 
GNU AUCTeX

___
auctex-diffs mailing list
auctex-di...@gnu.org
https://lists.gnu.org/mailman/listinfo/auctex-diffs


[AUCTeX-diffs] GNU AUCTeX branch, master, updated. 5b0664a8bf756cadd0fa20c789d337c836d57314

2017-12-10 Thread Mosè Giordano
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU AUCTeX".

The branch, master has been updated
   via  5b0664a8bf756cadd0fa20c789d337c836d57314 (commit)
   via  85b3ed5f693e5c1e94ae5d7e9da98f838fa0d8c9 (commit)
  from  d02d4f47af04d97a6f066b5cfdbf88954f64a38f (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -
commit 5b0664a8bf756cadd0fa20c789d337c836d57314
Author: Mosè Giordano 
Date:   Sun Dec 10 21:49:45 2017 +0100

; Release_12.1

diff --git a/ChangeLog-preview b/ChangeLog-preview
index 516af30..6fe6b6b 100644
--- a/ChangeLog-preview
+++ b/ChangeLog-preview
@@ -1,3 +1,7 @@
+2017-12-10  Mosè Giordano  
+
+   * Version 12.1 released.
+
 2017-12-03  Mosè Giordano  
 
* Version 11.92 released.
diff --git a/ChangeLog.1 b/ChangeLog.1
index 84e5248..a7e98c8 100644
--- a/ChangeLog.1
+++ b/ChangeLog.1
@@ -1,3 +1,7 @@
+2017-12-10  Mosè Giordano  
+
+   * Version 12.1 released.
+
 2017-12-09  Mosè Giordano  
 
Remove references to old Emacsen from the manual

commit 85b3ed5f693e5c1e94ae5d7e9da98f838fa0d8c9
Author: Mosè Giordano 
Date:   Sun Dec 10 21:49:28 2017 +0100

; make change-history-commit

diff --git a/ChangeLog.1 b/ChangeLog.1
index f48c122..84e5248 100644
--- a/ChangeLog.1
+++ b/ChangeLog.1
@@ -1,3 +1,42 @@
+2017-12-09  Mosè Giordano  
+
+   Remove references to old Emacsen from the manual
+
+2017-12-07  Ikumi Keita  
+
+   Remove references to XEmacs from the manual
+
+   * doc/intro.texi:
+   * doc/preview-faq.texi:
+   * doc/preview-latex.texi:
+   * doc/preview-readme.texi: Remove references to XEmacs.
+
+2017-12-04  Mosè Giordano  
+
+   Remove references to XEmacs from the manual
+
+   * doc/auctex.texi:
+   * doc/faq.texi:
+   * doc/install.texi:
+   * doc/preview-faq.texi:
+   * doc/preview-latex.texi:
+   * doc/preview-problems.texi:
+   * doc/quickstart.texi:
+   * doc/tex-ref.tex:
+   * doc/todo.texi:
+   * doc/wininstall.texi: Remove references to XEmacs.
+
+2017-12-03  Mosè Giordano  
+
+   Prepare for new brand-new series of AUCTeX
+
+   * RELEASE: Update version number and release notes.
+   * doc/changes.texi: Update.
+   * configure.ac:
+   * doc/tex-ref.tex:
+   * latex/preview.dtx: Update version number.
+   * tex-site.el.in: Require Emacs 24 of higher.
+
 2017-12-03  Mosè Giordano  
 
* Version 11.92 released.
@@ -22399,7 +22438,7 @@
 
 This file records repository revisions from
 commit c865982cacab289f4480f9145b3438ec06824232 (exclusive) to
-commit acb5cf61db33b399939997bc1088715959f575fb (inclusive).
+commit d02d4f47af04d97a6f066b5cfdbf88954f64a38f (inclusive).
 
 ;; Local Variables:
 ;; coding: utf-8

---

Summary of changes:
 ChangeLog-preview |  4 
 ChangeLog.1   | 45 -
 2 files changed, 48 insertions(+), 1 deletion(-)


hooks/post-receive
-- 
GNU AUCTeX

___
auctex-diffs mailing list
auctex-di...@gnu.org
https://lists.gnu.org/mailman/listinfo/auctex-diffs


[AUCTeX-diffs] GNU AUCTeX branch, master, updated. d02d4f47af04d97a6f066b5cfdbf88954f64a38f

2017-12-09 Thread Mosè Giordano
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU AUCTeX".

The branch, master has been updated
   via  d02d4f47af04d97a6f066b5cfdbf88954f64a38f (commit)
  from  6871ec5125bed1a648a24eb88dae5ab81647088d (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -
commit d02d4f47af04d97a6f066b5cfdbf88954f64a38f
Author: Mosè Giordano 
Date:   Sat Dec 9 19:08:09 2017 +0100

Remove references to old Emacsen from the manual

diff --git a/doc/auctex.texi b/doc/auctex.texi
index 10b652e..f2e4dae 100644
--- a/doc/auctex.texi
+++ b/doc/auctex.texi
@@ -3626,8 +3626,7 @@ leave this variable set to its default value
 settings that work for some users.
 
 @lisp
-;; Alternative 1: For some users, `x-focus-frame' works.  Note
-;; that this function requires Emacs 24+.
+;; Alternative 1: For some users, `x-focus-frame' works.
 (setq TeX-raise-frame-function #'x-focus-frame)
 
 ;; Alternative 2: Under GNOME 3.20 (and probably others), it
@@ -3663,9 +3662,9 @@ settings that work for some users.
 @cindex Underfull boxes
 
 Once you've formatted your document you may `debug' it, i.e. browse
-through the errors (La)@TeX{} reported.  If you have GNU Emacs 24 or
-later, you may also have a look at a nicely formatted list of all errors
-and warnings reported by the compiler.
+through the errors (La)@TeX{} reported.  You may also have a look at a
+nicely formatted list of all errors and warnings reported by the
+compiler.
 
 @deffn Command TeX-next-error @var{arg} @var{reparse}
 @kindex C-c `
diff --git a/doc/preview-latex.texi b/doc/preview-latex.texi
index 6b1f687..39eed39 100644
--- a/doc/preview-latex.texi
+++ b/doc/preview-latex.texi
@@ -197,9 +197,7 @@ the region with borders switched off.  As this is an 
asynchronous
 operation running in the background, you'll need to call this command
 explicitly again to get the newly generated images into the kill ring.
 
-Preview your articles with @code{mml-preview} (on @kbd{M-m P}, or
-@kbd{C-c C-m P} in @w{Emacs 22})
-@kindex @kbd{M-m P}
+Preview your articles with @code{mml-preview} (on @kbd{C-c C-m P})
 @kindex @kbd{C-c C-m P}
 to make sure they look fine.
 
diff --git a/doc/quickstart.texi b/doc/quickstart.texi
index eb33928..cc9631e 100644
--- a/doc/quickstart.texi
+++ b/doc/quickstart.texi
@@ -298,9 +298,8 @@ may be repeated until all errors have been dealt with.  By 
pressing
 @AUCTeX{} should notify you of overfull and underfull boxes in addition
 to regular errors.
 
-If you have a recent version of GNU Emacs (24 or later), issue @kbd{M-x
-TeX-error-overview RET} to see a nicely formatted list of all errors and
-warnings reported by the compiler.
+Issue @kbd{M-x TeX-error-overview RET} to see a nicely formatted list of
+all errors and warnings reported by the compiler.
 
 If a command got stuck in a seemingly infinite loop, or you want to stop
 execution for other reasons, you can use @kbd{C-c C-k} (for ``kill'').

---

Summary of changes:
 doc/auctex.texi| 9 -
 doc/preview-latex.texi | 4 +---
 doc/quickstart.texi| 5 ++---
 3 files changed, 7 insertions(+), 11 deletions(-)


hooks/post-receive
-- 
GNU AUCTeX

___
auctex-diffs mailing list
auctex-di...@gnu.org
https://lists.gnu.org/mailman/listinfo/auctex-diffs


Re: [AUCTeX-devel] Plan for release of AUCTeX 12.1

2017-12-06 Thread Mosè Giordano
2017-12-06 15:54 GMT+01:00 Tassilo Horn <t...@gnu.org>:
> Mosè Giordano <m...@gnu.org> writes:
>
>> Tassilo, do you plan to make a new ELPA release for AUCTeX 11.92 or
>> will you wait directly for 12.1?
>
> 11.92.0 should be available in ELPA anytime soon.

Great, thank you!

Cheers,
Mosè

___
auctex-devel mailing list
auctex-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/auctex-devel


Re: [AUCTeX-devel] Plan for release of AUCTeX 12.1

2017-12-05 Thread Mosè Giordano
Dear all,

due to some time constraints, I can't release AUCTeX 12.1 today, so
it'll be delayed to next weekend (Saturday or Sunday).  Until then,
It'll be great if someone could go through the documentation to update
mentions to supported Emacsen.

Tassilo, do you plan to make a new ELPA release for AUCTeX 11.92 or
will you wait directly for 12.1?

Bye,
Mosè

2017-12-04 2:18 GMT+01:00 Mosè Giordano <m...@gnu.org>:
> Dear all,
>
> as the first action in the new series of AUCTeX, I officially removed
> support for all versions of Emacs with major version less than 24,
> thus including XEmacs.  As suggested by Tassilo, version 12.1 will be
> functionally equivalent to the just released 11.92.  I'm only going
> through removing mentions to old Emacsen from the manual.  Please,
> abstain from applying any change to AUCTeX code this week.  Updating
> the manual is welcome.
>
> If everything goes well, I hope to be able to release version 12.1 on
> Tuesday, otherwise I'll do it in the weekend.
>
> Cheers,
> Mosè

___
auctex-devel mailing list
auctex-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/auctex-devel


[AUCTeX-devel] Plan for release of AUCTeX 12.1

2017-12-03 Thread Mosè Giordano
Dear all,

as the first action in the new series of AUCTeX, I officially removed
support for all versions of Emacs with major version less than 24,
thus including XEmacs.  As suggested by Tassilo, version 12.1 will be
functionally equivalent to the just released 11.92.  I'm only going
through removing mentions to old Emacsen from the manual.  Please,
abstain from applying any change to AUCTeX code this week.  Updating
the manual is welcome.

If everything goes well, I hope to be able to release version 12.1 on
Tuesday, otherwise I'll do it in the weekend.

Cheers,
Mosè

___
auctex-devel mailing list
auctex-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/auctex-devel


[AUCTeX-diffs] GNU AUCTeX branch, master, updated. be45455cb9c40aed33abdb2043667f2e658ccba3

2017-12-03 Thread Mosè Giordano
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU AUCTeX".

The branch, master has been updated
   via  be45455cb9c40aed33abdb2043667f2e658ccba3 (commit)
  from  6454534a0af67567621134ec0083e59d3ebd9e43 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -
commit be45455cb9c40aed33abdb2043667f2e658ccba3
Author: Mosè Giordano 
Date:   Mon Dec 4 00:29:22 2017 +0100

Remove references to XEmacs from the manual

* doc/auctex.texi:
* doc/faq.texi:
* doc/install.texi:
* doc/preview-faq.texi:
* doc/preview-latex.texi:
* doc/preview-problems.texi:
* doc/quickstart.texi:
* doc/tex-ref.tex:
* doc/todo.texi:
* doc/wininstall.texi: Remove references to XEmacs.

diff --git a/doc/auctex.texi b/doc/auctex.texi
index 7259932..10b652e 100644
--- a/doc/auctex.texi
+++ b/doc/auctex.texi
@@ -258,7 +258,7 @@ Indices
 
 @c This text adapted from the Texinfo 2.16 distribution.
 
-@AUCTeX{} primarily consists of Lisp files for Emacs (and XEmacs), but
+@AUCTeX{} primarily consists of Lisp files for Emacs, but
 there are also installation scripts and files and @TeX{} support files.
 All of those are @dfn{free}; this means that everyone is free to use
 them and free to redistribute them on a free basis.  The files of
@@ -2190,7 +2190,7 @@ name omitting the leading backslash or a list consisting 
of the command
 name and a string specifying the sequence of arguments for the command.
 
 The face argument can either be an existing face or face attributes
-made by you.  (The latter option is not available on XEmacs.)
+made by you.
 
 There are three alternatives for the type of keywords---``Command with
 arguments'', ``Declaration inside @TeX{} group'' and ``Command without
@@ -2266,10 +2266,6 @@ below.)
 Lastly, you can set this variable to @code{invisible} whose behavior is
 like @code{multi-level}, and in addition the super-/subscript characters
 @i{^} and @i{_} are not displayed.
-
-Note that this feature is not available on XEmacs, for which
-it is disabled per default.  In GNU Emacs raising and lowering is not
-enabled for versions 21.3 and before due to it working not properly.
 @end defopt
 
 
@@ -3785,8 +3781,7 @@ all warnings are hidden in any case.
 
 When the option @code{TeX-parse-all-errors} is non-nil, you will be also
 able to open an overview of all errors and warnings reported by the TeX
-compiler.  This feature requires @code{tabulated-list-mode}, shipped
-with GNU Emacs 24 or later.
+compiler.
 
 @deffn Command TeX-error-overview
 Show an overview of the errors and warnings occurred in the last TeX
@@ -4340,17 +4335,15 @@ typesetting and editing documents in European languages.
 @c -> @abbr{MULE, MULtilingual Enhancement to GNU Emacs}
 @c -> @acronym{CJK, Chinese@comma{} Japanese@comma{} and Korean}
 
-For @acronym{CJK} (Chinese, Japanese, and Korean) languages, Emacs or
-XEmacs with @acronym{MULE} (MULtilingual Enhancement to GNU Emacs)
-support is required.  @acronym{MULE} is part of Emacs by default since
-Emacs 20.  XEmacs has to be configured with the @samp{--with-mule}
-option.  Special versions of @TeX{} are needed for @acronym{CJK}
-languages: C@TeX{} and China@TeX{} for Chinese, ASCII p@TeX{} and NTT
-j@TeX{} for Japanese, H@LaTeX{} and k@TeX{} for Korean.  The
-@acronym{CJK}-@LaTeX{} package is required for supporting multiple
-@acronym{CJK} scripts within a single document.
-
-Note that Unicode is not fully supported in Emacs 21 and XEmacs 21.
+For @acronym{CJK} (Chinese, Japanese, and Korean) languages, Emacs with
+@acronym{MULE} (MULtilingual Enhancement to GNU Emacs) support is
+required.  @acronym{MULE} is part of Emacs by default since Emacs 20.
+Special versions of @TeX{} are needed for @acronym{CJK} languages:
+C@TeX{} and China@TeX{} for Chinese, ASCII p@TeX{} and NTT j@TeX{} for
+Japanese, H@LaTeX{} and k@TeX{} for Korean.  The @acronym{CJK}-@LaTeX{}
+package is required for supporting multiple @acronym{CJK} scripts within
+a single document.
+
 @acronym{CJK} characters are not usable.  Please use the
 @acronym{MULE}-@acronym{UCS} EmacsLisp package or Emacs 22 and later if
 you need @acronym{CJK}.
@@ -4384,9 +4377,9 @@ languages than Western European ones will probably have 
other encoding
 needs.
 
 To be able to display non-ASCII characters you will need an appropriate
-font and a version of GNU Emacs capable of displaying 8-bit characters
-(e.g. Emacs 21).  The manner in which this is supported differs between
-Emacsen, so you need to take a look at your respective documentation.
+font and a version of GNU Emacs capable of displaying 8-bit characters.
+The manner in which this is supported differs between Emacsen, so you
+need to 

[AUCTeX-diffs] GNU AUCTeX branch, master, updated. 6454534a0af67567621134ec0083e59d3ebd9e43

2017-12-03 Thread Mosè Giordano
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU AUCTeX".

The branch, master has been updated
   via  6454534a0af67567621134ec0083e59d3ebd9e43 (commit)
  from  575078fbcbd81cbf6485d64ea942a4587106d983 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -
commit 6454534a0af67567621134ec0083e59d3ebd9e43
Author: Mosè Giordano 
Date:   Sun Dec 3 23:55:48 2017 +0100

Prepare for new brand-new series of AUCTeX

* RELEASE: Update version number and release notes.
* doc/changes.texi: Update.
* configure.ac:
* doc/tex-ref.tex:
* latex/preview.dtx: Update version number.
* tex-site.el.in: Require Emacs 24 of higher.

diff --git a/RELEASE b/RELEASE
index faea7ac..7d540e4 100644
--- a/RELEASE
+++ b/RELEASE
@@ -1,5 +1,5 @@
-Release notes for AUCTeX 11.92 with preview-latex
-=
+Release notes for AUCTeX 12.1 with preview-latex
+
 
 AUCTeX provides by far the most wide-spread and sophisticated
 environment for editing LaTeX, TeX, ConTeXt and Texinfo documents with
@@ -24,68 +24,34 @@ sleuth work, testing.
 New features and fixed bugs in this release
 ---
 
-preview-latex is compatible with Ghostscript 9.22 where the
-operator '.runandhide' is removed.  All occurrences of
-'.runandhide' in preview-latex are replaced by alternative code
-making it work with Ghostscript 9.22 again.
+AUCTeX now requires GNU Emacs 24 or higher.  Support for XEmacs has
+been dropped.
 
-AUCTeX has a new customize option
-'TeX-math-input-method-off-regexp'.  When you begin to input a math
-formula, the current input method is turned off if its name matches
-this regular expression.
-
-In fact this variable was introduced long before, but has not been
-documented in info files nor turned into a customize option with
-'defcustom' until this release.
-
-The window system focus is pulled back to Emacs when viewing with
-evince-compatible viewers if a new customize option
-'TeX-view-evince-keep-focus' is non-nil.
-
-The usual dose of bug fixes was administered.
+Besides the change in the supported version of Emacs, there has
+been no functional change in this release, which is equivalent to
+version 11.92.
 
 Requirements
 
 
-It is required that you use at least GNU Emacs 21 or XEmacs 21.4.
-XEmacs requires at least version 1.84 of the xemacs-base package
-(released on 01/27/2004) or a sumo tarball dated 02/02/2004 or newer
-for compiling AUCTeX: please use the XEmacs package system for
-upgrading if necessary.
+It is required that you use at least GNU Emacs 24.
 
-The preview-latex subsystem requires image support.  This is available
-with GNU Emacs 21.3 under the X window system.  For Windows[2], Mac OS
-X (Carbon, Cocoa)[3] or native GTK+ toolkit support, at least version
-22.1 of GNU Emacs is required.  Emacs 22 and later is the recommended
-platform for AUCTeX in general.  If you prefer XEmacs, it will work in
-version 21.4.10 or later.
+The preview-latex subsystem requires image support.
 
 You'll also need a working LaTeX installation and Ghostscript.
-dvipng[4] (version 1.4 or later), a very fast DVI converter, can be
+dvipng[2] (version 1.4 or later), a very fast DVI converter, can be
 used to speed up the conversion.
 
-NOTE: This will be the last release in the 11 series.  Version 12 of
-AUCTeX, which is due to come in a few days, will support only GNU
-Emacs 24 or higher.
-
 Availability
 
 
-The easiest way for getting AUCTeX, for users running Emacs 24.1 or
-higher, is installing it with GNU ELPA, see
+The easiest way for getting AUCTeX is installing it with GNU ELPA, see
  for more information.
 Other download options are available at
 .  At release time, we provide the
-source tarball, and a platform-independent XEmacs package file (which
-you have to install yourself using XEmacs' own package system, after
-using it for removing the previous version of AUCTeX).  You can also
-use versions of Emacs that already include AUCTeX or a software
-package management system for your operating system which provides you
-with the latest release.
-
-The XEmacs package file can be discerned by `pkg' in its name.  It is
-usually more recent than what gets distributed from XEmacs servers and
-as part of the Sumo tarball.
+source tarball.  You can also use versions of Emacs that already
+include AUCTeX or a software package management system for your
+operating system which provides you with the latest release.
 
 A separate directory for each release contains 

[AUCTeX-diffs] GNU AUCTeX tag, release_11_92, created. 575078fbcbd81cbf6485d64ea942a4587106d983

2017-12-03 Thread Mosè Giordano
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU AUCTeX".

The tag, release_11_92 has been created
at  575078fbcbd81cbf6485d64ea942a4587106d983 (commit)

- Log -
commit 575078fbcbd81cbf6485d64ea942a4587106d983
Author: Mosè Giordano 
Date:   Sun Dec 3 20:10:29 2017 +0100

; Release_11.92
---


hooks/post-receive
-- 
GNU AUCTeX

___
auctex-diffs mailing list
auctex-di...@gnu.org
https://lists.gnu.org/mailman/listinfo/auctex-diffs


[AUCTeX-diffs] GNU AUCTeX branch, master, updated. 575078fbcbd81cbf6485d64ea942a4587106d983

2017-12-03 Thread Mosè Giordano
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU AUCTeX".

The branch, master has been updated
   via  575078fbcbd81cbf6485d64ea942a4587106d983 (commit)
   via  1ea45c825e27c6d366428ff7e46478ba4934f0f1 (commit)
  from  acb5cf61db33b399939997bc1088715959f575fb (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -
commit 575078fbcbd81cbf6485d64ea942a4587106d983
Author: Mosè Giordano 
Date:   Sun Dec 3 20:10:29 2017 +0100

; Release_11.92

diff --git a/ChangeLog-preview b/ChangeLog-preview
index 2ac1df2..516af30 100644
--- a/ChangeLog-preview
+++ b/ChangeLog-preview
@@ -1,3 +1,7 @@
+2017-12-03  Mosè Giordano  
+
+   * Version 11.92 released.
+
 2017-07-24  Mosè Giordano  
 
* Version 11.91 released.
diff --git a/ChangeLog.1 b/ChangeLog.1
index e88bc5e..f48c122 100644
--- a/ChangeLog.1
+++ b/ChangeLog.1
@@ -1,5 +1,9 @@
 2017-12-03  Mosè Giordano  
 
+   * Version 11.92 released.
+
+2017-12-03  Mosè Giordano  
+
Prepare for upcoming release
 
* RELEASE: Update version number and release notes.

commit 1ea45c825e27c6d366428ff7e46478ba4934f0f1
Author: Mosè Giordano 
Date:   Sun Dec 3 20:10:07 2017 +0100

; make change-history-commit

diff --git a/ChangeLog.1 b/ChangeLog.1
index e091ae6..e88bc5e 100644
--- a/ChangeLog.1
+++ b/ChangeLog.1
@@ -1,3 +1,433 @@
+2017-12-03  Mosè Giordano  
+
+   Prepare for upcoming release
+
+   * RELEASE: Update version number and release notes.
+   * doc/changes.texi: Mention bug fixes.
+   * configure.ac:
+   * doc/tex-ref.tex:
+   * latex/preview.dtx: Update version number.
+
+2017-12-03  Ikumi Keita  
+
+   Fix auto detect of kpathsea delimeter
+
+   * tex.el (TeX-kpathsea-detect-path-delimiter): New function.
+   (TeX-kpathsea-path-delimiter): Use it to obtain the default value.
+   (TeX-tree-expand): Use it to simplify auto detection method.
+   Use `TeX-kpathsea-path-delimiter' for argument given to kpsewhich
+   command.  Using constant ";" is completely wrong for most kpsewhich
+   implementation.
+
+2017-11-30  Arash Esbati  
+
+   Get rid of `delete-dups'
+
+   * style/caption.el (LaTeX-caption-update-key-val-options):
+   * style/enumitem.el (LaTeX-enumitem-update-key-val-options):
+   * style/floatrow.el (LaTeX-floatrow-update-key-val-options):
+   * style/graphicx.el (LaTeX-includegraphics-extensions):
+   * style/listings.el (LaTeX-listings-update-style-key):
+   * style/mdframed.el (LaTeX-mdframed-update-style-key):
+   * style/menukeys.el (TeX-arg-menukeys-newmenumacro): Replace
+   `delete-dups' with `TeX-delete-duplicate-strings'.
+
+2017-11-30  Arash Esbati  
+
+   * style/longtable.el ("longtable"): Use `make-local-variable'.
+
+   * tex-ispell.el: Add entry for "xltabular" environment.
+
+2017-11-30  Arash Esbati  
+
+   Fix style/xltabular.el
+
+   * style/xltabular.el (LaTeX-xltabular-skipping-regexp): New variable.
+   (LaTeX-env-xltabular):
+   (LaTeX-item-xltabular): New function.
+   ("xltabular"): Use the above functions in the style hook.
+
+2017-11-30  Mosè Giordano  
+
+   Reduce code duplication in tests
+
+   * tests/make-test-deps.emacs-lisp: New file.
+   * tests/Makefile (%.log): Load it make-test-deps.emacs-lisp when 
running tests.
+   * tests/context/context-test.el:
+   * tests/japanese/error-parsing.el:
+   * tests/japanese/parse-timing.el:
+   * tests/japanese/preview-latex.el:
+   * tests/latex/latex-test.el:
+   * tests/tex/error-parsing.el:
+   * tests/tex/path-expansion.el:
+   * tests/tex/utility.el: Remove code moved to make-test-deps.emacs-lisp.
+
+2017-11-30  Ikumi Keita  
+
+   Revert wrong test
+
+   * tests/tex/path-expansion.el (TeX-kpathsea-delimiter-w32): Remove.
+
+2017-11-30  Ikumi Keita  
+
+   Add style path explicitly
+
+   * tests/japanese/error-parsing.el ():
+   * tests/japanese/parse-timing.el ():
+   * tests/japanese/preview-latex.el (): Add "style" subdirectory in the
+   repository to `TeX-style-path' so we can load style files inside tests.
+
+2017-11-29  Ikumi Keita  
+
+   Re-implement auto-detect of path separator from kpsewhich output
+
+   * tex.el (TeX-kpathsea-path-delimiter): Accept t for Autodetect again
+   and make it default on w32 platform.
+   (TeX-tree-expand): Use heuristics as much as possible to determine the
+ 

[AUCTeX-diffs] GNU AUCTeX branch, master, updated. acb5cf61db33b399939997bc1088715959f575fb

2017-12-03 Thread Mosè Giordano
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU AUCTeX".

The branch, master has been updated
   via  acb5cf61db33b399939997bc1088715959f575fb (commit)
  from  c27f60f4c69452bfc2752b47539938c9f1fea7b0 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -
commit acb5cf61db33b399939997bc1088715959f575fb
Author: Mosè Giordano 
Date:   Sun Dec 3 19:46:16 2017 +0100

Prepare for upcoming release

* RELEASE: Update version number and release notes.
* doc/changes.texi: Mention bug fixes.
* configure.ac:
* doc/tex-ref.tex:
* latex/preview.dtx: Update version number.

diff --git a/RELEASE b/RELEASE
index 015ff39..faea7ac 100644
--- a/RELEASE
+++ b/RELEASE
@@ -1,4 +1,4 @@
-Release notes for AUCTeX 11.91 with preview-latex
+Release notes for AUCTeX 11.92 with preview-latex
 =
 
 AUCTeX provides by far the most wide-spread and sophisticated
@@ -24,82 +24,25 @@ sleuth work, testing.
 New features and fixed bugs in this release
 ---
 
-Now AUCTeX has a logo.  The LaTeX code to create it is available in
-the 'etc/' directory of the package.
-
-Add support for 'upmendex', an extension of 'makeindex' capable of
-sorting indexes by unicode based ICU.
-
-Fix preview-latex to interact correctly with Japanese LaTeX.  The
-parsing routine was made robust not to be confused by the 7-bit
-encoding of Japanese text and the necessary option to LaTeX command
-is kept even when preamble caching is enabled.
-
-The new "Glossaries" entry in 'TeX-command-list' runs the command
-'makeglossaries'.
-
-Fontification of control symbols has been improved.  Characters
-defined in 'font-latex-match-simple-exclude-list' do not receive
-any fontification.  In DocTeX mode, the character '_' is removed
-from 'font-latex-match-simple-exclude-list' in order to fontify
-macros like '\__module_foo:nnn' correctly.
-
-Fontification of math environments has been improved.  Optional
-and/or mandatory argument(s) to environments are not fontified.
-
-'preview.sty' loads 'luatex85.sty' if possible and should be
-compatible with newer luaTeX versions.
-
-AUCTeX has a new customize option 'TeX-ispell-verb-delimiters'.
-This string contains usual characters used as delimiters for
-in-line verbatim macros like '\verb'.  Text between delimiters
-after an in-line verbatim macro will be skipped during spell
-checking.
-
-Fontification of in-line verbatim macros has been improved.
-'font-latex.el' recognizes an optional or a mandatory argument for
-macros like '\Verb' from 'fancyvrb.sty', '\mint' and '\mintinline'
-from 'minted.sty' and fontifies verbatim content correctly.
-
-AUCTeX can put and parse labels in optional argument of
-environments.  Inserting labels is done by new function
-'LaTeX-env-label-as-keyval'.  A new customize option
-'LaTeX-listing-label' is available as prefix to labels in code
-typesetting environments, e.g.  'lstlisting' environment provided
-by 'listings' package.  'LaTeX-listing-label' defaults to 'lst:'.
-Parsing of labels for later referencing relies on two requirements:
-  1. Label should come as last key-value argument, and
-  2. label must be enclosed in braces, e.g.
-  \begin{lstlisting}[caption=Some Caption,label={lst:foo}]
-  ...
-  \end{lstlisting}
-
-The function 'LaTeX-label' now takes a second optional argument
-'NO-INSERT'.  When non-'nil', 'LaTeX-label' reads a label and
-returns it as a string.  This argument is also passed to any
-function bound to 'LaTeX-label-function' (see next item).
-
-*Incompatible change:* The signature for the function passed with
-the customize option 'LaTeX-label-function' has changed.  The
-function bound to this variable is now expected to take an optional
-second argument 'NO-INSERT'.  When this argument is non-'nil', the
-function should read and only return a label as a string; insertion
-is done by another function.
-
-Directory local variables were ineffective for
-'japanese-latex-mode' and 'japanese-plain-tex-mode'.  This bug was
-fixed.  (This was actually done in AUCTeX 11.90, but not
-advertised)
-
-The output of Japanese text from Japanese TeX engines is decoded
-correctly for most cases, according to the encoding of the TeX
-documents and the locale.  The difference between MS Windows, macOS
-and unix-like OS is taken into account.  (This was actually done in
-AUCTeX 11.90, but not advertised)
-
-Quite a few new LaTeX packages are supported.
-
-As usual, many bugs were fixed.
+preview-latex is compatible with Ghostscript 9.22 where the
+operator '.runandhide' is removed.  All occurrences of
+'.runandhide' in preview-latex are 

Re: [AUCTeX-devel] Fix about usage of kpsewhich

2017-12-03 Thread Mosè Giordano
2017-12-03 16:22 GMT+01:00 Ikumi Keita :
> Done.  Mosè, now I'm ready for the new release.

Good.  Thank you!

Bye,
Mosè

___
auctex-devel mailing list
auctex-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/auctex-devel


Re: [AUCTeX-devel] Fix about usage of kpsewhich

2017-12-01 Thread Mosè Giordano
2017-12-01 23:34 GMT+01:00 David Kastrup :
>> Braces + comma should be fine.
>
> Unless there are directories containing comma itself in the PATH.  Is
> that an allowed character in Windows file systems?

It's allowed in NTFS, according to Wikipedia[1]:

In Win32 namespace: any UTF-16 code unit (case-insensitive) except
/\:*"?<>| as well as NUL

Bye,
Mosè

Notes:
[1] https://en.wikipedia.org/wiki/NTFS

___
auctex-devel mailing list
auctex-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/auctex-devel


Re: [AUCTeX-devel] Fix about usage of kpsewhich

2017-12-01 Thread Mosè Giordano
Hi Keita,

sorry for the late reply, these days I'm getting all @gnu.org emails
with huge delay.

2017-12-01 15:05 GMT+01:00 Ikumi Keita :
> Hi all,
>
> First I apologize my repeated mistakes in recent commits with regard to
> the usage of kpsewhich.  The function `TeX-tree-expand' in the latest
> git repository is broken badly.
>
> Since the new release is planned to be soon, it's better to clean up
> the things without much delay, I think.  There are three ways that we
> can take.
>
> (1) Commit my pending patch proposed in
> https://lists.gnu.org/archive/html/auctex-devel/2017-11/msg00030.html

Braces + comma should be fine.

>
> (2) Revert my relavant commits:
> Mon Nov 13 23:41:18 2017 +0900 Bug fix and code refactoring related to 
> kpathsea
> Thu Nov 30 00:32:49 2017 +0900 Re-implement auto-detect of path separator 
> from kpsewhich output
>
> (3) Other way
> I don't have any particular solution other than (1) and (2), but any
> other good idea should be appreciated, of course.

David, since you were involved in the discussion earlier, do you have
any comment?

Bye,
Mosè

___
auctex-devel mailing list
auctex-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/auctex-devel


Re: [AUCTeX-devel] [AUCTeX-diffs] GNU AUCTeX branch, master, updated. 9fdfe2c3d466d0a37b2d46b94052516e16d2c0c5

2017-12-01 Thread Mosè Giordano
Hi Keita,

2017-11-29 18:38 GMT+01:00 Ikumi Keita :
> My current idea is to fix the relavant code with the attached patch.
> Could you please take a look and see whether it is reasonable?

Are the braces necessary?  The comma seems to work for me on Debian
GNU/Linux.  David, could you please confirm?  Instead, with semicolon
I get no output at all.

I tried all TeX Live installations on my machine (2014-2017) and they
all seem to work with the comma.  Can't test with older versions.

Bye,
Mosè

___
auctex-devel mailing list
auctex-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/auctex-devel


Re: [AUCTeX-devel] Failing tests

2017-11-30 Thread Mosè Giordano
2017-11-30 16:57 GMT+01:00 Ikumi Keita <ik...@ikumi.que.jp>:
> Hi Mosè,
>
>>>>>> Mosè Giordano <m...@gnu.org> writes:
>> Hi Keita,
>> apparently I haven't been running the tests for a while.  I just
>> noticed that I have two tests failing on my system:
>
>>   japanese/parse-timing.log
>>   tex/path-expansion.log
>
>> For the first one:
>
>> Test japanese-TeX-style-hook-timing backtrace:
>>   (if (unwind-protect (setq value-2 (apply fn-0 args-1)) (setq form-de
> ...
>
> For the first one, after "make distclean" in the top directory, "make"
> in tests directory will succeed.

Uhm, not for me, if you mean running make check in tests/.  Anyway see below.

> I realize for the first time that the test file should contain the code
> necessary to load style files even when "tex-site.el" generated during
> the build process is left in the top directory.  I will add the
> following code taken from the test file "latex/latex-test.el" later:
> --
> ;; Add the "style/" directory to `TeX-style-path',
> ;; so we can load style files inside tests.
> (add-to-list 'TeX-style-path
>  (expand-file-name "../../style"
>(when load-file-name
>  (file-name-directory load-file-name
> --

This does the trick, I should have recalled it having wrote that
snippet ;-)  I also took the occasion to reduce a bit code duplication
in tests.

>> For the second one (this is the issue related to delimiters discussed
>> elsewhere):
>
>> Test TeX-variable-truncation backtrace:
>>   TeX-search-files-by-type(abc global)
>>   (let ((var (quote ("str1" "str2"))) (TeX-kpathsea-path-delimiter nil
> ...
>
> This error is due to my last bogus commit.  After applying the proposed
> fix attached in
> https://lists.gnu.org/archive/html/auctex-devel/2017-11/msg00030.html
> , the test will succeed.  I'm sorry for inconvinience.

This test is still failing for me:

Test TeX-variable-truncation backtrace:
  TeX-search-files-by-type(abc global)
  (let ((var (quote ("str1" "str2"))) (TeX-kpathsea-path-delimiter nil
  (lambda nil (let ((var (quote ("str1" "str2"))) (TeX-kpathsea-path-d
  ert--run-test-internal([cl-struct-ert--test-execution-info [cl-struc
  ert-run-test([cl-struct-ert-test TeX-variable-truncation "Check whet
  ert-run-or-rerun-test([cl-struct-ert--stats t [[cl-struct-ert-test T
  ert-run-tests(t #[385 "\306 \307\"\203G
  ert-run-tests-batch(nil)
  ert-run-tests-batch-and-exit()
  command-line-1(("-L" ".." "-l" "ert" "-l" "make-test-deps.emacs-lisp
  command-line()
  normal-top-level()
Test TeX-variable-truncation condition:
(error "No TeX trees available; configure `TeX-tree-roots'")
   FAILED  1/1  TeX-variable-truncation

Thanks,
Mosè

___
auctex-devel mailing list
auctex-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/auctex-devel


[AUCTeX-diffs] GNU AUCTeX branch, master, updated. e19560472b06c2d0ae37e07cb3f5e0b9ab403162

2017-11-30 Thread Mosè Giordano
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU AUCTeX".

The branch, master has been updated
   via  e19560472b06c2d0ae37e07cb3f5e0b9ab403162 (commit)
  from  478c9874184d9d11be56c09ba6eba0501b42d365 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -
commit e19560472b06c2d0ae37e07cb3f5e0b9ab403162
Author: Mosè Giordano 
Date:   Thu Nov 30 20:59:19 2017 +0100

Reduce code duplication in tests

* tests/make-test-deps.emacs-lisp: New file.
* tests/Makefile (%.log): Load it make-test-deps.emacs-lisp when running 
tests.
* tests/context/context-test.el:
* tests/japanese/error-parsing.el:
* tests/japanese/parse-timing.el:
* tests/japanese/preview-latex.el:
* tests/latex/latex-test.el:
* tests/tex/error-parsing.el:
* tests/tex/path-expansion.el:
* tests/tex/utility.el: Remove code moved to make-test-deps.emacs-lisp.

diff --git a/tests/Makefile b/tests/Makefile
index 208ab72..db62b30 100644
--- a/tests/Makefile
+++ b/tests/Makefile
@@ -55,7 +55,8 @@ all: check
 WRITE_LOG = 2>&1 | tee $@
 
 %.log: %.el
-   $(emacs) -l ert -l $< -f ert-run-tests-batch-and-exit ${WRITE_LOG}
+   $(emacs) -l ert -l make-test-deps.emacs-lisp -l $< \
+   -f ert-run-tests-batch-and-exit ${WRITE_LOG}
 
 ELFILES = $(wildcard */*.el)
 LOGFILES = $(patsubst %.el,%.log, ${ELFILES})
diff --git a/tests/context/context-test.el b/tests/context/context-test.el
index 05647e4..1fcc999 100644
--- a/tests/context/context-test.el
+++ b/tests/context/context-test.el
@@ -24,18 +24,6 @@
 (require 'ert)
 (require 'context)
 
-(defun AUCTeX-set-ert-path ( sym-val)
-  "Set first element of SYM-VAL to the next one, and so on.
-
-The value is the path to the test file, make sure it is expanded
-in the right directory even when the ERT test from the command
-line and from another directory."
-  (while sym-val
-(set (pop sym-val)
-(expand-file-name (pop sym-val)
-  (when load-file-name
-(file-name-directory load-file-name))
-
 (AUCTeX-set-ert-path
  'ConTeXt-indent-test/in
  "context-indentation-in.tex"
diff --git a/tests/japanese/error-parsing.el b/tests/japanese/error-parsing.el
index 571e0a6..c2f8f90 100644
--- a/tests/japanese/error-parsing.el
+++ b/tests/japanese/error-parsing.el
@@ -26,13 +26,6 @@
 (setq japanese-TeX-error-messages t)
 (require 'tex-jp)
 
-;; Add the "style/" directory to `TeX-style-path',
-;; so we can load style files inside tests.
-(add-to-list 'TeX-style-path
- (expand-file-name "../../style"
-   (when load-file-name
- (file-name-directory load-file-name
-
 (ert-deftest japanese-TeX-help-message ()
   "Test the fallback behavior of `TeX-help-error'.
 It should pick up error messages from the log file even if
diff --git a/tests/japanese/parse-timing.el b/tests/japanese/parse-timing.el
index 800428a..1c49eb7 100644
--- a/tests/japanese/parse-timing.el
+++ b/tests/japanese/parse-timing.el
@@ -33,24 +33,6 @@
 (require 'ert)
 (require 'tex-jp)
 
-;; Add the "style/" directory to `TeX-style-path',
-;; so we can load style files inside tests.
-(add-to-list 'TeX-style-path
- (expand-file-name "../../style"
-   (when load-file-name
- (file-name-directory load-file-name
-
-(defun AUCTeX-set-ert-path ( sym-val)
-  "Set first element of SYM-VAL to the next one, and so on.
-
-The value is the path to the test file, make sure it is expanded
-in the right directory even when the ERT test from the command
-line and from another directory."
-  (while sym-val
-(set (pop sym-val)
-(expand-file-name (pop sym-val)
-  (when load-file-name
-(file-name-directory load-file-name))
 (AUCTeX-set-ert-path
  'parse-timing
  "parse-timing-test.tex")
diff --git a/tests/japanese/preview-latex.el b/tests/japanese/preview-latex.el
index 5885456..44697d6 100644
--- a/tests/japanese/preview-latex.el
+++ b/tests/japanese/preview-latex.el
@@ -26,25 +26,6 @@
   (require 'tex-jp))
 (require 'preview)
 
-;; Add the "style/" directory to `TeX-style-path',
-;; so we can load style files inside tests.
-(add-to-list 'TeX-style-path
- (expand-file-name "../../style"
-   (when load-file-name
- (file-name-directory load-file-name
-
-(defun AUCTeX-set-ert-path ( sym-val)
-  "Set first element of SYM-VAL to the next one, and so on.
-
-The value is the path to the test file, make sure it is expanded
-in the right directory even when the ERT test from 

[AUCTeX-devel] Failing tests

2017-11-29 Thread Mosè Giordano
Hi Keita,

apparently I haven't been running the tests for a while.  I just
noticed that I have two tests failing on my system:

  japanese/parse-timing.log
  tex/path-expansion.log

For the first one:

Test japanese-TeX-style-hook-timing backtrace:
  (if (unwind-protect (setq value-2 (apply fn-0 args-1)) (setq form-de
  (let (form-description-4) (if (unwind-protect (setq value-2 (apply f
  (let ((value-2 (quote ert-form-evaluation-aborted-3))) (let (form-de
  (let ((fn-0 (function memq)) (args-1 (list (quote AMSTeX) (get refte
  (let ((TeX-parse-self t) (TeX-master t) (japanese-TeX-mode t) (LaTeX
  (lambda nil (let ((TeX-parse-self t) (TeX-master t) (japanese-TeX-mo
  ert--run-test-internal([cl-struct-ert--test-execution-info [cl-struc
  ert-run-test([cl-struct-ert-test japanese-TeX-style-hook-timing "Tes
  ert-run-or-rerun-test([cl-struct-ert--stats t [[cl-struct-ert-test j
  ert-run-tests(t #[385 "\306 \307\"\203G


For the second one (this is the issue related to delimiters discussed
elsewhere):

Test TeX-variable-truncation backtrace:
  TeX-search-files-by-type(abc global)
  (let ((var (quote ("str1" "str2"))) (TeX-kpathsea-path-delimiter nil
  (lambda nil (let ((var (quote ("str1" "str2"))) (TeX-kpathsea-path-d
  ert--run-test-internal([cl-struct-ert--test-execution-info [cl-struc
  ert-run-test([cl-struct-ert-test TeX-variable-truncation "Check whet
  ert-run-or-rerun-test([cl-struct-ert--stats t [[cl-struct-ert-test T
  ert-run-tests(t #[385 "\306 \307\"\203G


Probably at some point we'd like to setup a continous integration
service, on Hydra if possible.

Bye,
Mosè

___
auctex-devel mailing list
auctex-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/auctex-devel


Re: [AUCTeX-devel] Call for patches for last release on 11.x series

2017-11-28 Thread Mosè Giordano
Dear all,

Arash asked me to delay the release of new version to next weekend, so
that he can go apply some pending fixes he's working on.

Bye,
Mosè


2017-11-19 0:21 GMT+01:00 Arash Esbati :
> David Kastrup  writes:
>
>> David Kastrup  writes:
>>>
>>> At any rate: not sure whether XEmacs has the same
>>> make-hash-table/gethash/puthash calls.
>
> Thanks for your response.  I thought so as well (I don't have XEmacs on
> my box).
>
>> Ah, it's there, in reftex.el after all.
>>
>> (defun reftex-uniquify (list  sort)
>>   ;; Return a list of all strings in LIST, but each only once, keeping order
>>   ;; unless SORT is set (faster!).
>> [...]
>>
>> But that's specialized on strings, and a different package anyway.
>
> Great, thanks.  I tested it briefly and it seems to do the job.  I will
> do some more testing and add it as `TeX-uniquify-strings' (?) to the
> compat branch in order to replace `delete-dups'.
>
> Best, Arash
>
> ___
> auctex-devel mailing list
> auctex-devel@gnu.org
> https://lists.gnu.org/mailman/listinfo/auctex-devel
>

___
auctex-devel mailing list
auctex-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/auctex-devel


[AUCTeX-devel] Call for patches for last release on 11.x series

2017-11-10 Thread Mosè Giordano
Dear all,

now that the Ghostscript issue has been fixed I think it's a good time
to release a new version of AUCTeX, that will be the last in the 11.x
series concerning new features.  At the same time we'll release AUCTeX
12.01, (almost?) identical to 11.92, but it'll support only GNU Emacs
>= 24 and the development will continue only here.

So, everyone who has a patch that would like to be included in version
11.92 please send it now.  Ideally, I'd like to distribute the new
versions by the end of the month.

Thanks,
Mosè

___
auctex-devel mailing list
auctex-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/auctex-devel


Re: [AUCTeX-devel] Bring back the focus to emacs from viewer (was Re: [PATCH] When using SyncTeX with Evince, do not switch focus after syncing.)

2017-09-29 Thread Mosè Giordano
2017-09-29 15:05 GMT+02:00 Ikumi Keita :
> Hmm...then, it might be necessary to wait a little before trying to
> bring back the focus.  Unlike Evince, Okular is called with normal
> `TeX-run-discard' hook and runs asynchoronously, so the function
> `select-frame-set-input-focus' in question might run too early, when
> okular is not yet ready.
>
> If this speculation is right, this kind of treatment is valid for okular?
> (when (and TeX-view-keep-focus
>(string= name "View"))
>   (sit-for 0.3)
>   (cond ((fboundp #'select-frame-set-input-focus)
>  (select-frame-set-input-focus (selected-frame)))
> ((fboundp #'x-focus-frame)
>  (x-focus-frame (selected-frame)))
> ((fboundp #'focus-frame)
>  (focus-frame (selected-frame)))

No, doesn't help.  Not even stretching the waiting time.

Bye,
Mosè

___
auctex-devel mailing list
auctex-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/auctex-devel


Re: [AUCTeX-devel] [PATCH] When using SyncTeX with Evince, do not switch focus after syncing.

2017-09-29 Thread Mosè Giordano
Hi,

2017-09-28 18:32 GMT+02:00 Ikumi Keita <ik...@ikumi.que.jp>:
> Hi all,
>
>>>>>> Ikumi Keita <ik...@ikumi.que.jp> writes:
>> Hi Mosè,
>>>>>> Mosè Giordano <m...@gnu.org> writes:
>>> Hi Keita,
>>> the same feature has been asked for Okular on TeX.se:
>>> https://emacs.stackexchange.com/q/35788/620  Is there any chance to
>>> generalize it to any viewer?
>
>> OK, I'll take a look and see if it is possible in a clean manner.
>
> I think the attached patch does the supposed job basically.  It inserts
> addtional process at the end of `TeX-command' and brings the focus back
> to emacs if the relavant user option is non-nil and the command is
> "View".

The patch looks good, but... doesn't work for me, at least with
Okular.  Instead it works with Evince.

> In this patch, the user option is renamed from
> `TeX-view-evince-keep-focus' to `TeX-view-keep-focus'.

Good idea.

Bye,
Mosè

___
auctex-devel mailing list
auctex-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/auctex-devel


Re: [AUCTeX-devel] [PATCH] When using SyncTeX with Evince, do not switch focus after syncing.

2017-09-27 Thread Mosè Giordano
Hi Keita,

the same feature has been asked for Okular on TeX.se:
https://emacs.stackexchange.com/q/35788/620  Is there any chance to
generalize it to any viewer?

Bye,
Mosè


2017-09-16 16:03 GMT+02:00 Ikumi Keita :
> Hi Hong,
>
>> Hong Xu  writes:
>
>> Thanks for picking up this patch. I like this plan -- and I can't think
>> of a better plan.
>
> OK, now I have just commited the change according to the plan.  Thank
> you.
>
> Bye,
> Ikumi Keita
>
> ___
> auctex-devel mailing list
> auctex-devel@gnu.org
> https://lists.gnu.org/mailman/listinfo/auctex-devel
>

___
auctex-devel mailing list
auctex-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/auctex-devel


Re: [AUCTeX-devel] support for xemacs

2017-09-19 Thread Mosè Giordano
Hi all,

I'm resurrecting this thread to raise again the question:

  Is there anyone with strong arguments against dropping support in
  AUCTeX for all Emacsen whose version is < 24 (thus including all
  versions of XEmacs)?

Keep in mind that supporting old platforms requires time, so in case
you wish to keep support for them it would be great if you volunteer
doing so :-)

Cheers,
Mosè

___
auctex-devel mailing list
auctex-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/auctex-devel


Re: [AUCTeX-devel] bugs in LaTeX-includegraphics-extensions; incompatibility with old emacsens

2017-09-15 Thread Mosè Giordano
Hi all,

2017-09-15 8:25 GMT+02:00 Ikumi Keita :
>> My vote would be to keep it as it: Emacs 22.3. was released 2008.  I
>> think it is time to ask users to update Emacs or use an older AUCTeX
>> release (11.88 or older).  This would apply for XEmacs users as well.
>
> I see.  What do others think?

If I remember well, some time ago we reached a consensus on dropping
support for Emacs versions prior to 24 after AUCTeX 11.90.  Now we are
on 11.91 --- which was a necessary bugfix release --- IMHO it's time
to move on.

Bye,
Mosè

___
auctex-devel mailing list
auctex-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/auctex-devel


Re: [AUCTeX-devel] [PATCH] When using SyncTeX with Evince, do not switch focus after syncing.

2017-08-20 Thread Mosè Giordano
Hi!

2017-08-20 17:21 GMT+02:00  :
> Dear Mosè and Hong,
>
> I also use a setup similar to Hong's: I have the pdf viewer and emacs side by 
> side; at times I update the pdf just to see how the text looks like, but I 
> still keep on working on the tex file.

Eventually someone explained it clearly, thanks!  Emacs and the viewer
are side by side.  That's not my usual setup and couldn't figure out
this was Hong's one.  Ok, now I see the point of the proposed patch.

> I imagine that maybe 50% of users might like Hong's proposed behaviour, and 
> the other 50% might not like it.

If this is optional, it shouldn't upset anyone.

Bye,
Mosè

___
auctex-devel mailing list
auctex-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/auctex-devel


Re: [AUCTeX-devel] [PATCH] When using SyncTeX with Evince, do not switch focus after syncing.

2017-08-20 Thread Mosè Giordano
Dear Hong,

> Do you all agree to make this an option? If so, I can update the patch
> to accommodate that.

I'm not still convinced that the patch you propose is a good idea.
Why should people run "View" command to *not* view the document?  If
you only want to sync the viewer, you should define a custom command
that does that, why hijacking a command that is supposed to do
something else?  In addition, what's the point of syncing the viewer
without viewing it?  Sorry, I can't see the use case of this feature.

Maybe Tassilo has more to say about the proposed behavior.

Bye,
Mosè

___
auctex-devel mailing list
auctex-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/auctex-devel


Re: [AUCTeX-devel] [PATCH] When using SyncTeX with Evince, do not switch focus after syncing.

2017-08-09 Thread Mosè Giordano
Hi!

2017-08-09 11:21 GMT+02:00 Hong Xu :
> The current behavior switches focus to Evince, which is inconvenient for
> editing.

I guess you're referring to this:
https://emacs.stackexchange.com/q/34754/620  `C-c C-v' is used to open
the viewer, so why you would like to keep focus on Emacs if you
request to open the viewer?  If you want to keep focus on Emacs, do
not open the viewer.  Or am I missing something?

Bye,
Mosè

___
auctex-devel mailing list
auctex-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/auctex-devel


[AUCTeX-diffs] GNU AUCTeX tag, release_11_91, created. 97dca3f50fc0a68d10344b5f675bdfe0bf4320c6

2017-07-24 Thread Mosè Giordano
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU AUCTeX".

The tag, release_11_91 has been created
at  97dca3f50fc0a68d10344b5f675bdfe0bf4320c6 (commit)

- Log -
commit 97dca3f50fc0a68d10344b5f675bdfe0bf4320c6
Author: Mosè Giordano 
Date:   Mon Jul 24 11:23:59 2017 +0200

; Release_11.91
---


hooks/post-receive
-- 
GNU AUCTeX

___
auctex-diffs mailing list
auctex-di...@gnu.org
https://lists.gnu.org/mailman/listinfo/auctex-diffs


[AUCTeX-diffs] GNU AUCTeX branch, master, updated. 97dca3f50fc0a68d10344b5f675bdfe0bf4320c6

2017-07-24 Thread Mosè Giordano
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU AUCTeX".

The branch, master has been updated
   via  97dca3f50fc0a68d10344b5f675bdfe0bf4320c6 (commit)
   via  8c172d5354113d4145e3ca0e3e041b607e5071a1 (commit)
  from  17118fb3aabba5a158c8ff8b4f5ec4f215547d2b (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -
commit 97dca3f50fc0a68d10344b5f675bdfe0bf4320c6
Author: Mosè Giordano 
Date:   Mon Jul 24 11:23:59 2017 +0200

; Release_11.91

diff --git a/ChangeLog-preview b/ChangeLog-preview
index 908ed2e..2ac1df2 100644
--- a/ChangeLog-preview
+++ b/ChangeLog-preview
@@ -1,3 +1,7 @@
+2017-07-24  Mosè Giordano  
+
+   * Version 11.91 released.
+
 2017-01-10  Mosè Giordano  
 
* Version 11.90 released.
diff --git a/ChangeLog.1 b/ChangeLog.1
index 93160ad..e091ae6 100644
--- a/ChangeLog.1
+++ b/ChangeLog.1
@@ -1,5 +1,9 @@
 2017-07-24  Mosè Giordano  
 
+   * Version 11.91 released.
+
+2017-07-24  Mosè Giordano  
+
Prepare for upcoming release
 
 2017-07-22  Arash Esbati  

commit 8c172d5354113d4145e3ca0e3e041b607e5071a1
Author: Mosè Giordano 
Date:   Mon Jul 24 11:23:18 2017 +0200

; make change-history-commit

diff --git a/ChangeLog.1 b/ChangeLog.1
index 6555d64..93160ad 100644
--- a/ChangeLog.1
+++ b/ChangeLog.1
@@ -1,3 +1,1179 @@
+2017-07-24  Mosè Giordano  
+
+   Prepare for upcoming release
+
+2017-07-22  Arash Esbati  
+
+   Update key=val options to minted package v2.5
+
+   * style/minted.el (LaTeX-minted-key-val-options): Update options
+   to package version v2.5 from 2017/07/19.
+
+2017-07-21  Ikumi Keita  
+
+   Conform to elisp coding conventions.
+
+   * latex.el (LaTeX-section-heading, LaTeX-environment)
+   (TeX-arg-document, LaTeX-arg-usepackage-read-packages-with-options)
+   (TeX-arg-bibstyle, TeX-arg-bibliography, TeX-arg-verb)
+   (LaTeX-fill-region): Taylor minibuffer prompt string. Add or taylor
+   "done" messages.
+   * tex-buf.el (TeX-command-query, TeX-printer-query): Ditto.
+   * tex.el (TeX-master-file-ask, TeX-master-file, TeX-update-style)
+   (TeX-auto-list-information, TeX-auto-generate): Ditto.
+
+2017-07-21  Ikumi Keita  
+
+   * doc/changes.texi: Mention changes related to Japanese TeX.
+
+2017-07-03  Arash Esbati  
+
+   * doc/auctex.texi (European): Add babel languages which load english.el.
+
+2017-07-03  Arash Esbati  
+
+   Check and set `TeX-quote-language' if necessary
+
+   * style/english.el ("english"): Reset `TeX-quote-language' to nil
+   if changed by other babel language options.
+
+2017-07-03  Arash Esbati  
+
+   Add new style/australian.el and style/newzealand.el
+
+   * Makefile.in (STYLESRC): Add new styles.
+
+   * style/australian.el:
+   * style/newzealand.el: New files.
+
+2017-07-02  Arash Esbati  
+
+   Add new style/canadian.el
+
+   * Makefile.in (STYLESRC): Add new style.
+
+   * style/canadian.el: New file.
+
+2017-07-01  Arash Esbati  
+
+   Add new style/moodle.el
+
+   * Makefile.in (STYLESRC): Add new style.
+
+   * style/moodle.el: New file.
+
+2017-07-01  Arash Esbati  
+
+   * latex.el (LaTeX-babel-hyphen-language-alist): Fix typo in docstring.
+
+2017-06-17  Antoine Levitt  
+
+   Add support for xreader viewer
+
+   * tex.el (TeX-evince-dbus-p):
+   (TeX-evince-sync-view-1):
+   (TeX-view-program-select-evince):
+   (TeX-raise-frame-function):
+   (TeX-source-correlate-mode): Adapt functions and docstrings to xreader.
+   (TeX-xreader-sync-view): New function.
+   (TeX-view-program-list-builtin): Add xreader.
+
+2017-06-14  Arash Esbati  
+
+   Update key=value options to graphicx package version 1.1a
+
+   * style/graphicx.el (LaTeX-graphicx-key-val-options): Add new
+   key=value options.
+   (LaTeX-arg-graphicx-includegraphics-key-val): Support "pagebox"
+   key with pdfTeX or LuaTeX.
+
+2017-06-13  Arash Esbati  
+
+   * style/beamer.el ("beamer"): Query for optional argument after \pause.
+
+2017-06-13  Mosè Giordano  
+
+   Suggest to rerun LaTeX if xsim properties changed
+
+   * tex-buf.el (TeX-LaTeX-sentinel): Catch xsim warning suggesting to 
rerun LaTeX
+   and set LaTeX and next default command.
+
+2017-06-13  Mosè Giordano  
+
+   Catch expl3 warnings
+
+   * 

[AUCTeX-diffs] GNU AUCTeX branch, master, updated. 17118fb3aabba5a158c8ff8b4f5ec4f215547d2b

2017-07-23 Thread Mosè Giordano
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU AUCTeX".

The branch, master has been updated
   via  17118fb3aabba5a158c8ff8b4f5ec4f215547d2b (commit)
  from  2b46b604fc34e29d74f6592677cc451826be71ae (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -
commit 17118fb3aabba5a158c8ff8b4f5ec4f215547d2b
Author: Mosè Giordano 
Date:   Mon Jul 24 00:59:49 2017 +0200

Prepare for upcoming release

diff --git a/RELEASE b/RELEASE
index d3253e2..015ff39 100644
--- a/RELEASE
+++ b/RELEASE
@@ -1,4 +1,4 @@
-Release notes for AUCTeX 11.90 with preview-latex
+Release notes for AUCTeX 11.91 with preview-latex
 =
 
 AUCTeX provides by far the most wide-spread and sophisticated
@@ -24,104 +24,82 @@ sleuth work, testing.
 New features and fixed bugs in this release
 ---
 
-In addition to the completion performed by 'TeX-complete-symbol',
-AUCTeX now also supports the new Emacs standard completion-at-point
-facility (see the Emacs command 'completion-at-point').  This also
-means that modern completion UIs like company-mode work out of the
-box in TeX and LaTeX buffers.
-
-Completion is now aware of being inside a math environment and then
-completes math macros.
-
-AUCTeX is able to display several levels of super- and subscripts,
-each one raised above and a bit smaller than its basis.  For this
-feature, have a look at the customize options
-'font-latex-fontify-script' (especially the new values 'multi-level'
-and 'invisible') and 'font-latex-fontify-script-max-level'.  Also, the
-script characters '^' and '_' are also fontified with a special face
-named 'font-latex-script-char-face'.
-
-Parsing of format specification in various tabular environments has
-been improved.  The function 'LaTeX-insert-item' ('C-c ') inserts
-suitable number of ampersands for '*{num}{cols}' constructs.  Style
-files for LaTeX packages 'tabularx', 'tabulary', 'longtable',
-'dcolumn' and 'siunitx' are adapted to take advantage of this
-improvement.
-
-AUCTeX has a new Ispell dictionary 'tex-ispell.el' for macros and
-environments which will be skipped during spell checking.  The
-activiation of this feature is controlled by a new customize option
-'TeX-ispell-extend-skip-list', which is set to 't' and activated by
-default.
-
-AUCTeX has a new customize option 'TeX-raise-frame-function' that is
-currently only used by Evince and Atril inverse search to raise the
-Emacs frame.
-
-When inserting a new float, AUCTeX will now prompt for a short-caption
-if the length of the caption provided is greater than a certain size.
-This size is controlled via a new user option
-'LaTeX-short-caption-prompt-length'.
-
-Parsing of the compilation log has been reworked.  You should
-encounter fewer mistaken files while navigating through errors and
-warnings.
-
-Two new user options, 'TeX-ignore-warnings' and
-'TeX-suppress-ignored-warnings', allow ignoring certain warnings
-after compilation of the document.
-
-A new option, 'TeX-PDF-from-DVI', controls if and how to produce a PDF
-file by converting a DVI file.  This supersedes
-'TeX-PDF-via-dvips-ps2pdf' which is still recognized but marked as
-obsolete and may be removed in future releases.
-
-Support for a number of external viewers has been added:
-   * Atril viewer.  Forward and inverse search requires version
- 1.9.1 or later to work.
-
-   * dviout viewer on Windows.  Note that this setup works when
- 'TeX-source-correlate-method' is set to use 'source-specials'
- for DVI, e.g.:
-  (setq TeX-source-correlate-method
-'((dvi . source-specials)
-  (pdf . synctex)))
- which is the default.
-
-   * SumatraPDF viewer on Windows.
-
-   * Zathura viewer.  Forward and inverse search requires a recent
- version of the program to work (3.4 or later).
-
-A new function, 'TeX-documentation-texdoc', for reading
-documentation with 'texdoc' has been added.  'TeX-doc' is still
-available but now 'C-c ?' runs 'TeX-documentation-texdoc'.
-
-AUCTeX has a new custom option
-'LaTeX-reftex-cite-format-auto-activate' which controls the automatic
-activation of citation formats provided by RefTeX when a style file is
-loaded and RefTeX is enabled.  Currently, 'biblatex.el', 'harvard.el',
-'jurabib.el' and 'natbib.el' use this feature.  If you have customized
-'reftex-cite-format' and want to use your settings, you should set
-this variable to 'nil'.
-
-AUCTeX now has limited support for the TikZ package.  For the moment,
-this includes some basic support for prompting the user of arguments
-to the '\draw' macro.
-
-The style 'graphicx.el' went through a bigger 

Re: [AUCTeX-devel] [Patch] support xreader

2017-06-16 Thread Mosè Giordano
Hi Antoine,

2017-06-15 15:11 GMT+02:00 Antoine Levitt :
> So apparently forking GNOME once was not enough, and now the linux mint
> people have a new name for their pdf viewer, xreader (see e.g.
> https://www.linuxmint.com/rel_sarah_cinnamon_whatsnew.php).

Oh my gosh.

> Here's a
> patch for auctex to support it. I had to remove a check for the
> executable, because xreader has DE "x" and APP "reader" while the
> executable is named "xreader", but I don't think that check was useful
> in the first place (might as well try to register with dbus, even if the
> executable does not exist). I also reworded the doc to speak of
> "evince-compatible viewers" (who knows how many of these there will be
> in the future...)

Thanks for the patch!  Looks good to me, I installed it.  I see that
you already assigned copyright for Emacs, that's good for AUCTeX as
well.

For next contributions, git patches with proper commit message (with
ChangeLog-like body) would be much appreciated ;-)

Bye,
Mosè

___
auctex-devel mailing list
auctex-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/auctex-devel


[AUCTeX-diffs] GNU AUCTeX branch, master, updated. 42aa58cf338b9084cc4c81e747e6adc39dbba00b

2017-06-16 Thread Mosè Giordano
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU AUCTeX".

The branch, master has been updated
   via  42aa58cf338b9084cc4c81e747e6adc39dbba00b (commit)
  from  fbbb17bec6ff1b9f1d57b6944124cb69dffb67a1 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -
commit 42aa58cf338b9084cc4c81e747e6adc39dbba00b
Author: Antoine Levitt 
Date:   Sat Jun 17 01:18:07 2017 +0200

Add support for xreader viewer

* tex.el (TeX-evince-dbus-p):
(TeX-evince-sync-view-1):
(TeX-view-program-select-evince):
(TeX-raise-frame-function):
(TeX-source-correlate-mode): Adapt functions and docstrings to xreader.
(TeX-xreader-sync-view): New function.
(TeX-view-program-list-builtin): Add xreader.

Signed-off-by: Mosè Giordano 

diff --git a/tex.el b/tex.el
index aeaf67c..3932379 100644
--- a/tex.el
+++ b/tex.el
@@ -1234,33 +1234,31 @@ The following built-in predicates are available:
   :group 'TeX-view
   :type '(alist :key-type symbol :value-type (group sexp)))
 
-;; XXX: Atril is a fork of Evince and shares an almost identical interface with
-;; it.  Instead of having different functions for each program, we keep the
-;; original *-evince-* functions and make them accept arguments to specify the
-;; actual name of the program and the desktop environment, that will be used to
-;; set up DBUS communication.
+;; XXX: Atril and xreader are forks of Evince and share an almost
+;; identical interface with it. Instead of having different functions
+;; for each program, we keep the original *-evince-* functions and
+;; make them accept arguments to specify the actual name of the
+;; program and the desktop environment, that will be used to set up
+;; DBUS communication.
 
 ;; Require dbus at compile time to prevent errors due to `dbus-ignore-errors'
 ;; not being defined.
 (eval-when-compile (and (featurep 'dbusbind)
(require 'dbus nil :no-error)))
 (defun TeX-evince-dbus-p (de app  options)
-  "Return non-nil, if atril or evince are installed and accessible via DBUS.
+  "Return non-nil, if an evince-compatible reader is accessible via DBUS.
 Additional OPTIONS may be given to extend the check.  If none are
 given, only the minimal requirements needed by backward search
 are checked.  If OPTIONS include `:forward', which is currently
 the only option, then additional requirements needed by forward
 search are checked, too.
 
-DE is the name of the desktop environment, either \"gnome\" or
-\"mate\", APP is the name of viewer, either \"evince\" or
-\"atril\"."
+DE is the name of the desktop environment, APP is the name of viewer."
   (let ((dbus-debug nil))
 (and (featurep 'dbusbind)
 (require 'dbus nil :no-error)
 (dbus-ignore-errors (dbus-get-unique-name :session))
 (dbus-ping :session (format "org.%s.%s.Daemon" de app))
-(executable-find app)
 (or (not (memq :forward options))
 (let ((spec (dbus-introspect-get-method
  :session (format "org.%s.%s.Daemon" de app)
@@ -1308,12 +1306,11 @@ entry in `TeX-view-program-list-builtin'."
 (defun TeX-evince-sync-view-1 (de app)
   "Focus the focused page/paragraph in Evince with the position
 of point in emacs by using Evince's DBUS API.  Used by default
-for the Atril or Evince entries in
+for the Evince-compatible entries in
 `TeX-view-program-list-builtin' if the requirements are met.
 
-DE is the name of the desktop environment, either \"gnome\" or
-\"mate\", APP is the name of viewer, either \"evince\" or
-\"atril\"."
+DE is the name of the desktop environment, APP is the name of
+viewer."
   (require 'url-util)
   (let* ((uri (concat "file://" (url-encode-url
 (expand-file-name
@@ -1354,12 +1351,15 @@ DE is the name of the desktop environment, either 
\"gnome\" or
   "Run `TeX-evince-sync-view-1', which see, set up for Evince."
   (TeX-evince-sync-view-1 "gnome" "evince"))
 
+(defun TeX-xreader-sync-view ()
+  "Run `TeX-evince-sync-view-1', which see, set up for Evince."
+  (TeX-evince-sync-view-1 "x" "reader"))
+
 (defun TeX-view-program-select-evince (de app)
   "Select how to call the Evince-like viewer.
 
-DE is the name of the desktop environment, either \"gnome\" or
-\"mate\", APP is the name of viewer, either \"evince\" or
-\"atril\"."
+DE is the name of the desktop environment, APP is the name of
+viewer."
   (if (TeX-evince-dbus-p de app :forward)
   (intern (format "TeX-%s-sync-view" app))
 `(,app (mode-io-correlate
@@ -1418,6 +1418,7 @@ DE is the name of the desktop environment, either 
\"gnome\" or
   ("xpdf" ("xpdf -remote %s -raise %o" (mode-io-correlate 

[AUCTeX-diffs] GNU AUCTeX branch, master, updated. 4d426eac1664add53e22046911e64d05991ade4a

2017-06-13 Thread Mosè Giordano
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU AUCTeX".

The branch, master has been updated
   via  4d426eac1664add53e22046911e64d05991ade4a (commit)
   via  0c03e4ac6042e7c19e4202b6d95c8c515145d264 (commit)
  from  ab04c45dde3c1e591bd4e46ccd6a6211710355da (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -
commit 4d426eac1664add53e22046911e64d05991ade4a
Author: Mosè Giordano 
Date:   Tue Jun 13 11:22:24 2017 +0200

Suggest to rerun LaTeX if xsim properties changed

* tex-buf.el (TeX-LaTeX-sentinel): Catch xsim warning suggesting to rerun 
LaTeX
and set LaTeX and next default command.

diff --git a/tex-buf.el b/tex-buf.el
index 9659e07..fa8f409 100644
--- a/tex-buf.el
+++ b/tex-buf.el
@@ -1638,6 +1638,10 @@ Rerun to get mark in right position\\." nil t)
 (message
  "%s" "You should run LaTeX again to get TikZ marks in right position")
 (setq TeX-command-next TeX-command-default))
+   ((re-search-forward "^\* xsim warning: \"rerun\"" nil t)
+(message
+ "%s" "You should run LaTeX again to synchronize exercise properties")
+(setq TeX-command-next TeX-command-default))
((re-search-forward
  "^\\(\\*\\* \\)?J?I?p?\\(La\\|Sli\\)TeX\\(2e\\)? \
 \\(Version\\|ver\\.\\|<[0-9/-]*\\(?:u[^>]*\\)?>\\)" nil t)

commit 0c03e4ac6042e7c19e4202b6d95c8c515145d264
Author: Mosè Giordano 
Date:   Tue Jun 13 11:20:55 2017 +0200

Catch expl3 warnings

* tex-buf.el (LaTeX-warnings-regexp): Adapt regexp to the style of expl3
warnings.
* tests/tex/error-parsing.el (TeX-error-parsing-expl3-warnings): New test 
for
expl3 warnings.

diff --git a/tests/tex/error-parsing.el b/tests/tex/error-parsing.el
index 7193db6..3da46c1 100644
--- a/tests/tex/error-parsing.el
+++ b/tests/tex/error-parsing.el
@@ -121,6 +121,25 @@ ABD: EveryShipout initializing macros"
   0 "LaTeX Warning: There were undefined references.\n" nil nil 
nil 2805 nil)
 
 
+(ert-deftest TeX-error-parsing-expl3-warnings ()
+  "Test parsing of expl3 warnings."
+  (should (equal
+  (with-temp-buffer
+(setq TeX-debug-warnings t
+  TeX-debug-bad-boxes t)
+ (insert
+ "*
+* xsim warning: \"rerun\"
+* 
+* Exercise properties may have changed. Rerun to get them synchronized.
+*
+")
+ (TeX-parse-all-errors)
+TeX-error-list)
+  '((warning nil nil "* xsim warning: \"rerun\"" 0
+ "* xsim warning: \"rerun\"\n* \n* Exercise properties may 
have changed. Rerun to get them 
synchronized.\n*\n"
+ nil nil nil 200 nil)
+
 ;; See https://lists.gnu.org/archive/html/auctex/2017-04/msg7.html.
 (ert-deftest TeX-LaTeX2e-date ()
   "Test parsing of different LaTeX2e date formats."
diff --git a/tex-buf.el b/tex-buf.el
index 5fff109..9659e07 100644
--- a/tex-buf.el
+++ b/tex-buf.el
@@ -1531,7 +1531,7 @@ Return nil ifs no errors were found."
 ;;   Package xyz123 Warning: ...
 ;;   Class xyz123 Warning: ...
 (defvar LaTeX-warnings-regexp
-  "\\(?:LaTeX\\|Class\\|Package\\) [-A-Za-z0-9]* ?Warning:"
+  "\\(?:LaTeX\\|Class\\|Package\\|\*\\) [-A-Za-z0-9]* ?[Ww]arning:"
   "Regexp matching LaTeX warnings.")
 
 (defun TeX-LaTeX-sentinel-has-warnings ()

---

Summary of changes:
 tests/tex/error-parsing.el | 19 +++
 tex-buf.el |  6 +-
 2 files changed, 24 insertions(+), 1 deletion(-)


hooks/post-receive
-- 
GNU AUCTeX

___
auctex-diffs mailing list
auctex-di...@gnu.org
https://lists.gnu.org/mailman/listinfo/auctex-diffs


Re: [AUCTeX-devel] AUCTeX suggests wrong default command

2017-06-01 Thread Mosè Giordano
Hi!

2017-06-01 16:57 GMT+02:00 Ikumi Keita :
> Hi all,
>
> If a document is divided into multiple files, in a subfile not placed in
> `TeX-master-directory', AUCTeX suggests wrong default command for
> actions on the region such as C-c C-r and C-c C-b.
> By the same reason, C-u C-c C-a also fails.
> I think the attached fix is necessary.
>
> [How to confirm]
> 1. Extract the attached files under /tmp .
> 2. Open /tmp/childdir/child.tex and put the region on arbitrary text.
> 3. Type C-c C-r.  AUCTeX suggests "LaTeX" as default command.  This is
>OK.
> 4. Type RET to accept the default.  The file is typeset normally.  Then
>type C-c C-r again.  AUCTeX suggests "LaTeX" as default again.  This
>is not what should be.  Since the sample files are so simple, the
>right default here is "View".
> 5. Type RET to accept the default.  Of course the file is typeset
>without problem.  Type C-c C-r again.  AUCTeX suggests "LaTeX" as
>default again.  Even if you repeat typing C-c C-r RET, AUCTeX always
>suggests "LaTeX" as default, never "View".
> 6. If you type C-u C-c C-a instead of C-c C-r, the sequence repeats
>"LaTeX" commands and stops with the message `Stopping after running
>"LaTeX" 4 times in a row.'
>
> As always, comments and suggestions are welcome.

The patch looks good to me, thanks!

Bye,
Mosè

___
auctex-devel mailing list
auctex-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/auctex-devel


Re: [AUCTeX-devel] tabelofcontents has a {}

2017-05-30 Thread Mosè Giordano
Hi Uwe,

2017-05-30 17:50 GMT+02:00 Uwe Brauer :
> Hi
>
> I never thought about it, but if I use
> TeX-insert-macro
> RET
> tableofcontents
>
> \tableofcontents{}
>
> Is inserted. What is the use of the brackets {}?
> It looks to me as there is a tiny bug.

Most macros without arguments insert a pair of empty brackets.  In
most cases this does no harm (as in this one, right?).  Only a few
commands for which the empty group should not be there are instructed
to not insert it.

Bye,
Mosè

___
auctex-devel mailing list
auctex-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/auctex-devel


[AUCTeX-diffs] GNU AUCTeX branch, master, updated. aed9191a3aa4cf2f640ff985bbbca0553e4e48d0

2017-05-29 Thread Mosè Giordano
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU AUCTeX".

The branch, master has been updated
   via  aed9191a3aa4cf2f640ff985bbbca0553e4e48d0 (commit)
  from  6fd235f1a3592109cd9794a063151cea75e738d3 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -
commit aed9191a3aa4cf2f640ff985bbbca0553e4e48d0
Author: Mosè Giordano 
Date:   Mon May 29 17:53:19 2017 +0200

* tests/tex/compilation-log.txt:
* tests/tex/error-parsing.el: Add test for error starting with exclamation 
mark.

diff --git a/tests/tex/compilation-log.txt b/tests/tex/compilation-log.txt
index 85e56c0..f9ce7ac 100644
--- a/tests/tex/compilation-log.txt
+++ b/tests/tex/compilation-log.txt
@@ -61,6 +61,10 @@ Overfull \hbox (13.59138pt too wide) in paragraph at lines 
367--368
 
 [93])
 
+! Undefined control sequence.
+l.11 \doesnotexist
+
+(./foo.aux) )
 LaTeX Warning: Citation 'Knuth:TeXbook-1984' undefined on input line 48.
 
 LaTeX Warning: There were undefined references.
diff --git a/tests/tex/error-parsing.el b/tests/tex/error-parsing.el
index ed34409..7193db6 100644
--- a/tests/tex/error-parsing.el
+++ b/tests/tex/error-parsing.el
@@ -110,12 +110,16 @@ ABD: EveryShipout initializing macros"
  (bad-box "./file  name/with spaces.tex" 367 "Overfull \\hbox 
(13.59138pt too wide) in paragraph at lines 367--368"
   0 "\n[]\\T1/pplj/m/n/10.95 Un qua-dri-vet-to-re co-va-rian-te 
$\\OMS/zplm/m/n/10.95 f\\OML/zplm/m/it/10.95 A[]\\OMS/zplm/m/n/10.95 g$ 
\\T1/pplj/m/n/10.95 e un in-sie-me di quat-tro quan-ti-ta $\\OT1/zplm/m/n/10.95 
(\\OML/zplm/m/it/10.95 A[]; A[]; A[]; A[]\\OT1/zplm/m/n/10.95 )$" "$"
   368 t 2600 nil)
+ (error "./test.tex" 11 "Undefined control sequence." 0
+   "\nl.11 \\doesnotexist\n\n(./foo.aux) )"
+   "\\doesnotexist\n" nil nil 2682 nil)
  (warning "./test.tex" 48
   "LaTeX Warning: Citation 'Knuth:TeXbook-1984' undefined on input 
line 48." 0
   "LaTeX Warning: Citation 'Knuth:TeXbook-1984' undefined on input 
line 48.\n"
-  "Knuth:TeXbook-1984" 48 nil 2692 nil)
+  "Knuth:TeXbook-1984" 48 nil 2756 nil)
  (warning "./test.tex" nil "LaTeX Warning: There were undefined 
references."
-  0 "LaTeX Warning: There were undefined references.\n" nil nil 
nil 2741 nil)
+  0 "LaTeX Warning: There were undefined references.\n" nil nil 
nil 2805 nil)
+
 
 ;; See https://lists.gnu.org/archive/html/auctex/2017-04/msg7.html.
 (ert-deftest TeX-LaTeX2e-date ()

---

Summary of changes:
 tests/tex/compilation-log.txt | 4 
 tests/tex/error-parsing.el| 8 ++--
 2 files changed, 10 insertions(+), 2 deletions(-)


hooks/post-receive
-- 
GNU AUCTeX

___
auctex-diffs mailing list
auctex-di...@gnu.org
https://lists.gnu.org/mailman/listinfo/auctex-diffs


Re: [AUCTeX-devel] bug#25322: preview-latex coding system problem with Japanese LaTeX

2017-05-26 Thread Mosè Giordano
2017-05-26 19:11 GMT+02:00 Ikumi Keita <ik...@ikumi.que.jp>:
> Hi Mosè, thanks for your response!
>
>>>>>> Mosè Giordano <m...@gnu.org> writes:
>> Indeed I have a problem: all non skipped tests in
>> japanese/preview-latex.el fail for me.  Attached you can find the log,
>> if it can help you.
>
> It seems that the latest commit is not yet installed on your box.  I
> encountered similar fails with AUCTeX before the update.   My tests only
> pass with the updated codes.

The repo was up-to-date, but I had to make distclean before
recompiling AUCTeX (before I run only make clean, which wasn't
sufficient).  Now the tests pass.  Thanks and sorry for the noise!

Bye,
Mosè

___
auctex-devel mailing list
auctex-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/auctex-devel


Re: [AUCTeX-devel] bug#25322: preview-latex coding system problem with Japanese LaTeX

2017-05-26 Thread Mosè Giordano
Hi!

2017-05-26 15:47 GMT+02:00 Ikumi Keita :
> I wrote a suite of ERT files and commited them with the patches, since I
> heard no objections during the span.  I also commited the patch in my
> previous message to make preview-latex to work with xemacs on w32
> system.
>
> Since it was too difficult for me to write a full automated test which
> can complete entirely in batch mode because the functionality of
> preview-latex depends how images scattered on the buffer "look" like to
> human eyes, some of the tests are marked to be skipped in batch mode.
> Such tests requires manual execution instead.

I know that tests aren't always easy to write, especially for stuff
that requires interaction.  I don't ask tests at any cost, but when
it's possible to write them, they're definitely useful to prevent
future failures ;-)

> If someone finds difficulties with this commit, feel free to ask me.

Indeed I have a problem: all non skipped tests in
japanese/preview-latex.el fail for me.  Attached you can find the log,
if it can help you.

Bye,
Mosè
Loading 00debian-vars...
Loading /etc/emacs/site-start.d/50autoconf.el (source)...
Loading /etc/emacs/site-start.d/50cmake-data.el (source)...
Loading /etc/emacs/site-start.d/50dictionaries-common.el (source)...
Loading debian-ispell...
Loading /var/cache/dictionaries-common/emacsen-ispell-default.el (source)...
Loading /var/cache/dictionaries-common/emacsen-ispell-dicts.el (source)...
Loading /etc/emacs/site-start.d/50emacs-goodies-el.el (source)...
Loading /etc/emacs/site-start.d/50festival.el (source)...
Loading /etc/emacs/site-start.d/50python-docutils.el (source)...
Running 8 tests (2017-05-26 17:29:15+0200)
Test japanese-preview-convert-^^ab backtrace:
  (let ((fn-65 (function string=)) (args-66 (list (preview--convert-^^
  (let (case-fold-search) (let ((fn-65 (function string=)) (args-66 (l
  (lambda nil (let (case-fold-search) (let ((fn-65 (function string=))
  ert--run-test-internal([cl-struct-ert--test-execution-info [cl-struc
  ert-run-test([cl-struct-ert-test japanese-preview-convert-^^ab "`pre
  ert-run-or-rerun-test([cl-struct-ert--stats t [[cl-struct-ert-test j
  ert-run-tests(t #[385 "\306\307\"\203G\211\211G\310U\203\211@\20
  ert-run-tests-batch(nil)
  ert-run-tests-batch-and-exit()
  command-line-1(("-L" ".." "-l" "ert" "-l" "japanese/preview-latex.el
  command-line()
  normal-top-level()
Test japanese-preview-convert-^^ab condition:
(void-function preview--convert-^^ab)
   FAILED  1/8  japanese-preview-convert-^^ab
Test japanese-preview-decode-^^ab backtrace:
  (let ((fn-45 (function string=)) (args-46 (list (preview--decode-^^a
  (let (case-fold-search) (let ((fn-45 (function string=)) (args-46 (l
  (lambda nil (let (case-fold-search) (let ((fn-45 (function string=))
  ert--run-test-internal([cl-struct-ert--test-execution-info [cl-struc
  ert-run-test([cl-struct-ert-test japanese-preview-decode-^^ab "`prev
  ert-run-or-rerun-test([cl-struct-ert--stats t [[cl-struct-ert-test j
  ert-run-tests(t #[385 "\306\307\"\203G\211\211G\310U\203\211@\20
  ert-run-tests-batch(nil)
  ert-run-tests-batch-and-exit()
  command-line-1(("-L" ".." "-l" "ert" "-l" "japanese/preview-latex.el
  command-line()
  normal-top-level()
Test japanese-preview-decode-^^ab condition:
(void-function preview--decode-^^ab)
   FAILED  2/8  japanese-preview-decode-^^ab
  skipped  3/8  japanese-preview-different-coding-system
Test japanese-preview-error-quote-shift-jis backtrace:
  (setq value-42 (apply fn-40 args-41))
  (unwind-protect (setq value-42 (apply fn-40 args-41)) (setq form-des
  (if (unwind-protect (setq value-42 (apply fn-40 args-41)) (setq form
  (let (form-description-44) (if (unwind-protect (setq value-42 (apply
  (let ((value-42 (quote ert-form-evaluation-aborted-43))) (let (form-
  (let ((fn-40 (function string-match)) (args-41 (list (preview-error-
  (while --dolist-tail-- (setq str (car --dolist-tail--)) (let ((fn-40
  (let ((--dolist-tail-- (quote ("表(1)" "予{a}" "能|" "{あ} %能" "アース" "型"
  (let (case-fold-search (buffer-file-coding-system (quote shift_jis))
  (lambda nil (let (case-fold-search (buffer-file-coding-system (quote
  ert--run-test-internal([cl-struct-ert--test-execution-info [cl-struc
  ert-run-test([cl-struct-ert-test japanese-preview-error-quote-shift-
  ert-run-or-rerun-test([cl-struct-ert--stats t [[cl-struct-ert-test j
  ert-run-tests(t #[385 "\306\307\"\203G\211\211G\310U\203\211@\20
  ert-run-tests-batch(nil)
  ert-run-tests-batch-and-exit()
  command-line-1(("-L" ".." "-l" "ert" "-l" "japanese/preview-latex.el
  command-line()
  normal-top-level()
Test japanese-preview-error-quote-shift-jis condition:
(invalid-regexp "Unmatched ( or \\(")
   FAILED  4/8  japanese-preview-error-quote-shift-jis
  skipped  5/8  japanese-preview-preserve-kanji-option
Applying style hooks...
Applying style hooks... done
Applying style hooks...
Applying style hooks... done
Type `C-c C-l' to display results of 

[AUCTeX-diffs] GNU AUCTeX branch, master, updated. d2dfab67e5fb37a6dfff1dd40cc82dc63013a2a8

2017-05-21 Thread Mosè Giordano
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU AUCTeX".

The branch, master has been updated
   via  d2dfab67e5fb37a6dfff1dd40cc82dc63013a2a8 (commit)
  from  00c76fb740c5b4078d4efd2b544971a95d171a86 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -
commit d2dfab67e5fb37a6dfff1dd40cc82dc63013a2a8
Author: Mosè Giordano 
Date:   Fri Jan 20 21:34:53 2017 +0100

Fix indentation in ConTeXt mode after indented optional argument

* context.el (ConTeXt-find-indent): Fix indentation.  Requested by Henri 
Menke.
* tests/context/context-test.el:
* tests/context/context-indentation-in.tex:
* tests/context/context-indentation-out.tex: New test files.

diff --git a/context.el b/context.el
index 2f302b3..d322afc 100644
--- a/context.el
+++ b/context.el
@@ -1220,7 +1220,10 @@ else.  There might be text before point."
(condition-case err
   (progn
 (backward-sexp 1)
-(while (> (current-column) (current-indentation))
+(while (or (> (current-column) (current-indentation))
+   ;; Continue going back if we are
+   ;; at a hanging optional group.
+   (looking-at (regexp-quote ConTeXt-optop)))
   (backward-sexp 1)))
 (scan-error
  (setq up-list-pos (nth 2 err
diff --git a/tests/context/context-indentation-in.tex 
b/tests/context/context-indentation-in.tex
new file mode 100644
index 000..c1c3aed
--- /dev/null
+++ b/tests/context/context-indentation-in.tex
@@ -0,0 +1,24 @@
+\setuphead
+[section]
+[before={\blank[big]},
+after={\blank[medium]}]
+
+\setuphead
+[subsection]
+  [
+before={\blank[big]},
+after={\blank[medium]},
+]
+
+\starttext
+
+  \startitemize[a]
+  \item Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod
+tempor incididunt ut labore et dolore magna aliqua.
+  \item Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris 
nisi ut
+  aliquip ex ea commodo consequat.
+  \item Duis aute irure dolor in reprehenderit in voluptate velit esse cillum
+dolore eu fugiat nulla pariatur.
+  \stopitemize
+
+\stoptext
diff --git a/tests/context/context-indentation-out.tex 
b/tests/context/context-indentation-out.tex
new file mode 100644
index 000..e963574
--- /dev/null
+++ b/tests/context/context-indentation-out.tex
@@ -0,0 +1,24 @@
+\setuphead
+  [section]
+  [before={\blank[big]},
+after={\blank[medium]}]
+
+\setuphead
+  [subsection]
+  [
+before={\blank[big]},
+after={\blank[medium]},
+  ]
+
+\starttext
+
+\startitemize[a]
+\item Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod
+  tempor incididunt ut labore et dolore magna aliqua.
+\item Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi 
ut
+  aliquip ex ea commodo consequat.
+\item Duis aute irure dolor in reprehenderit in voluptate velit esse cillum
+  dolore eu fugiat nulla pariatur.
+\stopitemize
+
+\stoptext
diff --git a/tests/context/context-test.el b/tests/context/context-test.el
new file mode 100644
index 000..05647e4
--- /dev/null
+++ b/tests/context/context-test.el
@@ -0,0 +1,56 @@
+;;; context-test.el --- tests for ConTeXt mode
+
+;; Copyright (C) 2017 Free Software Foundation, Inc.
+
+;; This file is part of AUCTeX.
+
+;; AUCTeX is free software; you can redistribute it and/or modify it
+;; under the terms of the GNU General Public License as published by
+;; the Free Software Foundation; either version 3, or (at your option)
+;; any later version.
+
+;; AUCTeX is distributed in the hope that it will be useful, but
+;; WITHOUT ANY WARRANTY; without even the implied warranty of
+;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+;; General Public License for more details.
+
+;; You should have received a copy of the GNU General Public License
+;; along with AUCTeX; see the file COPYING.  If not, write to the Free
+;; Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+;; 02110-1301, USA.
+
+;;; Code:
+
+(require 'ert)
+(require 'context)
+
+(defun AUCTeX-set-ert-path ( sym-val)
+  "Set first element of SYM-VAL to the next one, and so on.
+
+The value is the path to the test file, make sure it is expanded
+in the right directory even when the ERT test from the command
+line and from another directory."
+  (while sym-val
+(set (pop sym-val)
+(expand-file-name (pop sym-val)
+  (when load-file-name
+(file-name-directory load-file-name))
+
+(AUCTeX-set-ert-path
+ 'ConTeXt-indent-test/in
+ "context-indentation-in.tex"
+ 'ConTeXt-indent-test/out
+ "context-indentation-out.tex")
+

Re: [AUCTeX-devel] bug#25322: Acknowledgement ( preview-latex coding system problem with Japanese LaTeX)

2017-05-19 Thread Mosè Giordano
Hi Keita,

2017-05-18 15:32 GMT+02:00 Ikumi Keita :
> Hi all,
>
> I worked on to resolve the remaining problems with respect to the
> incompatibility between preview-latex and Japanese LaTeX, and think that
> I managed to sort out them.  Please take a look at the attached patch.
>
> My basic plan, in addtion to the part described before in
> http://lists.gnu.org/archive/html/auctex-devel/2016-09/msg00101.html
> , is
> (1) Implement in tex-buf.el a function to adjust the process coding
> system for normal tex documents as well as Japanese tex documents
> and make it the new default value for
> `TeX-after-start-process-function', which was previously used only
> for Japanese TeX by tex-jp.el.  With this change, all tex processes
> invoked within AUCTeX are given suitable coding systems.
> (2) Make preview-latex to examine the coding system set in (1), and
> use it to decode later if it decides not to decode during receiving
> outputs and to store them as byte sequence in order to work around
> xemacs bug.  To achieve this, the patch changes the meaning of the
> variable `preview-coding-system'.  Its value used to be the "new"
> coding system, which is potentially `raw-text' preserving the byte
> sequence, but it's now the "original" coding system assigned to the
> process, which decodes the outputs properly.
>
> Any comments and suggestions are greatly welcome.

I only read the patch, didn't actually try it, but I'm confident you
did it ;-)  I didn't see anything clearly wrong.  I have only a
request: do you think it's possible to add a test for this fix?

Bye,
Mosè

___
auctex-devel mailing list
auctex-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/auctex-devel


Re: [AUCTeX-devel] TeX-run-silent discards all outputs from process

2017-05-19 Thread Mosè Giordano
Hi!

2017-05-19 7:43 GMT+02:00 Ikumi Keita :
> Hi all,
>
> I found a strange code in `TeX-run-silent' of tex-buf.el.
>
> (defun TeX-run-silent (name command _file)
>   "Start process with second argument."
>   (let ((dir (TeX-master-directory)))
> (set-buffer (get-buffer-create "*TeX silent*"))
> (if dir (cd dir))
> (erase-buffer)
> (let ((process (start-process (concat name " silent")
>   nil TeX-shell
>   TeX-shell-command-option command)))
>   (if TeX-after-start-process-function
>   (funcall TeX-after-start-process-function process))
>   (process-kill-without-query process
>
> Since the second argument of the `start-process' is nil, the process is
> not associated with any buffer.  In addition, the function does not
> assign any filter to the process unlike `TeX-run-background', so the
> outputs from the process is totally discarded while the process runs in
> background.  Thus the prepared buffer "*TeX silent*" is not used at all.
>
> A function to discard all outputs from the process and let the process
> to run in background exists separately as `TeX-run-discard'.  I suppose
> that the intent of making `TeX-run-silent' is to collect the outputs
> from the process into "*TeX silent*" buffer.
>
> So I propose to change the second argument of `start-process' like this:
> (let ((process (start-process (concat name " silent")
>   (current-buffer) TeX-shell
>   ...
> though it is not so useful without adding a key bind to show "*TeX
> silent*" buffer to the user.
>
> (It does not make siginificant difference anyway because
> `TeX-run-silent' is not used at all in the current AUCTeX.)

I think your proposal makes sense, but I'm wondering whether it's
better to completely remove a function not used in AUCTeX that doesn't
even do correctly what it should.  Ok, this can be done later (AUCTeX
12?), so please go ahead with your fix.

Bye,
Mosè

___
auctex-devel mailing list
auctex-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/auctex-devel


[AUCTeX-diffs] GNU AUCTeX branch, master, updated. f4723786f2d2ec58bdb94bd8112f6437f33c1d36

2017-05-06 Thread Mosè Giordano
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU AUCTeX".

The branch, master has been updated
   via  f4723786f2d2ec58bdb94bd8112f6437f33c1d36 (commit)
  from  0e4ad85b8998f3898e218045e3215d21c46a3484 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -
commit f4723786f2d2ec58bdb94bd8112f6437f33c1d36
Author: Mosè Giordano 
Date:   Sat May 6 20:21:27 2017 +0200

Work around bug#26694

* preview.el.in (preview-at-point): Let-bind `TeX-source-correlate-mode' to 
nil.
* tex-buf.el (TeX-region-create): Move point only when
`TeX-source-correlate-mode' is non-nil.

diff --git a/preview.el.in b/preview.el.in
index 8a58104..e4bcd7f 100644
--- a/preview.el.in
+++ b/preview.el.in
@@ -1622,8 +1622,11 @@ through `preview-region'."
(unless (eq preview-state 'disabled)
  (preview-toggle ovr 'toggle (selected-window))
  (throw 'exit t)
-  (preview-region (preview-next-border t)
- (preview-next-border nil)
+  ;; Let-bind `TeX-source-correlate-mode' to nil in order to work around
+  ;; bug#26694.
+  (let ((TeX-source-correlate-mode nil))
+   (preview-region (preview-next-border t)
+   (preview-next-border nil))
 
 (defun preview-disabled-string (ov)
   "Generate a before-string for disabled preview overlay OV."
diff --git a/tex-buf.el b/tex-buf.el
index 8c9c7ef..ef0b3dd 100644
--- a/tex-buf.el
+++ b/tex-buf.el
@@ -2094,13 +2094,16 @@ original file."
trailer)
(setq TeX-region-orig-buffer orig-buffer)
;; Position point at the line/col that corresponds to point's line in
-   ;; orig-buffer in order to make forward search work.
-   (let ((line-col (with-current-buffer orig-buffer
- (cons (TeX-line-number-at-pos)
-   (current-column)
-  (goto-char (point-min))
-  (forward-line (1- (abs (- header-offset (car line-col)
- (forward-char (cdr line-col)))
+   ;; orig-buffer in order to make forward search work.  Move point only
+   ;; when `TeX-source-correlate-mode' is non-nil, in order to work around
+   ;; bug#26694.
+   (when TeX-source-correlate-mode
+   (let ((line-col (with-current-buffer orig-buffer
+  (cons (TeX-line-number-at-pos)
+(current-column)
+  (goto-char (point-min))
+  (forward-line (1- (abs (- header-offset (car line-col)
+  (forward-char (cdr line-col
(run-hooks 'TeX-region-hook)
(if (string-equal (buffer-string) original-content)
(set-buffer-modified-p nil)

---

Summary of changes:
 preview.el.in |  7 +--
 tex-buf.el| 17 ++---
 2 files changed, 15 insertions(+), 9 deletions(-)


hooks/post-receive
-- 
GNU AUCTeX

___
auctex-diffs mailing list
auctex-di...@gnu.org
https://lists.gnu.org/mailman/listinfo/auctex-diffs


Re: [AUCTeX-devel] Modifying error handling

2017-04-21 Thread Mosè Giordano
2017-04-21 19:19 GMT+02:00 Ikumi Keita <ik...@ikumi.que.jp>:
> Hi Mosè,
>
>>>>>> Mosè Giordano <m...@gnu.org> writes:
>
>> Nothing prevents you from adding tests for old fixes, if you want ;-)
>
> Yeah, exactly ;-)  I finally learned how to write tests and added my
> first ert test under tests/japanese.  I observed that typing `gmake' on
> tests directory went well, so I think I succeeded to create a right test
> file.

Yes, seems to work, thank you!  I'm sure this will help us keeping a
better support for Japanese in the feature ;-)

Bye,
Mosè

___
auctex-devel mailing list
auctex-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/auctex-devel


Re: [AUCTeX-devel] Modifying error handling

2017-04-20 Thread Mosè Giordano
2017-04-20 8:27 GMT+02:00 Ikumi Keita :
> Thanks for your advice.  Next time I won't forget to add tests.

Nothing prevents you from adding tests for old fixes, if you want ;-)

Bye,
Mosè

___
auctex-devel mailing list
auctex-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/auctex-devel


Re: [AUCTeX-devel] TeX-error-overview and the left mouse

2017-04-20 Thread Mosè Giordano
Hi Uwe,

2017-04-20 18:47 GMT+02:00 Uwe Brauer :
>
>
> Hi
>
> TeX-error-overview is a great function but, when I use left mouse to
> open a link to a error message, it jumps to the source file, but it also
> opens a third window with the log message. The last one on my 12 inch
> Laptop is useless. Can I deactivate the jump to the log window?

You're asking the wrong question, since, as David Carlisle once wrote,
«the answer to Can Emacs is always yes» ;-) [1]  Jokes apart, you can't
actually completely deactivate it, instead you can display the help in
the echo area by setting `TeX-help-display' to nil, which doesn't open
a new window, as you desire.  This impossibility to not show the help
predates `TeX-error-overview', I didn't change this behavior.  See the
manual section "Debugging" in Emacs with

  (info "(auctex)Debugging")

or at 
https://www.gnu.org/software/auctex/manual/auctex.html#index-TeX_002ddisplay_002dhelp.

Bye,
Mosè


Reference:

[1] 
https://groups.google.com/forum/#!msg/comp.text.tex/2kpfq1470MU/EQlOHZQF3KsJ;context-place=forum/comp.text.tex

___
auctex-devel mailing list
auctex-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/auctex-devel


Re: [AUCTeX-devel] Modifying error handling

2017-04-19 Thread Mosè Giordano
Hi Keita,

2017-04-19 20:42 GMT+02:00 Ikumi Keita :
> Hi all,
>
> I'm going to check in the following change.  Since loading tex-jp.el
> replaces `TeX-error-description-list' with Japanese help messages,
> comparison with a fixed string "No help available" no longer works after
> that.  Rather we should test whether `TeX-error-pointer' comes to the
> last element of `TeX-error-description-list'.
>
> diff --git a/tex-buf.el b/tex-buf.el
> --- a/tex-buf.el
> +++ b/tex-buf.el
> @@ -3306,7 +3306,8 @@
> (let ((help (cdr (nth TeX-error-pointer
>  TeX-error-description-list
>  (save-excursion
> -  (if (and (string= help "No help available")
> +  (if (and (= (1+ TeX-error-pointer)
> +  (length TeX-error-description-list))
> (let* ((log-buffer (find-buffer-visiting log-file)))
>   (if log-buffer
>   (progn
>
> Though I have done a brief test with this change, feel free to revert
> the commit if you find any problems with this.

The fix looks sensible.  A request: please add tests when possible.
This ensures we won't break anything in the feature, this is
particularly important in areas that usually receive less love from
other developers (like support for Japanese), and so are more likely
to be unintentionally broken.

Thanks,
Mosè

___
auctex-devel mailing list
auctex-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/auctex-devel


Re: [AUCTeX-devel] delete (or comment out) all environments in a buffer, say equation

2017-03-18 Thread Mosè Giordano
Hi Marcin,

2017-03-18 21:58 GMT+01:00 Marcin Borkowski :
>
> On 2017-03-18, at 14:08, Uwe Brauer  wrote:
>
>> Hi
>>
>> I want to export a latex document to epub3 (which works nicely with
>> pandoc). However pandoc also exports some hidden environments such as the
>> solution environment (from the exam class).
>>
>> I could write a keyboard macro which would eliminate all that
>> environment, but is there a better lisp solution?
>
> How about this?
>
> http://mbork.pl/2017-03-18_Deleting_all_instances_of_a_LaTeX_environment

I'd have suggested basically the same thing (well, less fancy,
without the interactive argument).  Thanks for sharing AUCTeX tips in
your blog!

Bye,
Mosè

___
auctex-devel mailing list
auctex-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/auctex-devel


Re: [AUCTeX-devel] support for xemacs

2017-03-16 Thread Mosè Giordano
Hi Arash,

2017-03-16 12:29 GMT+01:00 Arash Esbati :
> Uwe Brauer  writes:
>
> "Arash" == Arash Esbati  writes:
>>
>> > Would this work for XEmacs?  I don't have XEmacs at hand so I can't 
>> test
>> > it myself.  I would apply the same thing to other style files as well.
>>
>> I will try this out this weekend with 21.5.X and report back
>
> Great, thanks!  Here also a small .tex file to test with:
>
> --8<---cut here---start->8---
> \documentclass{article}
> \usepackage{amsmath}
> \usepackage[overload]{empheq}
>
> \begin{document}
> \begin{empheq}[left=\empheqlbrace]{alignat = %
> 2}
>   \label{eq:1}
>   x &= y_1-\dots &\quad& \text{Hit M-RET at EOL}
> \end{empheq}
> \end{document}
> --8<---cut here---end--->8---

I tested the patch in XEmacs 21.4.24, seems to work.  If I set
`alignat' to 5 I get 9 , is it correct, right?  They should be
2 * ncols - 1, no?

Bye,
Mosè

___
auctex-devel mailing list
auctex-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/auctex-devel


  1   2   3   4   5   6   7   8   >