all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bad filename parsing in run-scheme
@ 2002-08-19 20:33 Hadden, George D (MN65)
  2002-08-20 17:21 ` Richard Stallman
  0 siblings, 1 reply; 3+ messages in thread
From: Hadden, George D (MN65) @ 2002-08-19 20:33 UTC (permalink / raw)


[-- Attachment #1: Type: text/plain, Size: 2075 bytes --]

This bug report will be sent to the Free Software Foundation,
not to your local site managers!
Please write in English, because the Emacs maintainers do not have
translators to read other languages for them.
 
Your bug report will be posted to the bug-gnu-emacs@gnu.org mailing list,
and to the gnu.emacs.bug news group.
 
In GNU Emacs 21.1.1 (i386-msvc-nt5.1.2600)
 of 2001-10-22 on buffy
configured using `configure --with-msvc (12.00)'
Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: ENU
  locale-coding-system: iso-latin-1
  default-enable-multibyte-characters: t
 
Please describe exactly what actions triggered the bug
and the precise symptoms of the bug:
 
When run-scheme is called, the function scheme-args-to-list is called
on the scheme-program-name.  Unfortunately, this function triggers on
spaces, so we get the following behavior:
 
 (scheme-args-to-list "c:/program files/plt/mzscheme") -->
     ("c:/program" "files/plt/mzscheme")
 
run-scheme then complains that it can't find a program named
"C:/program".  One work-around is to use the short name found by
typing dir/x to a dos window, but maybe there's a better way?
 
Best regards,
 
-geo
---
George D. Hadden, PhD, Senior Research Fellow
Honeywell Labs, 3660 Technology Drive, Minneapolis, MN 55418
george.d.hadden@no.honeywell.spam.com, (612)951-7769(voice),
(612)951-7438(fax)
 
 
Recent input:
<help-echo> <down-mouse-1> <mouse-movement> <mouse-1> 
<help-echo> M-x r u n - s c h SPC <return> C-x C-f 
m z SPC <return> <help-echo> M-x r e p SPC o r t SPC 
<return>
 
Recent messages:
Loading smtpmail...done
Loading c:/geostuff/emacs/geotools.el (source)...done
Loading c:/geostuff/emacs/printing.el (source)...done
For information about the GNU Project and its goals, type C-h C-p.
Loading image...done
Loading cmuscheme...done
Making completion list...
Loading view...done
Loading emacsbug...done
read-string: Quit
 
 

[-- Attachment #2: Type: text/html, Size: 18302 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: bad filename parsing in run-scheme
  2002-08-19 20:33 Hadden, George D (MN65)
@ 2002-08-20 17:21 ` Richard Stallman
  0 siblings, 0 replies; 3+ messages in thread
From: Richard Stallman @ 2002-08-20 17:21 UTC (permalink / raw)
  Cc: emacs-devel

    When run-scheme is called, the function scheme-args-to-list is called
    on the scheme-program-name.  Unfortunately, this function triggers on
    spaces, so we get the following behavior:

     (scheme-args-to-list "c:/program files/plt/mzscheme") -->
	 ("c:/program" "files/plt/mzscheme")

Could you please show us the entire series of precise commands
that you use to get to this point?

Please read the Bugs section in the Emacs manual, which provides
guidelines on how to write a bug report to give us the
necessary information so we can fix the bug.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: bad filename parsing in run-scheme
       [not found] <D59EA43E31578445B543D05854E295730132AC25@mn65-exuser1.htc.honeywell.com>
@ 2002-08-21  1:52 ` Richard Stallman
  0 siblings, 0 replies; 3+ messages in thread
From: Richard Stallman @ 2002-08-21  1:52 UTC (permalink / raw)
  Cc: emacs-devel

    If my .emacs file contains the following:

    (setq scheme-program-name 
	  "c:/program files/plt/mzscheme -f mzscheme_init.scm")

The variable name `scheme-program-name' implies that the value
must be a file name.  That string does not look like a file name.

The doc string of `run-scheme' suggests that the value can be a
command line rather than a file name.  That is an inconsistency,
and it's at the root of your problem.

Something ought to be done to clean this up.  Does anyone want to work
on it?

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2002-08-21  1:52 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <D59EA43E31578445B543D05854E295730132AC25@mn65-exuser1.htc.honeywell.com>
2002-08-21  1:52 ` bad filename parsing in run-scheme Richard Stallman
2002-08-19 20:33 Hadden, George D (MN65)
2002-08-20 17:21 ` Richard Stallman

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.