all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Kevin Rodgers <kevinr@ihs.com>
Subject: Re: Setting shell type in sh-mode
Date: Thu, 17 Oct 2002 15:41:34 -0600	[thread overview]
Message-ID: <3DAF2E8E.9000101@ihs.com> (raw)
In-Reply-To: j27kghxad2.fsf@ast.cam.ac.uk

Glenn Morris wrote:

> Kevin Rodgers wrote:
> 
> 
>>I thought the syntax had to be
>>
>># -*- mode: sh-mode; sh-shell-file: "/usr/bin/tcsh"; -*-
>>
> 
> Yes, I used to think that too, but then I read this in the info node "Local
> Variables in Files":
> 
>     _If `mode' is used to set a major mode, it should be the first
>     "variable" in the list._
> 
> This implies to me (though not very clearly), that the "mode" statement is
> optional, but if present it must go at the front.
> 
> Anyway, I can confirm that sh-shell-file is set to the "tcsh" value whether
> or not I put the "mode" keyword in; but it happens after the mode setup and
> so has no effect.


What happens if you set sh-shell to the `tcsh' symbol there, instead of (or in
addition to) setting sh-shell-file to the "/usr/bin/tcsh" string?

-- 
<a href="mailto:&lt;kevinr&#64;ihs.com&gt;">Kevin Rodgers</a>

  reply	other threads:[~2002-10-17 21:41 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-10-17 15:12 Setting shell type in sh-mode Glenn Morris
2002-10-17 17:00 ` Kevin Rodgers
2002-10-17 17:07   ` Glenn Morris
2002-10-17 21:41     ` Kevin Rodgers [this message]
2002-10-17 22:38       ` Glenn Morris

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=3DAF2E8E.9000101@ihs.com \
    --to=kevinr@ihs.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.