From: "Travis Spencer" <travislspencer@hotmail.com>
Subject: Rebinding a key in a local variable
Date: Sat, 14 Feb 2004 12:25:13 -0800 [thread overview]
Message-ID: <c0m0af012mg@enews2.newsguy.com> (raw)
Hello,
I am trying to rebind the tab key in a local variable, but I can't figure
out the syntax. I would like the tab key to call the tab-to-tab-stop
function, so I don't have to use M-i. Here is what I have at the moment:
# Local Variables:
# tab-stop-list: (0 4 40)
# global-set-key: [tab] tab-to-tab-stop
# End:
This gives me the error message:
File local-variables error: (error "Local variables entry is terminated
incorrectly")
When I remove the global-set-key variable the error message isn't given.
Any help would be *much* appreciated.
--
Regards,
Travis Spencer
Portland, OR. USA
next reply other threads:[~2004-02-14 20:25 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-02-14 20:25 Travis Spencer [this message]
2004-02-15 6:02 ` Rebinding a key in a local variable Eli Zaretskii
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=c0m0af012mg@enews2.newsguy.com \
--to=travislspencer@hotmail.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.
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).