From: Tim X <timx@nospam.dev.null>
To: help-gnu-emacs@gnu.org
Subject: Re: Overriding behavior in major modes (sql-mode, here)
Date: Tue, 11 Sep 2007 18:25:53 +1000 [thread overview]
Message-ID: <874pi1fw1a.fsf@lion.rapttech.com.au> (raw)
In-Reply-To: afSdnZpuKdGeqHvbnZ2dnUVZ_rbinZ2d@comcast.com
Michael Trausch <"mike|s/\x40/\./g;s/|.*|/\x40/g;|trausch"@us> writes:
> There is a slight annoyance in sql-mode in Emacs 22 that I would like to
> work around. Namely, I would like to use the <tab> key to indent by two
> spaces. So far, simply setting indent-tabs-mode to nil and tab-width to
> 2 does the job for me, but in sql mode, those settings seem to be ignored.
>
> How do I go about forcing the <tab> key to behave the way that I would
> like it to behave---consistently with all my other editing tasks?
>
A very quick look makes me think that sql-mode is using the tab-to-tab-stop
function to do its indentation. I would try setting tab-stop-list and see
if that helps. M-x edit-tab-stops will let you edit the list
interactively.
HTH
Tim
--
tcross (at) rapttech dot com dot au
next prev parent reply other threads:[~2007-09-11 8:25 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-09-11 6:26 Overriding behavior in major modes (sql-mode, here) Unknown
2007-09-11 8:25 ` Tim X [this message]
2007-09-11 15:08 ` Unknown
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=874pi1fw1a.fsf@lion.rapttech.com.au \
--to=timx@nospam.dev.null \
--cc=help-gnu-emacs@gnu.org \
/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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).