From xemacs-m  Tue Dec 17 05:10:54 1996
Received: from mail2.digital.com (mail2.digital.com [204.123.2.56]) by xemacs.cs.uiuc.edu (8.8.3/8.8.3) with SMTP id FAA29313 for <xemacs-beta@xemacs.org>; Tue, 17 Dec 1996 05:10:52 -0600 (CST)
Received: from clusaz.gvc.dec.com by mail2.digital.com (5.65 EXP 4/12/95 for V3.2/1.0/WV)
	id AA28270; Tue, 17 Dec 1996 03:05:19 -0800
Received: from fornet.gvc.dec.com by clusaz.gvc.dec.com; (5.65/1.1.8.2/19Sep95-8.2MPM)
	id AA02382; Tue, 17 Dec 1996 12:05:17 +0100
Received: by fornet.gvc.dec.com; (5.65v3.2/1.1.8.2/23Sep96-1024AM)
	id AA13831; Tue, 17 Dec 1996 12:05:17 +0100
Date: Tue, 17 Dec 1996 12:05:17 +0100
Message-Id: <9612171105.AA13831@fornet.gvc.dec.com>
From: Steve Carney <carney@gvc.dec.com>
To: xemacs-beta@xemacs.org
Subject: XEmacs 19.15-b4 patched success on Digital UNIX V3.2D
In-Reply-To: <yngafreuwhc.fsf@colargol.idb.hist.no>
References: <yngafreuwhc.fsf@colargol.idb.hist.no>
Reply-To: carney@gvc.dec.com
X-Face: (d*XRr}%:j,s*8+_o];-"-<<Sd1>H?Ds*>_vV}6DVjhNkjSRW0z^9[WBrbtMma>lyW6u>r(
 9U_m6J0kh7U=q?(h[7<YtS!Cu[Yl)D_XSCy5+tw>_2qr&4S=n|A*ScV]5BR{3]YXk$!,4l2vh9B]}&
 0p"&#\I

As Tore Olsen noted, there was a problem with cmds.c.  After patching
cmds.c (enclosed below) there were no problems building.  I also got the
following messages prior to dumping xemacs:

  Finding pointers to doc strings...
  Note: Strange doc (duplicate) for bytecode scroll-down @ 821876
  Note: Strange doc (duplicate) for bytecode scroll-up @ 823617
  Note: Strange doc (duplicate) for bytecode scroll-other-window-down @ 824513
  Note: Strange doc (duplicate) for bytecode scroll-other-window @ 825409
  Note: Strange doc (weird function) for function manual-entry @ 1065408
  Note: Strange doc (weird function) for function manual-entry @ 1069533
  Finding pointers to doc strings...done
  Warning: doc lost for function original-scroll-up.
  Warning: doc lost for function original-scroll-other-window-down.
  Warning: doc lost for function original-scroll-down.
  Warning: doc lost for function original-scroll-other-window.

  This is usually because some files were preloaded by loaddefs.el or
  site-load.el, but were not passed to make-docfile by Makefile.


Hardware  : DEC 3000-500
OS        : Digital UNIX V3.2D (41)
Compiler  : gcc-2.7.2
Libraries : X11R5, Motif
XEmacs    : 19.15-b4 (full kit)

Configured for `alpha-dec-osf3.2'.
  Where should the build process find the source code?    /kits/install/xemacs/beta
  What installation prefix should install use?            /usr/local/xemacs-beta
  What operating system and machine description files should XEmacs use?
        `s/decosf3-2.h' and `m/alpha.h'
  What compiler should XEmacs be built with?              gcc  -g2 -O0
  Should XEmacs use the GNU version of malloc?            yes
  Should XEmacs use the relocating allocator for buffers? no
  What window system should XEmacs use?                   x11
  Additional header files:                                /kits/install/jpegsrc/release /usr/local/i
nclude
  Additional libraries:                                   /kits/install/jpegsrc/release /usr/local/l
ib
  Compiling in support for XAUTH.
  Compiling in support for XPM.
  Compiling in support for X-Face headers.
  Compiling in support for GIF image conversion.
  Compiling in support for JPEG image conversion.
  Compiling in support for PNG image conversion.
  Compiling in support for DBM.
  Using the Lucid menubar.
  Using the Motif scrollbar.
  Using the Motif dialog boxes.
  Compiling in extra code for debugging.

The patch in unified format:

--- cmds.c.dist	Fri Dec 13 02:05:34 1996
+++ cmds.c	Tue Dec 17 11:19:05 1996
@@ -137,22 +137,6 @@
   return make_int (negp ? - shortage : shortage);
 }
 
-DEFUN ("beginning-of-line", Fbeginning_of_line, Sbeginning_of_line,
-  0, 2, "_p" /*
-Move point to beginning of current line.
-With argument ARG not nil or 1, move forward ARG - 1 lines first.
-If scan reaches end of buffer, stop there without error.
-If BUFFER is nil, the current buffer is assumed.
-*/ )
-  (arg, buffer)
-     Lisp_Object arg, buffer;
-{
-  struct buffer *b = decode_buffer (buffer, 1);
-
-  BUF_SET_PT(b, XINT (Fpoint_at_bol(arg, buffer)));
-  return Qnil;
-}
-
 DEFUN ("point-at-bol", Fpoint_at_bol, Spoint_at_bol, 0, 2, 0 /*
 Return the character position of the first character on the current line.
 With argument N not nil or 1, move forward N - 1 lines first.
@@ -160,6 +144,7 @@
 This function does not move point.
 */ )
        (arg, buffer)
+     Lisp_Object arg, buffer;
 {
   struct buffer *b = decode_buffer (buffer, 1);
   register int orig, end;
@@ -178,9 +163,9 @@
   return make_int (end);
 }
 
-DEFUN ("end-of-line", Fend_of_line, Send_of_line,
+DEFUN ("beginning-of-line", Fbeginning_of_line, Sbeginning_of_line,
   0, 2, "_p" /*
-Move point to end of current line.
+Move point to beginning of current line.
 With argument ARG not nil or 1, move forward ARG - 1 lines first.
 If scan reaches end of buffer, stop there without error.
 If BUFFER is nil, the current buffer is assumed.
@@ -188,9 +173,9 @@
   (arg, buffer)
      Lisp_Object arg, buffer;
 {
-  struct buffer *buf = decode_buffer (buffer, 1);
+  struct buffer *b = decode_buffer (buffer, 1);
 
-  BUF_SET_PT(buf, XINT (Fpoint_at_eol (arg, buffer)));
+  BUF_SET_PT(b, XINT (Fpoint_at_bol(arg, buffer)));
   return Qnil;
 }
 
@@ -201,6 +186,7 @@
 This function does not move point.
 */ )
        (arg, buffer)
+     Lisp_Object arg, buffer;
 {
   struct buffer *buf = decode_buffer (buffer, 1);
 
@@ -211,8 +197,24 @@
   else
     CHECK_INT (arg);
 
-  return find_before_next_newline (buf, BUF_PT (buf), 0,
-				   XINT (arg) - (XINT (arg) <= 0));
+  return make_int(find_before_next_newline (buf, BUF_PT (buf), 0,
+                                            XINT (arg) - (XINT (arg) <= 0)));
+}
+
+DEFUN ("end-of-line", Fend_of_line, Send_of_line,
+  0, 2, "_p" /*
+Move point to end of current line.
+With argument ARG not nil or 1, move forward ARG - 1 lines first.
+If scan reaches end of buffer, stop there without error.
+If BUFFER is nil, the current buffer is assumed.
+*/ )
+  (arg, buffer)
+     Lisp_Object arg, buffer;
+{
+  struct buffer *buf = decode_buffer (buffer, 1);
+
+  BUF_SET_PT(buf, XINT (Fpoint_at_eol (arg, buffer)));
+  return Qnil;
 }
 
 DEFUN ("delete-char", Fdelete_char, Sdelete_char, 1, 2, "*p\nP" /*


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Steve Carney        TEL:[41](22)782.90.60  http://www-digital.cern.ch/carney/
carney@gvc.dec.com  FAX:[41](22)782.94.92 

