[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: |
Mon, 15 Sep 2008 12:35:58 +0200 |
On Mon, Sep 15, 2008 at 8:32 AM, Francis Moreau <francis.moro@gmail.com> wrote:
> On Sun, Sep 14, 2008 at 10:27 PM, Chris F.A. Johnson
> <cfajohnson@gmail.com> wrote:
>> On 2008-09-14, Francis Moreau wrote:
>>> no this paste the whole command line, I'm asking for the last _argument_
>>
>> (defun last-arg () "" (interactive)
>> (comint-previous-input 1)
>> (search-backward " ")
>> (kill-line)
>> (comint-next-input 2)
>> (yank)
>> )
>>
>
> Even though I don't speak (yet) elisp, it does seem that if I call
> last-arg() several times then this yanks always the same arg...
>
> Try in an xterm to use M-. to see what I'm talkng about.
>
Actually I'm wondering why not doing in M-x shell a char mode present
in M-x term shell. I found it very convenient.
--
Francis
- Re: What I'm missing when using M-x shell, (continued)
- Message not available
- Re: 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, Drew Adams, 2008/09/14
- Re: What I'm missing when using M-x shell, Francis Moreau, 2008/09/14
- Re: What I'm missing when using M-x shell, Bernardo Bacic, 2008/09/15
- Message not available
- Re: 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 <=
- 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
- Re: What I'm missing when using M-x shell, Francis Moreau, 2008/09/15