[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: spacing of ls output in emacs shell
From: |
Strozzi, David J. |
Subject: |
Re: spacing of ls output in emacs shell |
Date: |
Tue, 8 Mar 2011 10:25:56 -0800 |
User-agent: |
Microsoft-MacOutlook/14.2.0.101115 |
Hi,
Thanks for the suggestion. I warn you that I am an emacs "user" and not
"master." I put these exact lines in my .emacs, restarted, did M-x shell,
ls, same thing - tabs appear in the ls output, and emacs interprets them
as giving about 4 spaces.
Is there something else I need to do to enable this?
I don't understand lisp, so I am not smart enough to think of what I need
to do to adapt this to my environment.
Thanks,
Dave
On 3/8/11 9:46 AM, "Valentin Plechinger" <v.plechinger@gmail.com> wrote:
>At Tue, 8 Mar 2011 08:43:26 -0800,
>Strozzi, David J. wrote:
>
>> Any advice? Can I tell emacs "tab = 8 spaces for shells?" Or tell it
>>not
>> to use tabs but spaces in shells?
>> Thanks for your help,
>> David Strozzi
>>
>
>
>Have you tried putting something like this in your .emacs?
>
>(setq shell-mode-hook
> (function (lambda ()
> (setq indent-tabs-mode nil))))
>
>Best regards,
>Valentin Plechinger
>
>
>
>