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 <ik...@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 _______________________________________________ auctex-diffs mailing list auctex-di...@gnu.org https://lists.gnu.org/mailman/listinfo/auctex-diffs