all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Re: alert user the NEWS file has changed
@ 2003-04-24 21:39 Dan Jacobson
  0 siblings, 0 replies; 3+ 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] 3+ messages in thread
* 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; 3+ 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] 3+ messages in thread

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

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-04-24 21:39 alert user the NEWS file has changed Dan Jacobson
  -- strict thread matches above, loose matches on Subject: below --
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  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

Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.