[comp.emacs] beginning-of-next-line does not exist during initialization!

spencer@ttidca.UUCP (06/06/87)

	I GNU emacs 18.36.1, it appears that no function can call
	beginning-of-previous-line from the .emacs file, as it does
	not exist yet.  But after the .emacs is finished and you
	start editing, beginning-of-previous-line exists.  I've tried
	looking through the lisp and C source, and I can't find any
	references to this function anywhere.  Does anybody know what's
	going on here?

	The easiest way to repeat is to make the following the
	first line of your .emacs file:

		(yes-of-no-p "How are you? ")

	Then, when prompted, you do:

		^Xo			other-window
		^Hf beginning-of?	describe function

	and you will only see 3 completions.  After emacs finishes
	initializing, there will be 5 completions.


			-- David Spencer

------------------------------------------------------------------------------
		spencer@ttidca		
  ...!{philabs, trwrb, csun, mtxinu}!ttidca!spencer 
-- 
-----------------------------------------------------------------------
			spencer@ttidca	
  ...!{philabs, trwrb, csun, mtxinu}!ttidca!spencer

storm@diku.UUCP (06/07/87)

In article <795@ttidca.TTI.COM> spencer@ttidca.TTI.COM (David Spencer) writes:

>	I GNU emacs 18.36.1, it appears that no function can call
>	beginning-of-previous-line from the .emacs file, as it does
>	not exist yet.  But after the .emacs is finished and you
>	start editing, beginning-of-previous-line exists.

Look for a file named 'default.el' along the normal library load path;
this file is loaded AFTER the loading of your .emacs, unless the variable
inhibit-default-init is set to non-nil in your .emacs.  You'll probably
find the 'beginning-of-previous-line' function there.  (This is described
in section 28.6 of my copy of the GNU Emacs manual).

--
Kim F. Storm, AmbraSoft A/S, Denmark