all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Source specials in Emacs 22 /AucTeX and Miktex 2.6
@ 2007-06-27 20:22 R McDonald
  2007-06-28  4:53 ` Kevin Rodgers
       [not found] ` <mailman.2723.1183006429.32220.help-gnu-emacs@gnu.org>
  0 siblings, 2 replies; 3+ messages in thread
From: R McDonald @ 2007-06-27 20:22 UTC (permalink / raw)
  To: help-gnu-emacs

I have virtually identical installations of MikTeX 2.6 and Emacs 22 on 
two machines, both running XP SP2. Both have the same .emacs file. The 
Emacs version is pre-compiled (5/20/07) from

http://www.gnu.org/software/auctex/download-for-windows.html

When I compile and then view a latex file on Machine A, using Yap, there 
are source specials. Every time I do an inverse search on this machine, 
there is a new invocation of emacsclientw. So after 5 searches, I have 5 
copies of emacsclientw running.

On machine B, Yap says there are no source specials, although C-h v says 
that the value of TeX-source-specials-mode is t. In both cases I am 
invoking the latex compiler and viewer via repeated invocations of C-c C-c.

The strangest thing to me is the different behavior on the two machines. 
At this point I would just love some suggestions for debugging this 
problem. Thanks in advance!

Bob

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Source specials in Emacs 22 /AucTeX and Miktex 2.6
  2007-06-27 20:22 Source specials in Emacs 22 /AucTeX and Miktex 2.6 R McDonald
@ 2007-06-28  4:53 ` Kevin Rodgers
       [not found] ` <mailman.2723.1183006429.32220.help-gnu-emacs@gnu.org>
  1 sibling, 0 replies; 3+ messages in thread
From: Kevin Rodgers @ 2007-06-28  4:53 UTC (permalink / raw)
  To: help-gnu-emacs

R McDonald wrote:
> I have virtually identical installations of MikTeX 2.6 and Emacs 22 on 
> two machines, both running XP SP2. Both have the same .emacs file. The 
> Emacs version is pre-compiled (5/20/07) from
> 
> http://www.gnu.org/software/auctex/download-for-windows.html
> 
> When I compile and then view a latex file on Machine A, using Yap, there 
> are source specials. Every time I do an inverse search on this machine, 
> there is a new invocation of emacsclientw. So after 5 searches, I have 5 
> copies of emacsclientw running.
> 
> On machine B, Yap says there are no source specials, although C-h v says 
> that the value of TeX-source-specials-mode is t. In both cases I am 
> invoking the latex compiler and viewer via repeated invocations of C-c C-c.
> 
> The strangest thing to me is the different behavior on the two machines. 
> At this point I would just love some suggestions for debugging this 
> problem. Thanks in advance!

Check to make sure default.el and site-start.el are the same on both
machines, too (use M-x find-library, and leave off the .el just in
case).

-- 
Kevin Rodgers
Denver, Colorado, USA

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Source specials in Emacs 22 /AucTeX and Miktex 2.6
       [not found] ` <mailman.2723.1183006429.32220.help-gnu-emacs@gnu.org>
@ 2007-06-28 15:19   ` R McDonald
  0 siblings, 0 replies; 3+ messages in thread
From: R McDonald @ 2007-06-28 15:19 UTC (permalink / raw)
  To: help-gnu-emacs

Kevin Rodgers wrote:
> Check to make sure default.el and site-start.el are the same on both
> machines, too (use M-x find-library, and leave off the .el just in
> case).
> 

Thank you, that was helpful. I did find a version of site-start that I 
wasn't aware was there. Removing it still left me with different 
behavior on the two machines, but it did eliminate one variable.

What finally helped (in case anyone else has a similar issue): I have 
set yap (the MikTeX viewer) to use emacsclientw with arguments "+%l %f 
-n". I wasn't using -n before. As far as I can tell, -n (which means 
"no-wait") invokes emacsclient and then shuts it down (it never appears 
in the task list). Forward and inverse search now work as they should.

There is still one behavioral difference between the two machines that 
is perhaps only a curiousity, but I wonder why it happens. When I 
perform an inverse search on one machine, there is no message in the 
emacs minibuffer window. Whe I perform an inverse search on the other 
machine, using the identical file, the message "foo.tex and foo.tex are 
the same file" appears. I'm not sure what process is producing the 
message or why it occurs on one machine and not the other. If anyone has 
thoughts about that, I would be curious. But the main problem was solved 
by using the -n option.


Bob

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2007-06-28 15:19 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-06-27 20:22 Source specials in Emacs 22 /AucTeX and Miktex 2.6 R McDonald
2007-06-28  4:53 ` Kevin Rodgers
     [not found] ` <mailman.2723.1183006429.32220.help-gnu-emacs@gnu.org>
2007-06-28 15:19   ` R McDonald

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.