HDTenEightyP/NetNews huggingface dataset:
From: jf41+@andrew.cmu.edu (Jonathan R. Ferro)
Newsgroups: gnu.emacs.help
Subject: Re: TAB key in (C Fill) mode
Date: 22 Jul 92 17:59:22 GMT
	<1992Jul22.180640.5161@murdoch.acc.Virginia.EDU>
	<ETHANB.92Jul22140006@ptolemy.astro.washington.edu>
Organization: Carnegie Mellon, Pittsburgh, PA

Putting this line in your .emacs:

(setq c-tab-always-indent nil)

will cause a c-mode TAB to do normal indentation if it is at the
beginning of a line, but insert a \C-i character (i.e. a real TAB) if it
is anywhere after the first non-whitespace character of the line.

--
Jon Ferro		MIT Transportation Modelling Research Center (TMRC)
jf41+@andrew.cmu.edu	"We can hack it!"
SGNTR VRS VRSN 3.1B: Strppd nd cmprssd fr qckr trnsmssn! nfct yrs tdy!
From: thomson@fluky.mitre.org (Duncan Thomson)
Newsgroups: gnu.emacs.help
Subject: Help with lemacs and MH Mail "comp"
Date: 22 Jul 92 22:14:49 GMT
Organization: /home/fluky/thomson/.organization


I've just got some X-server software for my PC, and we've just got
Lucid emacs installed on our sun unix server, and I've just got it
working (and it's neat!) but I have a couple of problems.

1.  My edt emulation doesn't work any more.  Oh well, time to get rid
    of that old baggage from 10 years ago when I was using VAX VMS and got
    the EDT keypad burned into the ROM in my head...

2.  When I invoke the MH mail command: "comp -editor lemacs", it barfs
    on me with the following error messages: (begin)

Initialization error: Wrong type argument: stringp, nil

load-path is nil
exec-directory is nil
emacs: No current X display connection to close
whatnow: problems with edit--/home/fluky/thomson/Mail/draft deleted

(end of error messages)
Nobody around here knows anything about MH mail, and few know much
about emacs.  Can anybody out there help me out?

Thanks

Duncan Thomson
duncant@mitre.org
Newsgroups: gnu.emacs.help
From: rudis+@cs.cmu.edu (Rujith S DeSilva)
Subject: Re: easy gnuemacs questions
Date: Mon, 27 Jul 92 16:17:16 GMT
Organization: School of Computer Science, Carnegie Mellon

In article <RATINOX.92Jul27083452@splinter.coe.northeastern.edu>
ratinox@splinter.coe.northeastern.edu (Richard Pieri/Stainless Steel Rat)
writes:
>>>>>> On 27 Jul 92 05:14:35 GMT, cmeyer@warp.Stanford.EDU (Craig Meyer)
>>>>>> said:
>CM> 1) Is there a way to specify two or more files when invoking gnuemacs,
>CM> with each file ending up in its own window?
>
>Certainly: emacs file1 file2 file3 ... filen

This doesn't make each file end up in its own window.

>CM> 2) Is there a way to make . refer to the directory where gnuemacs was 
>CM> invoked instead of the default directory?
>
>Normally this behavior is... normal :-). Check your .emacs file and the
>system configuration for a "cd" command. You may want to ask your sysadmin
>if you didn't understand that.

Useful advice, and probably addresses CM's particular problem.  However, in
emacs, `.'  refers neither to the default directory, nor to the directory
emacs was invoked in.  Try it and see!

Both the above would require some hacking to do.

>CM> 3) What is a simple way to change the default directory?  (This is 
>CM> a real beginner's question; I know that I have to set the variable
>CM> default-directory, but I don't know the syntax for binding this to a key.)
>
>M-x cd RET directory RET

Right.  It doesn't help that `apropos directory' doesn't point to `cd', and
who would expect the Unix command to work within emacs?

Rujith de Silva.
Carnegie-Mellon University.
Newsgroups: gnu.emacs.help
From: shenoy@iastate.edu (Shiva Shenoy)
Subject: Re: maple mode
Organization: Iowa State University, Ames IA
Date: Mon, 27 Jul 1992 21:29:04 GMT

>Hi all,

>Has someone written a Maple mode and do you know where I could get it ?


Host archive.cis.ohio-state.edu

    Location: /n/archive/0/extra-ftp/gnu/emacs/elisp-archive/modes
           FILE -rw-rw-r--       8652  Jul 24 1990  maple.el.Z

Host faui43.informatik.uni-erlangen.de

    Location: /mounts/epix/epix/gnu/elisp-archive/modes
           FILE -r--r--r--       8652  Jul 24 1990  maple.el.Z

Host forwiss.uni-passau.de

    Location: /pub/unix/gnu/emacs/lisp/modes
           FILE -rw-rw-r--       8652  Feb 27 1991  maple.el.Z

Host ftp.uu.net

    Location: /languages/elisp/modes
           FILE -rw-r--r--       8652  Jul 23 1990  maple.el.Z

Host gatekeeper.dec.com

    Location: /.1/GNU/elisp-archive/modes
           FILE -r--r--r--       8652  Jun 22 09:39  maple.el.Z

Host iamsun.unibe.ch

    Location: /emacs
           FILE -rw-r--r--      19426  Nov 22 1990  maple.el

Host ifi.informatik.uni-stuttgart.de

    Location: /pub/gnu/emacs_extras
           FILE -rw-r--r--       8652  Feb 25 16:17  maple.el.Z

Host isfs.kuis.kyoto-u.ac.jp

    Location: /GNU/emacs-lisp
           FILE -rw-rw-r--       8652  May 18 23:09  maple.el.Z

Host rs3.hrz.th-darmstadt.de

    Location: /pub/editors/GNU-Emacs/elisp-archive/modes
           FILE -rw-rw-r--       8652  Jul 24 1990  maple.el.Z

Host saqqara.cis.ohio-state.edu

    Location: /gnu/emacs/elisp-archive/modes
           FILE -rw-rw-r--       8652  Jul 24 1990  maple.el.Z

Host src.doc.ic.ac.uk

    Location: /gnu/EmacsBits/elisp-archive/modes
           FILE -r--r--r--       8652  Jul 24 1990  maple.el.Z

Host toklab.ics.osaka-u.ac.jp

    Location: /elisp/library/mode/language
           FILE -rw-rw-r--       8652  Jul 27 1990  maple.el.Z
-- 
Shiva Shenoy                           | e-mail: shenoy@iastate.edu 
2066 Black,                            | Office: (515)-294-0082
Dept. of Aero. Engg. & Engg. Mechanics | Home  : (515)-296-7640
Iowa State University, Ames, IA 50010  |
Newsgroups: gnu.emacs.help
From: jaf@inference.COM (Jose A. Fernandez)
Subject: Solaris 2.0 vs Emacs 18.58
Organization: Inference Corporation
Date: Thu, 23 Jul 1992 22:01:56 GMT

I have taken the big leap and installed Solaris 2.0 on my SPARCstation 1+.
That was easy (with the commercial release; the beta release wasn't so easy).

I'm in the midst of the big leap of getting Emacs 18.58 going.  Is there
anyone out there who is in the midst of this task or has already completed
this task?

I have got a working version (except for PTY support, which "appears to be
straight-forward" ;-), but I do not grok the SYSVR4/Solaris environment and I
seek the counsel of people who do (and who grok Emacs, of course :-).

Newsgroups: gnu.emacs.help,comp.parallel
From: J N Simone <jns@castle.ed.ac.uk>
Subject: dired mode for CM data-vault
Keywords: dired data-vault connection-machine
Source-Info: From (or Sender) name not authenticated.
Organization: Edinburgh University
Distribution: gnu
Date: 22 Jul 92 17:05:55 GMT


Has anyone cobbled together an emacs dired mode that allows one to
manipulate files on a connection machine data vault? It would be
useful to be able to browse directories, copy/delete/rename
files.
From: troy@cqs.washington.edu (Troy Frever)
Newsgroups: gnu.emacs.help
Subject: emacs and openwindows
Date: 27 Jul 92 18:11:21 GMT
Organization: University of Washington

I have a very simple question.  Does anyone know how to get the
selection service to work when running emacs under OpenWindows (2.0 or
3.0) on a Sun Sparcstation (SunOS 4.1.1)?  Is there some contrib code
for this?  Any help would be appreciated.  Thanks.


Troy Frever
troy@u.washington.edu
From: jf41+@andrew.cmu.edu (Jonathan R. Ferro)
Newsgroups: gnu.emacs.help
Subject: Re: Define fnt for `replace next word'
Date: 22 Jul 92 21:06:08 GMT
Distribution: gnu
Organization: Carnegie Mellon, Pittsburgh, PA

The replace-next-word function is bound by default to "M-d".  :-)

--
Jon Ferro		MIT Transportation Modelling Research Center (TMRC)
jf41+@andrew.cmu.edu	"We can hack it!"
SGNTR VRS VRSN 3.1B: Strppd nd cmprssd fr qckr trnsmssn! nfct yrs tdy!
Newsgroups: gnu.emacs.help
From: rms@gnu.ai.mit.edu (Richard Stallman)
Subject: elisp: interactive calling of C subroutines
Organization: Gatewayed from the GNU Project mailing list help-gnu-emacs@prep.ai.mit.edu
Date: Wed, 29 Jul 1992 14:40:49 GMT

People should note that other built-in Lisp primitives are special in
other ways.  The three that are special in this particular way are not
the only ones that you may find yourself unable to redefine.

It would be a bad idea for us to try to state which primitives are
special, because it might change at any time.
From: barmar@think.com (Barry Margolin)
Newsgroups: gnu.emacs.help
Subject: Re: elisp: interactive calling of C subroutines
Date: 29 Jul 1992 00:59:58 GMT
Organization: Thinking Machines Corporation, Cambridge MA, USA
Distribution: gnu
NNTP-Posting-Host: telecaster.think.com

In article <ACEVEDO.92Jul28095546@hippocrene.mit.edu> acevedo@mit.edu (Raul Acevedo) writes:
>    (setq foo (symbol-function 'forward-char))  ; so you can recover it
>    (fset 'forward-char 'backward-char)
>
>This will not work.

It works for me.  After doing that, C-f goes backward.

Are you sure you have C-f bound to forward-char?  Maybe you have a
customization that binds it to something else.
-- 
Barry Margolin
System Manager, Thinking Machines Corp.

barmar@think.com          {uunet,harvard}!think!barmar
Newsgroups: gnu.emacs.help
From: acevedo@mit.edu (Raul Acevedo)
Subject: Re: How to locate a function?
Organization: Massachusetts Institute of Technology
Distribution: gnu
Date: Tue, 28 Jul 1992 13:44:06 GMT

In article <22053@venera.isi.edu> bcho@ISI.EDU (Bonghan Cho) writes:

   How can I know the directory where a given function resides?
   Since the load path has many paths, otherwise, it is very diffcult to
   locate functions in order to modify the function definitions.

I have the following code that searches `load-path' for where an elisp
*package* (i.e. a file like `rmail.el' or `gnus.el', not a function)
resides:

(defun where-is-library (file arg)

  "Find where the Emacs Lisp library FILE is in the current `load-path'.

By default, appends \".el\" to the filename given, unless FILE already
ends in \".el\" or \".elc\".  If a prefix argument is given, then no
\".el\" prefix is given."

  (interactive "sWhere is library: \nP")
  (let ((path load-path)
        (file (if (or arg (string-match ".elc?\\'" file))
                  file
                  (concat file ".el"))))
    (while (and path (not (file-exists-p (concat (car path) "/" file))))
      (setq path (cdr path)))
    (if path
        (message "File %s is in %s." file (car path))
        (message "File %s not found." file))))

If you want to know about a particular *function*, you have to use tags. 
--
Raul J. Acevedo
acevedo@MIT.EDU

Life is a mystery and it's an unsolvable one.  You simply live it through, and,
as you draw your last breath you say "What was that all about?"
		--- Marlon Brando
Newsgroups: gnu.emacs.help
From: asrael@bob.informatik.rwth-aachen.de (Stefan Schoef)
Subject: emacsclient doesn't work
Keywords: emacsclient
Organization: Rechnerbetrieb Informatik  /  RWTH Aachen
Date: 24 Jul 92 07:49:43 GMT

When I try to start emacsclient on a sparc station, I always get the
message "stat: No such file or directory". On a hp9000s700 it will
work perfectly.
Maybe it's the operating system on the sparc (sparc-sun-sunos4.1)?

Any help is greatly appreciated!

Stefan


   =========================================================================
   !  Stefan Schoef   !  Tel.: +49 - 241 - 60 39 80                        !
   !  Amyastr.32      !____________________________________________________!
   !  5100 Aachen     !----------------------------------------------------!
   !  Germany         !  E-Mail: asrael@i1.Informatik.RWTH-Aachen.DE       !
   =========================================================================
From: jct@se33.wg2.waii.com (Jim Thompson)
Newsgroups: gnu.emacs.help
Subject: Re: TAB key in (C Fill) mode
Date: 23 Jul 92 18:38:07 GMT
Reply-To: thompson@se01.wg2.waii.com
Organization: Western Geophysical Exploration Products
In-reply-to: abz@controls.ccd.harris.com's message of 22 Jul 92 16:34:05 GMT

In article <1992Jul22.163405.12632@ccd.harris.com> abz@controls.ccd.harris.com (Andrew B. Ziffer) writes:

   I am sick of typing ctrl-Q TAB to get a simple tab in my C code every time
   I want to indent something.  How can I change this so the TAB key alone will
   print a single TAB in (C Fill) mode.

Consider using M-i instead--it will insert a Tab similar to C-q Tab;
if your terminal has a Meta key, you might find this easier to type
than C-q Tab (I do), and you get to keep Tab's normal function (which
is useful when you need it).  After a while, you get used to typing
M-i instead of Tab.

Jim

--
   _    Jim Thompson           |  Wanted:
 _| ~-  thompson@wg2.waii.com  |	Nick Park's "Grand Day Out"
 \,  _} Western Geophysical    |	on VHS-format videotape
   \(   Houston, Texas         |  Email me if you know where I can buy it.
From: g-yao@cs.yorku.ca (Ling Yao)
Newsgroups: gnu.emacs.help
Subject: DEMACS
Date: 26 Jul 92 14:36:32 GMT
Article-I.D.: yetti.1362
Distribution: gnu
Organization: York University, Dept. of Computer Science

Hi, 
I would appreciate greatly if anybody can provide some information or where I
can get these information about GNU demacs?
   
   1. Is there a VI mode for demacs?
   2. Is there a mouse drive for demacs?


   Thanks in advantage.
From: wmesard@tofu.oracle.com (Wayne Mesard)
Newsgroups: gnu.emacs.help
Subject: Re: Cursor appearing in buffer during interactive command
Date: 29 Jul 92 20:51:43 GMT
Organization: /home/wmesard/.organization
X-Disclaimer: This message was written by an unauthenticated user
              at Oracle Corporation.  The opinions expressed are those
              of the user and not necessarily those of Oracle.

rray@lookout.it.uswc.uswest.com (Randy J. Ray) writes:
> I have a command that goes through a buffer and deletes any line that
> contains a specified pattern. I used it to delete lines marked with a
> debugging comment.  It has the option of being interactive, where it
> queries you prior to each delete. When it does this, the cursor is in
> the minibuffer, at the end of the query. I would like it to be in the
> buffer, at the point that the search-forward has it at, a la
> query-replace.

read-char is what you want to know about.  As in:

    (defun mumble ()
      (interactive)
      (message "query-deleting lines:")
      (let ((inp (read-char)))
	(if (char-equal ?\n inp)
	    ...don't do it...
	  ...do it...
	))

BTW, Emacs already has a function called delete-matching-lines (aka
flush-lines) which sounds like the non-interactive version of your
function.
--
Wayne();
WMesard@us.Oracle.COM
From: ryanr@beethoven.beethoven.CS.ColoState.EDU (richard ryan)
Newsgroups: gnu.emacs.help
Subject: removing leading tabs in supercite
Date: 27 Jul 92 02:47:07 GMT
Distribution: gnu
Organization: /s/bach/a/under/ryanr/.organization

Hello,

I guess right about now it's pretty obvious that I'm a new emacs user,
but I just found Supercite and was wondering if anyone could tell me
how to remove the leading tab you get get in Supercite without leaving
the non-nested citation.  Is it OK if I post your answer?

Thanks,
Richard.
From: cah@cs.bham.ac.uk (Ceri Hopkins)
Newsgroups: gnu.emacs.help
Subject: Trouble with info
Date: 23 Jul 92 11:36:24 GMT
Organization: School of Computer Science, University of Birmingham, UK

I'm having trouble with formatting a texinfo file and receive the
following error message after a proportion of the formatting had been
done.

"Required feature info was not provided"

Can anyone point me to the source of this error? This came to light
when trying to read a ready "compiled" Info file in GNUS. Although
previously working, when trying to read it now I receive the same
message as the above. Reading the standard info files (C-h i) is not a
problem. 

Ceri
--
Ceri Hopkins                                    
School of Computer Science                        C.A.Hopkins@Cs.Bham.Ac.Uk
University of Birmingham			  Tel. +44-21-414-4766
Newsgroups: gnu.emacs.help
From: peta@thunder.mcrcim.mcgill.edu (Peter Whaite)
Subject: Re: First person supercite attribution and citation
Organization: McGill Research Centre for Intelligent Machines
Date: Fri, 31 Jul 92 19:56:15 GMT

In article <JSC.92Jul31110000@saxon.Eng.Sun.COM> jsc@saxon.Eng.Sun.COM (John Cooper) writes:
>> "Peter" == Peter Whaite <peta@thunder.mcrcim.mcgill.edu> writes:
>
>In article <1992Jul30.223022.26683@thunder.mcrcim.mcgill.edu> peta@thunder.mcrcim.mcgill.edu (Peter Whaite) writes:
>
>    Peter> When I am citing one of my own mail messages I would like
>    Peter> supercite to give me something like:
>
>    >>>>> On Thu, 30 Jul 92 14:13:17 -0400, I said:
>
>    Me> Blah blah blather blather blither blither. Blah blah blather blather
>    Me> blither blither. Blah blah blather blather blither blither. Blah blah
>    Me> blather blather blither blither. 
>
>Note when someone replies to you (as I am doing now), the above 'Me'
>citation remains intact, but it doesn't refer to me - it refers to you
>instead!! In general any citations matching 'Me' or 'You' need to be
>toggled in the reply. I believe this is something that Barry Warsaw is
>working on for Supercite V3.0, which is expected some time in the Fall
>of this year.
>--

Yes -- I actually sent off a message with "You>" in it.  When I saw the reply
I thought "uh oh", was I naive?!!  Not only will "Me" and "You" have to be
toggled in reply, but should others join in the discussion (or comment upon
it) then proper names will have to be substituted correctly.  This is sounding
pretty complicated.

Thanks for the information.  I'll wait for V3.0.



Newsgroups: gnu.emacs.help
From: chuan@milton.u.washington.edu (Chuan "infamous" Lee)
Subject: Re: How does one read a compressed file into a buffer?
Organization: University of Washington, Seattle
Date: Fri, 31 Jul 1992 02:42:50 GMT

In article <BRUNNOCK.92Jul30164412@e40-008-7.mit.edu> brunnock@athena.mit.edu (Sean Brunnock) writes:
>
>Hello. I seem to recall that there was a command to open
>compressed files and read them into a buffer in uncompressed
>form.
>
>I have emacs 18.58. I looked for the string "compress" in the
>summary of Emacs commands within Info, but found nothing.
>
>Could someone give me a clue? Please send the clue to
>brunnock@cambridge.apple.com (I'm a contractor, not an employee).
>
>Thank you for any reply.
>
>Sean Brunnock

You need a file called uncompress.el to do the trick.  I am
emailing that file to you.  Since uncompress is not loaded
initially, you have load it in your .emacs file.

But I have a question for the other [D]emacs users:  I verified
this uncompress.el on unix.  It worked fine.  However, when
I tried this on Demacs (GNU Emacs for DOS), the uncompress
process, say of file sample.Z, was executed, but the uncompressed 
was stored correctly.  I got "bad command or filename" in the file
sample (the ".Z" was gone).  I am very certain the command is
fine (so, it is not a bad command) because I used it with dired
to un/compress files.  It works fine.  Except I can't automatically
uncompress it when I visit a Z file. :-(

Help!

Chuan Lee
U of Washington, Seattle.


Xref: sparky gnu.emacs.help:3523 comp.emacs:2724 comp.os.msdos.apps:4130
From: exs@tigger.cs.bham.ac.uk (Edmund Shing)
Newsgroups: gnu.emacs.help,comp.emacs,comp.os.msdos.apps
Subject: size of environment when shelling out from Demacs
Date: 28 Jul 92 11:27:58 GMT
Organization: School of Computer Science, University of Birmingham, UK


I have a 386SX-25 pc clone with 4 Mb of memory and a 40Mb HD. 
The size of the environment is set in config.sys as follows:

	SHELL=C:\DOS\COMMAND.COM /E:1024 /P

The batch file with which I start up Demacs has the following line:

	SET SHELL=C:\DOS\COMMAND.COM

This batch file also sets up all the other environment variables
required by Demacs (such as EMACSLOADPATH, EMACSEXECPATH etc.).

Now, when I am using Demacs, I sometimes want to shell out to use
another application temporarily (like a spell checker or thesaurus). I
want to use batch files to start these applications up, so that the
correct environment variables are set for the application. However,
when I try to run these batch files I run out of environment space.

I have tried extending the environment space as set in the config.sys
file:

	SHELL=C:\DOS\COMMAND.COM /E:4096 /P

and also tried changing the SHELL variable in my emacs.bat file:

	SET SHELL=C:\DOS\COMMAND.COM /E:2048

but neither seem to have any effect. Has anybody got any suggestions
on how to expand the environment space when shelling out from Demacs?

Thanks (I will summarize responses on the net),


Edmund

-- 
---------------------------------------------------------------------------
Edmund Shing			|  School of Computer Science
E-Mail: exs@cs.bham.ac.uk	|  University of Birmingham
'Chacun ses gouts'		|  Edgbaston
Newsgroups: gnu.emacs.help
From: kevin@traffic.den.mmc.com (Kevin Rodgers)
Subject: Re: Help with key mapping.
Organization: Martin Marietta Western Internal Systems, Technical Operations
Date: Wed, 29 Jul 1992 16:43:30 GMT

In article <1992Jul28.181836.26845@lsil.com> mintz@lsil.com writes:
>Hi,
>
>I am using gnuemacs 18.57 on a sparc 2 running openwindows 3.0 and for some 
>reason my arrow keys (R8, R10, R12 and R14) send the \c-p \c-h \c-f and \c-n
>codes to the editor. This is not so for just a plain xterm and if I run
>my environment under a regular sun 4/110 the keyboard maps to the \c-x*...
>sequences.
>
>Can anyone tell my what I have to add/change/delete so that I could, for 
>example, distinguish between a \c-n generated by hitting the CTL and the N
>and the down arrow key.

There's nothing you can do with elisp, since this is the result of a
hack in internal_socket_read() in src/x11term.c:

	switch (keysym) {
	case XK_Left:
	  strcpy(mapping_buf,"\002");
	  nbytes = 1;
	  break;
	case XK_Right:
	  strcpy(mapping_buf,"\006");
	  nbytes = 1;
	  break;
	case XK_Up:
	  strcpy(mapping_buf,"\020");
	  nbytes = 1;
	  break;
	case XK_Down:
	  strcpy(mapping_buf,"\016");
	  nbytes = 1;
	  break;
	}
-- 
Kevin Rodgers				kevin@traffic.den.mmc.com
Martin Marietta MS A16401		(303) 790-3971
116 Inverness Dr. East
Englewood CO 80112 USA			GO BUFFS!
Newsgroups: gnu.emacs.help
From: goepping@msi-s7.msi.umn.edu (Jason Goeppinger [Math])
Subject: How to use emacsclient (multi-hostwise)
Organization: MSI
Distribution: gnu
Date: Fri, 31 Jul 1992 16:47:28 GMT


I have a more difficult question about how to manage emacsclient when you
have emacs running on a different system than your host machine:

What I do now is :
Start my windowsession
Run emacs on a host with a low load average
  emacs then appends its current hostname to the file ~/.emacserver.add
  and does a server-start
Any program that wants to use emacsclient must be run on the machine given
by the last line in the file ~/.emacserver.add (via rsh or something).

The problem with this is that I don't know of a way to catch emacs before
it shuts down to remove its address from the ~/.emacserver.add file.

How do you catch emacs before it is killed?

Can anyone suggest a better way to do this?

I looked in the FAQ--there's a prog called gnuserv that I haven't
investigated.  Is this the correct route?  I don't have root permission and
wouldn't be able to recompile emacs or anything.

--

	Jason Goeppinger
	(goepping@s1.msi.umn.edu)