HDTenEightyP/NetNews huggingface dataset:
Can anyone offer any suggestions about building lemacs 19-3 on a
Sparc2 running SunOS4.1.1/X11R5/Motif/gcc-2.2.2?

I'm getting a bunch of unresolved references when I build, which turn
out to be calls to the stuff in src/lwlib/energize, which I'm not
building . If I stub those calls out, then lemacs core dumps as soon
as it is run. 

Any help in building this to use Motif will be greatly appreciated!

Thanks,

bab

|-----------------------|----------------------------------------------------|
| Brian Button          | email : button@wg2.waii.com                        |
| Design Engineer       |         71023.276@compuserve.com                   |
| Western Geophysical   | voice : (713)964-6221                              |
| 3600 Briarpark        |----------------------------------------------------|
| Houston, Texas  77042 |                  Opinions Be Mine!!                |
|-----------------------|----------------------------------------------------|
x-gateway: rodan.UU.NET from help-lucid-emacs to alt.lucid-emacs.help; Thu, 5 Nov 1992 22:48:19 EST
Date: Thu, 5 Nov 1992 19:38:33 PST
X-Windows: The problem for your problem.
From: jwz@lucid.com (Jamie Zawinski)
Subject: DANGER!  TOXIC!
Newsgroups: alt.lucid-emacs.help
From: rens@lorax.shearson.com (Rens Troost)
Subject: In-Line Bitmaps?
Reply-To: rens@shearson.com (Rens Troost)
Organization: Lehman Brothers
Date: Mon, 9 Nov 1992 18:14:01 GMT


Hi-

Is it possible to display a bitmap in-line, as a character? I mean an
arbitrary bitmap, not a font. I have looked in the info pages supplied
with 19.3, but have had no luck at confirming or denying the
possibility.

-Rens


--
  __   ___  ,    __  
 /__) /__  /| / (    |  J. Laurens Troost    Lehman Brothers Technical Services
/  \ (___ / |/ __)   |  *Opinions expressed herein are mine. Mine, I tell you!*
-------------------------------------------------------------------------------
INET: rens@shearson.com        VOICE: (212) 464-3705        FAX: (212) 464-2040
From: tlp00@climb.ras.amdahl.com (Tibor Polgar)
Newsgroups: alt.lucid-emacs.help
Subject: extra mode-motion+ function
Date: 13 Nov 92 04:35:59 GMT
Reply-To: tlp00@climb.ras.amdahl.com
Organization: Sun Microsystems

A while back Guido Bosch <bosch@loria.fr> posted a great addition to mode-motion 
called mode-motion+.   Among the many enhancements to the standard were some mouseable
functions to copy and delete/copy highlighed area.   Well what i felt was
missing was a simple "delete" highlighted region... so here it is.  It is just a 
simple snip of one of his existing routines.  Remember it won't run without his package.

-------------------------------------------------------------------------------------
(defun x-set-point-cut-highlighted-text (event)
  "Deletes highlighted region to point."
  (interactive "e")
  (let* ((point (event-point event))
	 (window (event-window event))
	 (buffer (and window (window-buffer window)))
	 (extent (and point buffer
		      (extent-at point buffer
				 ;; 'highlight
				 )))
	 (text (and extent
		    (save-window-excursion
		      (set-buffer buffer)
		      (prog1 
			  (buffer-substring
			   (extent-start-position extent)
			   (extent-end-position extent))
			(kill-region
			 (extent-start-position extent)
			 (extent-end-position extent)))))))
    )) 


(global-set-key '(control meta button2) 'x-set-point-cut-highlighted-text)


-------------------------------------------------------------------------------
| Tibor L. Polgar    |  (408) 746-8649     | tlp00@climb.ras.amdahl.com
| Amdahl Corporation
| 1250 East Arques Avenue (M/S 281)
| P.O. Box 3470
| Sunnyvale, CA 94088-3470
|
| The opinions expressed above are mine, solely, and do not in any way
| shape or form reflect the opinions or policies of Amdahl Corp.
-------------------------------------------------------------------------------
In message <9211060256.AA08035@thymus.synaptics> Dave Gillespie wrote:
>
> What would you say to putting something in Emacs' command loop so that,
> if Emacs has been idle for, say, 20 seconds, and the allocator is more
> than, say, 3/4 of the way to gc-cons-threshold, then Emacs pauses to do
> a GC.  This would drastically reduce the number of times Emacs has to
> stop for GC while you're actually in the middle of something.

I think you should be able to implement that in lisp; emacs autosaves after
30 seconds of idle time, via the timer mechanism.

(Emacs autosaves once 30 seconds has passed since the last user input, but
really it should autosave when the user has been idle for 30 seconds during
which time emacs has been waiting for input.  Right now emacs will always
autosave after any command which takes longer than 30 seconds to execute,
which I find kind of annoying...)

	-- Jamie
From: hethmon@duncan.cs.utk.edu (PAUL HETHMON)
Newsgroups: alt.lucid-emacs.help
Subject: Trouble building lucid emacs
Date: 11 Nov 92 22:01:18 GMT
Organization: University of Tennessee, Knoxville - Department of Computer Science
Distribution: world
Reply-To: hethmon@duncan.cs.utk.edu (PAUL HETHMON)
NNTP-Posting-Host: duncan.cs.utk.edu
Keywords: help

I'm having some problems building lucid emacs on a sparc station.
I've gone through the INSTALL and PROBLEMS file but can't seem to
find anything to help.

Let me outline my situation first.  First I was going to use
the binary from labrea.stanford.edu to run on one of our
sparcs, but when I tried, I found we're only running version 18.5.
So I decided to build it for the sparcs since from the readme files
that seemed the simplest.  Since I'm not a system administrator here
I have to build and install it in my NFS file area. First question,
what should I change the various set commands and/or the LIBDIR in
the build-install script/Makefile respectively (I know I only use
one or the other, but I've tried both to make it work).  Do I set
EMACS to something like ~hethmon/bin/lucid/lemacs-19.3? This is 
where I have all the source at.  And where should LIBDIR point to
in this kind of setup?  Related to this is also BINDIR, MANDIR, and
BIN.

Second, when I do try to build lucid emacs using either the 
makefile or script I get the following errors:

gcc -O     -Demacs  -I./lwlib  -c  dispnew.c
In file included from dispnew.c:72:
lisp.h:1213: conflicting types for `malloc'
/usr/include/stdlib.h:29: previous declaration of `malloc'
lisp.h:1213: conflicting types for `realloc'
/usr/include/stdlib.h:33: previous declaration of `realloc'
lisp.h:1214: conflicting types for `free'
/usr/include/stdlib.h:27: previous declaration of `free'
dispnew.c:1745: conflicting types for `abort'
/usr/include/stdlib.h:18: previous declaration of `abort'
*** Error code 1
make: Fatal error: Command failed for target `dispnew.o'
Current working directory /a/vose/platinum/homes/hethmon/bin/lucid/lemacs-19.3/s
rc
*** Error code 1
make: Fatal error: Command failed for target `doall'
exit 1

Is this related to the various paths, or something else?  One final
note is that the default cc compiler on our system here is
the cc provided by Sun.  I have tried to change all references to
cc to gcc when I have found them, but I could have missed some.

Any help anybody could give me would be much appreciated.

-- 
/* -------------------------------------------------------- */

   Paul Hethmon
   hethmon@cs.utk.edu
   615/974-6433

/* -------------------------------------------------------- */
x-gateway: rodan.UU.NET from help-lucid-emacs to alt.lucid-emacs.help; Thu, 12 Nov 1992 20:12:14 EST
Date: Thu, 12 Nov 1992 17:08:45 PST
From: "Mickey Ferguson" <mickeyf@vnet.ibm.com>
Subject: find file
Newsgroups: alt.lucid-emacs.help
First, I would like to be added to the mailing list help-lucid-emacs so
that I can see other questions that are posed, since I can't subscribe to
the alt.lucid-emacs.help newsgroup.  Could the administrator please take
care of this for me?  Thanks.

Second, I would like to define the right button to be click-on-filename-
and-find-file or some function like that.  When I was using epoch, it had
this possibility.  I know how to redefine the button3, but don't know what
function to bind to it.

I don't know if this makes any difference, but I have ange-ftp loaded in
as my dired program.

Mickey Ferguson -- Rolm -- FergusoM at scrvm2 -- mickeyf@vnet.ibm.com
x-gateway: rodan.UU.NET from help-lucid-emacs to alt.lucid-emacs.help; Sat, 7 Nov 1992 11:11:24 EST
Date: Fri, 6 Nov 1992 20:25:08 MST
From: sullivan@Mathcom.com (S. Sullivan)
Subject: display global-map table
Newsgroups: alt.lucid-emacs.help
How can I display the global-map table ...
or any key mapping table, for that matter?

When I try:  esc esc global-map
I get:  #<keymap 404 entries>

Modifications would be much easier if I
could see the current value.

Many thanks -

Steve Sullivan
sullivan@mathcom.com

x-gateway: rodan.UU.NET from help-lucid-emacs to alt.lucid-emacs.help; Tue, 10 Nov 1992 11:29:47 EST
Date: Tue, 10 Nov 1992 16:26:43 GMT
From: djh@CIS.Prime.COM (David Hughes)
Subject: next-line
Newsgroups: alt.lucid-emacs.help
Some of you may like this little trick:

;; The following kludge is to stop Emacs
;; inserting newlines when you reach the
;; bottom of the buffer using C-n

(if (not (fboundp 'real-next-line))
    (fset 'real-next-line (symbol-function 'next-line)))

(defun next-line (&optional arg)
  (interactive "P")
  (if (save-excursion (end-of-line) (and (eobp) (bolp)))
      (if (interactive-p) (error "End of Buffer"))
    (real-next-line (or arg 1))))

--
Regards, David
x-gateway: rodan.UU.NET from help-lucid-emacs to alt.lucid-emacs.help; Mon, 9 Nov 1992 16:48:56 EST
Subject: Re: GC idea
Reply-To: daveg@synaptics.com
Date: Mon, 09 Nov 1992 10:15:24 -0800
From: daveg@thymus.synaptics.com (Dave Gillespie)
Newsgroups: alt.lucid-emacs.help
Dirk Grunwald writes:
> Actually, mayhaps it's time for a general discussion of the current GC
> scheme. Switching to a generational scheme would reduce the relatively
> large interactive ``hit'' you take in Emacs.

It would be really great to have something like this.  I find that
after a while my Emacs process gets to be quite large, but mostly
swapped out.  As I understand it a generational GC would let most of
that stuff stay swapped out, whereas the current GC has to bring it
back into memory on a regular basis.

I doubt you'd need something as complicated as a generational GC
just to fix the interactive response time problem, though.  Even
the GC-during-idle-time scheme would fix 90% of the problem.
Another idea I had was to arrange the current GC algorithm to be
able to abort itself quickly if there is any user input.  Right
now the GC algorithm clears marks as it is sweeping; you'd need
to change it to do an explicit unmarking phase at the beginning
of GC, which would slow it down a bit.  But since GC would be
interruptable, it wouldn't matter nearly so much how long it took.

								-- Dave
From: blojo@xcf.berkeley.edu (Jon Blow)
Newsgroups: alt.lucid-emacs.help
Subject: Re: GC idea
Date: 10 Nov 1992 00:36:22 GMT
Organization: Experimental Computing Facility, Univ. of California, Berkeley
NNTP-Posting-Host: graft.berkeley.edu

Dick Grunwald writes:

> Have others made efforts on this front before? If so, how did they
> fare? This (better GC) would improve the user interface considerably,

Just recently, I finished a generational copying collector for a language
I'm doing.  It is essentially a control language for a network server; it
is driven by events that occur on TCP connections.

Anyway, I was thinking about how convenient it would be to use the time-gaps
between user input (when the program would just be waiting in select()) to
do partial garbage-collection.  I got pretty darn optimistic about the idea 
(I'm currently working on a fuzzy controller to predict approximately how long
one can time-out to garbage collect without bugging users); but I was thinking
about the technique in general and I realized that there was only one other
program that I could think of that this was applicable to:  emacs.

If you garbage-collect partially, you can take small timeouts (100ms) to
do significant portions of gc work and not upset things very much.

Anyway, I will look at the internals of elisp to see how easy it would be
to install a new gc.  Heck, I might even try it.                      

Has anyone else out there done this sort of thing?

  -Jon
From: tlp00@climb.as (Tibor Polgar)
Newsgroups: alt.lucid-emacs.help
Subject: What does mouse-track-delete-and-insert do?
Date: 11 Nov 92 02:00:32 GMT
Reply-To: tlp00@climb.as
Organization: Sun Microsystems

As the title implies, what does this function do???  For me it doesn't seem to do
anything.  By the way, its on c-sh-button1 in the standard key map.
x-gateway: rodan.UU.NET from help-lucid-emacs to alt.lucid-emacs.help; Thu, 5 Nov 1992 23:40:14 EST
Subject: GC idea
Reply-To: daveg@synaptics.com
Date: Thu, 05 Nov 1992 18:56:08 -0800
From: daveg@thymus.synaptics.com (Dave Gillespie)
Newsgroups: alt.lucid-emacs.help
What would you say to putting something in Emacs' command loop so that,
if Emacs has been idle for, say, 20 seconds, and the allocator is more
than, say, 3/4 of the way to gc-cons-threshold, then Emacs pauses to do
a GC.  This would drastically reduce the number of times Emacs has to
stop for GC while you're actually in the middle of something.

								-- Dave
x-gateway: rodan.UU.NET from help-lucid-emacs to alt.lucid-emacs.help; Mon, 9 Nov 1992 13:50:51 EST
Date: Mon, 9 Nov 1992 10:50:30 PST
X-Windows: Putting new limits on productivity.
From: jwz@lucid.com (Jamie Zawinski)
Subject: Re: display global-map table
	<9211070325.AA04417@thurber.Mathcom.com>
Newsgroups: alt.lucid-emacs.help
Here's a kludge I use occasionally.  You can get a prettier description of
a keymap with

(insert (substitute-command-keys "\\{mail-mode-map}"))

(defun show-keymap (map &optional pkey)
  (let ((print-escape-newlines t))
    (map-keymap map
		'(lambda (key binding)
		   (insert (format "\n  "))
		   (if pkey (insert (make-string (* 2 (length pkey)) 32)))
		   (if pkey
		       (mapcar '(lambda (x) (insert (format "%s " x))) pkey))
		   (insert (format "%s" key))
		   (indent-to 32)
		   (insert (prin1-to-string binding))
		   (if (keymapp binding)
		       (show-keymap binding (if pkey
						(append pkey (list key))
					      (list key)))))
		t))
  (if (keymap-parent map)
      (progn
	(insert (format "\n--\nParent map: %s" (keymap-parent map)))
	(show-keymap (keymap-parent map)))))
x-gateway: rodan.UU.NET from help-lucid-emacs to alt.lucid-emacs.help; Tue, 10 Nov 1992 21:18:28 EST
Date: Tue, 10 Nov 1992 17:59:58 PST
From: "Mickey Ferguson" <mickeyf@vnet.ibm.com>
Subject: various lucid questions
Newsgroups: alt.lucid-emacs.help
I just installed lucid, and it's basically great.  I'm trying to handle
some of the rough edges (as compared to what I had with epoch) and have
not found my answers.  First, though, is there a news group dedicated to
lucid emacs?  I only know about help-lucid-emacs and bug-lucid-emacs mail
addresses.

Now for my real questions...

1)  I've found out how to configure the function keys and Ln and Rn keys
on my Sun Sparc 2.  (It's set up for Lucid widgets, not OLIT, even though
we are running OL.)  I can't figure out how to make the Copy, Paste and
Cut keys work with lucid.  I had figured out how to make them work under
epoch with stuff like mouse::copy-zone as defined in motion.el (well, a
modified version of motion.el sent to me and further customized).  Can it
use the OpenLook functions, and thus copy text from another Sun window
into lucid?

2)  I've figured out how to change the default font for lucid (by adding
      Emacs*default.attributeFont: -*-menu-*-*-*-*-*-*-*-*-*-*-*-*
to my .Xdefaults file.  Well, I thought I could also change the mouse
pointer to look like what our regular Sun mouse pointer is (#132 from
the X11 cursor library).  I added the line
      Emacs*textPointer:  XC_top_left_arrow
but it still uses the old cross hairs, and sometimes complains about not
being able to convert string "XC_top_left_arrow" to type Cursor.

Any ideas about either?

Mickey Ferguson -- Rolm -- FergusoM at scrvm2 -- mickeyf@vnet.ibm.com
From: tlp00@ras.amdahl.com (Tibor Polgar)
Newsgroups: alt.lucid-emacs.help
Subject: Re: Buffer mode addition
Date: 13 Nov 92 00:37:46 GMT
Reply-To: tlp00@ras.amdahl.com
Organization: Sun Microsystems

Whoops forgot that i had a local function called from within Buffer-menu-new-screen.

--------------------------------------------------------------------------------------
(defun close-window-nosave ()
   "Smart close window, without saving the file."
   (interactive)
   (close-window nil)
   )

(defun close-window (save)
   "Smart close window, optionally save and kill buffer."

   (let
      ((multiple-windows (buffer-in-multiple-windows))
       (this-buffer (current-buffer)))

       (if (and save (not multiple-windows) (not buffer-read-only))
          (save-buffer))                      ; Save the buffer.
       (if server-buffer-clients              ; Take care of server-edit stuff.
          (server-edit))
       (if (not multiple-windows)
          (kill-buffer this-buffer))          ; Kill the buffer.
       (delete-window)                        ; Remove window or screen.
      )
   )


-------------------------------------------------------------------------------
| Tibor L. Polgar    |  (408) 746-8649     | tlp00@climb.ras.amdahl.com
| Amdahl Corporation
| 1250 East Arques Avenue (M/S 281)
| P.O. Box 3470
| Sunnyvale, CA 94088-3470
|
| The opinions expressed above are mine, solely, and do not in any way
| shape or form reflect the opinions or policies of Amdahl Corp.
-------------------------------------------------------------------------------
Newsgroups: alt.lucid-emacs.help
From: mt00@eurotherm.co.uk (Martin Tomes)
Subject: Does lucid emacs build on Interactive 3.0.1 UNIX?
Keywords: ISC, Interactive, lucid, build
Organization: Eurotherm Limited
Distribution: alt
Date: Thu, 12 Nov 1992 11:51:24 GMT

I am thinking of building lucid emacs on Interactive UNIX 3.0 or
3.0.1.  Has anyone already done this?  If so please would you send me
patches and any pearls of wisdom you might be able to offer.

Thanks


-- 
Martin Tomes
Janet:    mtomes@uk.co.eurotherm
Internet: mtomes@eurotherm.co.uk
UUCP:     {uknet,uunet}!etherm!mtomes
x-gateway: rodan.UU.NET from help-lucid-emacs to alt.lucid-emacs.help; Tue, 10 Nov 1992 04:29:38 EST
Date: Tue, 10 Nov 1992 01:29:37 PST
X-Windows: Flawed beyond belief.
From: jwz@lucid.com (Jamie Zawinski)
Subject: Re: GC idea
	<9211060256.AA08035@thymus.synaptics>
	<9211060517.AA05701@thalidomide.lucid>
	<GRUNWALD.92Nov8212721@foobar.cs.colorado.edu>
	<asdglha3298ghsdgh-1@xcf>
Newsgroups: alt.lucid-emacs.help
In message <1992Nov10.085034.21556@daimi.aau.dk> Christian Lynbech wrote:
>
> Lucid emacs has an unfortunate tendence to become VERY large.

Well, that's because of plain old memory leaks in the parts of emacs in which
you have to use this tinkertoy language which requires you to do all of your
own storage management (aka C).  A new GC wouldn't help there.

(Well, I guess you could build a conservative GC into gmalloc...)

	-- Jamie
x-gateway: rodan.UU.NET from help-lucid-emacs to alt.lucid-emacs.help; Mon, 9 Nov 1992 19:33:17 EST
Date: Mon, 9 Nov 1992 16:33:17 PST
X-Windows: Flawed beyond belief.
From: jwz@lucid.com (Jamie Zawinski)
Subject: Re: In-Line Bitmaps?
Newsgroups: alt.lucid-emacs.help
In message <RENS.92Nov9141402@lorax.shearson.com> Rens Troost wrote:
>
> Is it possible to display a bitmap in-line, as a character? I mean an
> arbitrary bitmap, not a font. I have looked in the info pages supplied
> with 19.3, but have had no luck at confirming or denying the
> possibility.

This is not possible yet.  Lucid Emacs can do this when connected to Energize,
but there's no user-level interface for it (only the Energize server can put
these kind of annotations into buffers.)

This will be possible without Energize eventually, possibly soon.

	-- Jamie
From: tlp00@climb.as (Tibor Polgar)
Newsgroups: alt.lucid-emacs.help
Subject: Buffer mode addition
Date: 12 Nov 92 04:12:16 GMT
Reply-To: tlp00@climb.as
Organization: Sun Microsystems

Here is a needed addition for buffer-mode to select a buffer to a new screen.
Both the popup menu and key commands can take advantage of it.
  
Tibor Polgar  - Amdahl Corporation , Sunnyvale, CA
------------------------------------------------------------------------------------(de(defun Buffer-mouse-new-screen (event)
  "Switch to buffer in a new screen using mouse."
  (interactive "@e")
  (select-window (event-window event))
  (mouse-set-point event)
  (Buffer-menu-new-screen))

(defun Buffer-menu-new-screen ()
  "Switch to buffer in a new screen."
  (interactive)
  (let ((buff (Buffer-menu-buffer t))
	(menu (current-buffer))
	(others ())
	tem)
    (if (eq menu buff)
	(bury-buffer menu)
        (close-window-nosave))
    (select-screen (new-screen))
    (switch-to-buffer buff)))

(define-key Buffer-menu-mode-map "n" 'Buffer-menu-new-screen)
(define-key Buffer-menu-mode-map '(shift button2) 'Buffer-mouse-new-screen)

;;
;;  Buffer menu new window selection option
;;
(setq Buffer-menu-popup-menu
  '("Buffer Commands"
    ["Select Buffer"			Buffer-menu-select		t]
    ["Select buffer Other Window"	Buffer-menu-other-window	t]
    ["Select buffer New Screen" 	Buffer-menu-new-screen 	t]
    ["Clear Buffer Modification Flag"	Buffer-menu-not-modified	t]
    "----"
    ["Mark Buffer for Selection"	Buffer-menu-mark		t]
    ["Mark Buffer for Save"		Buffer-menu-save		t]
    ["Mark Buffer for Deletion"		Buffer-menu-delete		t]
    ["Unmark Buffer"			Buffer-menu-unmark		t]
    "----"
    ["Delete/Save Marked Buffers"	Buffer-menu-execute		t]
    ))
x-gateway: rodan.UU.NET from help-lucid-emacs to alt.lucid-emacs.help; Thu, 12 Nov 1992 05:39:49 EST
Reply-To: toad@CS.CMU.EDU
Subject: Re: Killing text
Date: Thu, 12 Nov 1992 05:39:21 EST
From: Todd_Kaufmann@HAIFA.MT.CS.CMU.EDU
Newsgroups: alt.lucid-emacs.help
> I'd like to be able to kill text between two search points. I.e. do an
> incremental search forward to find the beginning of a region, and then
> do another incremental search forward to find the end of the region,
> then kill all the text between those two points. Does anyone out there
> know how to do this?

C-s <string> ESC C-s C-s ESC C-x C-x C-w

That is,
 (a)  do your search,
 (b)  terminate the search,
 (c)  search for the string again,
 (d)  exit the search ( <-- watch carefully, a mark is left at point (b).)
 (d2) use C-x C-x to activate the region (if zmacs-regions, which is default)
 (e)  Use C-w to kill.


Learn the fundamentals and the rest will follow.
Newsgroups: alt.lucid-emacs.help
From: Hamish.Macdonald@x400gate.bnr.ca (Hamish Macdonald)
Subject: Re: Killing text
Organization: Bell Northern Research
Date: Thu, 12 Nov 92 14:01:46 GMT

>>>>> On Thu, 12 Nov 1992 05:39:21 EST,
>>>>> In message <1532.721564761@HAIFA.MT.CS.CMU.EDU>,
>>>>> Todd_Kaufmann@HAIFA.MT.CS.CMU.EDU wrote:

[about killing text between two search points]

Todd> C-s <string> ESC C-s C-s ESC C-x C-x C-w

Note that for isearch-mode as it comes configured, one should use LFD
to terminate the search, not ESC.
x-gateway: rodan.UU.NET from help-lucid-emacs to alt.lucid-emacs.help; Thu, 5 Nov 1992 11:13:33 EST
Date: Thu, 5 Nov 1992 08:13:04 PST
From: yonkman@greip.css.gov (Tom Yonkman)
Subject: Installing 19.3 on HP9000/750
Reply-To: yonkman@esosun.css.gov
Newsgroups: alt.lucid-emacs.help