[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: editing MathML parts with Amaya
From: |
Wolfgang Jeltsch |
Subject: |
Re: editing MathML parts with Amaya |
Date: |
Mon, 24 Jan 2005 21:01:14 +0100 |
User-agent: |
KMail/1.7.2 |
Am Montag, 24. Januar 2005 18:29 schrieb Kevin Rodgers:
> [...]
> > So how do I filter parts of a buffer through a shell command so that the
> > respective part of the buffer is replaced by the command's output?
>
> (shell-command-on-region START END "your-shell-script" (current-buffer) t)
>
> > Can somebody of you imagine why the above error message appears? Is there
> > a better way to invoke X clients for editing parts of a document?
>
> Sorry, I don't know.
>
> > How can I tell Emacs to search for the boundaries of a MathML part the
> > cursor is in, so that I don't have to mark the whole MathML fragment
> > before editing it?
>
> (let ((mathml-start (re-search-backward ...))
> (mathml-end (re-search-backward ...)))
> (shell-command-on-region mathml-start mathml-end "your-shell-script"
> (current-buffer) t))
Thank you very much. Thanks to your tips, I was able to implement a solution
which basically works. Interestingly, the X error message doesn't appear.
Best wishes,
Wolfgang