From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Francis Moreau" Newsgroups: gmane.emacs.help Subject: Re: What I'm missing when using M-x shell Date: Mon, 15 Sep 2008 10:49:23 +0200 Message-ID: <38b2ab8a0809150149o730bd777hab280c847290d9d5@mail.gmail.com> References: <64cc3cde-69bb-4afc-b874-2ee37c302976@i20g2000prf.googlegroups.com> <874p4jeadf.fsf@lion.rapttech.com.au> <7c5a3948-4a4b-4aa8-89d2-b47333ffd37c@s20g2000prd.googlegroups.com> 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 1221468732 5843 80.91.229.12 (15 Sep 2008 08:52:12 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 15 Sep 2008 08:52:12 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: "Livin Stephen" Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Sep 15 10:53:05 2008 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 1Kf9pO-0007l8-Vz for geh-help-gnu-emacs@m.gmane.org; Mon, 15 Sep 2008 10:53:03 +0200 Original-Received: from localhost ([127.0.0.1]:40443 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Kf9oN-0005kq-OK for geh-help-gnu-emacs@m.gmane.org; Mon, 15 Sep 2008 04:51:59 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Kf9lw-0003hv-41 for help-gnu-emacs@gnu.org; Mon, 15 Sep 2008 04:49:28 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Kf9lt-0003fg-Bm for help-gnu-emacs@gnu.org; Mon, 15 Sep 2008 04:49:26 -0400 Original-Received: from [199.232.76.173] (port=35400 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Kf9ls-0003eu-UC for help-gnu-emacs@gnu.org; Mon, 15 Sep 2008 04:49:25 -0400 Original-Received: from ug-out-1314.google.com ([66.249.92.175]:43572) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Kf9ls-0000Gr-F4 for help-gnu-emacs@gnu.org; Mon, 15 Sep 2008 04:49:24 -0400 Original-Received: by ug-out-1314.google.com with SMTP id z36so960807uge.17 for ; Mon, 15 Sep 2008 01:49:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=1i2R927xk/Pj8pqTrR/1qN5td1fT6ak7lyEmmETT60o=; b=cLbrSmqK4Z5ijgmZNWlrEtqyT+It8DMYWAWoHDQt2WIKjwWB8Ekh71aZb5mskXnmdw MTjYsgkhlbihn/YciK82CToI0R0b5tkLD0vkvGm/+mTVy06Y+iNFbBaw4J6phLUqJ8kt +dSignAZtzQYwvaZ/TmZot1apKZaiW47zqCb0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=aMaD+NDEecXpbMxL2ftVO7LuNnZhNU3rXxDrOUYgEoPiFEoAeUoeAMAtJ5n3x1lpdT bbu7bdP/5EFZimUEequVnSrHAZxNNjqG+wC2yz/i8X5yzc1+f1uB01wy6l4DSrA2pPCc EB2XxnFxBi88gtBjkpLNHX2MuBgqlAQLcSDCU= Original-Received: by 10.67.93.16 with SMTP id v16mr2931630ugl.1.1221468563486; Mon, 15 Sep 2008 01:49:23 -0700 (PDT) Original-Received: by 10.67.22.17 with HTTP; Mon, 15 Sep 2008 01:49:23 -0700 (PDT) In-Reply-To: <7c5a3948-4a4b-4aa8-89d2-b47333ffd37c@s20g2000prd.googlegroups.com> Content-Disposition: inline X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) 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:57608 Archived-At: Hello, On Mon, Sep 15, 2008 at 9:56 AM, Livin Stephen wrote: > ... I know some keyboard shortcuts (like M-t, C-k, C-r) that work in, > say bash, but I always thought of them as emacs-ish shortcuts > conveniently available there. Then seeing the man-page for 'bash' i > came across 'Readline' which seems to actually provide these shortcuts > and functions. > > So my question is: > How do you invoke commands like (yank-last-arg) in any shell [ not > just emacs' term ] if they don't have a keybinding ? > For example, > invoke 'kill-word' without using the shortcut key 'M-d'. Is this > possible ? I don't think you can but I'm really not sure. The only thing I know for sure is that you can use ~/.inputrc to map some binding with realdine functions. But this is well described in bash man page. -- Francis