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

2017-09-16 Thread Ikumi Keita
Hi Mosè and all,

> Mosè Giordano  writes:
> 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.

If my memory serves, no explicit decision was made at that time althogh
opinion supporting to drop support for older emacsen was by far dominant.
Anyway, I'm also in favor for that direction.

> Now we are on 11.91 --- which was a necessary bugfix release --- IMHO
> it's time to move on.

Isn't is good to mention that Emacs versions prior to 24 are no longer
supported in the documents of oficial release?  The followings are
quotes from files in the tarball of 11.91.  The descriptions are almost
the same as older releases:

-- INSTALL --
   * A recent version of Emacs, alternatively XEmacs

 Emacs 20 is no longer supported, and neither is XEmacs with a
 version of 'xemacs-base' older than 1.84 (released in sumo from
 02/02/2004).  Using preview-latex requires a version of Emacs
 compiled with image support.  While the X11 version of Emacs 21
 will likely work, Emacs 22 and later is preferred.

 Windows
  Precompiled versions are available from
  .
 Mac OS X
  For an overview of precompiled versions of Emacs for Mac OS X
  see for example
  .
 GNU/Linux
  Most GNU/Linux distributions nowadays provide a recent variant
  of Emacs via their package repositories.
 Self-compiled
  Compiling Emacs yourself requires a C compiler and a number of
  tools and development libraries.  Details are beyond the scope
  of this manual.  Instructions for checking out the source code
  can be found at .

 If you really need to use Emacs 21 on platforms where this implies
 missing image support, you should disable the installation of
 preview-latex (see below).

 While XEmacs (version 21.4.15, 21.4.17 or later) is supported,
 doing this in a satisfactory manner has proven to be difficult.
 This is mostly due to technical shortcomings and differing API's
 which are hard to come by.  If AUCTeX is your main application for
 XEmacs, you are likely to get better results and support by
 switching to Emacs.  Of course, you can improve support for your
 favorite editor by giving feedback in case you encounter bugs.

-- FAQ --
  2. What versions of Emacs and XEmacs are supported?

 AUCTeX was tested with Emacs 21 and XEmacs 21.4.15.  Older versions
 may work but are unsupported.  Older versions of XEmacs might
 possibly made to work by updating the 'xemacs-base' package through
 the XEmacs package system.  If you are looking for a
 recommendation, it would appear that the smoothest working platform
 on all operating systems at the current point of time would be
 Emacs 22 or higher.

2.1 Which version of (X)Emacs is needed?


See also the table at the end of the section.

   preview-latex nominally requires GNU Emacs with a version of at least
21.1.  However, Emacs 22 (currently under development) offers superior
performance and wider platform support, and is even now the recommended
platform to use.

   While recent versions of XEmacs 21.4 are supported, doing this in a
satisfactory manner has proven to be difficult due to technical
shortcomings and differing API's which are hard to come by.  If
preview-latex is an important part of your editing workflow, you are
likely to get better results and support by switching to Emacs.  Of
course, you can improve support for your favorite editor by giving
feedback in case you encounter bugs.

2.4 For which OS does preview work?
===

It is known to work under the X Window System for Linux and for several
flavors of Unix: we have reports for HP and Solaris.

   There are several development versions of Emacs around for native
MacOS Carbon, and preview-latex is working with them, too.

   With Windows, Cygwin and native ports of XEmacs should work.
preview-latex will not work with any native version 21 of Emacs under
Windows: you need to get a hold of Emacs 22 which is at the time of this
writing not released but available as a developer snapshot.

   The entry "X11/Unix" currently means Linux, Solaris or HP/UX, as well
as the X-specific version for Mac/OSX.

OS Emacs version   XEmacs 

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

2017-09-16 Thread 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-commit] GNU AUCTeX branch, master, updated. 6dcf0e1083791902563afaac9add4211bd91514a

2017-09-16 Thread Ikumi Keita
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  6dcf0e1083791902563afaac9add4211bd91514a (commit)
  from  cfad977c8747bc72c38533470d00dfa99a0238e0 (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 6dcf0e1083791902563afaac9add4211bd91514a
Author: Ikumi Keita 
Date:   Sat Sep 16 23:00:08 2017 +0900

Add a new option for evince compatible viewer.

* tex.el: (TeX-view-evince-keep-focus): New option.
(TeX-evince-sync-view-1): Pull the focus back to Emacs if the above
new option is non-nil.

---

Summary of changes:
 tex.el | 18 +-
 1 file changed, 17 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-diffs] GNU AUCTeX branch, master, updated. 6dcf0e1083791902563afaac9add4211bd91514a

2017-09-16 Thread Ikumi Keita
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  6dcf0e1083791902563afaac9add4211bd91514a (commit)
  from  cfad977c8747bc72c38533470d00dfa99a0238e0 (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 6dcf0e1083791902563afaac9add4211bd91514a
Author: Ikumi Keita 
Date:   Sat Sep 16 23:00:08 2017 +0900

Add a new option for evince compatible viewer.

* tex.el: (TeX-view-evince-keep-focus): New option.
(TeX-evince-sync-view-1): Pull the focus back to Emacs if the above
new option is non-nil.

diff --git a/tex.el b/tex.el
index e4012b0..d1b7791 100644
--- a/tex.el
+++ b/tex.el
@@ -1305,6 +1305,15 @@ entry in `TeX-view-program-list-builtin'."
   (pop-to-buffer (or (find-buffer-visiting pdf)
 (find-file-noselect pdf))
 
+(defcustom TeX-view-evince-keep-focus nil
+  "Whether Emacs retains the focus when viewing PDF files with Evince.
+
+When calling `TeX-evince-sync-view', Evince normally captures the
+focus. If this option is set to non-nil, Emacs will retain the
+focus."
+  :group 'TeX-view
+  :type 'boolean)
+
 (defvar url-unreserved-chars)
 
 (defun TeX-evince-sync-view-1 (de app)
@@ -1344,7 +1353,14 @@ viewer."
 ;; line.  What is the right number to specify here?
 ;; number of letters? bytes in UTF8? or other?
 :int32 (1+ (current-column)))
-  :uint32 0))
+  :uint32 0)
+  (when TeX-view-evince-keep-focus
+   (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))
   (error "Couldn't find the %s instance for %s" (capitalize app) uri
 
 (defun TeX-atril-sync-view ()

---

Summary of changes:
 tex.el | 18 +-
 1 file changed, 17 insertions(+), 1 deletion(-)


hooks/post-receive
-- 
GNU AUCTeX

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