HDTenEightyP/NetNews huggingface dataset:
From: donaldh@cs.hw.ac.uk (Donald I Hunter)
Newsgroups: gnu.emacs.help
Subject: How to bind backspace ???
Date: 25 Jan 93 13:29:29 GMT
Organization: Dept of Computing & Electrical Engineering, Heriot-Watt University, Scotland

In emacs, how exactly do you redefine backspace so it doesn't return Ctrl-H.
I can easily do this in lucid emacs by doing 

	(define-key global-map 'backspace 'backward-delete-char)

but I can't work out what to replace the 'backspace with in gnu emacs.
I can always redefine backspace to be delete using xmodmap. But that 
buggers motif dialog boxes which require backspace for editing.

Any help would be appreciated.

Donald.
-- 

 +--------------------------------------------------------+
 | Donald I. Hunter                   donaldh@uk.ac.hw.cs |
 +--------------------------------------------------------+
 | Hello. Just walk along and try NOT to think about your |
 |    INTESTINES being almost FORTY YARDS LONG!!          |
 +--------------------------------------------------------+
Newsgroups: gnu.emacs.help
From: viktor@mks.com (Viktor Haag)
Subject: Re: Allowing SPACE in filename (find-file, dired, etc)
Organization: Mortice Kern Systems Inc., Waterloo, Ontario, CANADA
Date: Thu, 28 Jan 1993 16:44:13 GMT

In article <SHENTON.93Jan26134727@troll.gsfc.nasa.gov> shenton@troll.gsfc.nasa.gov (Chris Shenton) writes:
>I'm editing files which frequently have space in their filename, and
>would like the find-file functions in -- for example -- dired to
>recognize the fullname, not just up to the first space.
>
>Anyone have ideas on how to do this?
>
>Thanks.
>--
>-- Chris Shenton    shenton@nsisrv.gsfc.nasa.gov    NASA/GSFC/HSTX 301-286-7905


Well, I'm not saying it can't be done, but as far as I can see

        dired-find-file (dired.el) uses find-file (files.el)

find-file takes a filename as an arg and calls find-file-noselect,
which finds the file, reads it into a buffer and returns the buffer.

find-file-noselect sets the filename to (expand-file-name filename),
and I can't find any source for expand-file-name.  Describe-function
gives the following info on expand-file-name:

expand-file-name:
Convert FILENAME to absolute, and canonicalize it.
Second arg DEFAULT is directory to start with if FILENAME is relative
 (does not start with slash); if DEFAULT is nil or missing,
the current buffer's value of default-directory is used.
Filenames containing . or .. as components are simplified;
initial ~ is expanded.  See also the function
substitute-in-file-name.

From this explanation, it seems that expand-file-name takes the
filename which might include relative references and expands it to a
full path name.  This may involve disregarding spaces internal to the
filename arg passed to expand-file-name.  Of course, I'm no expert --
anyone out there with an expert's explanation of this problem?






-- 
Viktor Haag                                     viktor@mks.com
Mortice Kern Systems                            (519) 884-8469
35 King North, Waterloo, Ontario                ext. 241
"we are not thugs. we are vitamin supplements to justice ..." | a selector
From: paravalo@newton.ccs.tuns.ca (Evangelos Paravalos)
Newsgroups: gnu.emacs.help
Subject: Help Installing Emacs on SUN
Date: 26 Jan 93 21:14:24 GMT
Organization: Technical University of Nova Scotia, Halifax, N.S.

Hello,

   I attempted to install emacs-18.59 on a SUN sparcstation 2 running
sunOS 4.1.3 but I had problems during compilation. After executing
the "make install" script I got the following error:
     cd etc; make  all
     cd src; make  all
     make  -f xmakefile  all
     cc -c -g -Demacs  -fsoft -I/usr/openwin/include  crt0.c
      "/tmp/ccom.017701.1.s", line 147: error: redefinition of symbol "__start"

I have changed the config.h file in the $BUILD/src to contain the headers
s-sun3.h and m-sunos4-1.h.

Does anybody know what is the problem and how I can resolve it.
Please email responses.

Thank you
Evangelos Paravalos
Technical University of Nova Scotia
Newsgroups: gnu.emacs.help
From: vlee@vis.toronto.edu (Victor Yuencheng Lee)
Subject: How to use "gdb"?
Summary: how to use gdb inside emacs
Keywords: gdb emacs
Organization: Department of Computer Science, University of Toronto
Date: 26 Jan 93 01:10:12 GMT


Hi, there,

Could you give me a hint about how to use gdb inside emacs?

Thanks whole heartedly, yours

--Victor-- 
-----------------------------------------------------------------
vlee@cs.toronto.edu           "Born to die, better get prepared."
From: cjb@cs.uq.oz.au (Christopher J Biggs)
Newsgroups: gnu.emacs.help
Subject: How to have OUTGOING mail in an RMAIL file
Date: 25 Jan 93 00:52:34 GMT
Distribution: gnu
Organization: Computer Science Department, The University of Queensland,
	Brisbane, Australia


  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)
processed by sendmail, and sendmail doesn't include enough headers 
in the saved message for rmail to be able to split my outbox file into
separate message.  Thus if I use FCC: ~/outbox, and I read outbox
into RMAIL, It just appears as one big message, no matter how many
letters I send.   

  Has somebody got a function that will append a buffer to the end
of an RMAIL file, or something, or is there an improved version of mail?

	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------------
Newsgroups: gnu.emacs.help,alt.religion.emacs
From: kpc@pluto.arc.nasa.gov (k p c)
Subject: Re: hand injuries
Originator: kpc@zog.arc.nasa.gov
Reply-To: kpc@ptolemy.arc.nasa.gov
Organization: NASA Ames Research Center AI Research and Aero Branches;
	Sterling.
Date: Tue, 26 Jan 1993 23:30:12 GMT

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.
From: map@BBN.Com (Mike Patton)
Newsgroups: gnu.emacs.help
Subject: Annoying messages from background
Date: 27 Jan 93 12:45:11
Organization: Bolt Beranek and Newman, Cambridge, MA 02138 USA
Distribution: world
Reply-To: Incoming Replies <MAP=Reply@BBN.Com>
NNTP-Posting-Host: songlines.bbn.com

I have written some code that starts up a process and monitors and
controls it.  The problem is that something in the process-filter
and/or process-sentinel are causing calls to "message" (I'm not doing
it directly) which randomly trash what I'm doing in the minibuffer at
the time it happens.  How do I track this down?  Can I just eliminate
them somehow (a special form (with-messages-inhibited ...) perhaps
:-).  Any other good suggestions?

	-Mike Patton

P.S.  Here's the list of all the functions I _think_ get called in the
filter/sentinel (produced by kbd-macros from the code :-):

	=	car	cdr	cond	delete-process	forward-line
	goto-char	if	insert	kill-buffer	let
	looking-at	null	or	point		point-max
	preceding-char	process-buffer	process-send-string
	replace-string	save-excursion	set-buffer
	setq	string-match	substring	while
Newsgroups: gnu.emacs.help
From: agc@weasel.demon.co.uk (Alan Charlton)
Subject: Problem with sendmail.el etc
Organization: home
Apparently-To: mail2news@news.demon.co.uk
Date: Sat, 23 Jan 1993 12:37:17 +0000

I'm using emacs 18.59, and using gnus to read news.  If I try to do a
follow-up using mail, the article seems to just get vaped entirely.
I've tried to trace this through, and I think it can't find
/usr/lib/sendmail.  This is referenced in paths.el, which is itself
referenced from loadup.el.  So am I supposed to load these files up in
my default.el or .emacs or something?

I'd be grateful for any help, because this is driving me nuts!

Cheers,

Alan
--
|  Alan Charlton            |  `Time is an illusion -   |
|  agc@weasel.demon.co.uk   |   lunchtime, doubly so.'  |
|  agc@cix.compulink.co.uk  |  - Douglas Adams          |
From: walt@bcarh1d7.bnr.ca (Walt Sullivan)
Newsgroups: gnu.emacs.help
Subject: Re: Key-codes for ATARI-ST keyboard.
Date: 28 Jan 93 14:57:55 GMT
Organization: Bell-Northern Research, Ottawa, Canada
In-reply-to: tries@obelix.kph.uni-mainz.de's message of 21 Jan 93 13:04:22 GMT

>>>>> "Volker" == Volker Tries <tries@obelix.kph.uni-mainz.de> writes:

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

You can get Emacs to tell you what the keycodes are. Edit a file, and
type ^Q (Control-Q) and the key you're interested in. What the key
sends should appear in the buffer.
--
Walt Sullivan
INTERNET: walt@bnr.ca (work)
UUCP: walt@orbit.ocunix.on.ca (home)
FIDO: 1:163/109.4
Newsgroups: gnu.emacs.help
From: LEVITTE@e.kth.se (Richard Levitte)
Subject: Re: debugging .emacs
Organization: Department of TeleTransmission Theory
	<NICKEL.93Jan22201627@tempest.cs.tu-berlin.de>
Date: Sat, 23 Jan 1993 16:45:28 GMT

>>>>> On 22 Jan 1993 19:16:29 GMT, nickel@cs.tu-berlin.de (Juergen Nickelsen) said:

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

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

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

JN>     ;; startup code

JN>     )

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

It is possible to make that error message a little more descriptive
with the following patch on startup.el:

*** ed:[orig.lisp]startup.el
--- ed:[new.lisp]startup.el
**************
*** 124,130
  			 ;; Don't you dare turn this off for anyone
  			 ;; except yourself.
  			 (load "default" t t)))))
!       (error (message "Error in init file")))
      (if (get-buffer "*scratch*")
  	(save-excursion
  	  (set-buffer "*scratch*")
--- 124,130 -----
  			 ;; Don't you dare turn this off for anyone
  			 ;; except yourself.
  			 (load "default" t t)))))
!       (error (message (format "Error in init file: %s" error))))
      (if (get-buffer "*scratch*")
  	(save-excursion
  	  (set-buffer "*scratch*")


The message can be a little cryptic, but it helps to get the message:
"Error in init file: (void-variable foo)"

--
!+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++!
! Richard Levitte, VMS GNU Emacs hacker   ! tel: int+46-8-18 30 99            !
! Sulv"agen 57, II                        ! fax: none for the moment          !
! S-126 40 H"agersten                     ! Internet: levitte@e.kth.se        !
! SWEDEN                                  !                                   !
!-----------------------------------------------------------------------------!
From: bhati@plains.NoDak.edu (Amit Bhati)
Newsgroups: gnu.emacs.help
Subject: Help in starting with gnu-emacs (specially LISP mode).
Date: 25 Jan 93 21:46:40 GMT
Article-I.D.: ns1.C1FJ5s.C7x
Distribution: na
Organization: North Dakota Higher Education Computing Network

Hi folks !
     I am a very novice user of emacs. In face I have used 'jove' for most
of the time ( that too vary basic ). Now I am in need to get some manual
(or whatever else is appropriate) to start learning to use gnu-emacs.
    What directions do the users suggest I could follow? Also, since I am
starting to take my first AI class I am learning LISP and would like to
start using emacs for work there too.
    Please forward all suggestions/help to : bhati@plains.nodak.edu.(No
promises, but I shall try to read this news-group too.)
Many thanks in advance.

Cheers,
Amit

-- 

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
|Amit Bhati	        |bhati@plains.NoDak.edu| "All that is there in the|
|Computer Science Dept.,|!uunet!plains!bhati   |  middle of the road is a |
|IACC Building, NDSU,   |Ph: (701) 232-6754    |  dumb, yellow line and a |
|Fargo, ND 58105.	|                      |  dead skunk."            |
Newsgroups: gnu.emacs.help
From: marissan@klaava.Helsinki.FI (Markku Rissanen)
Subject: need Hyperbole (3.06) for Demacs (1.2.0)
Keywords: demacs, hyperbole, emacs, hypertext
Organization: University of Helsinki
Date: Wed, 27 Jan 1993 10:31:49 GMT

Has anyone modified the excellent hypertext program "Hyperbole" (version
3.06) to workwith msdos-version of GNU emacs called Demacs (1.2.0)?
Please, tell me where I can get it. (using ftp)

Markku Rissanen
marissanen@cc.helsinki.fi

Newsgroups: gnu.emacs.help
From: liblit@cs.psu.edu (Benjamin R. Liblit)
Subject: Re: keymap defs -- using lambda expressions
Date: Sun, 24 Jan 1993 21:11:15 GMT

In article <hyk1H?8o3c@atlantis.psu.edu>, TTN@ECL.PSU.EDU (Thien-Thi Nguyen) writes:
> (define-key some-mode-map '(lambda () (kill-buffer (current-buffer))))

You're missing an argument to define-key.  The general format is:

	(define-key KEYMAP KEY DEFINITION)

You've got the keymap and the definition, but you're missing the key
itself.  Try something like the following:

	(define-key some-mode-map "k" '(lambda () .....))

That would find the given lambda function to the "k" key in the given
keymap.  For more information on how keys can be specified, see
"String Type" in the elisp reference.

--
Ben Liblit   -----   "Fais que tes reves soient plus longs que la nuit."
liblit@cs.psu.edu   --   brl102@psuvm.psu.edu   --   brl102@psuvm.bitnet
Xref: sparky gnu.emacs.help:5534 alt.religion.computers:976
From: friedman@gnu.ai.mit.edu (Noah Friedman)
Newsgroups: gnu.emacs.help,alt.religion.computers
Subject: Re: hand injuries
Date: 26 Jan 93 23:04:20
Organization: Free Software Foundation, 675 Mass Ave. Cambridge, MA 02139
	<KPC.93Jan26153012@zog.arc.nasa.gov> <1k4t01INNb6i@hal.com>
NNTP-Posting-Host: nutrimat.gnu.ai.mit.edu
In-reply-to: woodstck@hal.com's message of 27 Jan 93 02:45:21 GMT

In article <1k4t01INNb6i@hal.com> woodstck@hal.com (Nathan Hess) writes:
>I'd like to see a keyboard with foot petals for the control and meta
>keys.

It's already been done right here at the GNU Project, in fact.  The
few of us who tried to use it found it pretty hard to adjust to,
though.

If you want me to put you in contact with the hardware hacker who made
pedals talk to a keyboard, let me know.  Perhaps he could use the
contracting work.
From: delamper@brsux0.bro.dec.com (Delamper Lukas)
Newsgroups: gnu.emacs.help
Subject: binary file editing ?
Date: 21 Jan 93 13:02:49 GMT
Reply-To: delamper@brsux0.bro.dec.com (Delamper Lukas)
Organization: Digital Equipment Corporation


I know there is an emacs module (.el) file for editing binary files.
Unfortunately I cannot find the module or remember it's name.
Anybody with a better memory please ?
  

==============================================================
= Lucas L. De Lamper
= Technology consultant
= Education and Research Enterprise (BRO)
= Mail:         delamper@brsux0.enet.dec.com
= Decnet:       brsux0::delamper
= Luchtschipstraat, 1 , B-1140 Brussels    Tel  32-2-729.75.19
==============================================================
 
Newsgroups: gnu.emacs.help
From: amc@WLV.IIPO.GTEGSC.COM (Allen M. Cohen)
Subject: Re: How to get EDT mode in EMACS
Organization: GTE Government Systems
Date: Tue, 26 Jan 93 17:24:19 GMT

In article <1993Jan22.161130.26520@xylogics.com> booth@steam.Xylogics.COM (Stephen Booth) writes:
>
>	Hello,
>
>I'm new to EMACS and was reading the GNU Emacs manual and there was mention
>of a command  edt-emulation-on. The book says that this will emulate Digitals
>EDT editor. The command was taken and the status line says that it loaded
>everything fine but when I try the keypad nothing seems to work like EDT.
I have the same question (emacs 18.57) -- I'm using a DecStation 500/133, and
edt-emulation-on does nothing -- I don't even get arrow keys (there used to
be an "enable-arrow-keys" command as I recall).
Secondly, if I run emacs in its own X window, I can't figure out how to get
application keypad mode -- it's always numeric.
-- 
<> 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 <>
<><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Newsgroups: gnu.emacs.help,alt.religion.emacs
From: de5@ORNL.GOV (Dave Sill)
Subject: Re: hand injuries
Organization: Oak Ridge National Lab, Oak Ridge, TN
Date: Tue, 26 Jan 1993 13:45:36 GMT

In article <1993Jan26.003206.29170@smos.com>, david@smos.com (David Tornheim) writes:
>...  The frequent use of the CNTL key combined
>with another key is the motion that is most painful. (e.g. I use C-b and
>C-f a lot to move around within a line, since commands like M-F and
>M-B actually take longer).  Because of this, I'm seriously considering
>switching over to the evil VI editor

Heretic!

>to save my hands from permanent
>damage (no kidding!).  Is anyone else in the same boat?

Not I, but I've got large hands, don't use C-f & C-b much (I prefer M-f, M-b,
C-a, C-e, and mouse clicks), and don't touch type, so I'm not afraid to hold
Control with my left hand and F or B with my right.

>Does anyone have other suggestions?

Switching from Emacs to vi because of the C-f and C-b bindings is rather
drastic.  That's like switching from a Ferrari to a Beetle because you don't
like the seating position.  How about just adjusting the seat?  Rebind
forward-char and backward-char to whatever you find most convenient.

Even if you wanted vi-like behavior, you could get it with one of the many vi
emulating modes available *without* giving up the full power of Emacs.

-- 
Dave Sill (de5@ornl.gov)                 Computers should work the way beginners
Martin Marietta Energy Systems           expect them to, and one day they will.
Workstation Support                                                -- Ted Nelson
Newsgroups: gnu.emacs.help,alt.religion.emacs
From: sahul@loading-zone.Stanford.EDU (Zakir H. Sahul)
Subject: Re: hand injuries
Organization: Stanford University
Date: Tue, 26 Jan 93 07:08:25 GMT

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 edit files with EMACS.  The frequent use of the CNTL key combined
|> with another key is the motion that is most painful. (e.g. I use C-b and
|> C-f a lot to move around within a line, since commands like M-F and
|> M-B actually take longer).  Because of this, I'm seriously considering
|> switching over to the evil VI editor to save my hands from permanent
|> damage (no kidding!).  Is anyone else in the same boat? Does anyone
|> have other suggestions?
|> 


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

Is there elisp code that will enable emacs to:

1) Act like regular emacs when in "insert" mode.

2) When in "browse" mode, then one does't need to hit the CNTL key for C-key
commands.  For example, if in "insert" mode, C-n = next line, C-e = end of
line, and C-l = recenter, then in "browse" mode, n = next line, e = end of line
and l = recenter.  Command that require two keys (C-x C-c etc) will remain the
same. 

3) A special key (like C-i) can be defined to toggle between "insert" and 
"browse" modes.

vip mode does a decent job of doing this.  However, I do not like the "vi"
definition of cursor movement keys.  I would prefer to customize them.
Alternatively, is there a vip-mode.el that I can modify?

Thanks for all replies!

-Zak.
Newsgroups: gnu.emacs.help
From: shenton@troll.gsfc.nasa.gov (Chris Shenton)
Subject: Allowing SPACE in filename (find-file, dired, etc)
Organization: NASA/GSFC/STX, Greenbelt, MD
Date: Tue, 26 Jan 1993 18:47:27 GMT

I'm editing files which frequently have space in their filename, and
would like the find-file functions in -- for example -- dired to
recognize the fullname, not just up to the first space.

Anyone have ideas on how to do this?

Thanks.
--
-- Chris Shenton    shenton@nsisrv.gsfc.nasa.gov    NASA/GSFC/HSTX 301-286-7905
From: dodd@mycenae.cchem.berkeley.edu (Lawrence R. Dodd)
Newsgroups: gnu.emacs.help
Subject: Re: backup file creation
Date: 26 Jan 93 10:57:20
Organization: Dept of Chemical Engineering, Polytechnic Univ, NY, USA
Distribution: world
NNTP-Posting-Host: mycenae.cchem.berkeley.edu
In-reply-to: hqm@ai.mit.edu's message of 25 Jan 1993 19:57:42 -0500



>>>>> "Henry" == Henry Minsky <hqm@ai.mit.edu> writes:

  Henry> How can I get emacs to create a new backup file after every buffer
  Henry> save, rather than just the first time a file is edited? 

yes that is right.

I get around it by sticking this in my .emacs.  Is there an easier way to do
this?  I did this so long ago that the comments are probably wrong but I know
that it works.  I would appreciate it if someone would tell me if there is an
easier/slicker way to do this.

Larry

----------
;;; This next function unconditionally makes the previous file version into a
;;; backup file.  Why you ask?  Well, the way the save-buffer works by default
;;; as follows: you visit file GAR, you modify the file, you save the buffer,
;;; it renames the original file GAR to GAR followed by a ~1~ and saves the
;;; contents of the buffer in GAR.  Thus, the previous version of GAR is saved
;;; in GAR.~1~. Now, the next time you save this buffer the contents of the
;;; buffer are saved in GAR again but nothing is done to GAR.~1~.  Note, that
;;; the intermediate file is lost.  When editing a file I want to have a
;;; backup file created everytime I type C-x C-s and then after all the
;;; editing is done I can clean up all the intermediate files.  This is
;;; possible by binding the following defun to C-x C-s and by using numbered
;;; backup files.

;;; assign defun to C-x C-s

(define-key global-map "\C-x\C-s" 'save-buffer-always-create-backup)

(defun save-buffer-always-create-backup ()
  "Saves the current buffer and unconditionally makes the previous version
into a backup file. This is done by passing C-u C-u C-u or 4*4*4=64 as an
argument to the save-buffer command."
  (interactive)
  (if version-control   ; if version-control is non-nil (t or never)
      (save-buffer 64)  ; then make previous version into a backup file
    (save-buffer 1)     ; else normal save-buffer is performed
    ))
----------
From: rms@gnu.ai.mit.edu (Richard Stallman)
Newsgroups: gnu.emacs.help
Subject: hand injuries
Date: 27 Jan 1993 13:26:51 -0500
Organization: Gatewayed from the GNU Project mailing list help-gnu-emacs@prep.ai.mit.edu
Distribution: world

[This is being mailed to help-gnu-emacs, aka the newsgroup gnu.emacs.help.]

I'd like to remind people not to use the GNU mailing lists and
newsgroups to promote proprietary software.  Please don't recommend
alternatives to keyboards on help-gnu-emacs (aka gnu.emacs.help) if
they involve proprietary software packages.