from localhost (jalapeno [127.0.0.1])
	by jmason.org (Postfix) with ESMTP id 49A9816F03
	for <jm@localhost>; Mon, 23 Sep 2002 12:06:26 +0100 (IST)
from jalapeno [127.0.0.1]
	by localhost with IMAP (fetchmail-5.9.0)
	for jm@localhost (single-drop); Mon, 23 Sep 2002 12:06:26 +0100 (IST)
from listman.spamassassin.taint.org (listman.spamassassin.taint.org [66.187.233.211]) by
    dogma.slashnull.org (8.11.6/8.11.6) with ESMTP id g8N5D2C01926 for
    <jm-exmh@jmason.org>; Mon, 23 Sep 2002 06:13:06 +0100
from listman.spamassassin.taint.org (localhost.localdomain [127.0.0.1]) by
    listman.redhat.com (Postfix) with ESMTP id 74C573EBFF; Mon, 23 Sep 2002
    01:13:23 -0400 (EDT)
from int-mx1.corp.spamassassin.taint.org (int-mx1.corp.spamassassin.taint.org
    [172.16.52.254]) by listman.redhat.com (Postfix) with ESMTP id B83A03F6E9
    for <exmh-users@listman.redhat.com>; Mon, 23 Sep 2002 01:08:24 -0400 (EDT)
(from mail@localhost) by int-mx1.corp.spamassassin.taint.org (8.11.6/8.11.6)
    id g8N58OF19984 for exmh-users@listman.redhat.com; Mon, 23 Sep 2002
    01:08:24 -0400
from mx1.spamassassin.taint.org (mx1.spamassassin.taint.org [172.16.48.31]) by
    int-mx1.corp.redhat.com (8.11.6/8.11.6) with SMTP id g8N58Oh19980 for
    <exmh-users@redhat.com>; Mon, 23 Sep 2002 01:08:24 -0400
from blackcomb.panasas.com (gw2.panasas.com [65.194.124.178]) by
    mx1.redhat.com (8.11.6/8.11.6) with SMTP id g8N4oji22828 for
    <exmh-users@redhat.com>; Mon, 23 Sep 2002 00:50:45 -0400
from medlicott.panasas.com (IDENT:welch@medlicott.panasas.com
    [172.17.132.188]) by blackcomb.panasas.com (8.9.3/8.9.3) with ESMTP id
    BAA09815 for <exmh-users@redhat.com>; Mon, 23 Sep 2002 01:08:17 -0400
In-reply-to Rick Baartman <baartman@lin12.triumf.ca> message
    dated "Fri, 13 Sep 2002 10:05:23 -0700."
From exmh-users-admin@redhat.com  Mon Sep 23 12:06:27 2002

It's all here in these 10 lines, otherwise known as the
"I'll try my damnest to paste something" procedure:
# Return the current selection (from any window) or cut buffer 0.
if [catch {selection get -selection CLIPBOARD} sel] {
This is in textSelection.tcl, and is what exmh uses to find text to paste.
It is that last "cutbuffer get" that is wacky, because exmh sticks its
own deletions into that little know stash, and is probably the only
application on the planet that still looks there.  We should probably
Everything funnels through here, so you just need to hack this one spot.
> I've never understood the mouse buffer operation with exmh either. Here's th
> behaviour I have. I have exmh and XEmacs windows up, and a terminal window.
> also have gnome1.4 running and enlightenment as wm.) I select text in the ex
> window and while it is highlighted, I can paste into anything else. If I sel
> it and then click so the highlighting is off, then what I paste is not the
> recently-selected text in exmh, but an old selection. If I select in XEmacs
> leave it highlighted, I can paste it into exmh sedit window; but if it is no
> longer highlighted, what I paste is an old selection. I can live with this
> behaviour except for one additional thing. If nothing is highlighted, then w
> I paste into exmh is different from what I paste into other windows. To be m
> specific, here's what gets pasted if nothing is highlighted:
> XEmacs            whatever was last selected unless it was last selected in
> sedit             Whatever was last highlighted in sedit and overwritten
> The last needs some amplification. If I highlight something in sedit, then
> obviously that's what gets pasted. If the highlighting is off, then what get
> pasted is NOT what was last highlighted in sedit, but what was last highligh
> and typed over (I have "Type Kills SEL" on.).
> It seems that exmh and sedit are the oddballs here. Very often when I try to
> paste something in sedit I end up muttering WTF??