unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: mike hardy <no_sp@m.for_me.org>
Subject: Re: text-mode tab questions
Date: Mon, 09 Sep 2002 22:34:06 GMT	[thread overview]
Message-ID: <jbadmqbxiu.fsf@analog.net> (raw)
In-Reply-To: 3D7CDFA0.20902@ihs.com


Nostradamus foretold that on Mon Sep 09 2002, Kevin Rodgers would write:

> mike hardy wrote:
> 
> > I use text-mode where the default binding for tab is indent-relative
> > (according to Info).  But I only like indent-relative once (following
> > <cr>) and would like to have tab key thereafter use tab-to-tab-stop to
> > EOL.  Can this be done such that all I have to do is hit tab key and 'it'
> > figures out when to go into tab-to-tab-stop mode?
> 
> (defadvice indent-relative (around last-command-tab-to-tab-stop activate)
>   "If the last command was `indent-relative', run `tab-to-tab-stop' instead."
>   (if (eq last-command 'indent-relative)	; this-command
>       (call-interactively 'tab-to-tab-stop)
>     ad-do-it))
> 

Outstanding (don't know ear-to-ear grin emoticon).  Thx alot...

Mike
-- 



------------------------
mhardy_mail@NO_SPAM@yahoo.com

  Help Wanted: Psychic.  You know where to apply.

  reply	other threads:[~2002-09-09 22:34 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-09-09  0:38 text-mode tab questions mike hardy
2002-09-09 17:51 ` Kevin Rodgers
2002-09-09 22:34   ` mike hardy [this message]
2002-09-10 16:18     ` Kevin Rodgers

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=jbadmqbxiu.fsf@analog.net \
    --to=no_sp@m.for_me.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).