unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* indent-rigidly a real rightwinger
@ 2003-04-20 21:52 Dan Jacobson
       [not found] ` <84he8sf5ie.fsf@lucy.is.informatik.uni-duisburg.de>
  0 siblings, 1 reply; 4+ messages in thread
From: Dan Jacobson @ 2003-04-20 21:52 UTC (permalink / raw)


"C-x TAB runs the command indent-rigidly
Indent all lines starting in the region sideways by ARG columns."

And indeed, it is great fun to do
<escape> h C-x TAB C-x TAB C-x TAB C-x TAB C-x TAB
and watch the whole paragraph march rightwards.

However, when you want it to march leftwards _in the same fashion_,
then depression sets in.  One can only come up with
<escape> h <escape> - 1 C-x TAB <escape> - 1 C-x TAB <escape> - 1 C-x
TAB <escape> - 1 C-x TAB <escape> - 1 C-x TAB
i.e. a tongue twister for the fingers and mind.

One can only conclude that RMS was a rightist. [Weak joke. sorry.]

P.S. I'm habituated to the escape key, but the point remains for meta users.

Anyway, please make a way to march text leftwards with just as much ease.
-- 
http://jidanni.org/ Taiwan(04)25854780

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

* Re: indent-rigidly a real rightwinger
       [not found] <mailman.4983.1050878388.21513.bug-gnu-emacs@gnu.org>
@ 2003-04-21 16:10 ` Kevin Rodgers
  0 siblings, 0 replies; 4+ messages in thread
From: Kevin Rodgers @ 2003-04-21 16:10 UTC (permalink / raw)


Dan Jacobson wrote:

> Anyway, please make a way to march text leftwards with just as much ease.

Have you so little imagination you couldn't come up with:

(defun unindent-rigidly (start end arg)
   "Unindent all lines starting in the region sideways by ARG columns.
Called from a program, takes three arguments, START, END and ARG."
   (interactive "r\np")
   (indent-rigidly start end (- arg)))

(global-set-key "\C-c\t" 'unindent-rigidly) ; or whatever key binding you desire

-- 
<a href="mailto:&lt;kevin.rodgers&#64;ihs.com&gt;">Kevin Rodgers</a>

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

* Re: indent-rigidly a real rightwinger
       [not found] ` <84he8sf5ie.fsf@lucy.is.informatik.uni-duisburg.de>
@ 2003-04-22  0:21   ` Dan Jacobson
  2003-04-22  8:43     ` Eli Zaretskii
  0 siblings, 1 reply; 4+ messages in thread
From: Dan Jacobson @ 2003-04-22  0:21 UTC (permalink / raw)


>>>>> "Kai" == Kai Großjohann <kai.grossjohann@gmx.net> writes:

Kai> Dan Jacobson <jidanni@dman.ddts.net> writes:
>> However, when you want it to march leftwards _in the same fashion_,
>> then depression sets in.  One can only come up with
>> <escape> h <escape> - 1 C-x TAB <escape> - 1 C-x TAB <escape> - 1 C-x
>> TAB <escape> - 1 C-x TAB <escape> - 1 C-x TAB
>> i.e. a tongue twister for the fingers and mind.

Kai> I just tried M-- C-x TAB C-x z z z ...

Kai> What do you think?

cool. I must have missed the NEWS.  There should be a device to make
sure the user knows the NEWS file has changed, saving a timestamp in
his .emacs.

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

* Re: indent-rigidly a real rightwinger
  2003-04-22  0:21   ` Dan Jacobson
@ 2003-04-22  8:43     ` Eli Zaretskii
  0 siblings, 0 replies; 4+ messages in thread
From: Eli Zaretskii @ 2003-04-22  8:43 UTC (permalink / raw)


> From: Dan Jacobson <jidanni@dman.ddts.net>
> Date: Tue, 22 Apr 2003 08:21:22 +0800
> 
> There should be a device to make
> sure the user knows the NEWS file has changed, saving a timestamp in
> his .emacs.

That device is simply `t': NEWS _always_ changes in _every_ Emacs
release.  After unpacking the tarball, one should always read NEWS,
even before you build Emacs (since NEWS sometimes mentions new build
options).

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

end of thread, other threads:[~2003-04-22  8:43 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <mailman.4983.1050878388.21513.bug-gnu-emacs@gnu.org>
2003-04-21 16:10 ` indent-rigidly a real rightwinger Kevin Rodgers
2003-04-20 21:52 Dan Jacobson
     [not found] ` <84he8sf5ie.fsf@lucy.is.informatik.uni-duisburg.de>
2003-04-22  0:21   ` Dan Jacobson
2003-04-22  8:43     ` 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).