From: kgold@watson.ibm.com (kgold)
Subject: Re: help with setq for specific file types....
Date: 30 Sep 2002 14:40:11 GMT [thread overview]
Message-ID: <an9nob$l7o$1@news.btv.ibm.com> (raw)
In-Reply-To: mailman.1033331785.4656.help-gnu-emacs@gnu.org
This is usually done in a hook. Example:
(add-hook 'c-mode-common-hook
(function (lambda ()
(setq c-basic-offset 4)
)))
twylie <twylie@charter.net> writes:
>
> 1. I want to be able to do a setq for specific file types. For example,
> any file that ends with .html I would like to use (setq-default
> line-spacing 12). I see how to add file suffixes to alist -- but not how
> to set setq values. Can someone help me here?
--
--
Ken Goldman kgold@watson.ibm.com 914-784-7646
next prev parent reply other threads:[~2002-09-30 14:40 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <mailman.1033331785.4656.help-gnu-emacs@gnu.org>
2002-09-30 14:22 ` help with setq for specific file types Oliver Scholz
2002-09-30 14:40 ` kgold [this message]
2002-09-29 20:33 twylie
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='an9nob$l7o$1@news.btv.ibm.com' \
--to=kgold@watson.ibm.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.