all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Strozzi, David J." <strozzi2@llnl.gov>
To: Valentin Plechinger <v.plechinger@gmail.com>
Cc: "help-gnu-emacs@gnu.org" <help-gnu-emacs@gnu.org>
Subject: Re: spacing of ls output in emacs shell
Date: Tue, 8 Mar 2011 10:25:56 -0800	[thread overview]
Message-ID: <C99BB43E.368B%strozzi2@llnl.gov> (raw)
In-Reply-To: <8762rt33ot.wl%v.plechinger@gmail.com>

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
>
>
>
>




  reply	other threads:[~2011-03-08 18:25 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-03-08 16:43 spacing of ls output in emacs shell Strozzi, David J.
2011-03-08 17:46 ` Valentin Plechinger
2011-03-08 18:25   ` Strozzi, David J. [this message]
2011-03-08 20:45     ` PJ Weisberg
2011-03-08 20:54       ` Valentin Plechinger
2011-03-08 21:06       ` Strozzi, David J.
2011-03-10  8:19     ` Jonathan Groll
     [not found] <mailman.7.1299602618.24943.help-gnu-emacs@gnu.org>
2011-03-08 17:49 ` Uday Reddy

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=C99BB43E.368B%strozzi2@llnl.gov \
    --to=strozzi2@llnl.gov \
    --cc=help-gnu-emacs@gnu.org \
    --cc=v.plechinger@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.