bugGforth - Bugs: bug #7801, forth-load-file is broken in...

 
 

bug #7801: forth-load-file is broken in gforth.el

Submitted by:  None
Submitted on:  Thu 19 Feb 2004 06:07:09 PM UTC  
 
Category: NoneSeverity: 3 - Normal
Item Group: NoneStatus: Fixed
Privacy: PublicAssigned to: None
Open/Closed: Closed

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Thu 08 Apr 2004 10:36:02 AM UTC, comment #1:

20040408/DK fixed.

David Kühling <dvdkhlng>
Project Member
Thu 19 Feb 2004 06:07:09 PM UTC, original submission:

forth-load-file appears to be broken in gforth.el. An easy fix is to put the following lines into .emacs:

(eval-after-load "gforth"
'(defun forth-load-file (file-name)
"Load a Forth file FILE-NAME into the inferior Forth process."
(interactive (comint-get-source "Load Forth file: " forth-prev-l/c-dir/file
forth-source-modes t)) ; T because LOAD
; needs an exact name
(comint-check-source file-name) ; Check to see if buffer needs saved.
(setq forth-prev-l/c-dir/file (cons (file-name-directory file-name)
(file-name-nondirectory file-name)))
(comint-send-string (forth-proc)
(concat "s\" " file-name "\" included\n"))))

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

Do you think this task is very important?
If so, you can click here to add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.

 

Please enter the title of George Orwell's famous dystopian book (it's a date):

 

 

Follow 3 latest changes.

Date Changed By Updated Field Previous Value => Replaced By
Sat 10 Apr 2004 09:49:46 AM UTCantonStatusNone=>Fixed
  Open/ClosedOpen=>Closed
Thu 08 Apr 2004 10:36:02 AM UTCdvdkhlngCarbon-Copy-=>Added dvdkhlng --AT-- gmx --DOT-- de

Back to the top


Powered by Savane 3.1-cleanup1