unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: David De La Harpe Golden <david@harpegolden.net>
Cc: emacs-devel@gnu.org
Subject: Re: select-active-regions
Date: Sat, 18 Jul 2009 16:54:26 +0300	[thread overview]
Message-ID: <83skgup04t.fsf@gnu.org> (raw)
In-Reply-To: <4A61D0F6.5040901@harpegolden.net>

> Date: Sat, 18 Jul 2009 14:41:10 +0100
> From: David De La Harpe Golden <david@harpegolden.net>
> CC: emacs-devel@gnu.org
> 
> In general, enabling select-active-regions at all on platforms that 
> don't have a true primary selection may not make an immense amount of 
> sense

Why not? they should put the region text into the clipboard instead,
IMO.

> I see your fix to lisp/term/pc-win.el , but it is not doing the right 
> thing as far as I can see (no way for me to test. Well
> I suppose I could install FreeDOS, but I'm not aware of a free w16 layer 
> for it).  If w16 has no OS-level concept of primary (I very much doubt 
> it does, though I can't say I'm familiar with it), then:
> 
> (x-set-selection 'PRIMARY value)
> ;should just stash value somewhere

What would be the purpose of stashing the value ``somewhere''?  The
NEWS entry says:

    *** If `select-active-regions' is t, setting the mark automatically
    makes the new region into the primary selection (for interaction with
    other window applications).

How can Emacs interact with other applications, if we just stash the
value in some internal variable?

How about if you explain (in more detail than available in the current
documentation) what this feature is supposed to do, and which
use-cases it is supposed to support?  Maybe then I will be able to see
why my code in pc-win.el is wrong.




  parent reply	other threads:[~2009-07-18 13:54 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-07-18 11:20 select-active-regions Eli Zaretskii
2009-07-18 13:41 ` select-active-regions David De La Harpe Golden
2009-07-18 13:47   ` select-active-regions David De La Harpe Golden
2009-07-18 13:54   ` Eli Zaretskii [this message]
2009-07-18 14:19     ` select-active-regions Chong Yidong
2009-07-18 18:33       ` select-active-regions Eli Zaretskii
2009-07-18 18:48         ` select-active-regions David De La Harpe Golden
2009-07-18 19:23           ` select-active-regions Eli Zaretskii
2009-07-18 19:50             ` select-active-regions David De La Harpe Golden
2009-07-19 14:41             ` select-active-regions Jason Rumney
2009-07-19 17:39               ` select-active-regions Eli Zaretskii
2009-07-19 19:36                 ` select-active-regions David De La Harpe Golden
2009-07-19 20:20                   ` select-active-regions Eli Zaretskii
2009-07-19 21:52                     ` select-active-regions Lennart Borgman
2009-07-20  3:15                       ` select-active-regions Eli Zaretskii
2009-07-20  3:20                         ` select-active-regions Lennart Borgman
2009-07-20 18:40                           ` select-active-regions Eli Zaretskii
2009-07-20  0:22                     ` select-active-regions David De La Harpe Golden
2009-07-20  3:12                       ` select-active-regions Eli Zaretskii
2009-07-18 18:51         ` select-active-regions Chong Yidong
2009-07-18 19:20           ` select-active-regions Eli Zaretskii
2009-07-18 19:37             ` select-active-regions Chong Yidong
2009-07-18 19:45               ` select-active-regions Eli Zaretskii
2009-07-18 20:15                 ` select-active-regions David De La Harpe Golden
2009-07-18 18:45     ` select-active-regions David De La Harpe Golden
2009-07-18 19:26       ` select-active-regions Eli Zaretskii
2009-07-18 19:10   ` select-active-regions Eli Zaretskii
2009-07-18 19:30     ` select-active-regions David De La Harpe Golden

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=83skgup04t.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=david@harpegolden.net \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).