165 lines
6.6 KiB
Plaintext
165 lines
6.6 KiB
Plaintext
From exmh-users-admin@redhat.com Mon Sep 23 12:06:27 2002
|
|
Return-Path: <exmh-users-admin@example.com>
|
|
Delivered-To: yyyy@localhost.example.com
|
|
Received: 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)
|
|
Received: 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)
|
|
Received: from listman.example.com (listman.example.com [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
|
|
Received: from listman.example.com (localhost.localdomain [127.0.0.1]) by
|
|
listman.redhat.com (Postfix) with ESMTP id 74C573EBFF; Mon, 23 Sep 2002
|
|
01:13:23 -0400 (EDT)
|
|
Delivered-To: exmh-users@listman.example.com
|
|
Received: from int-mx1.corp.example.com (int-mx1.corp.example.com
|
|
[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)
|
|
Received: (from mail@localhost) by int-mx1.corp.example.com (8.11.6/8.11.6)
|
|
id g8N58OF19984 for exmh-users@listman.redhat.com; Mon, 23 Sep 2002
|
|
01:08:24 -0400
|
|
Received: from mx1.example.com (mx1.example.com [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
|
|
Received: 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
|
|
Received: 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
|
|
Message-Id: <200209230508.BAA09815@blackcomb.panasas.com>
|
|
To: exmh-users@example.com
|
|
Subject: Re: bad focus/click behaviours
|
|
In-Reply-To: <200209131705.g8DH5Or30284@lin12.triumf.ca>
|
|
References: <200209131130.g8DBUZL24217@hobbit.linuxworks.com.au.nospam>
|
|
<200209131705.g8DH5Or30284@lin12.triumf.ca>
|
|
Comments: In-reply-to Rick Baartman <baartman@lin12.triumf.ca> message
|
|
dated "Fri, 13 Sep 2002 10:05:23 -0700."
|
|
From: Brent Welch <welch@panasas.com>
|
|
X-Url: http://www.panasas.com/
|
|
X-Face: "HxE|?EnC9fVMV8f70H83&{fgLE.|FZ^$>@Q(yb#N,Eh~N]e&]=>r5~UnRml1:4EglY{9B+
|
|
:'wJq$@c_C!l8@<$t,{YUr4K,QJGHSvS~U]H`<+L*x?eGzSk>XH\W:AK\j?@?c1o<k;j'Ei/UL)!*0
|
|
ILwSR)J\bc)gjz!rrGQ2#i*f:M:ydhK}jp4dWQW?;0{,#iWrCV$4~%e/3)$1/D
|
|
X-Loop: exmh-users@example.com
|
|
Sender: exmh-users-admin@example.com
|
|
Errors-To: exmh-users-admin@example.com
|
|
X-Beenthere: exmh-users@example.com
|
|
X-Mailman-Version: 2.0.1
|
|
Precedence: bulk
|
|
Reply-To: exmh-users@example.com
|
|
List-Help: <mailto:exmh-users-request@example.com?subject=help>
|
|
List-Post: <mailto:exmh-users@example.com>
|
|
List-Subscribe: <https://listman.example.com/mailman/listinfo/exmh-users>,
|
|
<mailto:exmh-users-request@redhat.com?subject=subscribe>
|
|
List-Id: Discussion list for EXMH users <exmh-users.example.com>
|
|
List-Unsubscribe: <https://listman.example.com/mailman/listinfo/exmh-users>,
|
|
<mailto:exmh-users-request@redhat.com?subject=unsubscribe>
|
|
List-Archive: <https://listman.example.com/mailman/private/exmh-users/>
|
|
Date: Sun, 22 Sep 2002 22:08:16 -0700
|
|
X-Spam-Status: No, hits=-4.4 required=5.0
|
|
tests=AWL,IN_REP_TO,KNOWN_MAILING_LIST,REFERENCES,X_LOOP
|
|
version=2.50-cvs
|
|
X-Spam-Level:
|
|
|
|
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.
|
|
proc Text_Selection {} {
|
|
if [catch {selection get} sel] {
|
|
if [catch {selection get -selection CLIPBOARD} sel] {
|
|
if [catch {cutbuffer get 0} sel] {
|
|
return ""
|
|
}
|
|
}
|
|
}
|
|
return $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
|
|
just disable that - try this variant:
|
|
|
|
proc Text_Selection {} {
|
|
if [catch {selection get} sel] {
|
|
if [catch {selection get -selection CLIPBOARD} sel] {
|
|
return ""
|
|
}
|
|
}
|
|
return $sel
|
|
}
|
|
|
|
Everything funnels through here, so you just need to hack this one spot.
|
|
|
|
|
|
>>>Rick Baartman said:
|
|
> I've never understood the mouse buffer operation with exmh either. Here's th
|
|
e
|
|
> behaviour I have. I have exmh and XEmacs windows up, and a terminal window.
|
|
(I
|
|
> also have gnome1.4 running and enlightenment as wm.) I select text in the ex
|
|
mh
|
|
> window and while it is highlighted, I can paste into anything else. If I sel
|
|
ect
|
|
> 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
|
|
and
|
|
> 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
|
|
hat
|
|
> I paste into exmh is different from what I paste into other windows. To be m
|
|
ore
|
|
> specific, here's what gets pasted if nothing is highlighted:
|
|
>
|
|
> Application What gets pasted
|
|
>
|
|
> XEmacs whatever was last selected unless it was last selected in
|
|
exmh
|
|
> xterm same as XEmacs
|
|
> AbiWord nothing
|
|
> Nedit nothing
|
|
> 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
|
|
s
|
|
> pasted is NOT what was last highlighted in sedit, but what was last highligh
|
|
ted
|
|
> 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??
|
|
>
|
|
> --
|
|
> rick
|
|
>
|
|
>
|
|
>
|
|
> _______________________________________________
|
|
> Exmh-users mailing list
|
|
> Exmh-users@redhat.com
|
|
> https://listman.redhat.com/mailman/listinfo/exmh-users
|
|
|
|
--
|
|
Brent Welch
|
|
Software Architect, Panasas Inc
|
|
Pioneering the World's Most Scalable and Agile Storage Network
|
|
www.panasas.com
|
|
welch@panasas.com
|
|
|
|
|
|
|
|
_______________________________________________
|
|
Exmh-users mailing list
|
|
Exmh-users@redhat.com
|
|
https://listman.redhat.com/mailman/listinfo/exmh-users
|
|
|
|
|