all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Jieyan Fan <fanjieyan@gmail.com>
To: <help-gnu-emacs@gnu.org>
Subject: Need help with sharing clipboard between emacs and other applications
Date: Wed, 24 Mar 2010 22:19:22 -0700	[thread overview]
Message-ID: <C7D0406A.11F0E%fanjieyan@gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 1902 bytes --]

Hi,

I use a mac to ssh to a RHEL 5.4 x86_64 system, from where I start emacs,
and have the x-window forwarded to my mac screen. My emacs version is
23.1.1.

I was trying to copy/paste between the emacs and other mac native
applications. But it didn¹t work. I tried all the approaches I found online.

Can someone help me? Really appreciate.

Following is my .emacs file. I do set the x-select-enable-clipboard,
interprogram-paste-function, and interprogram-cut-function.

(custom-set-variables
 '(auto-fill-mode 1)
 '(c-default-style (quote ((c-mode . "gnu") (c++-mode . "gnu") (java-mode .
"java") (other . "gnu"))))
 '(c-doc-comment-style (quote ((c-mode . javadoc) (c++-mode . javadoc)
(java-mode . javadoc) (pike-mode . autodoc))))
 '(case-fold-search t)
 '(column-number-mode t)
 '(compile-command "gmake")
 '(current-language-environment "English")
 '(delete-selection-mode t)
 '(font-lock-auto-fontify t)
 '(font-lock-mode-maximum-decoration t)
 '(frame-title-format "%b" t)
 '(indent-tabs-mode nil)
 '(line-number-mode t)
 '(load-path (cons "~/.emacs.d/" load-path) t)
 '(normal-erase-is-backspace t)
 '(require-final-newline t)
 '(show-paren-mode t nil (paren))
 '(visible-bell t)
 '(x-select-enable-clipboard t)
 '(x-select-enable-primary nil)
 '(interprogram-paste-function 'x-cut-buffer-or-selection-value)
 '(interprogram-cut-function 'x-select-text)
)


;;; these will probably be already set to these values, leave them that way
if so!

(global-set-key [button4] 'scroll-down)
(global-set-key [button5] 'scroll-up)

(global-set-key "\eg" 'goto-line)

(cua-mode t)
(setq cua-auto-tabify-rectangles nil) ;; Don't tabify after rectangle
commands
(transient-mark-mode 1) ;; No region when it is not highlighted
(setq cua-keep-region-after-copy t) ;; Standard Windows behaviour

;;; display the current time
(display-time)

Jieyan

[-- Attachment #2: Type: text/html, Size: 2535 bytes --]

             reply	other threads:[~2010-03-25  5:19 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-03-25  5:19 Jieyan Fan [this message]
2010-03-31  1:27 ` Need help with sharing clipboard between emacs and other applications Alok G. Singh

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=C7D0406A.11F0E%fanjieyan@gmail.com \
    --to=fanjieyan@gmail.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.