Mail Archives: cygwin/2022/03/08/08:56:35
X-Recipient: | archive-cygwin AT delorie DOT com
|
X-Original-To: | cygwin AT cygwin DOT com
|
Delivered-To: | cygwin AT cygwin DOT com
|
DMARC-Filter: | OpenDMARC Filter v1.4.1 sourceware.org 9D9B6385C420
|
Authentication-Results: | sourceware.org;
|
| dmarc=none (p=none dis=none) header.from=cs.umass.edu
|
Authentication-Results: | sourceware.org; spf=pass smtp.mailfrom=cs.umass.edu
|
Subject: | Re: emacs-everywhere
|
To: | Russell VT <russellvt AT gmail DOT com>
|
References: | <a9167906-7083-bedc-554a-aa942c1fe156 AT cs DOT umass DOT edu>
|
| <CANV2+nU7jXReAHBGPE2CTiP4957nAYsmyurQYjDDv4Q3eDp8Cw AT mail DOT gmail DOT com>
|
| <596abe60-2795-c7b5-1bc0-df9d359c6e53 AT cs DOT umass DOT edu>
|
| <CANV2+nVdr282tsZDs-pmOvCTT52RCwDxxgHDhnXUcS1YscS-ZQ AT mail DOT gmail DOT com>
|
From: | Eliot Moss <moss AT cs DOT umass DOT edu>
|
Message-ID: | <ccf8f950-784e-b3d2-295b-9dd760f9c0f1@cs.umass.edu>
|
Date: | Tue, 8 Mar 2022 08:55:53 -0500
|
User-Agent: | Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:68.0) Gecko/20100101
|
| Thunderbird/68.12.1
|
MIME-Version: | 1.0
|
In-Reply-To: | <CANV2+nVdr282tsZDs-pmOvCTT52RCwDxxgHDhnXUcS1YscS-ZQ@mail.gmail.com>
|
X-Spam-Status: | No, score=-2.0 required=5.0 tests=BAYES_00, JMQ_SPF_NEUTRAL,
|
| KAM_DMARC_STATUS, NICE_REPLY_A, SPF_HELO_NONE, SPF_PASS, TXREP,
|
| T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.4
|
X-Spam-Checker-Version: | SpamAssassin 3.4.4 (2020-01-24) on
|
| server2.sourceware.org
|
X-BeenThere: | cygwin AT cygwin DOT com
|
X-Mailman-Version: | 2.1.29
|
List-Id: | General Cygwin discussions and problem reports <cygwin.cygwin.com>
|
List-Unsubscribe: | <https://cygwin.com/mailman/options/cygwin>,
|
| <mailto:cygwin-request AT cygwin DOT com?subject=unsubscribe>
|
List-Archive: | <https://cygwin.com/pipermail/cygwin/>
|
List-Post: | <mailto:cygwin AT cygwin DOT com>
|
List-Help: | <mailto:cygwin-request AT cygwin DOT com?subject=help>
|
List-Subscribe: | <https://cygwin.com/mailman/listinfo/cygwin>,
|
| <mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
|
Reply-To: | moss AT cs DOT umass DOT edu
|
Cc: | cygwin <cygwin AT cygwin DOT com>
|
Errors-To: | cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com
|
Sender: | "Cygwin" <cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com>
|
On 3/8/2022 4:49 AM, Russell VT wrote:
> On Sun, Mar 6, 2022 at 7:33 PM Eliot Moss <moss AT cs DOT umass DOT edu <mailto:moss AT cs DOT umass DOT edu>> wrote:
>
> On 3/6/2022 9:00 PM, Russell VT wrote:
> > Are you running Thunderbird under Cygwin (ie. in an "X" environment?), or are you running it
> > directly from Windows?
>
> Thanks for responding, Russell. Directly under Windows.
>
>
> Ok, that means it's going to need a little bit of "work" to even be "aware" of the Cygwin
> environment. So, anything you fork from ThunderBird will need to have its environment setup
> "somewhere," or will end up with a "default" Cygwin environment.
>
> This may make things either much easier, or much more difficult. (depending on perspective... LOL)
>
>
> Can it run under Cygwin? I am running Cygwin/X with
> emacs, xterm, okular, etc.
>
>
> Well, it sounds like you've already done "the hard work" ... but, given enough time and resources,
> ThunderBird can run just about anywhere.
>
> https://developer.thunderbird.net/thunderbird-development/building-thunderbird
>
> I'm not exactly sure anyone has gone down this path, however.
>
>
> So, the IMPORTANT question is... how do you "normally" invoke this sort of action from Thunderbird,
> in your other environments? And, what do "we" need to change/fix to make it work, like you would
> like it to work? (Again, I'm assuming you have this "working" in your other environments)
>
> After that, HOW do we do it from the command line, in Cygwin? (presumably with an X environment
> already present/running)
The method I use at present is not available in later Thunderbirds. Presently
I use an External Editor add-on. If I type control-E it fires up a (Windows)
emacs and I can edit there, save and exit, and the edited email is back in
Thunderbird. But Thunderbird totally changed their add-on technology a few
years ago and this addon has never been updated. (It's a pretty simple
add-on, but since I know little about Thunderbird's internals I don't know how
to recreate it in their new setup.)
The notion with emacs-everywhere is to bind some key globally in Windows to
invoke it. First I would select stuff into the cut/paste buffer, then invoke
emacs-everywhere, and the buffer's contents would appear in emacs. I would
edit, exit that pop-up emacs, and the edited text would be in the paste
buffer, which I could paste back into Thunderbird. Not quite as seamless as
before, but not as bad as explicit cut and paste back and forth. This is
soething I do all the time, so minimizing the actions needed is of significant
utility (to me, anyway).
It does occur to me, however, that if I am willing to run Thunderbird from
WSL, this all might work more or less out of the box. But the stumbling block
at present is the lack of xdotool that can be invoked by emacsclient to start
an emacs-everywhere pop-up window. Unless someone with deeper knowledge of
emacs / emacs-everywhere or of X innards can suggest another way to do that.
Thanks for continuing to engage .... Eliot
--
Problem reports: https://cygwin.com/problems.html
FAQ: https://cygwin.com/faq/
Documentation: https://cygwin.com/docs.html
Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple
- Raw text -