help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: What I'm missing when using M-x shell


From: Barry Margolin
Subject: Re: What I'm missing when using M-x shell
Date: Sun, 14 Sep 2008 14:55:17 -0400
User-agent: MT-NewsWatcher/3.5.3b3 (Intel Mac OS X)

In article <address@hidden>,
 Thierry Volpiatto <address@hidden> wrote:

> "Francis Moreau" <address@hidden> writes:
> 
> > On Sun, Sep 14, 2008 at 12:43 AM, Chris F.A. Johnson
> > <address@hidden> wrote:
> >> On 2008-09-12, Francis Moreau wrote:
> >> ...
> >>>   4/ There's no readline "yank-last-arg" function which inserts the last
> >>>       argument to the previous commands
> >>
> >>   C-up
> >>
> >
> > really ?
> >
> > could you tell me on which function this is binded ?
> 
> <C-up> runs the command comint-previous-input

But that yanks the whole command line, not just the last argument.

I still the shell's history features for !$ and !*.  The nice thing is 
that Emacs recognizes them and substitutes them into its history list, 
so that if I use commands like C-up it will yank them with the 
appropriate values.

-- 
Barry Margolin, address@hidden
Arlington, MA
*** PLEASE post questions in newsgroups, not directly to me ***
*** PLEASE don't copy me on replies, I'll read them in the group ***


reply via email to

[Prev in Thread] Current Thread [Next in Thread]