From: Kevin Rodgers <ihs_4664@yahoo.com>
Subject: Re: Help - change keyboard shortcut
Date: Wed, 16 Jun 2004 10:42:53 -0600 [thread overview]
Message-ID: <40D0788D.2090305@yahoo.com> (raw)
In-Reply-To: Pine.GSO.4.58.0406161010190.12178@roger.ecn.purdue.edu
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
prev parent reply other threads:[~2004-06-16 16:42 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-06-16 15:21 Help - change keyboard shortcut Govindarajan Kothandaraman
2004-06-16 16:42 ` Kevin Rodgers [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=40D0788D.2090305@yahoo.com \
--to=ihs_4664@yahoo.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.