HDTenEightyP/NetNews huggingface dataset:
From: khera@cs.duke.edu (Vivek Khera)
Newsgroups: gnu.emacs.help
Subject: Re: Card file/bibliography wanted
Date: 29 Jul 92 15:18:07 GMT
Organization: Duke University CS Dept., Durham, NC
In-reply-to: berglas@cs.uq.oz.au's message of 29 Jul 92 04:39:31 GMT
X-Md4-Signature: 36511ea721b2580460fe317ac8cd64d3

In article <9587@uqcspe.cs.uq.oz.au> berglas@cs.uq.oz.au (Anthony Berglas) writes:

   Basically, I want to enter a sentence or two about each one, and
   then be able to find them by keyword, author, broad subject etc.
   I would also like to be able output bibtex libraries.

I have a set of tools I've collected and written for doing this task.
Basically, I use GNU Emacs for editing creating the files in BibTeX
format.  Then I use a couple of Perl programs for searching the
collection.  I've also included a small shell script and BibTeX format
for printing out the entire database using LaTeX.

BibTeX format is sufficiently rich that you can store any kind of
information you wan in it.  I ususally store keywords and a short
summary of each article or book.

You can pick up the software from the host cs.duke.edu in the
file dist/sources/bibtools.shar.Z via anonymous ftp.
--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Vivek Khera, Gradual Student/Systems Guy  Department of Computer Science
Internet:   khera@cs.duke.edu             Duke University
            (MIME mail accepted)          Durham, NC 27706     (919) 660-6528
Newsgroups: gnu.emacs.help
From: sharma@euler.Warren.MENTORG.COM (Sharma Kunapalli)
Subject: Lock files while saving files.
Organization: Mentor Graphics Corp. - IC Group
Date: Thu, 30 Jul 1992 20:55:48 GMT

I find saving files in emacs in my system to be
very slow. After some investigation with the help
of our systems administrator here, we discovered
that emacs looks at a lock file created in 
/usr/local/emacs/lock in our environment. Apparently
this seems to be the cause of the slowness while
saving files. Has anyone experienced this problem?

Is there a way to turn of locking mechanism from
inside emacs by setting a variable or something
like that?

Thanks for any insight into this matter.

Sharma
-- 
The opinions expressed here are solely mine. My company has nothing
to do with these.

Email: sharma@euler.warren.mentorg.com
From: bersj@moriah.cs.dartmouth.edu (Joshua Bers)
Newsgroups: gnu.emacs.help
Subject: Installing on a HARRIS 2550
Keywords: install harris hcx cx/ux
Date: 27 Jul 92 22:56:41 GMT
Organization: dartmouth

I'd appreciate any information on how to go about fixing emacs installation
so that it will run under cx/ux on a harris 2550.
	After a few attempts I have created a running executable that 
appears fully functional except for pty's.  Do pty's depend on the file crt0
that comes with emacs to work properly?  I also have to define NO_REMAP
otherwise the dumped xemacs was about 4megs!


-Josh
From: ratinox@splinter.coe.northeastern.edu (Richard Pieri/Stainless Steel Rat)
Newsgroups: gnu.emacs.help
Subject: Re: How to locate a function?
Date: 28 Jul 92 14:27:15 GMT
Distribution: gnu
Organization: 3WA, Boston Office. Or Nu Meta Chi. Take your pick.
In-reply-to: bcho@ISI.EDU's message of 27 Jul 92 23:50:48 GMT
X-Get-A-Clue: Have two, they're small.
X-Signature-Virus-Protection: Version 1.51
X-Posting-Software: GNUS 3.14.1 [ NNTP-based News Reader for GNU Emacs ]

>>>>> On 27 Jul 92 23:50:48 GMT, bcho@ISI.EDU (Bonghan Cho) said:

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

Myself, I do a 'grep "(defun <function-name>" /usr/local/share/elisp/*.el'.
Not pretty, but it does work, because anything not in there I've autoloaded
myself.

--Rat

||||| | | | |  |  |  |   |   |    |    |    |   |   |  |  |  |  | | | | | |||||
                                                   __        ___ 
Richard Pieri, Northeastern's Stainless Steel Rat/   | /| / /   | The Worlds
Internet: ratinox@meceng.coe.northeastern.edu   /__  |/ |/ / /| | Welfare Works
    UUCP: ...!northeastern.edu!splinter!ratinox/   | /| / / / | | Association:
  BITNET: UA_RLP@NUHUB{.BITNET}               /__  |/ |/ / /  | | I will solve
  USNail: 14 Westdale RD  Holbrook, MA 02343 /   | /| / / /___| | any problem
 ICBMnet: 42 deg 1 min N, 71 deg 0 min W    /    |/ |/ /_//_____| for you.
From: harelb@math.cornell.edu (Harel Barzilai)
Newsgroups: gnu.emacs.help
Subject: ELISP Question ...and... "Ouch my fingers!"
Date: 24 Jul 92 06:12:27 GMT
Organization: misc.activism.progressive on UseNet ; ACTIV-L@UMCVMB


For a batch-mode macro (I have the macro-to-elisp function), I need
the command:

if (register number ###) is equal to (string) then (insert-file (or whatever))

and also

if (register number ###) is NOT equal to (string) then (insert-file)

(trivial modification, it will no doubt be, for the later, but it's
possible to spend an hour figuring out the syntax of ()'s, "NOT" or "~" etc.)

please CC replies --> harelb@math.cornell.edu
Thanks
******************************************************************

By the way, if anyone has a *brief* -- like 30K or less, say :-) --
intro to elisp, I would greatly appreciate being emailed...I'm sure
I'm not the only one who need/wants to know more but doesn't have the
time/will to get the whole book (or online version(s) of). What would
be really cool is maybe something of comprable size (50K, say) which
gave, say, 10 sample functions, building up from simplest to more
complex, in such a way (incl. comments) that if you read through them
carefully you're understand the new features of the next emacs
function.

...Then I'd be able to ask more advanced stupid lisp questions here (-:
******************************************************************

Ok, to try to be USEFUL: I was just looking thru gnu.misc.discuss
and was reminded of the old problem I had with pain in my pinky etc
from hitting the <control> key all the time.

Here's what has so far worker fairly well for me:

I re-defined what for me are most of the more common commands:

C-x C-f becomes M-M-f (find file)

C-x C-s becomes M-M-s (save buffer)

C-x  b  becomes M-M-b (switch buffer)

and

C-x k becomes M-M-k (kill buffer)

..and maybe a few others I forgot...

since I don't use "eval" stuff since I don't do much lisp to say the
least, there is no problem with not having what ESC-ESC used to be
bound to, at least for me.

I'd also be interested in hearing any other ideas/comments on this
issue from others...

Harel

******************************************************************

Please CC replies to harelb@math.cornell.edu. Thanks.
From: scullyl@mundania.cs.orst.edu (Lyle Scully)
Newsgroups: gnu.emacs.help
Subject: Using a diff. info page than the one in emacs
Date: 21 Jul 92 23:04:33 GMT
Article-I.D.: mundania.SCULLYL.92Jul21150433
Reply-To: scullyl@prism.cs.orst.edu
Distribution: gnu.emacs.help
Organization: Oregon State University


I am trying to get emacs to use a different info page than the one
that comes up when you do the info function. I wanted to make the
elisp manual file do what it looks like it was designed to do. Any
help would be appreciated.

Lyle Scully
--
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+  Lyle Scully                 +   What is left when honor is lost?   +      
+  scullyl@prism.cs.orst.edu   +         -- Publilius Syrus           +   
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
From: tom@smart.bo.open.de (Thomas Neumann)
Newsgroups: gnu.emacs.help
Subject: Re: Tcsh (T-Shell) in emacs.
Date: 22 Jul 92 21:38:04 GMT
Organization: News at smart

In article <1992Jul21.193139.8557@Warren.MENTORG.COM> sharma@euler.Warren.MENTORG.COM (Sharma Kunapalli) writes:
>Hi all,
>How can I use the Tcsh's esacpe characters in emacs shell?
>

For the most part you don't need to, since you can edit and scroll
back in the emacs buffer anyway.

>For example, tab is the file expansion character in
>Tcsh and it does not work.

There are zillions of elisp utils to expand the filename around point
in shell modes -- the best isea may be to use cmushell.el (IMHO).

bye -- Thomas
Newsgroups: gnu.emacs.help
From: sti@cs.hut.fi (Sami-Jaakko Tikka)
Subject: Re: easy gnuemacs questions
X-Md4-Signature: 8f1d6001620409a77b1644c3781a5296
Reply-To: Sami.Tikka@hut.fi
Organization: Helsinki University of Technology, Finland
	<RATINOX.92Jul27083452@splinter.coe.northeastern.edu>
	<1992Jul27.161716.77531@cs.cmu.edu>
	<RATINOX.92Jul27135611@splinter.coe.northeastern.edu>
Date: Tue, 28 Jul 1992 22:33:44 GMT

In article <RATINOX.92Jul27135611@splinter.coe.northeastern.edu> ratinox@splinter.coe.northeastern.edu (Richard Pieri/Stainless Steel Rat) writes:

> If you mean "call split-window-vertically for each file
> found," that would also be horrendous to deal with visually, and you'll
> rapidly run out of screen lines with a lot of files.

Maybe, but what if you just stopped splitting windows when there is no
more room (like emacs does when window-min-heigth is reached).

To do this you must hack a bit the file .../emacs/lisp/startup.el
which processes GNU Emacs non-X-window-switches and command line
arguments.  For the interested ones, see the function called
command-line-1.  The call to find-file is at the end of it.
--
Sami.Tikka@hut.fi                                  "Live Long and Prosper!"
---------------------------------------------------------------------------
"I think there's a world market for about 5 computers."
        - Thomas J. Watson, Chairman of the Board, IBM (around 1948)
Newsgroups: gnu.emacs.help
From: Scott Brim <swb@nr-tech.cit.cornell.edu>
Subject: tag-stack.el??
Nntp-Posting-User: @cornell.edu
Organization: Cornell University, Ithaca, New York, USA
Date: Wed, 29 Jul 1992 19:48:07 GMT

I used to have tag-stack.el, containing arts-find-tag and other
interesting defuns.  I erased it accidentally, and can't find it
anywhere in the repositories.  Could anyone send me a copy?  It's useful
for a lot more than just managing tags.
					Thanks much ... Scott
---------------------------------------------------------------------
Scott W. Brim				swb@nr-tech.cit.cornell.edu
Information Technologies / Network Resources
Cornell University
Ithaca, NY, USA  14853-2602
Newsgroups: gnu.emacs.help
From: ryanr@lamar.lamar.ColoState.EDU (Richard Ryan)
Subject: installing vm 4.41
Date: Sun, 26 Jul 1992 08:03:24 GMT
Distribution: gnu
Organization: /m/a/ryanr/.organization

Hi,

I'm trying to install vm 4.41 with this makefile:

# beginning of makefile
EMACS=emacs

VM:
	$(EMACS) -batch -q -f batch-byte-compile vm.el
	$(EMACS) -batch -q -l vm.elc -f batch-byte-compile vm-*.el

vm:	vm.texinfo
	$(EMACS) -batch -q vm.texinfo -f texinfo-format-buffer -f save-buffer

all:	VM vm
# end of makefile

The files are all in the directory vm to which I've added to exec-path list and the load path list like this:
(nconc load-path '("/m/a/ryanr/vm"))
(nconc exec-path '("/m/a/ryanr/vm"))

In emacs I loaded it up with "M-x load-file RET vm.elc" and start with
"M-x vm RET"

Although the machine seems to go into vm and views the headers with an
"h" command all right, the letter itself does not show up on the screen
ecxcept for its header Could someone tell me what's going wrong and how
to fix it?

Thanks,
Richard.
--
...
Newsgroups: gnu.emacs.help
From: abz@controls.ccd.harris.com (Andrew B. Ziffer)
Subject: TAB key in (C Fill) mode
Originator: abz@rs2
Organization: Harris Controls
Date: Wed, 22 Jul 1992 16:34:05 GMT



HELP!

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.

Andrew
From: jjung@aludra.usc.edu (John Jung)
Newsgroups: gnu.emacs.help
Subject: Emacs Help?
Date: 24 Jul 1992 11:15:38 -0700
Organization: University of $outhern California, Los Angeles, CA
Reply-To: jjung@usc.edu (John Jung)
NNTP-Posting-Host: aludra.usc.edu

  I've been using Emacs for a long time and love it as a text editor. Lately,
though, I've been trying to get into programming it with Emacs Lisp; the only
problem is, IMHO, it's hard to wade through the documentation for Elisp with
the *info* reader. I have some Elisp programming questions that I would like to
help on. However, I think my questions are pretty basic, so I'd like to know
where I can get the Emacs FAQ.  (I want to do some serious Emacs programming
right now, so I can't wait for the next FAQ posting. [Call me eager =])

  (And if there's any Elisp programmers who have a lot of free time and don't
mind me bugging them for program help, mail me  =)

  Thanks in advance for your help.

						John

John Jung aka Junior         | "If you doubt a friend, you are not being a
Flt. Capt. on calvin [ret.]  |  friend."                     -- Groo #62
Nilgiri Level 20 Mage [ret.] | "Happiness isn't something you experience, it's
E-mail: jjung@aludra.usc.edu |  something you remember."     -- Oscar Levant
Newsgroups: gnu.emacs.help
From: peta@thunder.mcrcim.mcgill.edu (Peter Whaite)
Subject: First person supercite attribution and citation
Organization: McGill Research Centre for Intelligent Machines
Date: Thu, 30 Jul 92 22:30:22 GMT

When I am citing one of my own mail messages I would like 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. 

Before I start hacking away has anyone else done this?  Modifying the
attribution line looks realtively easy -- I make a new version of
sc-header-on-said.   However I'm not too clear about the citation leader.

Newsgroups: gnu.emacs.help
From: danlip@cco.caltech.edu (Daniel Adam Lipofsky)
Subject: binding funtion keys (answer not in FAQ)
Organization: California Institute of Technology, Pasadena
Date: Wed, 29 Jul 1992 03:48:10 GMT


I am working on one set of HP machines, and I want to get the
emacs key bindings to work like the key bindings on a different
set of HP machines which I have worked on previously.  I
managed to get the function key bindings to work by following
the answer to FAQ #127.  However, they look different from the
ones on the good system.  Also, the bindings on the good system
could do things like Shift-F1 and Control-F3, as well as other keys
such as Menu, Prev, Next, InsertChar.  An example of the
code is given below.

Can anyone tell me
1)  Why I can't just port the code over
2)  What the other machine is doing (and how I can get my machine to do it)
3)  If I can't get my machine to do it, how I can bind the function keys
	with modifiers (such as Shift-F1)

An e-mail response would be best.
Thank you,
--danlip

===============================================================================
System I am trying to get emacs function key bindings to work on:
hp9000s800 machines running HP-UX 8.
GNU Emacs 18.55.19

what I did so far (which works) is
(global-set-key "\e[" nil)
(global-set-key "\e[11~" 'help-for-help)             ;;F1
(global-set-key "\e[12~" 'find-file)		     ;;F2
(global-set-key "\e[13~" 'save-buffer)               ;;F3
;; and so on

what I did so far (which doesn't work) was copy the stuff from
below.

===============================================================================
System with working function key bindings:
hp9000s300 machines running HP-UX 8 (I think).
GNU Emacs 18.57.18

the default.el file on this system contains:
(global-set-key "\C-c~11@" 'help-for-help)           ;;F1
(global-set-key "\C-c~12@" 'find-file)		     ;;F2
(global-set-key "\C-c~13@" 'save-buffer)             ;;F3
;; and so on
(global-set-key "\C-c~11A" 'call-last-kbd-macro)     ;;shift-F1
(global-set-key "\C-c~12A" 'start-kbd-macro)         ;;F2
(global-set-key "\C-c~13A" 'end-kbd-macro)           ;;F3
;; and so on
(global-set-key "\C-c~11B" 'set-mark-command)        ;;meta-F1
(global-set-key "\C-c~12B" 'set-visited-file-name)   ;;F2
(global-set-key "\C-c~13B" 'save-modified-buffers)   ;;F3
;; and so on
;;Note: final char is '@' + (1 for shift) + (2 for meta) + (4 for control)

===============================================================================

-- 
"The calender of the Theocracy of Muntab counts down, not up.  No-one knows
why, but it might not be a good idea to hang around and find out."
	--Terry Pratchett, _Wyrd_Sisters_
Newsgroups: gnu.emacs.help
From: vpcsc4@sfsuvax1.sfsu.edu (Emmett McLean)
Subject: ?s about emulating vi's z & z- commands ; setting the default mode
Organization: San Francisco State University
Date: Tue, 28 Jul 1992 21:21:41 GMT

Are there any emacs commands (or code which I can put in my .emacs
file) which execute the following vi commands ?

VI COMMAND NAME          ACTION

z<CR>                    takes the current line and 
                         moves it to the top of the screen

z-                       takes the current line and
                         moves it to the bottom of the screen
                         
Also is there a way to stop the automatic scroll so that 
when I type C-n when I am at the bottom of the screen I
see the same screen I seen before with the next line and
without the top line?

Also, I would like to have emacs automatically go into shell
mode when emacs is invoked.  I placed the following instruction
in my .emacs file :

(setq default-major-mode 'shell-mode )

but when I invoke emacs I am in lisp-interaction-mode.

Any suggestions?
Thanks,
Emmett
vpcsc4@sfsuvax1.edu
Newsgroups: gnu.emacs.help
From: meir@tfs.com (Meir Zaid)
Subject: Re: Alt/Meta doesn't work
Organization: Gatewayed from the GNU Project mailing list help-gnu-emacs@prep.ai.mit.edu
Date: Thu, 23 Jul 1992 16:00:35 GMT

> Using xev, you should see that "M-x" generates a keypress event for the
> character named "scaron," *not* the character "x" (with a Meta modifier).  A
> little xmodmap-ery will fix your problem.  (BTW: If you use the right (as in
> opposite of left) ALT key, "M-x" will work.  I know...  That's not very
> satisfying.)

My problem wasn't only the M-x , non of the Meta key combinations were
recognized.  Both my left and right Alt keys did not generate a Meta.
I fixed it with the following suggestion from a few net people:

clear mod1
add mod1 = Meta_L

Thanks.

--

Meir Zaid			meir@tfs.com
TRW Financial Systems		(510) 704-3362
Berkeley,  California		Fax: (510) 845-7311
From: ratinox@splinter.coe.northeastern.edu (Richard Pieri/Stainless Steel Rat)
Newsgroups: gnu.emacs.help
Subject: Re: How to use emacsclient??
Date: 23 Jul 92 00:06:59 GMT
Distribution: gnu
Organization: 3WA, Boston Office. Or Nu Meta Chi. Take your pick.
In-reply-to: ericdh@cray.com's message of 22 Jul 92 19:30:08 GMT
X-Get-A-Clue: Have two, they're small.
X-Signature-Virus-Protection: Version 1.51
X-Posting-Software: GNUS 3.14.1 [ NNTP-based News Reader for GNU Emacs ]

>>>>> On 22 Jul 92 19:30:08 GMT, ericdh@cray.com (Eric D. Hendrickson)
>>>>> said:

EDH> Hello, I use Emacs in an X11 environment, and I understand you can use
EDH> something called emacsclient as your default editor (by setting EDITOR
EDH> and VISUAL to emacsclient) which will direct the file to be edited to
EDH> your already running emacs window.  Can someone tell me how to set
EDH> this up?  I get connect: Connection refused from emacsclient.

First, you must have Emacs running in a window somewhere. Then you must
call server-start, either from .emacs or manually (M-x server-start). Then
you can use emacsclient.

I'll point out that emacsclient doesn't require X11, it'll work under
sunview or (i)Screen quite nicely.

--Rat

||||| | | | |  |  |  |   |   |    |    |    |   |   |  |  |  |  | | | | | |||||
                                                   __        ___ 
Richard Pieri, Northeastern's Stainless Steel Rat/   | /| / /   | The Worlds
Internet: ratinox@meceng.coe.northeastern.edu   /__  |/ |/ / /| | Welfare Works
    UUCP: ...!northeastern.edu!splinter!ratinox/   | /| / / / | | Association:
  BITNET: UA_RLP@NUHUB{.BITNET}               /__  |/ |/ / /  | | I will solve
  USNail: 14 Westdale RD  Holbrook, MA 02343 /   | /| / / /___| | any problem
 ICBMnet: 42 deg 1 min N, 71 deg 0 min W    /    |/ |/ /_//_____| for you.
Newsgroups: gnu.emacs.help
From: twpierce@amhux1.amherst.edu (Tim Pierce)
Subject: Emacs with a Zenith-19 terminal?
Organization: Amherst College, Amherst MA
Date: Thu, 23 Jul 1992 06:21:01 GMT

Can anyone point me to a bit of elisp which will permit me to use
Emacs with a Zenith-19 terminal?  Failing that, to a document that
explains a bit about the use of terminal .el files (e.g. sun.el,
vt100.el, and the like), so that I can write my own if need be?  I
have inherited one of these hoary old beasts, and while I'd prefer
to use something a little more up-to-date, college students can't
be choosers.  :-)  I've checked the archive on tut.cis.ohio-state
.edu and couldn't find anything helpful.  Besides that, I got
"permission denied" errors whenever I tried to download anything.

For the record, I'm running Emacs 18.58 on a DECstation 5000/133 under
Ultrix v4.2a.

-- 
____ Tim Pierce                / "You mean there are TWO of you, Pierce?
\  / twpierce@amherst.edu      /  God help us all."
 \/ (BITnet: TWPIERCE@AMHERST) /   -- Major Charles Emerson Winchester III
From: berman@nlm.nih.gov (Lew Berman)
Newsgroups: gnu.emacs.help
Subject: X emacs mode
Date: 30 Jul 92 12:51:12 GMT
Reply-To: berman@nlm.nih.gov
Organization: National Library of Medicine


I understand that there is a version of emacs18.58 that will run as an X application
or "x-like" application.  I am working on a sun using openwindows and would like to 
know how I can get this s/w?  Where is it and how do I build it?  

Thanks,

Lew Berman
National Library of Medicine
From: bwoelfel@widget.seas.upenn.edu (Brian Woelfel)
Newsgroups: gnu.emacs.help
Subject: Problem with regexp; not matching maximal # of characters
Date: 25 Jul 92 04:19:18 GMT
Organization: University of Pennsylvania

Hello all,

I'm having a regexp problem.  I think that emacs regexps don't always
slurp up as many characters as they are supposed to.

Here are two emacs regexps

	(1)	"^\\([ab]+\\|bc\\)+$"
	(2)	"^\\([ab]+\\|bc\\)+"

and here is some data:

	(i)	aaa
	(ii)	aaaaaabc
	(iii)	aaaabcaaabcbcaaabc

Regexp (1) matches all three exactly.  Regexp (2) matches this much:

	aaa
	aaaaaab
	aaaab

that is, regexp (2) matches (i) exactly, but only parts of (ii) and
(iii).  However, studying regexp (2) shows that it *should indeed*
match all of the data exactly.  The same regexps translated into unix
egrep regular expressions work as I expect, namely both of these:

	egrep '^([ab]+|bc)+$'
	egrep '^([ab]+|bc)+'

match all the data exactly.

Emacs version:
"GNU Emacs 18.58.1 of Tue Mar 24 1992 on central.cis.upenn.edu (berkeley-unix)"


Is this is a bug in emacs?
  
Is there a better newsgroup to post this question to? 


Thanks a bunch,

Brian Woelfel
Univeristy of Pennsylvania
Programmer for Penn Treebank Project