emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Improving X selection?


From: David De La Harpe Golden
Subject: Re: Improving X selection?
Date: Thu, 7 Feb 2008 17:39:00 +0000

On 07/02/2008, Stefan Monnier <address@hidden> wrote:

> It's quite likely that w32-vars gets loaded by the call to M-x
> customize-group (via cus-load.el).  So the solution to the original
> problem is to move the x-select-* defcustom outside of platform-specific
> files so that there's only one copy of it.
>

That would forever entrench its usage as a non-platform-specific
customisation, which is IMO not good design, and then would mean yet
another customization needs to be introduced to actually customize the
x specifics!

Adjustment/fix of cus-load as suggested in Jason R.'s  mail is a
better interim solution, allowing eventual fixup:

The platforms in term/  supply their own
interprogram-cut/paste-functions - at least mac-win and pc-win and
x-win do -  though they name-clashing name them x-select-text - IMO
should be e.g.  mac-select-text on mac.

IMO the purpose of x-select-enable-clipboard should be to configure
the behaviour of the _x-_ implementation of the
interprogram-cut/paste-functions,
there should be mac-select-text for the mac interprogram-cut-function
customized by mac-select-enable-clipboard etc.

I suspect this is mostly just a result of cut-n-paste-coding from
x-win to the other term/ implementations, and slightly
tail-wagging-dog menu-bar.el compat.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]