>>> "Mosè" == Mosè Giordano <m...@gnu.org> writes:

   > 2016-09-17 18:41 GMT+02:00 Uwe Brauer <o...@mat.ucm.es>:
   >> but what is with the issue of sending patches with
   >> correspond to my private branches but might include (for you) unwanted
   >> revsets? That is not acceptable? I should collapse them?

   > What do you refer to?

Here is a patch how I thought sending it. Note please that it cannot be
applied anymore since you already applied the patch.....



   >> [1]  I see hg facing the same fate as Xemacs, beautiful but not preferred
   >> by most users....

   > I don't have anything against Mercurial, and you can work with hg-git
   > if it works well, but it doesn't seem to be so, right?


Not sure, but for sure I have learned something about mercurial, which
at the end could not really use for the purpose of auctex. ....


   > Bye,
   > Mosè
# HG changeset patch
# User Uwe Brauer <o...@mat.ucm.es>
# Date 1471164709 0
#      Sun Aug 14 08:51:49 2016 +0000
# Node ID 1a54e68b64a13c885e3d31ab9541f7d50d8931b5
# Parent  48056c6ec94f2e6addd29636583b4816fd3981bd
Add new style file style/bidi.el, modify Makefile

diff --git a/Makefile.in b/Makefile.in
--- a/Makefile.in
+++ b/Makefile.in
@@ -155,7 +155,7 @@
 	   style/newfloat.el  style/subcaption.el style/AlegreyaSans.el \
 	   style/hologo.el    style/theorem.el   style/ntheorem.el \
 	   style/splitidx.el  style/tikz.el      style/xcolor.el \
-	   style/pdflscape.el style/commath.el
+	   style/pdflscape.el style/commath.el   style/bidi.el \
 
 STYLEELC = $(STYLESRC:.el=.elc)
 
diff --git a/style/bidi.el b/style/bidi.el
new file mode 100755
--- /dev/null
+++ b/style/bidi.el
@@ -0,0 +1,58 @@
+;;; bidi.el --- AUCTeX style for the (XeLaTeX) bidi package
+
+;; Copyright (C) Free Software Foundation
+
+;; Author: Uwe Brauer <o...@mat.ucm.es>
+;; Created: 2016-03-06
+;; Keywords: tex
+
+;; 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.
+
+;;; Commentary:
+
+;; This file adds support for the bidi package.
+
+;;; Code:
+
+(defvar LaTeX-bidi-package-options '("RTLdocument" "rldocuement")
+  "Package options for the bidi package.")
+
+(TeX-add-style-hook
+ "bidi"
+ (lambda ()
+   (LaTeX-add-environments
+    "LTR"
+    "RTL")
+   ;; Fontification
+   (TeX-add-symbols
+    '("setRL" 0)
+    '("unsetRL" 0)
+    '("setRTL" 0)
+    '("unsetRTL" 0)
+    '("setLR" 0)
+    '("unsetLR" 0)
+    '("setLTR" 0)
+    '("unsetLTR" 0)
+    '("LR" 1)
+    '("LRE" 1)
+    '("RLE" 1)
+    '("RL" 1)))
+ LaTeX-dialect)
+
+
+;;; bidi.el ends here
# HG changeset patch
# User Uwe Brauer <o...@mat.ucm.es>
# Date 1474130617 0
#      Sat Sep 17 16:43:37 2016 +0000
# Node ID 683f5239c8bb51f52660fe5bba9bf195edc106b7
# Parent  1a54e68b64a13c885e3d31ab9541f7d50d8931b5
Mose's advice

* style/bidi.el ("bidi"): Add
   (TeX-check-engine-add-engines 'xetex)

diff --git a/style/bidi.el b/style/bidi.el
--- a/style/bidi.el
+++ b/style/bidi.el
@@ -35,6 +35,7 @@
 (TeX-add-style-hook
  "bidi"
  (lambda ()
+   (TeX-check-engine-add-engines 'xetex)
    (LaTeX-add-environments
     "LTR"
     "RTL")
# HG changeset patch
# User Uwe Brauer <o...@mat.ucm.es>
# Date 1474131130 0
#      Sat Sep 17 16:52:10 2016 +0000
# Node ID 0ddbad96cbeba6e0708ffed8c491f11e9f6252c2
# Parent  683f5239c8bb51f52660fe5bba9bf195edc106b7
* style/bidi.el (LaTeX-bidi-package-options): typo

diff --git a/style/bidi.el b/style/bidi.el
--- a/style/bidi.el
+++ b/style/bidi.el
@@ -29,7 +29,7 @@
 
 ;;; Code:
 
-(defvar LaTeX-bidi-package-options '("RTLdocument" "rldocuement")
+(defvar LaTeX-bidi-package-options '("RTLdocument" "rldocument")
   "Package options for the bidi package.")
 
 (TeX-add-style-hook
_______________________________________________
auctex-devel mailing list
auctex-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/auctex-devel

Reply via email to