LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-27-2012, 02:48 PM   #1
hydraMax
Member
 
Registered: Jul 2010
Location: Skynet
Distribution: Debian + Emacs
Posts: 467
Blog Entries: 60

Rep: Reputation: 51
Emacs: dump buffer to external clipboard?


Is there an Emacs command or bit of Emacs lisp code that will dump the contents of the current buffer (or perhaps marked region) into the external (Linux) clipboard? (That is, not the Emacs internal clipboard.) This would be rather convenient. Highlighting the text in the terminal doesn't work because a bunch of extra spaces get included, so usually I have to switch to a different terminal, cat the file, and then copy the part I want, which is a bit of a bother.
 
Old 08-27-2012, 09:05 PM   #2
smallpond
Senior Member
 
Registered: Feb 2011
Location: Massachusetts, USA
Distribution: Fedora
Posts: 4,146

Rep: Reputation: 1264Reputation: 1264Reputation: 1264Reputation: 1264Reputation: 1264Reputation: 1264Reputation: 1264Reputation: 1264Reputation: 1264
Yes. But anything you copy has to be shared with everyone (j/k).

Like everything else with emacs, it is more complicated then one would at first believe possible. Here is a page devoted to it:

http://emacswiki.org/emacs/CopyAndPaste
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
emacs + auctex - opening output PDF inside emacs buffer coenvh Linux - Newbie 1 04-29-2010 05:52 AM
Emacs Clipboard Question bleedingturnips Linux - Software 1 08-31-2005 01:10 AM
Lisp/Emacs: How to do a macro on a buffer-name with another extension LuisG Linux - Software 3 10-25-2004 09:26 PM
emacs buffer ! black Linux - Software 3 07-21-2004 09:57 PM
clipboard/buffer memory synaptical Linux - General 0 04-20-2004 05:47 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:45 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration