HDTenEightyP/NetNews huggingface dataset:
From: jason@jarthur.claremont.edu (Jason Merrill)
Subject: Can a loading file get its path?
Organization: Harvey Mudd College, Claremont, CA 91711
Date: Wed, 18 Nov 1992 09:54:08 GMT

When an elisp file is being loaded, is there any way for it to find out
what its pathname is?  It doesn't have a buffer yet, so buffer-file-name is
nil.  default-directory just gives the current directory of emacs.

--
Jason Merrill					jason@jarthur.claremont.edu
This is a self-referential .sig which is not particularly interesting.
Newsgroups: gnu.emacs.help
From: wjs@wang.com (William Smith)
Subject: Re: Demacs question
Organization: Wang Labs, Lowell MA, USA
Date: Tue, 24 Nov 1992 00:27:01 GMT

klug@Software.Mitel.COM (Peter Klug) writes:


>>     I have just installed demacs 1.20 and when I run it  I get the following
>>     error message:
>>
>>     CPU must be in real mode (not V*^ mode) to run this program.
>>
>>     Can anyone tell me what I am doing wrong?
>>
>>     Thanks, Bill C.


>Another problem I found was that there is some sort of conflict with
>the expanded memory manager.  It would take DEMACS well over a minute
>to come up and even then it didn't operate properly.  I poked around
>in CONFIG.SYS until I found that EMM386.EXE was the culprit.  I now
>have the following line in my CONFIG.SYS:

>device=emm386.exe off

>This seems to eliminate the problem.  DEMACS now loads in about 5
>seconds (on a 386, 33MHz) and operates mostly as expected (except for
>setting the mark and binding the keypad keys).  When you require
>expanded memory, you can execute the following from the DOS prompt:

>emm386.exe on 

   The best solution I've found was to use the following line for emm386.exe

   DEVICE=C:\WINDOWS\EMM386.EXE 1024 FRAME=E000 ram

   This gives me 1meg of expanded memory for use in games or whatever needs it
   and uses a 64K page frame at segment E000 (normally not used anyway unless
   you include it with 'i=e000-efff').  Whenever you use "noems" on the emm386
   command line it (appears) to put the CPU into protected mode and the dos
   extender used by demacs complains with "real mode" error.
hope this helps
   
-- 
/*-------------------------------------------------------------------------
   William J. Smith, Wang Labs M/S 019-72B, 1 Industrial Ave      
   Lowell, MA 01851-5161,  (508) 967-6901, email: wjs@wiis.wang.com
--------------------------------------------------------------------------*/
Newsgroups: gnu.emacs.help
From: jason@jarthur.claremont.edu (Jason Merrill)
Subject: Specifying load-path on command line?
Organization: Harvey Mudd College, Claremont, CA 91711
Date: Wed, 18 Nov 1992 07:01:51 GMT

I am trying to build Emacs 18.59 in a directory other than the source
directory.  I have achieved this, mostly, through liberal sprinkling of
$(srcdir)'s throughout the makefiles.  I kludged make-doc to accept a
prefix as one of its arguments so that it would find the source files (it
really SHOULD scan the .o files to find the .c file's path, probably,
but...)

But I'm having trouble getting temacs to look in the right directory.  I
already have 18.58 installed, and temacs just happily loads the elisp from
that installation, rather than from the source tree.  How can I point it in
the right direction?

--
Jason Merrill					jason@jarthur.claremont.edu
This is a self-referential .sig which is not particularly interesting.
Newsgroups: gnu.emacs.help
From: imsgtcar@mathfs.oscs.montana.edu (Tim Carlson)
Subject: Re: fill-paragraph in TeX mode?
Keywords: n
Organization: Montana State University, Bozeman  MT
Distribution: usa
Date: Tue, 17 Nov 1992 23:58:07 GMT

In article <EEIDE.92Nov17141003@asylum.cs.utah.edu> eeide%asylum.cs.utah.edu@cs.utah.edu (Eric Eide) writes:
>JF Pitot de La Beaujardiere (jdlb@mamane.ifa.hawaii.edu) asks:
>
>JF> The fill-paragraph command (M-q) in emacs has problems with TeX files, in
>
>This is what I use:
>
[....]  deleted.

But you should all use the AUC-TeX package available from iesd.auc.dk
in pub/elisp-macros (I think thats right)

I can't imagine doing anything in TeX/LaTeX without having the AUC-TeX
enhancements to the regular tex-mode.

-- 
 ----------------------------------------------------------------
| Tim Carlson        	   + Internet: tim@sinc.oscs.montana.edu |
| Dept of Math. Sciences   + BITNET:   imsgtcar@MTSUNIX1	 |
| Montana State University + Phone:    (406) 994-5348		 |
From: hm342st@unidui.uni-duisburg.de (Michael Staats)
Newsgroups: gnu.emacs.help
Subject: Re: Help in Demacs
Date: 16 Nov 92 13:31:07 GMT
Organization: Universitaet Duisburg GH
NNTP-Posting-Host: unidui.uni-duisburg.de

In <9211131423.AA06353@accura_nc.aisg.com> keith%accura_nc@concert.net (Keith B. Kee {AISG} ) writes:

>Hi:
> I have obtained a copy of demacs 1.20. After hours of installing it, I 
>finally got it running. However, there are two things that I could not
>get it to work right. 

>	1) Putting (load-library "bobcat") in my _emacs did not swap the 
>	   backspace and Del.

Hello,
the .../lisp/term directory is not in the default load-path.
Use
(load-library "term/bobcat")
instead.

>	2) I could not get the "mark-command" from my keyboard. I tried
>	   using ^h-k to help me determine the bindings, and typing
>	   c-@ on the keyboard gave me this sequence instead: c-@ c-c.


Can't help you with that, on the german keyboard it is a little
different. But try Control-Space to set the mark.

-- 
Michael Staats, Student of Theoretical Physics, Uni-GH Duisburg 
BTW: I'm looking for a Makefile which takes physical model, applied methods,
expected results and literature references as input and generates a master
thesis in Theoretical Physics to save time for reading news. Help me, please!
Newsgroups: gnu.emacs.help
From: jlph7@fel.tno.nl (Joost van Lawick van Pabst)
Subject: emacs18.59-solaris-x11r5p13-sunsparc
Organization: TNO Physics and Electronics Laboratory
Date: Tue, 17 Nov 1992 15:13:32 GMT


I have some trouble compiling emacs 18.59 for a Sun Sparc 2 
under Solaris (4.1.2 I think). I tried some setups but started
with s-sol2.h and m-sparc.h which seems a natural choice. 

First a installed gcc 2.3 and used it for compilation of emacs.
I selected HAVE_X_WINDOWS and HAVE_X_MENUS, defined the environ
ment variables EMACS, BUILD and CC (gcc). Compilation failed 
when I reached scroll.c: It includes an include file and this include 
file includes an include file and ... includes stream.h
(the fixed one!).  It did not understand caddr_t and a lot 
of parse and syntax errors followed. Also with the regular cc 
compiler it failed on the same file. However when I compiled it 
by hand without the -Demacs option it succeeded. I had to do this 
for some other files but then it really failed and I had to do 
something else.

Then I tried s-sunos-1.h and gcc and compilation succeeded (apart from
the stream.h problems) but the compiled version did not have the 
features of 18.59 (no scroll bar, multiple buffers in Xwindows, etc)

Does somebody recognise these inconveniences and how do we get rid 
of them?


Joost


------------------------------------------------------------------------------
Name:     Ir J van Lawick van Pabst  |  TNO Physics and Electronics Laboratory
Email:             jlph7@fel.tno.nl  |       Oude Waalsdorperweg 63, The Hague
Phone:             +31 70 326 42 21  |         PO Box 96864, 2509 JG The Hague
Fax:               +31 70 328 09 61  |                         The Netherlands

-- 


------------------------------------------------------------------------------
Name:     Ir J van Lawick van Pabst  |  TNO Physics and Electronics Laboratory
Newsgroups: gnu.emacs.help
From: rolf@green.mathematik.uni-stuttgart.de (Rolf Schreiber)
Subject: Your favourite shell-mode?
Organization: Mathemat. Institut A, Univ. Stuttgart, Germany
Date: Mon, 16 Nov 1992 16:29:57 GMT

I use the tcsh for daily work, and like the features of
command-completion, file-name-completion, etc. 

Now I'm searching for a shell-mode, that gives me the same comfort
inside emacs. As much as I know, tcsh doesn't run in emacs-shell, but
there are some (?) other shell-modes (cmushell??). 

Please tell me your favourite shell-mode by email. I'll summarize if
there is interest.

Thanks in advance

Rolf
--
Rolf Schreiber           EMail : rolf@green.mathematik.uni-stuttgart.de
Newsgroups: gnu.emacs.help
From: liblit@cs.psu.edu (Benjamin R. Liblit)
Subject: gdb -vs- emacs tilde expansion
Distribution: gnu
Date: Mon, 23 Nov 1992 22:35:36 GMT

On my home machine, "~/" expands to a pathname rooted at "/home".
However, the "/home" directory is actually mounted from "/auto/home".
When I run gdb inside Emacs, gdb (gdb-mode?) realizes this and sets
its working directory to "/auto/home/...".

The problem arises when gdb-mode needs to display some of my source
code.  Odds are good that the source code is already in some buffer,
but that buffer's default directory starts with "/home/...".  Gdb-mode
wants to bring it in from "/auto/home/...", so it ends up creating a
new buffer and loading in a second copy of my source.

Pretty soon, I've got every source in my project loaded into two
buffers: one rooted at "/home/..." and one at "/auto/home/...".  If I
edit one, the other gets uptight because it thinks it's been modified
on disk.  Or I may make changes in one, do something else, switch back
to the modified buffer, and the changes seem to have disappeared
because I changed "/home/..." and am now looking at "/auto/home/...".

You get the picture.  Most distressing.  Anyone know of a solution?

--
Ben Liblit   -----   "Fais que tes reves soient plus longs que la nuit."
liblit@cs.psu.edu   --   brl102@psuvm.psu.edu   --   brl102@psuvm.bitnet
Newsgroups: gnu.emacs.help
Subject: E-lisp problem...
From: jew@venus.sunquest.com (Ward... James Ward)
Date: 17 Nov 92 22:34:45
Distribution: world,local
Organization: Sunquest Information Systems

I've never written in e-lisp, but I have a problem I need to solve in
it.  I figure it is probably easy, but would like some suggestions.
Is this the right place to ask this question?

Here's the problem:

While interacting with a program using emacs' tinymud.el, I'd like to
be able to take a message containing directions from one place to
another and convert them into movement commands and issue the to the
muse.

Input:

Caspian pages: Path from Foyer to Cyberion City University, type Out, Out, s,
Spin(to Main Transportation Spine <Section 7>), type 1 (to Main Transportation
Spine <Section 1>), s, uni (to Cyberion City University).

Output: (one word per line followed by an enter at the end of the buffer)

Out
Out
s
Spin
1
s
uni


Details: Caspian is a program, so his output is always of this form.
The directions begin with "type" or "Type", and are separated by
commas.  All text prior to the first occurence of "[Tt]ype", all
occurences of "[Tt]ype", and all text between parenthesis need to be
discarded.

So, what I'd like to be able to do is mark a region, and have some
e-lisp do the rest, including entering the movement commands for me at
the bottom of the buffer.  Any e-lisp wizards out there want to take a
stab at this one?

Thanks in advance!
--
jew@sunquest.com
From: jimbo@rcx1.ssd.csd.harris.com (Jim Winters)
Newsgroups: gnu.emacs.help
Subject: Re: cycling window positions
Date: 17 Nov 92 18:41:30 GMT
Distribution: gnu
Organization: Harris Computer Systems Division
NNTP-Posting-Host: rcx1.ssd.csd.harris.com
In-reply-to: lynn@urbana.mcd.mot.com's message of Mon, 16 Nov 1992 13:22:56 GMT

Lynn> Has anybody out there already written a function that is able to cycle
Lynn> the position of windows in the following way? I'll use 3 windows for
Lynn> example. I have:

Lynn> And so forth, so that the contents of the second window is now in the
Lynn> top window, the third is now second, and the top is shoved down to the
Lynn> bottom. I'd like this to be able to work however many windows I've
Lynn> got. Of course I'd also like to be a numeric argument, including
Lynn> negative, to be able to cycle some number of positions.

Your lucky day!  :-)

(But what I'd really like is to be able to put a window somewhere and
have it STAY THERE.  :-)

;;
;;	transpose-windows
;;
(defun transpose-windows (arg)
  "Move buffer displayed in the selected window to the ARG'th window.
The other buffers slide down to make room."
  (interactive "p")
  (if (or
       (one-window-p t)	;; If there's only one window, or
       (equal (minibuffer-window) (selected-window))	;; m.b. is selected
       )
      nil	;; then do nothing
    (let ((fun (if (> arg 0) 'next-window 'previous-window))
	  )
      (while (/= arg 0)
	(let* ((this-win (selected-window))
	       (oth-win (funcall fun (selected-window)))
	       (this-buf (window-buffer this-win))
	       (oth-buf (window-buffer oth-win))
	       )
	  (set-window-buffer this-win (buffer-name oth-buf))
	  (set-window-buffer oth-win (buffer-name this-buf))
	  (select-window oth-win)
	  )
	(if (< arg 0)
	    (setq arg (1+ arg))
	  (setq arg (1- arg))
	  )
	)
      )
    )
  )

(define-key ctl-x-map "T" 'transpose-windows)
--

--
Jim Winters	jimbo@ssd.csd.harris.com
]O	See through science part of a backdoor.  A door made up of doors...
Newsgroups: gnu.emacs.help
From: depken@rigel.econ.uga.edu (Craig Depken)
Subject: Re: spell check and grammar check : emacs / LATeX
Organization: University of Georgia Economics Department
Date: Mon, 16 Nov 1992 18:24:02 GMT

In article <1992Nov16.112554.13191@cs.ruu.nl> piet@cs.ruu.nl (Piet van Oostrum) writes:
>>>>>> legrady@cs.dal.ca (Tom Legrady) (TL) writes:
>
>TL> I am looking for a spell checker that runs under emacs and 
>TL> operates sensibly. I'm tired of spell-buffer asking me to 
>TL> correct a 'mispelled' word without showing me the context.
>TL> Since I work in LaTeX, the situation is agravated by all 
>TL> those \commands.
>
>Use ispell.

I am using emTeX on a 386. I have been searching for a spell checker that
 will run under DOS. Does ispell do the job? Unfortunately, I have deleted
 my FAQ, so this may be an answered question. If ispell is not the one,
 then is there another?

Thanks in advance,
		Craig Depken
		depken@rigel.econ.uga.edu

Newsgroups: gnu.emacs.help
From: eeide%asylum.cs.utah.edu@cs.utah.edu (Eric Eide)
Subject: Re: fill-paragraph in TeX mode?
In-reply-to: jdlb@mamane.ifa.hawaii.edu's message of 16 Nov 92 23:39:24 GMT
Organization: University of Utah Department of Computer Science
Distribution: usa
Date: 17 Nov 92 14:10:03

JF Pitot de La Beaujardiere (jdlb@mamane.ifa.hawaii.edu) asks:

JF> The fill-paragraph command (M-q) in emacs has problems with TeX files, in
JF> that it treats a backslash (\) at the start of a line as the start of a new
JF> paragraph.  Is there a way to work around this, or does anyone have a
JF> better fill-paragraph?

This is what I use:

(setq TeX-mode-hook
      '(lambda ()
        (setq paragraph-separate "^[ \t]*\\($\\|[\f%]\\|\\\\.*[]}][ \t]*$\\)")
        ;; "^[ \t]*\\($\\|[\f%]\\|\\\\[^ \t\n]+[ \t]*$\\)" is a reasonable but
        ;; somewhat inferior alternative.  The regular expression in GNU Emacs'
        ;; "tex-mode.el" ("^[ \t]*$\\|^[\f\\\\%]") is not good to me.
        )))

I also use Kyle Jones' "filladapt" package which provides enhanced paragraph
filling.  For me, it is a *must have* package.  It's available via FTP in the
Emacs Lisp archive at Ohio State.

Happy filling.

--
-------------------------------------------------------------------------------
Eric Eide          |          University of Utah Department of Computer Science
eeide@cs.utah.edu  | Buddhist to hot dog vendor: "Make me one with everything."
Newsgroups: gnu.emacs.help
From: jlph7@fel.tno.nl (Lawick van Pabst)
Subject: emacs-sparc2-solaris-X11  HELP
Organization: TNO Physics and Electronics Laboratory
Date: Fri, 13 Nov 92 12:37:06 GMT

I cannot install emacs 18.59 properly on my Sparc 2, running Solaris 
(4.1.2, I think) and X11R5. Before I started with emacs-18.59, I first 
upgraded gcc to version 2.3 and ran 'fixincludes'. Installation went fine
so I carried on with emacs.

I selected s-sol2.h and m-sparc.h in config.h, included X windows and
X menus in the same file, defined the environment variable CC to gcc and
adapted the DEBUG_SWITCH flag from -g to -g -O.

Ok, I entered make install and everything went fine until it reached the
file scroll.h. This file includes a number of files in the include/sys
directory. One of them is stream.h. Parse and syntax errors occured into
this file. Then I started to make the files manualy. I entered
gcc -g -O -target sun4 -c scroll.c and voila, it compiled right away.
I had to do this for some other files too (window.c, cm.c, ..). Then the
make file reached file x11term.c which needed an additional include 
sys/time.h because it did not know the definition for 'timeval'.
Then I reached fns.c and it stuck in line 1288 because of problems with 
FSCALE.

Then I selected s-sunos4-1.h and compilation succeeded! Wow, but all new
features I read from the info file dis not work. For example I could not get
a scrollbar.

Allright, now I have had it. I even tried another compiler ( we also have 
Objectcenter) but all was invain. Can somebody please help me?

Joost
From: grossjoh@petty.ls6.informatik.uni-dortmund.de (Kai Grossjohann)
Newsgroups: gnu.emacs.help
Subject: better text-mode?
Date: 20 Nov 92 17:11:46
Organization: Universitaet Dortmund, Lehrstuhl Informatik VI
Distribution: world
Reply-To: Kai Grossjohann <grossjoh@ls6.informatik.uni-dortmund.de>
NNTP-Posting-Host: petty

Hi there!

I used to use Mess-Dos (years ago). While that's terrible enough in itself, I
have been spoiled by features of "editors" like MS-Word that distinguish
between "hard" and "soft" newlines. Why do I always have to type M-q after
changing something in the middle of a paragraph?

What I would like to have is the following:

Normally, Emacs displays lines that are longer than fill-column by inserting a
backslash at the end and doing a wrap. What I want is to have a _word-wrap_.

Please reply by email

Thanx,

		-- Kai
--
--
  Kai Grossjohann            Phone (voice): 49 231 75 30 15
  Baroper Str. 331 App. 510  E-Mail: 
  W-4600 Dortmund 50         grossjoh@ls6.informatik.uni-dortmund.de
  Germany                    
--
By the year 2000 we're going to have the best educated Americans
in the world.
                        -- Dan Quayle
From: rkc@xn.ll.mit.edu
Newsgroups: gnu.emacs.help
Subject: Outline mode with latex
Date: 23 Nov 92 20:29:37 GMT
Organization: MIT Lincoln Laboratory

I am trying to get outline-mode to work with latex.  The manual describes how
to use levels with a formatter that uses @chap and @section, but not other
notations like latex's \chap and \section.  After reading the regexp part of
the manual, I decided the correct magic should be:

(setq outline-regexp '"\\chap\\|\\\\(sub\\)*section")

But this doesn't seem to work with gnuemacs v. 18.55.8 running on a
sparstation 1+.  Specifically, when I use this to try and hide (C-c C-h)
levels, I get the error: "Unmatched \\)".  I've played around with a dozen
varients, but can't get this to work.

Am I making a mistake, or is this simply a matter of an old
version of emacs? 

			-Rob
Newsgroups: gnu.emacs.help
From: rdb@ktibv.uucp (The Graphical Gnome)
Subject: DEMACS problem on PC with PC-NFS
Organization: KTI BV
Date: Thu, 19 Nov 1992 09:51:41 GMT

I'm using DEMACS on my PC at home, without any problems (exept the
ones I create myself), However, when I use the same configuration on
my machine at my work, I get mad from the remark

Disk file has changed since visited or changed.

Sometimes I get this "error" while trying to save, and sometimes
already when I want to edit.

Q. Can I switch this misfeature off.
   What is exactly the problem causing this behaviour.

Happy Hacking The Graphical Gnome

-----------------------------------------------------------------------------
| Rob den Braasem    | "Before I sink into the big   | Voice :-31-79-531825 |
|                    |  sleep, I want to hear the    | Fax   :-31-79-513561 |
|                    |  scream of the butterfly."    | Mail  :              |
| "PABRAS"           |  J. Morrison          | ..!sun4nl.nluug.nl!ktibv!rdb |
| KTI bv             |-------------------------------| ---------------------|
| P.O. Box 86        | "I die when it's time for me to die. So let me live  | 
| 2700 AB Zoetermeer |   my life the way I want to."                        |
| The Netherlands    |   Jimi Hendrix                                       |
-----------------------------------------------------------------------------

Newsgroups: gnu.emacs.help
From: travers@cssn09.ssc.gov (Bernard Traversat)
Subject: Probem with Mouse setup on SGI 
Keywords: emacs-sgi-mouse
Reply-To: travers@cssn09.ssc.gov (Bernard Traversat)
Organization: Superconducting Super Collider Laboratory
Distribution: gnu
Date: Tue, 17 Nov 1992 17:50:41 GMT


Hi,

I am having problem to setup correctly the mouse control
with emacs on my SGI. I cannot "cut-and-paste" from a different
window into my emacs window. Also, winthin the emacs window I cannot
"cut-and-paste" using the mouse selection button.

I was wondering, If someone find a way to solve this problem ?

Thanks.

BT


*--------------------------------------------------------------------------*
|  Bernard Traversat, Applications Support Group,Physics Research Division |
|  Superconducting Super Collider Laboratory                               |
|  2550 Beckleymeade Ave./MS-2003, Dallas, Texas  75237                    |
|  Internet: travers@sscsg0.ssc.gov                                        | 
|  Phone: (214)708-1171                             Fax: (214)708-5143     | 
*--------------------------------------------------------------------------*

Newsgroups: gnu.emacs.help
From: jlph7@fel.tno.nl (Joost van Lawick van Pabst)
Subject: emacs_sparc2-etc....--> Clear
Organization: TNO Physics and Electronics Laboratory
Date: Thu, 19 Nov 1992 09:03:33 GMT

Ok, thank you for the answers. I made some assumptions
which were definitly not correct. We do have Solaris but
version 1.1 and this is equivalent to sunos4.1.2 and the
solaris version for emacs is solaris 2.0 which is based
on System V (so I was told). 

Second thing is that all the super features (scrollbars,
multiple windows, etc..) are part of emacs 19 which is 
yet to be released.

So, I will wait until this new version will be released.
Does anybody know when this will be?

Joost

-- 


------------------------------------------------------------------------------
Name:     Ir J van Lawick van Pabst  |  TNO Physics and Electronics Laboratory
Newsgroups: gnu.emacs.help
From: short@asf.com (Lee Short)
Subject: search behavior in elisp: catching a failed search
Organization: ASF
Date: Wed, 18 Nov 1992 16:31:18 GMT


I'm trying to write some Elisp code that searches through a mail
message for a string, and performs different actions based on whether
or not the string is found.  My code looks like this:

(defun my-string-find  (string-arg)
   (set-mark-command nil)
   (beginning-of-buffer)
   (if  (word-search-forward string-arg)
       (progn
          (set-mark-command t)
          t
       )
       (progn
          (set-mark-command t)
          nil
       )
   )
)


But when I execute the line

   (if  (word-search-forward string-arg)

then my program is jumped out of.  I can't seem to find the source for
word-search-forward in our source directory.  Is there a
catch-and-throw signal I could catch?  Is there another function to do
the search?  Is there a better way to do this in the first place?


thanks in advance,
Lee

-- 
short@asf.com              The mystery of government is not how Washington
Lee Short                  works, but how to make it stop.  -- P.J. O'Rourke
Software Janitor        I speak for none of the many steps in the food chain
Hughes Training, Inc.         between myself and General Motors corporation.
Newsgroups: gnu.emacs.help
From: elton@cbnewsb.cb.att.com (elton.huang)
Subject: help on binding a function
Organization: AT&T
Date: Fri, 20 Nov 1992 01:30:28 GMT

I want to bind

switch to Buffer: *Buffer List*

to a key. Does anyone has a quick answer ?
I will appreciate. E-mail please.

Thanks,

Elton
Newsgroups: gnu.emacs.help,comp.lang.pascal