From owner-ntemacs-users@june  Mon Sep 30 18:09:38 1996
X-VM-v5-Data: ([nil nil nil nil nil nil nil nil nil]
	[nil "Tue" " 1" "October" "1996" "01:09:22" "BST" "jpff@maths.bath.ac.uk" "jpff@maths.bath.ac.uk" nil "12" "Add-change-log" "^From:" nil nil "10" nil nil nil nil]
	nil)
Received: from joker.cs.washington.edu (joker.cs.washington.edu [128.95.1.42]) by june.cs.washington.edu (8.7.6/7.2ju) with SMTP id SAA04278 for <voelker@june.cs.washington.edu>; Mon, 30 Sep 1996 18:09:37 -0700
Received: from june.cs.washington.edu (june.cs.washington.edu [128.95.1.4]) by joker.cs.washington.edu (8.6.12/7.2ws+) with ESMTP id SAA16420 for <voelker@joker.cs.washington.edu>; Mon, 30 Sep 1996 18:09:36 -0700
Received: from goggins.bath.ac.uk (goggins.bath.ac.uk [138.38.32.13]) by june.cs.washington.edu (8.7.6/7.2ju) with ESMTP id RAA27893 for <ntemacs-users@cs.washington.edu>; Mon, 30 Sep 1996 17:09:10 -0700
Message-Id: <199610010009.RAA27893@june.cs.washington.edu>
Received: from maths.Bath.AC.UK (actually host omphalos.maths.bath.ac.uk)            by goggins.bath.ac.uk with SMTP (PP); Tue, 1 Oct 1996 01:09:03 +0100
From: jpff@maths.bath.ac.uk
To: ntemacs-users@cs.washington.edu
Subject:  Add-change-log
Date:     Tue, 1 Oct 96 1:09:22 BST

Message written at 30 Sep 1996 14:14:10 -0400

I noticed that on DOS and WinNT the changelog file defaults to
changelo rather than ChangeLog.  I can understand this for DOS, but I
thought WinNT had long file names.  I am also having some difficulties
with this.

BTW I also notice that if I use add-change-log-entry-other-window it
does not prompt me for a file name, while if I use 
add-change-log-entry it does.  Seems inconsistent to me.

==John ff

From owner-ntemacs-users@june  Tue Oct  1 07:38:13 1996
X-VM-v5-Data: ([nil nil nil nil nil nil nil nil nil]
	[nil "Tue" " 1" "October" "1996" "08:52:34" "-0500" "Milt Epstein" "epstein@cd.com" nil "51" "Re: Add-change-log" "^From:" nil nil "10" nil nil nil nil]
	nil)
Received: from joker.cs.washington.edu (joker.cs.washington.edu [128.95.1.42]) by june.cs.washington.edu (8.7.6/7.2ju) with SMTP id HAA18087 for <voelker@june.cs.washington.edu>; Tue, 1 Oct 1996 07:38:13 -0700
Received: from june.cs.washington.edu (june.cs.washington.edu [128.95.1.4]) by joker.cs.washington.edu (8.6.12/7.2ws+) with ESMTP id HAA26400 for <voelker@joker.cs.washington.edu>; Tue, 1 Oct 1996 07:38:13 -0700
Received: from beltway (beltway.cd.com [204.217.30.66]) by june.cs.washington.edu (8.7.6/7.2ju) with SMTP id GAA14635 for <ntemacs-users@cs.washington.edu>; Tue, 1 Oct 1996 06:41:00 -0700
Received: from bif.cd.com by beltway (5.x/SMI-SVR4) 	id AA15735; Tue, 1 Oct 1996 08:40:08 -0500
Received: from localhost by bif.cd.com (4.1/SMI-4.1) 	id AA11396; Tue, 1 Oct 96 08:52:34 CDT
In-Reply-To: <199610010009.RAA27893@june.cs.washington.edu>
Message-Id: <Pine.SUN.3.94.961001083911.10882A-100000@bif>
Mime-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
From: Milt Epstein <epstein@cd.com>
Sender: epstein@cd.com
To: jpff@maths.bath.ac.uk
Cc: ntemacs-users@cs.washington.edu
Subject: Re: Add-change-log
Date: Tue, 1 Oct 1996 08:52:34 -0500 (CDT)


Note: I don't use these functions, but I was curious so I poked around
the corresponding emacs lisp file (so my only knowledge of their
behavior and their use is from that).

On Tue, 1 Oct 1996 jpff@maths.bath.ac.uk wrote:

> Message written at 30 Sep 1996 14:14:10 -0400
> 
> I noticed that on DOS and WinNT the changelog file defaults to
> changelo rather than ChangeLog.  I can understand this for DOS, but I
> thought WinNT had long file names.  I am also having some difficulties
> with this.

The code for this is in add-log.el in the emacs lisp sub-directory
(for those of you who like to look at emacs lisp code), in the
function change-log-name.  It returns "changelo" if the system-type is
either ms-dos or windows-nt.  Perhaps they do this because not all NT
systems/directories use long file names, so it's a LCD type of thing.

There is a relatively easy way around it: there is a variable
change-log-default-name which is checked first.  So if you did

(setq change-log-default-name "ChangeLog")

you should get the behavior you want.  (But you might want to check
the documentation on the function find-change-log if you're going to
do this.)


> BTW I also notice that if I use add-change-log-entry-other-window it
> does not prompt me for a file name, while if I use 
> add-change-log-entry it does.  Seems inconsistent to me.

It does seem inconsistent.  And it does seem to also be inconsistent
with the documentation on the functions -- i.e. they are documented to
behave the same, but the code is slightly different, and as you see,
the behavior is also slightly different.  But if it's any consolation,
it behaves the same on UNIX :-).  I'd think the way to resolve this is
to put in a bug report to the GNU people about it.

Here's a possible workaround: If you call
add-change-log-entry-other-window with a prefix argument (e.g. just
type C-u before you call it), it will prompt you for the file name.

Milt Epstein
Software Engineer
Central Data Corporation
epstein@cd.com
WWW: http://www.cd.com/
FTP: ftp.cd.com

