From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Charlie Zender Newsgroups: gmane.emacs.help Subject: Re: Emacs TeXInfo mode, reverse search, and Texinfo-generated DVIs? Date: Tue, 13 Jun 2006 11:23:08 -0700 Organization: University of California at Irvine Message-ID: <448F028C.5000406@uci.edu> References: <448E62CC.4030909@uci.edu> Reply-To: zender@uci.edu NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1150224055 5551 80.91.229.2 (13 Jun 2006 18:40:55 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 13 Jun 2006 18:40:55 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Jun 13 20:40:51 2006 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1FqDok-0004SM-8q for geh-help-gnu-emacs@m.gmane.org; Tue, 13 Jun 2006 20:40:46 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FqDoj-0003ET-RJ for geh-help-gnu-emacs@m.gmane.org; Tue, 13 Jun 2006 14:40:45 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!newsfeed.news.ucla.edu!news.usc.edu!news.service.uci.edu!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 32 Original-NNTP-Posting-Host: virga.ess.uci.edu User-Agent: Thunderbird 1.5.0.2 (X11/20060522) In-Reply-To: Original-Xref: shelby.stanford.edu gnu.emacs.help:139808 X-Originally-To: Reiner Steib Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:35432 Archived-At: Reiner Steib wrote: > On Tue, Jun 13 2006, Charlie Zender wrote: > >> Does anyone have reverse search working on Texinfo-generated DVIs? > > WFM, with AUCTeX's texinfo mode. When I use AUCTeX's texinfo mode I can click on the DVI and it will open an emacs window with the source buffer positioned at the correct location. What I would like to get working is the the reverse, i.e., the ability to stay in my Emacs source buffer and execute an Emacs command that causes the DVI to move to the location corresponding to the point in the source buffer. Do you have that working? If so, please send exact commands. Here's what I tried but this fails with AucTeX texinfo mode (works fine with LaTeX and TeX modes, though): ;; KDVI compatibility for reverse search 20060529 (add-to-list 'load-path (expand-file-name "~/elisp/")) (require 'kdvi-search) (add-hook 'LaTeX-mode-hook (lambda () (local-set-key "\C-x\C-j" 'kdvi-jump-to-line))) (add-hook 'tex-mode-hook (lambda () (local-set-key "\C-x\C-j" 'kdvi-jump-to-line))) (add-hook 'texinfo-mode-hook (lambda () (local-set-key "\C-x\C-j" 'kdvi-jump-to-line))) -- Charlie Zender, surname@uci.edu, Department of Earth System Science 3228 Croul Hall, UC Irvine, Irvine CA 92697-3100. (949) 824-2987 :)