From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Simeon Nifos" Newsgroups: gmane.emacs.help Subject: Re:Copy Paste in no-x11 mode (emacs -nw) Date: Thu, 25 Sep 2008 22:12:07 +0300 Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1222401748 16509 80.91.229.12 (26 Sep 2008 04:02:28 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 26 Sep 2008 04:02:28 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Sep 26 06:03:26 2008 connect(): Connection refused Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1Kj4YA-0005Mv-5j for geh-help-gnu-emacs@m.gmane.org; Fri, 26 Sep 2008 06:03:26 +0200 Original-Received: from localhost ([127.0.0.1]:33786 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Kj4X7-0000Qp-VN for geh-help-gnu-emacs@m.gmane.org; Fri, 26 Sep 2008 00:02:22 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KiwG2-0007zn-Kl for help-gnu-emacs@gnu.org; Thu, 25 Sep 2008 15:12:10 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KiwG1-0007zV-2j for help-gnu-emacs@gnu.org; Thu, 25 Sep 2008 15:12:09 -0400 Original-Received: from [199.232.76.173] (port=53914 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KiwG0-0007zS-TX for help-gnu-emacs@gnu.org; Thu, 25 Sep 2008 15:12:09 -0400 Original-Received: from yx-out-1718.google.com ([74.125.44.155]:37810) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KiwG0-0001gB-JG for help-gnu-emacs@gnu.org; Thu, 25 Sep 2008 15:12:08 -0400 Original-Received: by yx-out-1718.google.com with SMTP id 34so107055yxf.66 for ; Thu, 25 Sep 2008 12:12:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:mime-version:content-type:content-transfer-encoding :content-disposition; bh=xkhuja9OcXRzmYAckS+AoKRtwPL6yovXCZIPTn6Cf3k=; b=hGYagXaZ9LG7shYQ+6VnmhB7K/DLg1ftDavaofIqbpG5P4BDQjrTMajvpqPlK0hTE9 9pribPKhkpuUcfaWHtMWuucOejxbYGbDEaJeqDkBuUZ33Ss/w5YUpyoBu00KpORGM84N sUrZMmEStbIIZ/XRXZJZR8snde5JJyCdwHz34= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type :content-transfer-encoding:content-disposition; b=r2xv7uM35TgV6tc7T/fxEUQPg35xGc/4rMlX3jO9nV++ocLtjfSFW0M0vq/4le8lbA X8Eiycl71EY3ouaFDrGRL59nUanKHqRoxyUL4yd13YE5O3I1iYBzknSuIe3uYo/Zbj39 rSp4uiAopdECQjBAJyvcQRWGkXDYcJReSPaFo= Original-Received: by 10.150.58.5 with SMTP id g5mr405096yba.134.1222369927998; Thu, 25 Sep 2008 12:12:07 -0700 (PDT) Original-Received: by 10.151.83.13 with HTTP; Thu, 25 Sep 2008 12:12:07 -0700 (PDT) Content-Disposition: inline X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) X-Mailman-Approved-At: Fri, 26 Sep 2008 00:02:03 -0400 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:58094 Archived-At: > Message: 9 > Date: Thu, 25 Sep 2008 13:43:51 -0400 > From: Dan Espen > Subject: Re: Copy Paste in no-x11 mode (emacs -nw) > To: help-gnu-emacs@gnu.org > Message-ID: > Content-Type: text/plain; charset=us-ascii > > "Simeon Nifos" writes: > >> Dear list, >> I like using emacs in nox11 mode. The Eterm terminal provides a great >> font by default I really enjoy. It is smaller and I can work on more >> source code than I do with the misc-fixed font of Xterm. So I usually >> run emacs with -nw. Unfortunately there is no way to copy paste >> something from one emacs window to a terminal or from a terminal to >> the emacs window I am editing. This is a real headache, since one of >> the most foundamental stuff an editor is supposed to do, is to support >> copy and paste of text from whatsoever source to the window where >> editing takes place. > > No. Really? Why not? Why so fundamental things which is common sense are so easilly thrown into trash from Unixers? I love Unix myself. But ... it could have been made much better and much popular if it allowed what a person expects to have out of the box ... And I am not talking about fancy (or should I call them stupid) KDE stuff. > Copy/Paste is a function of the terminal, not Emacs, when you run > Emacs in a terminal. Hmmm, it seems however that VIM does it. I am working on the same Eterm, terminal with VIM and the same thing works like a charm. Why shouldn't it work with the famous EMACS as well? There are more things in EMACS than there are in VIM, like debug, like autoformating of text and C++ comments, and LaTeX documents which are enabled by default in EMACS and not in VIM. If only the copy paste worked. I would not need to abandon EMACS at all. Now I do. >> Is there anyway I could activate this "underestimated" feature in the >> mode I am using emacs? I apologize if this email sounds aggressive but >> there are some things an editor is supposed to do by default and I >> cannot understand why they are turned off in emacs. > > I don't know why you are having problems doing copy/paste in a terminal. > You need to supply more information. What OS are you using, what did you > do, what happened. What did you expect to happen. Can you? I am using Linux. But the same holds for FreeBSD, Solaris. Look what I get when I try to paste something on the terminal where EMACS runs; I mean paste something outside emacs from another emacs window or vim window or the browser. This is what is reported down in the command-buffer: "Kill ring is empty" I do have enabled the following in my .emacs: ==================== (xterm-mouse-mode t) (mouse-wheel-mode t) (setq x-select-enable-clipboard t) ===================== Anything else to try? Can you copy paste in terminal? And it makes no difference if I use XTerm or Eterm. In both the Kill ring is empty.