From: Uri Guttman <uri@stemsystems.com>
Subject: Re: self insert tab in message body
Date: Mon, 14 Oct 2002 16:52:24 GMT [thread overview]
Message-ID: <x74rbpezef.fsf@mail.sysarch.com> (raw)
In-Reply-To: <m34rbus08n.fsf@defun.localdomain>
>>>>> "JH" == Jesper Harder <harder@myrealbox.com> writes:
JH> Uri Guttman <uri@stemsystems.com> writes:
>>>>>>> "JH" == Jesper Harder <harder@myrealbox.com> writes:
>>
JH> Uri Guttman <uri@stemsystems.com> writes:
>> >> i like to insert hard tabs and now in the message body i get
>> this >> error:
>>
JH> A work-around is to define your key-binding like this:
>>
JH> (define-key text-mode-map "\t" (lambda (&optional n) (interactive
JH> "p") (self-insert-command (if n n 1))))
>> when i get a fresh *mail* buffer it fails as before. i go to
>> .gnus, eval it and then it works fine. so some how it it doesn't
>> know how to find the text-mode-map? or should i shut down emacs and
>> restart and see if that works?
JH> You should put the code snippet in your .emacs file *instead* of
JH> the definition you have now. Then restart Emacs and see if works.
it still doesn't work. i get the same error. i tried to make it a global
key with just insert-string (since i want tab to insert by default) and
it is trying the old function. i think i have to restart emacs as it
seems to cache the function definition. this is most annoying.
uri
--
Uri Guttman ------ uri@stemsystems.com -------- http://www.stemsystems.com
----- Stem and Perl Development, Systems Architecture, Design and Coding ----
Search or Offer Perl Jobs ---------------------------- http://jobs.perl.org
prev parent reply other threads:[~2002-10-14 16:52 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-10-07 18:41 Uri Guttman
[not found] ` <m3elb1rlf9.fsf@defun.localdomain>
2002-10-09 16:33 ` Uri Guttman
2002-10-10 16:54 ` Jesper Harder
2002-10-14 16:52 ` Uri Guttman [this message]
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=x74rbpezef.fsf@mail.sysarch.com \
--to=uri@stemsystems.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 NNTP newsgroup(s).