unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* max unindent: indent-* with arg 0
@ 2002-05-19  5:28 Dan Jacobson
  2002-05-19 16:50 ` Miles Bader
  0 siblings, 1 reply; 4+ messages in thread
From: Dan Jacobson @ 2002-05-19  5:28 UTC (permalink / raw)


Gentlemen, it might be the case that indent-rigidly, indent-region,
etc. when called with an argument of zero, should remove all
indentation.

I mean I was dealing with these lines
       Hi.  I'm indented.
      Me too.
          Me three.
And thinking, must I resort to (query-replace-regexp "^\\s-+" "") or
isn't there some command called *-indent-* to handle it.
-- 
http://jidanni.org/ Taiwan(04)25854780

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: max unindent: indent-* with arg 0
  2002-05-19  5:28 max unindent: indent-* with arg 0 Dan Jacobson
@ 2002-05-19 16:50 ` Miles Bader
  2002-05-20 22:34   ` Dan Jacobson
  0 siblings, 1 reply; 4+ messages in thread
From: Miles Bader @ 2002-05-19 16:50 UTC (permalink / raw)


jidanni@deadspam.com (Dan Jacobson) writes:
> Gentlemen, it might be the case that indent-rigidly, indent-region,
> etc. when called with an argument of zero, should remove all
> indentation.

If you want to remove all indentation, just give it a big negative
argument, e.g. `C-u -99 C-x TAB'.

-Miles
-- 
80% of success is just showing up.  --Woody Allen

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: max unindent: indent-* with arg 0
  2002-05-19 16:50 ` Miles Bader
@ 2002-05-20 22:34   ` Dan Jacobson
  2002-05-21 16:29     ` Eli Zaretskii
  0 siblings, 1 reply; 4+ messages in thread
From: Dan Jacobson @ 2002-05-20 22:34 UTC (permalink / raw)


>>>>> "M" == Miles Bader <miles@gnu.org> writes:

>> Gentlemen, it might be the case that indent-rigidly, indent-region,
>> etc. when called with an argument of zero, should remove all
>> indentation.

M> If you want to remove all indentation, just give it a big negative
M> argument, e.g. `C-u -99 C-x TAB'.

Ok, sure wish they would mention this in the indent-rigidly help.
-- 
http://jidanni.org/ Taiwan(04)25854780

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: max unindent: indent-* with arg 0
  2002-05-20 22:34   ` Dan Jacobson
@ 2002-05-21 16:29     ` Eli Zaretskii
  0 siblings, 0 replies; 4+ messages in thread
From: Eli Zaretskii @ 2002-05-21 16:29 UTC (permalink / raw)


> From: Dan Jacobson <jidanni@deadspam.com>
> Newsgroups: gnu.emacs.bug
> Date: 21 May 2002 06:34:01 +0800
> 
> M> If you want to remove all indentation, just give it a big negative
> M> argument, e.g. `C-u -99 C-x TAB'.
> 
> Ok, sure wish they would mention this in the indent-rigidly help.

Thanks, I made it so.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2002-05-21 16:29 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-05-19  5:28 max unindent: indent-* with arg 0 Dan Jacobson
2002-05-19 16:50 ` Miles Bader
2002-05-20 22:34   ` Dan Jacobson
2002-05-21 16:29     ` Eli Zaretskii

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

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).