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. 9284ac63a7635e2f0d965


From: Ikumi Keita
Subject: [AUCTeX-diffs] GNU AUCTeX branch, master, updated. 9284ac63a7635e2f0d965eb519f20f6e3b6dfaab
Date: Tue, 5 Oct 2021 03:13:08 -0400 (EDT)

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  9284ac63a7635e2f0d965eb519f20f6e3b6dfaab (commit)
      from  16bcc8dc4f42d16ee8f5e871e4683b52f94132d4 (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 9284ac63a7635e2f0d965eb519f20f6e3b6dfaab
Author: Ikumi Keita <ikumi@ikumi.que.jp>
Date:   Tue Oct 5 01:01:07 2021 +0900

    Explain how to do forward search by mouse
    
    * doc/auctex.texi (I/O Correlation): Add a sample usage of
    `TeX-source-correlate-map' and `TeX-view-mouse'.

diff --git a/doc/auctex.texi b/doc/auctex.texi
index 3a9ae01..ab9997f 100644
--- a/doc/auctex.texi
+++ b/doc/auctex.texi
@@ -3637,6 +3637,21 @@ bring it to front and display the output page 
corresponding to the
 position of point in the source file.  @AUCTeX{} will automatically pass
 the necessary command line options to the viewer for this to happen.
 
+@vindex TeX-source-correlate-map
+@findex TeX-view-mouse
+You can also make special mouse event do forward search at the clicked
+position.  Use @code{TeX-source-correlate-map}@footnote{The keymap name is
+@code{TeX-source-correlate-map}, not @code{TeX-source-correlate-mode-map}.
+Actually, this keymap isn't implemented as minor mode map of
+@code{TeX-source-correlate-mode}, in order that its bindings don't affect
+buffers outside of @AUCTeX{}.} and @code{TeX-view-mouse} like this:
+@lisp
+(eval-after-load "tex"
+  '(define-key TeX-source-correlate-map [C-down-mouse-1] #'TeX-view-mouse))
+@end lisp
+This example binds @kbd{C-down-mouse-1}, which usually opens a concise
+menu to select buffer, to the command to do forward search.
+
 @vindex TeX-source-correlate-start-server
 Upon opening the viewer you will be asked if you want to start a server
 process (Gnuserv or Emacs server) which is necessary for inverse search.

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

Summary of changes:
 doc/auctex.texi | 15 +++++++++++++++
 1 file changed, 15 insertions(+)


hooks/post-receive
-- 
GNU AUCTeX



reply via email to

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