unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Warning about the use of obsolete packages
@ 2003-05-13 22:17 Stefan Monnier
  2003-05-14  7:25 ` Juanma Barranquero
  2003-05-15  4:53 ` Richard Stallman
  0 siblings, 2 replies; 5+ messages in thread
From: Stefan Monnier @ 2003-05-13 22:17 UTC (permalink / raw)


How about the patch below to Fload (in lread.c) ?


	Stefan


@@ -941,6 +941,11 @@
 	message_with_string ("Loading %s...done", file, 1);
     }
 
+  if (!NILP (Fequal (build_string ("obsolete"),
+		     Ffile_name_nondirectory
+		     (Fdirectory_file_name (Ffile_name_directory (found))))))
+    message_with_string ("Package %s is obsolete", file, 1);
+
   return Qt;
 }

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

* Re: Warning about the use of obsolete packages
  2003-05-13 22:17 Warning about the use of obsolete packages Stefan Monnier
@ 2003-05-14  7:25 ` Juanma Barranquero
  2003-05-14 11:45   ` Kai Großjohann
  2003-05-15  4:53 ` Richard Stallman
  1 sibling, 1 reply; 5+ messages in thread
From: Juanma Barranquero @ 2003-05-14  7:25 UTC (permalink / raw)



> How about the patch below to Fload (in lread.c) ?

> +    message_with_string ("Package %s is obsolete", file, 1);

I like it.


                                                                Juanma

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

* Re: Warning about the use of obsolete packages
  2003-05-14  7:25 ` Juanma Barranquero
@ 2003-05-14 11:45   ` Kai Großjohann
  2003-05-14 12:27     ` Juanma Barranquero
  0 siblings, 1 reply; 5+ messages in thread
From: Kai Großjohann @ 2003-05-14 11:45 UTC (permalink / raw)


Juanma Barranquero <jmbarranquero@laley.wke.es> writes:

>> How about the patch below to Fload (in lread.c) ?
>
> I like it.

<AOL/>

-- 
This line is not blank.

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

* Re: Warning about the use of obsolete packages
  2003-05-14 11:45   ` Kai Großjohann
@ 2003-05-14 12:27     ` Juanma Barranquero
  0 siblings, 0 replies; 5+ messages in thread
From: Juanma Barranquero @ 2003-05-14 12:27 UTC (permalink / raw)



> > I like it.
> 
> <AOL/>

Hmm... What other kind of answer would you expect for such a question?

:-)


                                                                Juanma

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

* Re: Warning about the use of obsolete packages
  2003-05-13 22:17 Warning about the use of obsolete packages Stefan Monnier
  2003-05-14  7:25 ` Juanma Barranquero
@ 2003-05-15  4:53 ` Richard Stallman
  1 sibling, 0 replies; 5+ messages in thread
From: Richard Stallman @ 2003-05-15  4:53 UTC (permalink / raw)
  Cc: emacs-devel

It seems good to me.

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

end of thread, other threads:[~2003-05-15  4:53 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-05-13 22:17 Warning about the use of obsolete packages Stefan Monnier
2003-05-14  7:25 ` Juanma Barranquero
2003-05-14 11:45   ` Kai Großjohann
2003-05-14 12:27     ` Juanma Barranquero
2003-05-15  4:53 ` Richard Stallman

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