I have write such script

#!/bin/sh

mknod /tmp/curtag p
curtag=`wmiir read /tag/sel/ctl | head -n 1`
echo $curtag > /tmp/curtag &

wmiir xwrite /ctl view emacs
exec emacsclient.emacs22 $@

rm -f /tmp/curtag
-------------------------------------------------------

And When $e xxxxx.c, It will view the tag of emacs, But the focus is not emacs.
And there is only emacs client in the tag of emacs.



--


Reply via email to