auctex-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Mosè Giordano
Subject: [AUCTeX-diffs] GNU AUCTeX branch, master, updated. 6f77ad9ee30aebc8ed079a9a0190431b50364bfa
Date: Thu, 08 Oct 2015 22:04:48 +0000

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  6f77ad9ee30aebc8ed079a9a0190431b50364bfa (commit)
       via  4a12225b077b1571b0624ee3ed09fbda0f778193 (commit)
       via  7df138d0cea251eac95904c8ba9caf1ff819999a (commit)
       via  7332f76ea26745d0d0fa5058f911f4d8139bec42 (commit)
       via  ac8d4795781144d9ebc3ec0629efb77bc4d9b9d6 (commit)
      from  8a2bd0bfbc4b401f36d488dcb6dbc0282af8d4c1 (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 6f77ad9ee30aebc8ed079a9a0190431b50364bfa
Author: Mosè Giordano <address@hidden>
Date:   Fri Oct 9 00:02:34 2015 +0200

    Split TeX-expand-list into a builtin and a custom list.
    
    * tex.el (TeX-expand-list-builtin): New variable.
    (TeX-expand-list): Move all entries to `TeX-expand-list-builtin'
    and update docstring.
    (TeX-expand-list): New function.
    
    * tex-buf.el (TeX-command-expand): Use `TeX-expand-list' function.
    
    * doc/auctex.texi (Starting Viewers): Mention
    `TeX-expand-list-builtin'.
    
    * doc/changes.texi: Mention change to `TeX-expand-list'.

diff --git a/ChangeLog b/ChangeLog
index ec8171c..921c5cd 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,17 @@
+2015-10-08  Mosè Giordano  <address@hidden>
+
+       * tex.el (TeX-expand-list-builtin): New variable.
+       (TeX-expand-list): Move all entries to `TeX-expand-list-builtin'
+       and update docstring.
+       (TeX-expand-list): New function.
+
+       * tex-buf.el (TeX-command-expand): Use `TeX-expand-list' function.
+
+       * doc/auctex.texi (Starting Viewers): Mention
+       `TeX-expand-list-builtin'.
+
+       * doc/changes.texi: Mention change to `TeX-expand-list'.
+
 2015-10-08  Arash Esbati  <address@hidden>
 
        * style/longtable.el ("longtable"): Use `LaTeX-add-counters' on
diff --git a/doc/auctex.texi b/doc/auctex.texi
index e32cd2d..a7ac3ae 100644
--- a/doc/auctex.texi
+++ b/doc/auctex.texi
@@ -3124,14 +3124,15 @@ conditionalized by prefixing them with predicates from
 @code{TeX-view-predicate-list} or
 @code{TeX-view-predicate-list-builtin}.  (See the doc string for the
 exact format to use.)  The command line can also contain placeholders as
-defined in @code{TeX-expand-list} which are expanded before the viewer
-is called.
+defined in @code{TeX-expand-list} and @code{TeX-expand-list-builtin}
+which are expanded before the viewer is called.
 
 The third element of each item is a string, or a list of strings, with
 the name of the executable, or executables, needed to open the output
-file in the viewer.  Placeholders defined in @code{TeX-expand-list} can
-be used here.  This element is optional and is used to check whether the
-viewer is actually available on the system.
+file in the viewer.  Placeholders defined in @code{TeX-expand-list} and
address@hidden can be used here.  This element is
+optional and is used to check whether the viewer is actually available
+on the system.
 
 A built-in viewer spec from @code{TeX-view-program-list-builtin} can be
 overwritten by defining a new viewer spec with the same name.
@@ -3139,10 +3140,10 @@ overwritten by defining a new viewer spec with the same 
name.
 
 Note that the viewer selection and invocation as described above will
 only work if certain default settings in @AUCTeX{} are intact.  For one,
-the whole viewer selection machinery will only be triggered if the
address@hidden expander in @code{TeX-expand-list} is unchanged.  So if you
-have trouble with the viewer invocation you might check if there is an
-older customization of the variable in place.  In addition, the use of a
+the whole viewer selection machinery will only be triggered if there is
+no @samp{%V} expander in @code{TeX-expand-list}.  So if you have trouble
+with the viewer invocation you might check if there is an older
+customization of the variable in place.  In addition, the use of a
 function in @code{TeX-view-program-list} only works if the View command
 in @code{TeX-command-list} makes use of the hook
 @code{TeX-run-discard-or-function}.
diff --git a/doc/changes.texi b/doc/changes.texi
index 14fc510..0ed617e 100644
--- a/doc/changes.texi
+++ b/doc/changes.texi
@@ -49,6 +49,13 @@ Now @AUCTeX{} suggests to run @command{makeindex} when 
appropriate.
 each item, the name of the executable(s) needed to open the viewer.
 
 @item
address@hidden variable has been split into
address@hidden and @code{TeX-expand-list-builtin}.  Only the
+former is intended to be customized by the user, the latter contains
+built-in expanders.  You might want to keep in @code{TeX-expand-list}
+only new expansion strings.
+
address@hidden
 When new option @code{TeX-check-engine} is non-nil, before running
 @LaTeX{} commands @AUCTeX{} will check whether the correct engine has
 been set, based upon known restrictions posed by @LaTeX{} packages.
diff --git a/tex-buf.el b/tex-buf.el
index d42b547..324be7a 100644
--- a/tex-buf.el
+++ b/tex-buf.el
@@ -502,7 +502,7 @@ without further expansion."
                (list "%%" (lambda nil
                             (setq pos (1+ pos))
                             "%"))
-               (or list TeX-expand-list))
+               (or list (TeX-expand-list)))
          pat (regexp-opt (mapcar #'car list)))
     (while (setq pos (string-match pat command pos))
       (setq string (match-string 0 command)
diff --git a/tex.el b/tex.el
index d057cef..56fb51b 100644
--- a/tex.el
+++ b/tex.el
@@ -114,11 +114,11 @@ If nil, none is specified."
   :type 'hook
   :group 'TeX-misc)
 
-;; This is the major configuration variable.  Most sites will only
-;; need to change the second string in each entry, which is the name
-;; of a command to send to the shell.  If you use other formatters
-;; like AMSLaTeX or AMSTeX, you can add those to the list.  See
-;; TeX-expand-list for a description of the % escapes
+;; This is the major configuration variable.  Most sites will only need to
+;; change the second string in each entry, which is the name of a command to
+;; send to the shell.  If you use other formatters like AMSLaTeX or AMSTeX, you
+;; can add those to the list.  See `TeX-expand-list' and
+;; `TeX-expand-list-builtin' for a description of the % escapes
 
 (defcustom TeX-command-list
   `(("TeX" "%(PDF)%(tex) %(file-line-error) %(extraopts) 
%`%S%(PDFout)%(mode)%' %t"
@@ -431,9 +431,8 @@ string."
 ;; TeX-command-list.  Not likely to be changed, but you may e.g. want
 ;; to handle .ps files.
 
-(defcustom TeX-expand-list
-  '(("%p" TeX-printer-query)           ;%p must be the first entry
-    ("%q" (lambda ()
+(defvar TeX-expand-list-builtin
+  '(("%q" (lambda ()
            (TeX-printer-query t)))
     ("%V" (lambda ()
            (TeX-source-correlate-start-server-maybe)
@@ -550,13 +549,31 @@ string."
     ("%a" (lambda nil (prin1-to-string (expand-file-name (buffer-file-name)))))
     ;; the following is for preview-latex.
     ("%m" preview-create-subdirectory))
-  "List of expansion strings for TeX command names.
+  "List of built-in expansion strings for TeX command names.
 
-Each entry is a list with two or more elements.  The first element is
-the string to be expanded.  The second element is the name of a
-function returning the expanded string when called with the remaining
-elements as arguments.  The special value `file' will be expanded to
-the name of the file being processed, with an optional extension."
+This should not be changed by the user who can use
+`TeX-expand-list' variable.  The latter variable also contains a
+description of the data format.
+
+Programs should not use these variables directly but the function
+`TeX-expand-list'.")
+
+(defcustom TeX-expand-list nil
+  "List of expansion strings for TeX command names defined by the user.
+
+Each entry is a list with two or more elements.  The first
+element is the string to be expanded.  The second element is the
+name of a function returning the expanded string when called with
+the remaining elements as arguments.  The special value `file'
+will be expanded to the name of the file being processed, with an
+optional extension.
+
+Built-in expansions provided in `TeX-expand-list-builtin' can be
+overwritten by defining expansions strings with the same
+expander.  Only \"%p\" expander cannot be overwritten.
+
+Programs should not use these variables directly but the function
+`TeX-expand-list'."
   :group 'TeX-command
   :type '(repeat (group (string :tag "Key")
                        (sexp :tag "Expander")
@@ -564,6 +581,16 @@ the name of the file being processed, with an optional 
extension."
                                :tag "Arguments"
                                (sexp :format "%v")))))
 
+(defun TeX-expand-list ()
+  "Complete list of expansion strings for TeX command names.
+
+Concatenate `TeX-expand-list' and `TeX-expand-list-bultin' making
+sure \"%p\" is the first entry."
+  (append
+   ;; %p must be the first entry, see `TeX-print-command'.
+   '(("%p" TeX-printer-query))
+   TeX-expand-list
+   TeX-expand-list-builtin))
 
 ;; The following dependencies are not done with autoload cookies since
 ;; they are only useful when tex.el is loaded, anyway.  tex-buf.el

commit 4a12225b077b1571b0624ee3ed09fbda0f778193
Author: Arash Esbati <address@hidden>
Date:   Thu Oct 8 22:34:30 2015 +0200

    Use `LaTeX-add-counters' on "LTchunksize".
    
    * style/longtable.el ("longtable"): Use `LaTeX-add-counters' on
    "LTchunksize" and not `TeX-add-symbols'.
    
    Signed-off-by: Mosè Giordano <address@hidden>

diff --git a/ChangeLog b/ChangeLog
index 1754c48..ec8171c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2015-10-08  Arash Esbati  <address@hidden>
 
+       * style/longtable.el ("longtable"): Use `LaTeX-add-counters' on
+       "LTchunksize" and not `TeX-add-symbols'.
+
        * style/enumitem.el (LaTeX-arg-SetEnumitemKey): Remove unused
        `prompt' from arguments list.
        (LaTeX-arg-SetEnumitemValue): ditto.
diff --git a/style/longtable.el b/style/longtable.el
index 3363119..6c9aeaf 100644
--- a/style/longtable.el
+++ b/style/longtable.el
@@ -58,8 +58,6 @@
                          (LaTeX-newline)
                          (indent-according-to-mode)))))))
    (TeX-add-symbols
-    ;; Parameter
-    '("LTchunksize" 0)
     ;; Commands to end table rows
     '("endhead" 0)
     '("endfirsthead" 0)
@@ -72,6 +70,9 @@
    (LaTeX-add-lengths
     "LTleft" "LTright" "LTpre" "LTpost" "LTcapwidth")
 
+   ;; This parameter is set with \setcounter
+   (LaTeX-add-counters "LTchunksize")
+
    ;; Use the enhanced table formatting
    (add-to-list 'LaTeX-indent-environment-list
                '("longtable" LaTeX-indent-tabular))

commit 7df138d0cea251eac95904c8ba9caf1ff819999a
Author: Arash Esbati <address@hidden>
Date:   Thu Oct 8 22:22:09 2015 +0200

    Remove unused `prompt' from arguments list.
    
    * style/enumitem.el (LaTeX-arg-SetEnumitemKey): Remove unused
    `prompt' from arguments list.
    (LaTeX-arg-SetEnumitemValue): ditto.
    
    Signed-off-by: Mosè Giordano <address@hidden>

diff --git a/ChangeLog b/ChangeLog
index f699850..1754c48 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
 2015-10-08  Arash Esbati  <address@hidden>
 
+       * style/enumitem.el (LaTeX-arg-SetEnumitemKey): Remove unused
+       `prompt' from arguments list.
+       (LaTeX-arg-SetEnumitemValue): ditto.
+
        * style/listings.el (LaTeX-listings-key-val-options-local): New
        variable used for all key-val queries.
        ("listings-lstdefinestyle"): Add parsing support for
diff --git a/style/enumitem.el b/style/enumitem.el
index bca9203..dff94aa 100644
--- a/style/enumitem.el
+++ b/style/enumitem.el
@@ -221,7 +221,7 @@ key-val and the first item."
                (current-fill-column)))
     (LaTeX-fill-paragraph nil)))
 
-(defun LaTeX-arg-SetEnumitemKey (optional &optional prompt)
+(defun LaTeX-arg-SetEnumitemKey (optional)
   "Ask for a new key to be defined and add it to
 `LaTeX-enumitem-key-val-options-local'."
   (LaTeX-enumitem-update-key-val-options)
@@ -239,7 +239,7 @@ key-val and the first item."
 ;; the elements and pass the result to
 ;; `LaTeX-add-enumitem-SetEnumitemValues'.  It will vanish upon next
 ;; invocation of `C-c C-n'.
-(defun LaTeX-arg-SetEnumitemValue (optional &optional prompt)
+(defun LaTeX-arg-SetEnumitemValue (optional)
   "Ask for a new value added to an existing key incl. the final
 replacement of the value."
   (LaTeX-enumitem-update-key-val-options)

commit 7332f76ea26745d0d0fa5058f911f4d8139bec42
Author: Arash Esbati <address@hidden>
Date:   Thu Oct 8 22:08:03 2015 +0200

    Add user-defined values to "style" key.
    
    * style/listings.el (LaTeX-listings-key-val-options-local): New
    variable used for all key-val queries.
    ("listings-lstdefinestyle"): Add parsing support for
    "\lstdefinestyle".
    (LaTeX-listings-lstnewenvironment-regexp): Add missing "s" to
    "listing".
    (LaTeX-listings-update-style-key): New function adding newly
    defined values to "style" key in
    `LaTeX-listings-key-val-options-local'.
    ("listings"): Extend "lstdefinestyle".
    
    Signed-off-by: Mosè Giordano <address@hidden>

diff --git a/ChangeLog b/ChangeLog
index 62199eb..f699850 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,16 @@
 2015-10-08  Arash Esbati  <address@hidden>
 
+       * style/listings.el (LaTeX-listings-key-val-options-local): New
+       variable used for all key-val queries.
+       ("listings-lstdefinestyle"): Add parsing support for
+       "\lstdefinestyle".
+       (LaTeX-listings-lstnewenvironment-regexp): Add missing "s" to
+       "listing".
+       (LaTeX-listings-update-style-key): New function adding newly
+       defined values to "style" key in
+       `LaTeX-listings-key-val-options-local'.
+       ("listings"): Extend "lstdefinestyle".
+
        * style/wrapfig.el ("wrapfig"): Check for new floating
        environments definded through "newfloat.el" and offer them as
        completion to "wrapfloat" environment.
diff --git a/style/listings.el b/style/listings.el
index f9aee45..0dff6ec 100644
--- a/style/listings.el
+++ b/style/listings.el
@@ -31,10 +31,16 @@
 ;; May 2015: The style detects new environments defined with
 ;; `\lstnewenvironment'.  Users need to invoke `C-c C-n' for this.
 ;;
+;; October 2015: The style detects new "styles" defined with
+;; `\lstdefinestyle' and offers them during key-value query.
+;;
 ;; FIXME: Please make me more sophisticated!
 
 ;;; Code:
 
+;; Needed for compiling `pushnew':
+(eval-when-compile (require 'cl))
+
 ;; The following are options taken from chapter 4 of the listings
 ;; manual (2007/02/22 Version 1.4).
 (defvar LaTeX-listings-key-val-options
@@ -220,11 +226,16 @@
     ("multicolumn"))
   "Key=value options for listings macros and environments.")
 
+(defvar LaTeX-listings-key-val-options-local nil
+  "Buffer-local Key=value options for listings macros and environments.")
+(make-variable-buffer-local 'LaTeX-listings-key-val-options-local)
+
+;; Setup for \lstnewenvironment:
 (defvar LaTeX-auto-listings-lstnewenvironment nil
   "Temporary for parsing the arguments of `\\lstnewenvironment'
 from `listings' package.")
 
-(defvar LaTeX-listing-lstnewenvironment-regexp
+(defvar LaTeX-listings-lstnewenvironment-regexp
   `(,(concat "\\\\lstnewenvironment"
             "[ \t\n\r]*{\\([A-Za-z0-9]+\\)}%?"
             "[ \t\n\r]*\\[?\\([0-9]?\\)\\]?%?"
@@ -232,12 +243,36 @@ from `listings' package.")
     (1 2 3) LaTeX-auto-listings-lstnewenvironment)
   "Matches the argument of `\\lstnewenvironment' from `listings.sty'.")
 
+;; Setup for \lstdefinestyle:
+(TeX-auto-add-type "listings-lstdefinestyle" "LaTeX")
+
+(defvar LaTeX-listings-lstdefinestyle-regexp
+  '("\\\\lstdefinestyle{\\([^}]+\\)}"
+    1 LaTeX-auto-listings-lstdefinestyle)
+  "Matches the argument of \"\\lstdefinestyle\" from
+\"listings\" package.")
+
+(defun LaTeX-listings-update-style-key ()
+  "Update the \"style\" key from `LaTeX-listings-key-val-options-local'
+with user-defined values via the \"lstdefinestyle\" macro."
+  (let* ((elt (assoc "style" LaTeX-listings-key-val-options-local))
+        (key (car elt))
+        (temp (copy-alist LaTeX-listings-key-val-options-local))
+        (opts (assq-delete-all (car (assoc key temp)) temp)))
+    (pushnew (list key (delete-dups
+                       (mapcar 'car (LaTeX-listings-lstdefinestyle-list))))
+            opts :test #'equal)
+    (setq LaTeX-listings-key-val-options-local
+         (copy-alist opts))))
+
 (defun LaTeX-listings-auto-prepare ()
   "Clear temporary variable from `listings.sty' before parsing."
-  (setq LaTeX-auto-listings-lstnewenvironment nil))
+  (setq LaTeX-auto-listings-lstnewenvironment nil)
+  (setq LaTeX-auto-listings-lstdefinestyle    nil))
 
 (defun LaTeX-listings-auto-cleanup ()
-  "Process the parsed results of `\\lstnewenvironment'."
+  "Process the parsed results of \"\\lstnewenvironment\" and
+\"\\lstdefinestyle\"."
   (dolist (env-args LaTeX-auto-listings-lstnewenvironment)
     (let ((env  (car   env-args))
          (args (cadr  env-args))
@@ -256,7 +291,9 @@ from `listings' package.")
            (t ; No args
             (add-to-list 'LaTeX-auto-environment (list env))))
       (add-to-list 'LaTeX-indent-environment-list `(,env current-indentation))
-      (add-to-list 'LaTeX-verbatim-environments-local env))))
+      (add-to-list 'LaTeX-verbatim-environments-local env)))
+  (when (LaTeX-listings-lstdefinestyle-list)
+    (LaTeX-listings-update-style-key)))
 
 (add-hook 'TeX-auto-prepare-hook #'LaTeX-listings-auto-prepare t)
 (add-hook 'TeX-auto-cleanup-hook #'LaTeX-listings-auto-cleanup t)
@@ -266,21 +303,32 @@ from `listings' package.")
  "listings"
  (lambda ()
 
-   ;; Add it to the parser
-   (TeX-auto-add-regexp LaTeX-listing-lstnewenvironment-regexp)
+   ;; Add to parser:
+   (TeX-auto-add-regexp LaTeX-listings-lstnewenvironment-regexp)
+   (TeX-auto-add-regexp LaTeX-listings-lstdefinestyle-regexp)
+
+   ;; Local version of key-val options:
+   (setq LaTeX-listings-key-val-options-local
+        (copy-alist LaTeX-listings-key-val-options))
 
    ;; New symbols
    (TeX-add-symbols
     '("lstalias" ["Alias dialect"] "Alias" ["Dialect"] "Language")
-    '("lstdefinestyle" "Style name"
-      (TeX-arg-key-val LaTeX-listings-key-val-options))
+    '("lstdefinestyle"
+      (TeX-arg-eval
+       (lambda ()
+        (let ((name (TeX-read-string "Style name: ")))
+          (LaTeX-add-listings-lstdefinestyles name)
+          (LaTeX-listings-update-style-key)
+          (format "%s" name))))
+      (TeX-arg-key-val LaTeX-listings-key-val-options-local))
     '("lstinline" TeX-arg-verb)
-    '("lstinputlisting" [TeX-arg-key-val LaTeX-listings-key-val-options]
+    '("lstinputlisting" [TeX-arg-key-val LaTeX-listings-key-val-options-local]
       TeX-arg-file)
     "lstlistoflistings"
     '("lstnewenvironment" "Name" ["Number or arguments"] ["Default argument"]
       "Starting code" "Ending code")
-    '("lstset" (TeX-arg-key-val LaTeX-listings-key-val-options))
+    '("lstset" (TeX-arg-key-val LaTeX-listings-key-val-options-local))
     '("lstloadlanguages" t)
     ;; 4.17 Short Inline Listing Commands
     '("lstMakeShortInline" [ "Options" ] "Character")
@@ -292,7 +340,7 @@ from `listings' package.")
    ;; New environments
    (LaTeX-add-environments
     '("lstlisting" LaTeX-env-args
-      [TeX-arg-key-val LaTeX-listings-key-val-options]))
+      [TeX-arg-key-val LaTeX-listings-key-val-options-local]))
    ;; Filling
    (make-local-variable 'LaTeX-indent-environment-list)
    (add-to-list 'LaTeX-indent-environment-list

commit ac8d4795781144d9ebc3ec0629efb77bc4d9b9d6
Author: Arash Esbati <address@hidden>
Date:   Thu Oct 8 21:53:17 2015 +0200

    Support newfloat.el.
    
    * style/wrapfig.el ("wrapfig"): Check for new floating
    environments definded through "newfloat.el" and offer them as
    completion to "wrapfloat" environment.
    
    Signed-off-by: Mosè Giordano <address@hidden>

diff --git a/ChangeLog b/ChangeLog
index b287587..62199eb 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2015-10-08  Arash Esbati  <address@hidden>
+
+       * style/wrapfig.el ("wrapfig"): Check for new floating
+       environments definded through "newfloat.el" and offer them as
+       completion to "wrapfloat" environment.
+
 2015-10-05  Mosè Giordano  <address@hidden>
 
        * context.el (TeX-ConTeXt-sentinel): Parse ConTeXt Mark IV output.
diff --git a/style/wrapfig.el b/style/wrapfig.el
index 097e5ad..64bb265 100644
--- a/style/wrapfig.el
+++ b/style/wrapfig.el
@@ -1,6 +1,6 @@
 ;;; wrapfig.el --- AUCTeX style for `wrapfig.sty' version v3.6
 
-;; Copyright (C) 2014 Free Software Foundation, Inc.
+;; Copyright (C) 2014, 2015 Free Software Foundation, Inc.
 
 ;; Author: Arash Esbati <esbati'at'gmx.de>
 ;; Maintainer: address@hidden
@@ -78,11 +78,22 @@
            (format "{%s}" width))))))
     ;;
     ;; \begin{wrapfloat}{<Type>}[No.lines]{Placement}[Overhang]{Width} ... 
\end{wrapfloat}
+    ;;
+    ;; <Type> can be a new floating environment defined with
+    ;; "\DeclareFloatingEnvironment" from newfloat.el.  We check if
+    ;; the function `LaTeX-newfloat-DeclareFloatingEnvironment-list'
+    ;; is bound and returns non-nil before offering environment for
+    ;; completion.  Otherwise, just ask user without completion.
     '("wrapfloat"
       (lambda (env &rest ignore)
        (LaTeX-insert-environment
         env
-        (let ((floattype (TeX-read-string "Float type: "))
+        (let ((floattype (if (and (fboundp 
'LaTeX-newfloat-DeclareFloatingEnvironment-list)
+                                  
(LaTeX-newfloat-DeclareFloatingEnvironment-list))
+                             (completing-read
+                              "Float type: "
+                              (mapcar 'car 
(LaTeX-newfloat-DeclareFloatingEnvironment-list)))
+                           (TeX-read-string "Float type: ")))
               (narrow    (TeX-read-string "(Optional) Number of narrow lines: 
"))
               (placement (completing-read
                           "Placement: " '(("r") ("R")

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog          |   38 ++++++++++++++++++++++++++++
 doc/auctex.texi    |   19 +++++++------
 doc/changes.texi   |    7 +++++
 style/enumitem.el  |    4 +-
 style/listings.el  |   70 +++++++++++++++++++++++++++++++++++++++++++--------
 style/longtable.el |    5 ++-
 style/wrapfig.el   |   15 +++++++++-
 tex-buf.el         |    2 +-
 tex.el             |   55 ++++++++++++++++++++++++++++++----------
 9 files changed, 174 insertions(+), 41 deletions(-)


hooks/post-receive
-- 
GNU AUCTeX



reply via email to

[Prev in Thread] Current Thread [Next in Thread]