HDTenEightyP/NetNews huggingface dataset:
From: desmedt@ruls40.LeidenUniv.nl (Koenraad de Smedt)
Newsgroups: gnu.emacs.help
Subject: port of Zmacs c-middle to GNU Emacs
Date: 28 Jan 93 10:25:11 GMT
Reply-To: desmedt@ruls40.LeidenUniv.nl (Koenraad de Smedt)
Organization: Leiden University, Netherlands

I have been trying to port the behavior of the c-middle mouse button
as defined in Zmacs (on Symbolics) to GNU Emacs 18.58 (under Ultrix
with X11).

The functionality I am trying to achieve is the following: when you
click on an S-expression (in any Emacs window), this S-expression will
be immediately inserted at the current point.

The code below achieves exactly this functionality in a one-window
Emacs.  However, if in a split-window situation, I click in an Emacs
window other than the one where the point is currently, then the
buffer in the other window is replaced by the current buffer.
Obviously, this is not intended, but I don't understand why it happens
and I don't know how to avoid it.  Any suggestions?

(defun x-copy-and-yank-this-s-expression (arg)
  "Copy word being clicked on (without changing current point)
   and yank at current point."
  (save-excursion			;find s-expression being clicked on
    (let (beg end)
      (x-mouse-set-point arg)
      (if (looking-at ")")
	  (progn (forward-char)(backward-sexp)))
      (forward-sexp)
      (setq end (point))
      (backward-sexp)
      (setq beg (point))
      (x-store-cut-buffer (buffer-substring beg end))))
  (if (not (bolp))			;provide appropriate white space
      (progn (backward-char)
	     (if (not (looking-at "[ \t]"))
		 (progn (forward-char)
			(insert-string " "))
	       (forward-char))))
  (insert (x-get-cut-buffer)))

(define-key mouse-map x-button-c-middle 'x-copy-and-yank-this-s-expression)

Koenraad de Smedt  (Leiden University)
Newsgroups: gnu.emacs.help
From: tries@obelix.kph.uni-mainz.de (Volker Tries)
Subject: Key-codes for ATARI-ST keyboard.
Organization: Institute for Nuclear Physics, Uni Mainz, FRG
Date: Thu, 21 Jan 1993 13:04:22 GMT

Hi folks,

I'm looking for a keycode table for my ATARI ST that shows the
usable codes for the emacs.rc-file, so that I can assign arbitrary
functions to arbitrary keys.

Thanx   Volker
TRIES@SERVER.PHYSIK.UNI-GIESSEN.DE
TRIES@OBELIX.KPH.UNI-MAINZ.DE
Xref: sparky gnu.emacs.help:5511 alt.religion.emacs:522
From: amc@WLV.IIPO.GTEGSC.COM (Allen M. Cohen)
Newsgroups: gnu.emacs.help,alt.religion.emacs
Subject: Re: hand injuries
Date: 26 Jan 93 17:46:39 GMT
Organization: GTE Government Systems

In article <1993Jan26.003206.29170@smos.com> david@smos.com (David Tornheim) writes:
>I have used EMACS for about 8 years now and have sworn by it, since
>I can use it on almost every machine.  Unfortunately, I've noticed that
>my hands hurt quite a bit at the end of the day, _especially_ when
I too have repetitive motion syndrome -- probably emacs is a contributor.
-- 
<> Allen M. Cohen -- GTE Govt Sys 31717 LaTienda Dr Westlake Vlg, Ca. 91358 <>
<> 1853 Stonesgate St.            Internet:  amc@IIPO.GTEGSC.COM            <>
<> Westlake Village, Ca. 91361    Voice: (818) 706-6869 FAX: (818) 706-5050 <>
<><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
From: nickel@cs.tu-berlin.de (Juergen Nickelsen)
Newsgroups: gnu.emacs.help
Subject: Re: debugging .emacs
Date: 22 Jan 1993 19:16:29 GMT
Organization: STONE Project, Technical University of Berlin, Germany
Reply-To: nickel@cs.tu-berlin.de
NNTP-Posting-Host: tempest.cs.tu-berlin.de
In-reply-to: pshannon@iapetus.cv.nrao.edu's message of Thu, 21 Jan 1993 03:04:06 GMT

In article <PSHANNON.93Jan20220406@iapetus.cv.nrao.edu>
pshannon@iapetus.cv.nrao.edu (Paul Shannon) writes:

> I just made a change to my .emacs file.  When I restart, I learn
> that there's an  
> 
>      "Error in init file"
> 
> Is there some way I can trace the execution of my .emacs so I can
> find out what I did wrong?   Will this allow me to trace into files
> loaded from .emacs?

Unfortunately debugging .emacs is not very intuitive. Here is what I
do: 

The code in my .emacs is embedded in a let contruct which sets
debug-on-error to t:

  (let ((debug-on-error t))

    ;; startup code

    )

This way Emacs doesn't behave different on error in the .emacs when
starting up (i.e. only the non-descriptive message "Error in init
file" appears), but I can start Emacs with the -q switch ("Do not load
your Emacs init file `~/.emacs'"), then do a (load-file ".emacs").

When an error occurs, the usual debugger window appears.


--
Juergen Nickelsen
From: rms@gnu.ai.mit.edu (Richard Stallman)
Newsgroups: gnu.emacs.help
Subject: Mode line problem with HP2648A terminal
Date: 23 Jan 1993 19:14:46 -0500
Organization: Gatewayed from the GNU Project mailing list help-gnu-emacs@prep.ai.mit.edu
Distribution: world

This is definitely a termcap problem.  Plese getthe GNU termcap manual
and read about "magic cookies"--it sounds like thatterminal uses them.

If you do get a correct termcap entry for that terminal,
please send me the corrected entry.

	 So, does anyone know a way to make Emacs update the entire mode
    line, instead of just what's changed, or some other way around this
    problem?

It would be a mistake even to consider such possibilities now.  When
certain terminal facilities don't work, don't start by trying to avoid
using them.  First try to fix them!  Don't give up without even
trying.
Newsgroups: gnu.emacs.help
From: rhs9145@ultb.isc.rit.edu (R.H. Starmer)
Subject: keypad number-keys on a pc connected to a sun
Keywords: keypad numbers
Organization: Rochester Institute of Technology
Date: Mon, 25 Jan 1993 00:07:13 GMT

I am having trouble with a pc hooked up to a sun through Sun's
version of TELNET (from their pcnfs package) when running emacs.
I want to be able to use the number keys on the keypad to enter 
numerical data, but all that I get is control characters that
send my cursor all around the screen.  Does anyone know how
to fix this problem?

Rob Starmer
rhs9145@ultb.isc.rit.edu
Newsgroups: gnu.emacs.help
From: banati@lut.fi (Jozsef Banati)
Subject: Demacs questions
Date: Fri, 22 Jan 1993 15:07:39 GMT
Distribution: gnu.emacs
Organization: Lappeenranta University of Technology, Finland

Hi,
    Could someone help me please to solve the following problems in 
    Demacs? I use it on a 386 PC.

(1) How to stop beeping? Based on the Emacs-FAQ, I tried to insert this
    line into termcap file   " :vb=:"   and set variable "visible-bell" t
    without any effect.
(2) How can I bind "delete-backward-char" to BackSpace (BackArrow?) key?
    Now Ctrl-BackSpace calls this function. I think, normally "help" is 
    assigned to the BackSpace key in Demacs, but bobcat swaps it.
(3) Is there any "better" dired than v.4.53 (if I remember well) for
    Demacs and how to install it? This was included in Demacs distribution 
    package.

Let me note that I have no experinece with lisp programming...
Thank you very much for your time.      --Jozsef--

---------------------------------------------------------------------------
E-Mail: Banati@sisu.lut.fi         Lappeenranta University of Technology
                                                  Finland
---------------------------------------------------------------------------
From: hippie@rigel.cs.pdx.edu (alan m nichols)
Newsgroups: gnu.emacs.help
Subject: Emacs on SCO unix
Keywords: SCO Emacs
Date: 25 Jan 93 03:51:21 GMT
Article-I.D.: pdxgate.6748

I am trying to install emacs on a 386 running SCO Unix 3.2.2 and have been
getting nothing but trouble.  I downloaded and build GCC which seemed to 
help, but the executable of emacs i got after building it using gcc does 
nothing except sit there and beep at me with some error message.

Is there anybody out there who has had success building emacs on this type of
computer/OS?  If so, please send me info direct via e-mail, as I am not sure    that I will read the newsgroups much.

Thanks a bunch in advance

Alan
Alan Nichols
NICHOLS@GRIN1.BITNET               |     Grinnell Dead Jugglers Society --
NICHOLS@AC.GRIN.EDU                |     We juggle Nothing at midnight.
NICHOLS@HILBERT.MATH.GRIN.EDU      |     (only if Nothing = torches)
Newsgroups: gnu.emacs.help
From: tomg@cuckoo.egg.com (Tom Glover - SysAdm)
Subject: SCO UNIX and EMACS Meta key
Organization: The Cuckoo's Egg
Distribution: gnu
Date: Sun, 24 Jan 1993 23:44:04 GMT

Has anyone any idea why I am having trouble with the Meta key on
EMACS (latest version) and SCO UNIX 3.2.4.1

Compilation goes fine and EMACS works fine except for the following.
When I first run it I get a "select error - invalid argument". Then
when I use the Meta key e.g. ESC-v to page back through a document
I usually get the same error message. However I don't always get it.
Sometimes the Meta key works.

Any help would be appreciated.
From: dodd@roebling.poly.edu (Lawrence R. Dodd)
Newsgroups: gnu.emacs.help
Subject: Compressed Info??
Date: 28 Jan 1993 10:39:08 -0500
Organization: Gatewayed from the GNU Project mailing list help-gnu-emacs@prep.ai.mit.edu
Distribution: world
Reply-To: dodd@roebling.poly.edu


>>>>> "Neal" == Neal Becker <neal@ctd.comsat.com> writes:

    Neal> Sure would like to have it!  I use crypt++ and Dave Gillespie's info
    Neal> version 1.05.  I tried gzip'ing an info, and and changes the localdir
    Neal> to say e.g.,

    Neal> rcs: (rcs.info.z)

    Neal> But it didn't work.  (complained something about node top).

    Neal> Since crypt++ should intercept calls to find-file, I thought this
    Neal> would work.  Anyone have any ideas?

  I-said> the problem is that info.el uses `insert-file-contents' instead of `find-file'
  I-said> to get the file rcs.info.z.  One possible hack is to stick in a call to
  I-said> (crypt-find-file-hook) immediately following the call to
  I-said> `insert-file-contents' like this: ...

sorry, I spoke too soon.  It doesn't need a call to crypt, all that is needed
to get Gillespie's info.el to work with GNU zip files is for `gunzip' to be
added to the Info-suffix-list (I also defined case-fold-search to be `nil' ...
just in case).  Here is a context diff. Again apologizes for firing off the
previous diff too soon.

Larry
dodd@roebling.poly.edu

================================================================================
diff -cv /home/dodd/lisp/info.el-1.05 /home/dodd/lisp/info.el
GNU diff version 2.0
*** /home/dodd/lisp/info.el-1.05	Thu Jan 28 10:26:19 1993
--- /home/dodd/lisp/info.el	Thu Jan 28 10:30:29 1993
***************
*** 220,227 ****
--- 220,229 ----
  else to use Info-directory if it exists.")
  
  (defvar Info-suffix-list '( (".info" . nil)
+ 			    (".z" . "gunzip -c %s")
  			    (".Z" . "uncompress -c %s")
  			    (".Y" . "unyabba")
+ 			    (".info.z" . "gunzip -c %s")
  			    (".info.Z" . "uncompress -c %s")
  			    (".info.Y" . "unyabba") )
    "List of file name suffixes and associated decoding commands.
***************
*** 553,558 ****
--- 555,561 ----
  	 name2)
  	(t
  	 (let ((suff Info-suffix-list)
+ 	       (case-fold-search)
  	       (found nil))
  	   (while (and suff (not found))
  	     (if (file-exists-p (concat name (car (car suff))))
***************
*** 563,569 ****
  	   found))))
  
  (defun Info-insert-file-contents (file &optional visit)
!   (let ((suff Info-suffix-list))
      (while (and suff (or (<= (length file) (length (car (car suff))))
  			 (not (equal (substring file
  						(- (length (car (car suff)))))
--- 566,573 ----
  	   found))))
  
  (defun Info-insert-file-contents (file &optional visit)
!   (let ((suff Info-suffix-list)
! 	(case-fold-search))
      (while (and suff (or (<= (length file) (length (car (car suff))))
  			 (not (equal (substring file
  						(- (length (car (car suff)))))
================================================================================
From: mildred@csa.bu.edu (Adam Yen)
Newsgroups: gnu.emacs.help
Subject: Need help with RMAIL key customization
Date: 25 Jan 93 17:19:40 GMT
Organization: Computer Science Department, Boston University, Boston, MA, USA
Originator: mildred@csa


Hi,

I'm trying to customize RMAIL keys commands and I have the following error in my .emacs files.  Can anyone give me hand here?

(define-key rmail-mode-map "N" 'rmail-next-message)

I'm trying to remap the CTRL-n to N.

Desparately in need of help,

-Adam

Newsgroups: gnu.emacs.help
From: siffert@spot.Colorado.EDU (Thunder-Thumbs)
Subject: Unix talk from emacs, shell mode, and archie error.
Organization: University of Colorado, Boulder
Date: Wed, 27 Jan 1993 21:24:44 GMT

Hi, I'm an emacs beginner, and I'm just learning about 
window-management and shell interaction.  I have
lisp-dir and have checked the database, but could
not find any reference to unix "talk" - is there any
way to run unix talk from emacs, short of using
terminal-emulation?  

Alternatively, can someone recommend a superior shell-
mode that can emulate vt100?  "dumb" doesn't let me
clear screen or anything.  If there is a good shell-
mode, I can run multiple windows of it and run talk
from there.

I think I'm using emacs 18.56, both from a modem and
from xterms.

Also, I seem to be getting errors from archie.el, version
2.0 - I have the startup lines in my emacs.local, but
when I ask archie to search for an exact match, it thinks
for an instant and then says "Wrong type argument: stringp, nil"
and nothing happens.  Can someone clue me in as to what
I am doing wrong?

Thanks,
Curt
-- 
*  Curt Siffert                  *  'Love is like toast -                 * 
*  Thunder-Thumbs                *   burnt on the outside with            *
*  siffert@spot.colorado.EDU     *   gobs of butter all over it.'         * 
*  Finger me for a good time!!   *   - Me   (Geez, who else?)             *
Xref: sparky gnu.emacs.help:5533 alt.religion.emacs:529
From: randy@kcin.alphacdc.com (Randy S. Welch)
Newsgroups: gnu.emacs.help,alt.religion.emacs
Subject: Re: hand injuries
Date: 27 Jan 93 04:22:02 GMT
Organization: Randy's own unix box..

In article <1993Jan26.070825.22091@EE.Stanford.EDU> sahul@loading-zone.Stanford.EDU (Zakir H. Sahul) writes:

[aches and pains of emacs]

   My left pinky also hurts from hitting the CNTL key a lot.  I wish there was
   something....

After a paticulary bad week of editing I just finally sat down and wrote
up (modified really... ) an entry the elisp/term directory so I could use
my terminals function and arrow keys. 

My hands have felt much better!

-randy
-- 
Randy Welch   also known as..       (home) randy@kcin.alphacdc.com
Boulder, CO                           or   randy%kcin@csn.org
"MS-DOS is to computing as the      (uucp) {csn,scicom}!kcin!randy
 black plague was to Europe" - NH   (at&t) (303) 442-6717
From: ghufran@shades.EBay.Sun.COM (Ghufran Ahmed)
Newsgroups: gnu.emacs.help
Subject: Emacs documentation (plus X-version documentation)
Date: 22 Jan 1993 23:14:26 GMT
Organization: Sun Microsystems, Inc.
Distribution: world
Reply-To: ghufran@shades.EBay.Sun.COM
NNTP-Posting-Host: shades.ebay.sun.com
Keywords: emacs documentation

Does anyone have a copy of the emacs manual ?  If so please forward
?

thanks,

Ghufran
From: iglesias@draco.acs.uci.edu (Mike Iglesias)
Subject: Re: Emacs on OSF/1?
Newsgroups: gnu.emacs.help
Organization: University of California, Irvine
Date: 23 Jan 93 06:35:55 GMT

In article <2435.2b552a48@decus.ch> u_bornetun@decus.ch writes:
>
>Has emacs been ported to OSF/1 running on the DEC Alpha?
>If not, could I build it using some other (existing) header files?

Emacs binaries+sources are on the DEC OSF/1 distribution CD.


Mike
Newsgroups: gnu.emacs.help,alt.religion.emacs
From: dp@world.std.com (Jeff DelPapa)
Subject: Re: hand injuries
Organization: The World Public Access UNIX, Brookline, MA
Date: Wed, 27 Jan 1993 01:46:31 GMT

In article <KPC.93Jan26153012@zog.arc.nasa.gov> kpc@ptolemy.arc.nasa.gov writes:
>i think it's an important issue that would be most cleanly solved by
>making emacs accept sticky control keys (like the way esc can be used
>for meta) or by using a voice interface.  there is a sticky control
>package in the archive but it didn't work well for me when i tried it
>with v18.58.
>
>there's always typing with pens.
>-- 
>i'm open to comparing research career notes with other cogsci/cogneuro people.

 if you use some of the more common machines, the folks at the Trace
Research Center at the University of Wisconsin (Madison) have a
generic sticky-keys package available.  (Unfortunately common system's
seems to mean MS-loss, Windoze, and McSoftware, tho eunix versions
might exist) they have the name AccessSystemname, and are intended for
use by the handicapped.  (They also provide keyed operation of the
mouse, and modes to cope with people that bounce the keys, or tend to
hit adjacent keys.  Other parts provide visual beeps, audible
indications of things like caps-lock, and substitution of input from a
typing aid (eye activated, breath activated, etc.) connected to a
serial port.)  They are provided by the software vendors at no charge,
in compliance with handicapped access provisions of federal
procurement contracts. The Windoze version is in the typing injury
directorys on soda.berkeley.edu, the DOS version will follow shortly.

 I urge everyone to look at the FAQ for the sci.med.occupational
newsgroup.  Occupational Overuse injuries were 60% of all new
workplace injuries in the U.S. in 1991 (220,000 new cases), and they
have been more common than lower back injuries for several years.

This article is an example of using emacs with a voice recognition
system.  My hands started to hurt in the summer of 1991, I haven't
been allowed to type since February of 1992, and have purchased the
DragonDictate system to allow me to continue working.

<dp>
From: mickeyf@vnet.ibm.com (Mickey Ferguson)
Date: Mon, 25 Jan 93 13:23:05 PST
Newsgroups: gnu.emacs.help
Subject: WANTED: emacs-18.59 (or later)
Organization: Rolm
Disclaimer: This note represents my views, not those of Rolm or IBM
News-Software: UReply 3.1
Reply-To: mickeyf%clipper@pnsts412-sun.zfe.siemens.de

I apologize in advance for having to write this message, but since I don't
have direct ftp access (only via mail), it is very difficult for me to hunt
for files.  I'm looking for where to get the latest copy of emacs-18.59 (or
greater if available).  I run lucid emacs, but have found that it won't work
on our dialups, requiring an x-terminal to work.  Thus I have to get the
non-X version for them.  Thanks for the info.

Mickey Ferguson -- Rolm -- FergusoM at scrvm2 -- mickeyf@vnet.ibm.com
From: Carl Lagoze <cjl2@cornell.edu>
Newsgroups: gnu.emacs.help
Subject: Meta key on NCSA Telnet with Mac extended keyboard
Date: 25 Jan 1993 20:26:22 GMT
Organization: Mann Library, ITS
Distribution: world
NNTP-Posting-Host: mac25.mannlib.cornell.edu
X-UserAgent: Nuntius v1.1.1d7
X-XXDate: Mon, 25 Jan 93 15:39:46 GMT
From: dodd@roebling.poly.edu (Lawrence R. Dodd)
Newsgroups: gnu.emacs.help
Subject: Compressed Info??
Date: 27 Jan 1993 20:24:10 -0500
Organization: Gatewayed from the GNU Project mailing list help-gnu-emacs@prep.ai.mit.edu
Distribution: world
Reply-To: dodd@roebling.poly.edu


>>>>> "Neal" == Neal Becker <neal@ctd.comsat.com> writes:

  Neal> Sure would like to have it!  I use crypt++ and Dave Gillespie's info
  Neal> version 1.05.  I tried gzip'ing an info, and and changes the localdir
  Neal> to say e.g.,

  Neal> rcs: (rcs.info.z)

  Neal> But it didn't work.  (complained something about node top).

  Neal> Since crypt++ should intercept calls to find-file, I thought this
  Neal> would work.  Anyone have any ideas?

the problem is that info.el uses `insert-file-contents' instead of `find-file'
to get the file rcs.info.z.  One possible hack is to stick in a call to
(crypt-find-file-hook) immediately following the call to
`insert-file-contents' like this:

-----------
diff -cv /home/dodd/lisp/info-v19.el.\~1\~ /home/dodd/lisp/info-v19.el
GNU diff version 2.0
*** /home/dodd/lisp/info-v19.el.~1~	Wed Jan 27 19:19:26 1993
--- /home/dodd/lisp/info-v19.el	Wed Jan 27 20:08:02 1993
***************
*** 367,376 ****
  			  ;; Insert menu part of the filen=\!f  			  (let* ((pt (point))
  				 (len (nth 1 (insert-file-contents name))))
! 			    (if (search-forward "* menu:" (+ pt len) t)
! 				(progn
! 				  (forward-line 1)
! 				  (delete-region pt (point))))))
  		      (setq d (cdr d)))
  		    ;; Eliminate redundant menu entries.
  		    (goto-char (point-min))
--- 367,378 ----
  			  ;; Insert menu part of the file
  			  (let* ((pt (point))
  				 (len (nth 1 (insert-file-contents name))))
! 			    (progn
! 			      (crypt-find-file-hook)
! 			      (if (search-forward "* menu:" (+ pt len) t)
! 				  (progn
! 				    (forward-line 1)
! 				    (delete-region pt (point)))))))
  		      (setq d (cdr d)))
  		    ;; Eliminate redundant menu entries.
  		    (goto-char (point-min))
***************
*** 582,588 ****
  		(setq buffer-file-name file)
  		(set-buffer-modified-p nil)
  		(clear-visited-file-modtime))))
!       (insert-file-contents file visit))))
  
  (defun Info-select-node ()
    "Select the node that point is in, after using `g *' to select whole file."
--- 584,592 ----
  		(setq buffer-file-name file)
  		(set-buffer-modified-p nil)
  		(clear-visited-file-modtime))))
!       (progn
!         (insert-file-contents file visit)
!         (crypt-find-file-hook)))))
  
  (defun Info-select-node ()
    "Select the node that point is in, after using `g *' to select whole file."

diff exited abnormally with code 1 at Wed Jan 27 20:08:28
-----------

I can't attest for the rigor of this hack. 

Larry
Newsgroups: gnu.emacs.help
From: stromme@brun.ii.uib.no (Stein Arild Stromme)
Subject: Re: How to have OUTGOING mail in an RMAIL file
Reply-To: stromme@brun.ii.uib.no (Stein Arild Stromme)
Organization: Institute of Informatics, University of Bergen, Norway
Distribution: gnu
Date: Mon, 25 Jan 93 10:28:01 GMT

In article <CJB.93Jan25105234@orchid.cs.uq.oz.au>, cjb@cs.uq.oz.au
(Christopher J Biggs) writes:
|> 
|>   How do I get the emacs mail routine to put copies of outgoing mail
|> in a file that i can read with RMAIL.  The FCC header is (I presume)
|> 

........

|> 	Frustratedly,
|> 			Chris.
|> 
|> --
|>  Christopher J Biggs   cjb@cs.uq.oz.au   | "You can have peace.  Or
you can  
|>  Department of Computer Science,         | have freedom.  Don't ever
count on 
|>  The University of Queensland, Australia | having both at
once."--Lazarus Long 
|> ------------veni vidi nuclei deceiri - I came, I saw, I dumped
core------------



I have this in my .emacs:

(setq mail-self-blind t)

Now RMAIL will automatically put a "Bcc: stromme"  on my outgoing mail.