all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* 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; 3+ 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] 3+ 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; 3+ 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] 3+ messages in thread

* 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

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.