* Emacs 22.xxxx and DDE
@ 2009-01-04 10:29 Tom
0 siblings, 0 replies; only message in thread
From: Tom @ 2009-01-04 10:29 UTC (permalink / raw)
To: help-gnu-emacs
I use Emacs on WinXP to compile my latex code and i use the following
fonction ....
(defun acrobat-close-doc (file)
"Close <file> in Acrobat, using DDE."
(save-excursion
(set-buffer (get-buffer-create " *ddeclient*"))
(erase-buffer)
(insert "[CloseAllDocs()]\n" )
(call-process-region (point-min) (point-max)
"ddeclient" t t nil "acroview" "control")
(if (= 0 (string-to-int (buffer-string))) t nil)))
to close all open acrobat window before my compilation
I have change for the emacs' s 22.3 version but now i need to wait
10 second before the windows closed and compiling begins ...
I try "call-process-region" with other .exe and i don't have this
delay ...
Is it a bug????
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2009-01-04 10:29 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-01-04 10:29 Emacs 22.xxxx and DDE Tom
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.