public inbox for guile-emacs@sourceware.org
 help / color / mirror / Atom feed
From: Kalle Olavi Niemitalo <tosi@stekt.oulu.fi>
To: guile-emacs@sourceware.cygnus.com
Subject: patch: M-x emacs-version
Date: Mon, 20 Mar 2000 20:54:00 -0000	[thread overview]
Message-ID: <87k8ixftez.fsf@PC486.Niemitalo.LAN> (raw)

I have patched `features' and `emacs-version' as suggested in
TODO; however, I called the feature `guile-emacs' because `guile'
is already used by guile.scm.  (Perhaps modules shouldn't provide
features because Guile already keeps track of them.)

I didn't format this as a patch to a emacs-20.6.patch because the
header lines ("retrieving revision"...) wouldn't have matched
anyway.  Could we keep both original and modified Emacs files in
the package and generate the patch automatically somehow?

This change is not in CVS.

2000-03-20  Kalle Olavi Niemitalo  <tosi@stekt.oulu.fi>

	* src/guileapi.c (init_guileapi): Provide guile-emacs.
	* lisp/version.el: If guile-emacs is provided, say so.

=================================================================
diff -ur emacs-20.5+guile/src/guileapi.c emacs-20.5+guile+kon/src/guileapi.c
--- emacs-20.5+guile/src/guileapi.c	Mon Mar 20 19:01:19 2000
+++ emacs-20.5+guile+kon/src/guileapi.c	Mon Mar 20 13:07:53 2000
@@ -349,4 +349,5 @@
 					 NULL, lispref_free,
 					 lispref_print, lispref_equal);
 #include "guileapi.x"
+  Fprovide (intern ("guile-emacs"));
 }
diff -ur emacs-20.5+guile/lisp/version.el emacs-20.5+guile+kon/lisp/version.el
--- emacs-20.5+guile/lisp/version.el	Fri Dec  3 09:35:23 1999
+++ emacs-20.5+guile+kon/lisp/version.el	Mon Mar 20 15:29:09 2000
@@ -52,13 +52,14 @@
   (interactive "P")
   (let ((version-string 
          (format (if (not (interactive-p))
-		     "GNU Emacs %s (%s%s)\n of %s on %s"
-		   "GNU Emacs %s (%s%s) of %s on %s")
+		     "GNU Emacs %s (%s%s%s)\n of %s on %s"
+		   "GNU Emacs %s (%s%s%s) of %s on %s")
                  emacs-version
 		 system-configuration
 		 (cond ((featurep 'motif) ", Motif")
 		       ((featurep 'x-toolkit) ", X toolkit")
 		       (t ""))
+		 (if (featurep 'guile-emacs) ", Guile" "")
 		 (format-time-string "%a %b %e %Y" emacs-build-time)
                  emacs-build-system)))
     (if here 
=================================================================

             reply	other threads:[~2000-03-20 20:54 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-03-20 20:54 Kalle Olavi Niemitalo [this message]
2000-03-21 12:18 ` Keisuke Nishida
2000-03-21 22:39   ` Kalle Olavi Niemitalo
2000-03-22 23:08     ` Keisuke Nishida

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87k8ixftez.fsf@PC486.Niemitalo.LAN \
    --to=tosi@stekt.oulu.fi \
    --cc=guile-emacs@sourceware.cygnus.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).