all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Harry Putnam <reader@newsguy.com>
To: help-gnu-emacs@gnu.org
Subject: Re: Need help with emacs clipboard.
Date: Thu, 15 Jan 2015 15:50:23 -0500	[thread overview]
Message-ID: <87a91jydio.fsf@reader.local.lan> (raw)
In-Reply-To: 20150114125645795909310@bob.proulx.com

Bob Proulx <bob@proulx.com> writes:

> Hi Harry,
>
> Harry Putnam wrote:
>> Bob Proulx writes:
>> > This won't help you because you want the opposite but just to post my
>> > example this is what I do to configure emacs to be usable on the X
>> > desktop using the primary selection.
>> >
>> >       (setq transient-mark-mode nil)
>> >       (setq select-active-regions nil) 	; default is nil in 23, t in 24
>> >       (setq mouse-drag-copy-region t)	; default is t in 23, nil in 24
>> >       (setq x-select-enable-primary t)	; default is nil in 23, t in 24
>> >       (setq x-select-enable-clipboard nil) ; default is nil in 23, t in 24
>> >       (setq x-select-enable-clipboard-manager nil) ; new in 24, default is t
>> 
>> Bob, just slipped in here to see if I could get you to show how to put
>> all that into a single statement that does all those things with one
>> command.
>
> I am sorry but there isn't one.  If you want each of those items then
> you need each of those items.

I meant a way to string a bunch of setq's together... Something like
(mixing languages .. but maybe it is clear?)

if(ble){
 setq [...]
 setq [...]
 [...]
 setq [...]
} 


>> I'm thinking to be able to turn it off and on quickly.
>
> This isn't something you would turn on and off.  Why does it need to
> be one single statement?  It isn't something one puts on a command
> line command.  It is a part of a much larger configuration.  This
> configuration normally goes into your emacs config, traditionally your
> ~/.emacs file although now available to configure other places too.
> It doesn't make any sense to change this while the emacs is running.

[...]

Doesn't it enable primary select and disable clipboard.

So might one want to go back the opposite way on occasion.

I was thinking like having it in emacs init files one way and be able to
go the other with  Shift+Alt+: (eval) .. some code <RET>.


Thanks for the answer and hefty thoughts...




  reply	other threads:[~2015-01-15 20:50 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-01-13  2:47 Need help with emacs clipboard cplum984
2015-01-14  4:46 ` Bob Proulx
2015-01-14 16:36   ` Harry Putnam
2015-01-14 20:46     ` Bob Proulx
2015-01-15 20:50       ` Harry Putnam [this message]
     [not found]       ` <mailman.17973.1421355042.1147.help-gnu-emacs@gnu.org>
2015-01-15 21:05         ` Joost Kremers
2015-01-25 22:53   ` Robert Thorpe
2015-01-31  3:18     ` Bob Proulx
2015-01-31 19:02       ` Robert Thorpe
2015-02-01  4:45         ` Bob Proulx
2015-02-01 13:53           ` Robert Thorpe

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

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

  git send-email \
    --in-reply-to=87a91jydio.fsf@reader.local.lan \
    --to=reader@newsguy.com \
    --cc=help-gnu-emacs@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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.