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; 6+ 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] 6+ 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; 6+ 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] 6+ messages in thread

* Re: indent-rigidly a real rightwinger
  2003-04-22  0:21   ` Dan Jacobson
@ 2003-04-22  8:43     ` Eli Zaretskii
  2003-04-22 21:56       ` alert user the NEWS file has changed Dan Jacobson
  0 siblings, 1 reply; 6+ 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] 6+ messages in thread

* alert user the NEWS file has changed
  2003-04-22  8:43     ` Eli Zaretskii
@ 2003-04-22 21:56       ` Dan Jacobson
  2003-04-23 10:37         ` Eli Zaretskii
  0 siblings, 1 reply; 6+ messages in thread
From: Dan Jacobson @ 2003-04-22 21:56 UTC (permalink / raw)


>> There should be a device to make sure the user knows the NEWS file
>> has changed, saving a timestamp in his .emacs.

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

We are innocent users who don't know the administrator has freshened
emacs.  Or we are debian users who have done "apt-get upgrade" and
freshened 100s of packages...

Hmmm, I bet if I make the NEWS file one of the mailboxes tracked by
gnus, that would be an interesting way of being aware if it changed...

Wait, those 100s of packages also have their own change notes,
therefore why should emacs' be a special case that we want to read
more than the others?

Ok, never mind.
-- 
http://jidanni.org/ Taiwan(04)25854780

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

* Re: alert user the NEWS file has changed
  2003-04-22 21:56       ` alert user the NEWS file has changed Dan Jacobson
@ 2003-04-23 10:37         ` Eli Zaretskii
  0 siblings, 0 replies; 6+ messages in thread
From: Eli Zaretskii @ 2003-04-23 10:37 UTC (permalink / raw)


> From: Dan Jacobson <jidanni@dman.ddts.net>
> Date: Wed, 23 Apr 2003 05:56:17 +0800
> 
> Ok, never mind.

Exactly.

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

* Re: alert user the NEWS file has changed
@ 2003-04-24 21:39 Dan Jacobson
  0 siblings, 0 replies; 6+ messages in thread
From: Dan Jacobson @ 2003-04-24 21:39 UTC (permalink / raw)


[-- Attachment #1: Type: text/plain, Size: 119 bytes --]

Marco sent this to me.  As it has a spam status rating of -37.7, it
must be good stuff.  Hence I will share it here. 


[-- Attachment #2: Type: message/rfc822, Size: 2673 bytes --]

From: Marco Parrone <marc0@autistici.org>
Date: 23 Apr 2003 14:32:37 +0200

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Dan Jacobson <jidanni@dman.ddts.net> writes:

> >> There should be a device to make sure the user knows the NEWS file
> >> has changed, saving a timestamp in his .emacs.

[...]

> Hmmm, I bet if I make the NEWS file one of the mailboxes tracked by
> gnus, that would be an interesting way of being aware if it changed...

[...]

You can download checkurls [1] version 0.5.0-alpha1 [2] [3], install
it, and put the following in your ~/.emacs:

  (shell-command "checkurl file_in_subdir_n_from_the_end:///usr/local/share/emacs:2:etc/NEWS &" "*checkurl*")

or

   checkurl file_in_subdir_n_from_the_end:///usr/local/share/emacs:2:etc/NEWS

in your ~/.profile.

This may send you and email a) the first time you run it, with the
full NEWS file, and b) each time you run it and the file is changed,
with a the differences from the previous version.

See `info checkurls' and `info checkurl' for more infos.

The URL can change depending on where you installed Emacs.

file_in_subdir_n_from_the_end://PATH:N:PATH2

This means the PATH2 file in the Nth subdir (counting from the end) in
the PATH directory.

So if you have

   marco@marc0host:~/web/marc0$ ls /usr/local/share/emacs/
   21.3.50  site-lisp
   marco@marc0host:~/web/marc0$ 

then

   file_in_subdir_n_from_the_end:///usr/local/share/emacs:2:etc/NEWS

will expand to

   /usr/local/share/emacs/21.3.50/etc/NEWS

And then in the future if you have

   marco@marc0host:~/web/marc0$ ls /usr/local/share/emacs/
   21.3.50  24.5.40 site-lisp
   marco@marc0host:~/web/marc0$ 

then

   file_in_subdir_n_from_the_end:///usr/local/share/emacs:2:etc/NEWS

will expand to

   /usr/local/share/emacs/24.5.40/etc/NEWS

1. http://www.autistici.org/marc0/CheckurlsHomepage.html
2. http://www.autistici.org/marc0/src/checkurls/checkurls-0.5.0-alpha1.tar.gz
3. http://www.autistici.org/marc0/src/checkurls/checkurls-0.5.0-alpha1.tar.gz

- -- 
Marco Parrone - marc0@autistici.org
www.autistici.org/marc0
2143 9E77 D5E6 115A 48AD  A170 D0EE F736 (4E88 99C2)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)
Comment: Processed by Mailcrypt 3.5.8 <http://mailcrypt.sourceforge.net/>

iD8DBQE+poed0O73Nk6ImcIRAs6aAJ9CYCS8YB++x4QkoJICRwaABu3/gQCeMGtB
PNmJ1/OmVTf03e11ALqlVLM=
=RqoB
-----END PGP SIGNATURE-----


[-- Attachment #3: Type: text/plain, Size: 45 bytes --]



-- 
http://jidanni.org/ Taiwan(04)25854780

[-- Attachment #4: Type: text/plain, Size: 148 bytes --]

_______________________________________________
Bug-gnu-emacs mailing list
Bug-gnu-emacs@gnu.org
http://mail.gnu.org/mailman/listinfo/bug-gnu-emacs

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

end of thread, other threads:[~2003-04-24 21:39 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-04-20 21:52 indent-rigidly a real rightwinger 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
2003-04-22 21:56       ` alert user the NEWS file has changed Dan Jacobson
2003-04-23 10:37         ` Eli Zaretskii
  -- strict thread matches above, loose matches on Subject: below --
2003-04-24 21:39 Dan Jacobson

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