public inbox for guile-emacs@sourceware.org
 help / color / mirror / Atom feed
From: Keisuke Nishida <kxn30@po.cwru.edu>
To: guile-emacs@sourceware.cygnus.com
Subject: Re: patch: M-x emacs-version
Date: Tue, 21 Mar 2000 12:18:00 -0000	[thread overview]
Message-ID: <m3og88qdq6.fsf@kei.cwru.edu> (raw)
In-Reply-To: <87k8ixftez.fsf@PC486.Niemitalo.LAN>

Kalle Olavi Niemitalo <tosi@ees2.oulu.fi> writes:

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

Sounds good.  I think `guile' is a better name as a feature.
We can remove the line "(provide 'guile)" from guile.scm and
provide a Lisp function `use-scheme-module' or something.

> 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?

OK, I did it.  Individual files are now available via CVS by
typing "cvs update -d".

2000-03-21  Keisuke Nishida  <kxn30@po.cwru.edu>

	* Now the `src' subdirectory contains original emacs source files
	and our patched version.  If we want to make a patch to Emacs,
	we should do this first:

	  1. Copy the original file to an appropriate directory.
	  2. Commit it with the revision 1.1 and the tag `emacs_20_6'
	     (or whatever if the patch is for other than Emacs 20.6).
	  3. Modify the file as we like and commit it as always.

	Then we can create a patch by typing this:

	  % cd src/emacs-20.6; cvs diff -c -r emacs_20_6 > emacs-20.6.patch

	* src/emacs-20.6/lisp/startup.el, src/emacs-20.6/lisp/version.el,
	src/emacs-20.6/src/Makefile.in, src/emacs-20.6/src/guileapi.c
	src/emacs-20.6/src/alloc.c, src/emacs-20.6/src/lisp.h
	src/emacs-20.6/src/emacs.c, src/emacs-20.6/src/print.c: New files.

Could you commit your patch by yourself?  I'm not sure whether we
should include this subdirectory in a archive instead of a patch.

  reply	other threads:[~2000-03-21 12:18 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-03-20 20:54 Kalle Olavi Niemitalo
2000-03-21 12:18 ` Keisuke Nishida [this message]
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=m3og88qdq6.fsf@kei.cwru.edu \
    --to=kxn30@po.cwru.edu \
    --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).