From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Emanuel Berg Newsgroups: gmane.emacs.help Subject: Re: transparent access to zsh shell functions and aliases; and, the Emacs/tty/X clipboard issue Date: Fri, 05 Sep 2014 22:37:37 +0200 Organization: Aioe.org NNTP Server Message-ID: <87k35h4xda.fsf@debian.uxu> References: <540883CA.6020206@hds.com> <878ulznqcy.fsf@debian.uxu> <54096580.5020300@hds.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1409949633 28114 80.91.229.3 (5 Sep 2014 20:40:33 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 5 Sep 2014 20:40:33 +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 05 22:40:24 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 1XQ0Iy-00032z-1j for geh-help-gnu-emacs@m.gmane.org; Fri, 05 Sep 2014 22:40:24 +0200 Original-Received: from localhost ([::1]:60138 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XQ0Ix-0006Rk-Ik for geh-help-gnu-emacs@m.gmane.org; Fri, 05 Sep 2014 16:40:23 -0400 Original-Path: usenet.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!newsgate.cistron.nl!newsgate.news.xs4all.nl!194.109.133.86.MISMATCH!newsfeed.xs4all.nl!newsfeed3a.news.xs4all.nl!xs4all!news.stack.nl!aioe.org!.POSTED!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 54 Original-NNTP-Posting-Host: P0uMB9BthHuWo8+BJXB4Mw.user.speranza.aioe.org Original-X-Complaints-To: abuse@aioe.org User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) X-Notice: Filtered by postfilter v. 0.8.2 Cancel-Lock: sha1:tXCZAJCDBHR9ki0tGYxXS8k9fKU= Original-Xref: usenet.stanford.edu gnu.emacs.help:207389 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:99664 Archived-At: Graeme Vetterlein writes: > Thanks for the *.el I forgot, it also relies on the xo and xi in this file for zsh: http://user.it.uu.se/~embe8573/conf/.zsh/x And the "scroll/copy mode" part of this file, for tmux: http://user.it.uu.se/~embe8573/conf/.tmux.conf > BTW... I assume you bind these to some keys? ... Which > ones did you use? In general you assume correctly as I always want everything shortcutted. Tho I don't think M-x is bad (at all), and certainly one thousand times better than the mouse, I think shortcuts are superior and especially for editing commands. However, in this case - I did all that that several years ago, when I had just discovered Emacs. At that time I didn't know of Rmail or Gnus, and not of Emacs-W3M (or any other browser for Emacs). I did know of Usenet, but I thought it was dead. So I still relied on X do to mail, browsing, and technology discussion... But even then I wanted to do everything in Emacs (to have a uniform, programmable interface). So I tried various ways to bridge the gap between Emacs and the X/GUI applications. This is part of that project. In time, I discovered all the other in-Emacs solutions and gradually moved over to them, so those clever schemes lost their allure. But I still use them, but now seldom and almost always from another tty (with tmux/zsh) into Emacs. So long story short (?) today I use them so seldom the meta-exes of xsel.el, namely (defalias 'pst 'insert-X-clipboard) (defalias 'xo 'insert-X-clipboard) (defalias 'xi 'set-X-clipboard) (defalias 'cpy' 'set-X-clipboard) are fast enough :) -- underground experts united