[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: What I'm missing when using M-x shell
From: |
Francis Moreau |
Subject: |
Re: What I'm missing when using M-x shell |
Date: |
Sun, 14 Sep 2008 22:41:01 +0200 |
On Sun, Sep 14, 2008 at 10:28 PM, Francis Moreau <francis.moro@gmail.com> wrote:
> On Sun, Sep 14, 2008 at 8:55 PM, Barry Margolin <barmar@alum.mit.edu> wrote:
>> In article <mailman.19222.1221417839.18990.help-gnu-emacs@gnu.org>,
>> Thierry Volpiatto <thierry.volpiatto@gmail.com> wrote:
>>>
>>> <C-up> runs the command comint-previous-input
>>
>> But that yanks the whole command line, not just the last argument.
>>
>
> Actually thinking about it, it should be quite easy to achieve this:
> just create a key binding to evaluate "!$<TAB>" sequence.
>
well to be more accurate we should create 'something' that evaluate to
!-1:$
when call for the first time.
If a second call is done without any <RETURN> key press then evaluate to
!-2:$
etc...
Though I dunno how to write that in elisp..
--
Francis
- Re: What I'm missing when using M-x shell, (continued)
Re: What I'm missing when using M-x shell, Chris F.A. Johnson, 2008/09/13
Message not available
Message not availableRe: What I'm missing when using M-x shell, Chris F.A. Johnson, 2008/09/14
Re: What I'm missing when using M-x shell, Francis Moreau, 2008/09/15
Re: What I'm missing when using M-x shell, Francis Moreau, 2008/09/15
Re: What I'm missing when using M-x shell, Thierry Volpiatto, 2008/09/15
Re: What I'm missing when using M-x shell, Francis Moreau, 2008/09/15
Re: What I'm missing when using M-x shell, Thierry Volpiatto, 2008/09/15