From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Tak Kunihiro Newsgroups: gmane.emacs.help Subject: Re: C-v on cua-mode Date: Mon, 31 Mar 2014 21:42:16 +0900 (JST) Message-ID: <20140331.214216.287867753.tkk@misasa.okayama-u.ac.jp> References: <20140330.221241.46120840.tkk@misasa.okayama-u.ac.jp> <87lhvrydtz.fsf@talktalk.net> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1396269789 29116 80.91.229.3 (31 Mar 2014 12:43:09 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 31 Mar 2014 12:43:09 +0000 (UTC) Cc: help-gnu-emacs@gnu.org, tkk@misasa.okayama-u.ac.jp To: boudiccas@talktalk.net Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Mar 31 14:43:00 2014 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1WUbYK-0007PT-2B for geh-help-gnu-emacs@m.gmane.org; Mon, 31 Mar 2014 14:43:00 +0200 Original-Received: from localhost ([::1]:48513 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WUbYJ-0002jk-FP for geh-help-gnu-emacs@m.gmane.org; Mon, 31 Mar 2014 08:42:59 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:50395) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WUbXv-0002bW-Ir for help-gnu-emacs@gnu.org; Mon, 31 Mar 2014 08:42:40 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WUbXl-0003cP-NG for help-gnu-emacs@gnu.org; Mon, 31 Mar 2014 08:42:35 -0400 Original-Received: from msmail2.misasa.okayama-u.ac.jp ([150.46.245.7]:53122 helo=msmail.misasa.okayama-u.ac.jp) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WUbXl-0003XC-4l for help-gnu-emacs@gnu.org; Mon, 31 Mar 2014 08:42:25 -0400 Original-Received: from localhost (p8163-ipbfp402tottori.tottori.ocn.ne.jp [118.13.46.163]) by msmail.misasa.okayama-u.ac.jp (Postfix) with ESMTP id 02AC9AF80AF; Mon, 31 Mar 2014 21:42:21 +0900 (JST) In-Reply-To: <87lhvrydtz.fsf@talktalk.net> X-Mailer: Mew version 6.5 on Emacs 24.3 / Mule 6.0 (HANACHIRUSATO) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 150.46.245.7 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:96880 Archived-At: Thank you to introduce `simpleclip.el', which is alternative to cua-mode. Most of machines in our laboratory run on Windows and it is just unfortunate that win-c, win-x, and win-v are all captured by operating system. However, there still is an app-key! I configured our Emacs in the following manner. (cua-selection-mode t) (setq nt-p (eq system-type 'windows-nt)) (setq w32-lwindow-modifier 'super) (setq w32-apps-modifier 'super) (when (and nt-p (require 'simpleclip nil t)) (simpleclip-mode 1)) ;; super-c simpleclip-copy ;; super-x simpleclip-cut ;; super-v simpleclip-paste ;; ;; control- simpleclip-copy ;; shift- simpleclip-cut ;; shift- simpleclip-paste The win-key may be overwritten by the app-key using `remapkey.exe'. Thank you again. Tak From: Sharon Kimble Subject: Re: C-v on cua-mode Date: Sun, 30 Mar 2014 15:13:12 +0100 > Tak Kunihiro writes: > >> Dear all, >> >> I am eager to force people in our laboratory to utilize power of Emacs >> to write a LaTeX document. But I cannot turn them around from TeXShop >> or TeXworks. >> >> I believe cua-mode helps. Then my personal issue arises. I am happy >> with C-z, C-x, and C-c; however, I cannot get along without C-v. >> >> Is there a nice, possible, and practical solution? >> >> Best regards, >> Tak Kunihiro > > Have you tried 'Simpleclip'? "simpleclip.el --- Simplified access to the > system clipboard" > > ";; By default, Emacs orchestrates a subtle interaction between the > ;; internal kill ring and the external system clipboard. > ;; > ;; `simpleclip-mode' radically simplifies clipboard handling: the > ;; system clipboard and the Emacs kill ring are made completely > ;; independent, and never influence each other. > ;; > ;; `simpleclip-mode' also enables support for accessing the system > ;; clipboard from a TTY where possible. You will likely need to > ;; set up custom keybindings if you want to take advantage of that. > ;; > ;; To use simpleclip, place the simpleclip.el library somewhere > ;; Emacs can find it, and add the following to your ~/.emacs file: > ;; > ;; (require 'simpleclip) > ;; (simpleclip-mode 1)" > > I use it all the time and its very good and nice to use. Have a look-see. > > Sharon.