From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: david@adboyd.com (J. David Boyd) Newsgroups: gmane.emacs.help Subject: Re: bash/readline emacs mode help Date: Thu, 27 Jun 2013 09:24:58 -0400 Message-ID: References: <87hagjgatk.fsf@mithlond.arda> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1372339886 16662 80.91.229.3 (27 Jun 2013 13:31:26 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 27 Jun 2013 13:31:26 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Jun 27 15:31:28 2013 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 1UsCIJ-0000EK-UA for geh-help-gnu-emacs@m.gmane.org; Thu, 27 Jun 2013 15:31:28 +0200 Original-Received: from localhost ([::1]:59037 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UsCIJ-0007X4-C9 for geh-help-gnu-emacs@m.gmane.org; Thu, 27 Jun 2013 09:31:27 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:60731) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UsCH4-0005kr-EC for help-gnu-emacs@gnu.org; Thu, 27 Jun 2013 09:30:16 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UsCH1-0002Mt-LK for help-gnu-emacs@gnu.org; Thu, 27 Jun 2013 09:30:10 -0400 Original-Received: from plane.gmane.org ([80.91.229.3]:36809) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UsCH1-0002M9-EL for help-gnu-emacs@gnu.org; Thu, 27 Jun 2013 09:30:07 -0400 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1UsCGy-0007NM-1d for help-gnu-emacs@gnu.org; Thu, 27 Jun 2013 15:30:04 +0200 Original-Received: from 169.15.137.27 ([169.15.137.27]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 27 Jun 2013 15:30:04 +0200 Original-Received: from david by 169.15.137.27 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 27 Jun 2013 15:30:04 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 26 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 169.15.137.27 User-Agent: Gnus/5.1299999999999999 (Gnus v5.13) Emacs/24.3 (cygwin) Cancel-Lock: sha1:jMiDJvV8ux4zbNM7lyNm0AZTUGo= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 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:91771 Archived-At: david@adboyd.com (J. David Boyd) writes: > Teemu Likonen writes: > >> C. K. Kashyap [2013-06-27 14:44:21 +05:30] wrote: >> >>> One of the things I get with this mode is the ability to open up vi to >>> edit a command line (using Escape v) [...] >>> >>> I was wondering if there is an equivalent in emacs mode? >> >> In Emacs editing mode the key "C-x C-e" (edit-and-execute-command) opens >> the text editor defined in $VISUAL or $EDITOR variables (or "emacs"). > > Doesn't seem all that useful though. I have my $EDITOR set to be > "emacsclient -n", which doesn't work at all in this circumstance. > > If I get rid of the '-n' it works fine, but I'm not doing that.... Hmm, should have clarified. Yes, emacsclient works perfectly, opening up the command line in a new emacs buffer. But the '-n' breaks the connection to the command line, so even though I can edit it to my heart's content, there is no way to have it fed back to the waiting command line. Dave