Subject: [PATCH] RTF Clipboard Support(!) Date: Tue, 4 Jul 2000 17:27:35 +0100 From: "Alastair J. Houghton" To: Hi there, Does anyone else find it annoying having to write documents in MS Word that contain code snippets that aren't syntax highlighted? Well I did, so here's an Elisp file and a C patch that lets you copy the font-locking out of an XEmacs buffer and into the clipboard as RTF. The patch is against the latest stable XEmacs (21.1.10). It should all be pretty self-evident. Regards, Alastair. p.s. The .diff file was created using the Cygwin tools, with the source directory mounted using MS line-end conventions (i.e. as "text") rather than UNIX ones ("binary"). This is because patch didn't work when I had the directory mounted as binary... ____________________________________________________________ Alastair Houghton ajhoughton@lineone.net --------------------------------------------------------------------- Name: rtf-support.el rtf-support.el Type: unspecified type (application/octet-stream) Encoding: quoted-printable Name: select-msw.diff select-msw.diff Type: unspecified type (application/octet-stream) Encoding: quoted-printable