[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: bugfix eshell/rm
From: |
Thierry Volpiatto |
Subject: |
Re: bugfix eshell/rm |
Date: |
Fri, 11 Mar 2011 19:03:00 +0100 |
User-agent: |
Gnus/5.110014 (No Gnus v0.14) Emacs/23.3 (gnu/linux) |
Eli Zaretskii <address@hidden> writes:
>> From: Thierry Volpiatto <address@hidden>
>> Cc: address@hidden
>> Date: Fri, 11 Mar 2011 13:50:16 +0100
>>
>> >> eshell-command
>> >> eshell-send-input
>> >> eshell-read-aliases-list
>> >>
>> >> var:
>> >> eshell-command-aliases-list
>> >
>> > And you need these because...?
>> anything-find-files have an action that allow to run eshell commands on
>> files with completion on all aliases ending with $1.
>> This allow to create and use personal commands for files.
>> When i start emacs and anything, this aliases list is available only
>> after M-x eshell or eshell-command.
>> In this case i must run a y-or-n-p to ask if user want to first load
>> eshell manually and restart C-x C-f, or to run a command without
>> completion (i.e need to write it).
>
> Looks like
>
> (require 'esh-mode)
> (require 'em-alias)
>
> should do the trick for you.
Thanks, of course it's the first thing i tried...
but that doesn't work, even worst, all eshell functionalities are not
loaded (even if you run once M-x eshell) when you do some requires on
any eshell files at startup.
For example if you put in .emacs:
(require 'esh-mode)
(require 'em-alias)
then start emacs.
M-x eshell
alias RET
give nothing.(assume you have aliases in your .eshell/alias)
even if you require eshell directly and take care of setting
`eshell-directory-name'.
--
A+ Thierry
Get my Gnupg key:
gpg --keyserver pgp.mit.edu --recv-keys 59F29997
- bugfix eshell/rm, Thierry Volpiatto, 2011/03/11
- Re: bugfix eshell/rm, Glenn Morris, 2011/03/11
- Re: bugfix eshell/rm, Thierry Volpiatto, 2011/03/11
- Re: bugfix eshell/rm, Eli Zaretskii, 2011/03/11
- Re: bugfix eshell/rm, Thierry Volpiatto, 2011/03/11
- Re: bugfix eshell/rm, Eli Zaretskii, 2011/03/11
- Re: bugfix eshell/rm, Thierry Volpiatto, 2011/03/11
- Re: bugfix eshell/rm, Eli Zaretskii, 2011/03/11
- Re: bugfix eshell/rm,
Thierry Volpiatto <=
- Re: bugfix eshell/rm, Glenn Morris, 2011/03/12
- bug and dev mailing lists [was: bugfix eshell/rm], Drew Adams, 2011/03/12
- Re: bug and dev mailing lists [was: bugfix eshell/rm], Eli Zaretskii, 2011/03/12
- RE: bug and dev mailing lists [was: bugfix eshell/rm], Drew Adams, 2011/03/12
Re: bugfix eshell/rm, Thierry Volpiatto, 2011/03/12