* Help - change keyboard shortcut
@ 2004-06-16 15:21 Govindarajan Kothandaraman
2004-06-16 16:42 ` Kevin Rodgers
0 siblings, 1 reply; 2+ messages in thread
From: Govindarajan Kothandaraman @ 2004-06-16 15:21 UTC (permalink / raw)
Hello,
I usually use emacs on unix. The keyboard shortcut in LaTeX mode C-c C-v
runs the command "xdvi <filename> &". I recently started using
MikTeX+emacs on windows too. I have made yap my dvi viewer on windows.
However the keyboard shortcut C-c C-v gives the following command
"yap <filename &". How do I get rid of the trailing "&" symbol? Windows
shell does not recognise the "&" symbol.
Thank you.
Govi
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Help - change keyboard shortcut
2004-06-16 15:21 Help - change keyboard shortcut Govindarajan Kothandaraman
@ 2004-06-16 16:42 ` Kevin Rodgers
0 siblings, 0 replies; 2+ messages in thread
From: Kevin Rodgers @ 2004-06-16 16:42 UTC (permalink / raw)
Govindarajan Kothandaraman wrote:
> I usually use emacs on unix. The keyboard shortcut in LaTeX mode C-c C-v
> runs the command "xdvi <filename> &". I recently started using
> MikTeX+emacs on windows too. I have made yap my dvi viewer on windows.
> However the keyboard shortcut C-c C-v gives the following command
> "yap <filename &". How do I get rid of the trailing "&" symbol? Windows
> shell does not recognise the "&" symbol.
`C-c C-v' is bound to tex-view, which calls tex-print, which calls
tex-send-command with t as its BACKGROUND arg unconditionally. Perhaps
that's a bug on Windows that should be reported.
You might be able to work around it with something like this:
(defadvice tex-send-command (before background activate)
"Make sure BACKGROUND is nil on DOS/Windows systems."
(when (memq system-type '(ms-dos windows-nt))
(ad-set-arg 2 nil)))
--
Kevin Rodgers
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2004-06-16 16:42 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-06-16 15:21 Help - change keyboard shortcut Govindarajan Kothandaraman
2004-06-16 16:42 ` Kevin Rodgers
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.