* Need help with sharing clipboard between emacs and other applications
@ 2010-03-25 5:19 Jieyan Fan
2010-03-31 1:27 ` Alok G. Singh
0 siblings, 1 reply; 2+ messages in thread
From: Jieyan Fan @ 2010-03-25 5:19 UTC (permalink / raw)
To: help-gnu-emacs
[-- 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 --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-03-31 1:27 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-03-25 5:19 Need help with sharing clipboard between emacs and other applications Jieyan Fan
2010-03-31 1:27 ` Alok G. Singh
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).