From: Wolfgang Jeltsch <wolfgang@jeltsch.net>
Subject: Re: editing MathML parts with Amaya
Date: Mon, 24 Jan 2005 21:01:14 +0100 [thread overview]
Message-ID: <200501242101.14947.wolfgang@jeltsch.net> (raw)
In-Reply-To: <35kpivF4o06kjU1@individual.net>
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
next prev parent reply other threads:[~2005-01-24 20:01 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <mailman.14642.1106422260.27204.help-gnu-emacs@gnu.org>
2005-01-24 17:29 ` editing MathML parts with Amaya Kevin Rodgers
2005-01-24 20:01 ` Wolfgang Jeltsch [this message]
2005-01-22 18:59 Wolfgang Jeltsch
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200501242101.14947.wolfgang@jeltsch.net \
--to=wolfgang@jeltsch.net \
/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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).