unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#15198: 24.3.50; Setq doesn't update the value of the variable
@ 2013-08-27 15:24 Oleg Sivokon
  2013-08-27 15:50 ` Glenn Morris
  2013-08-27 15:53 ` Andreas Schwab
  0 siblings, 2 replies; 5+ messages in thread
From: Oleg Sivokon @ 2013-08-27 15:24 UTC (permalink / raw)
  To: 15198


Hello,

Unfortunately, I'm not sure what exactly is causing the problem, but I
will try to describe it as much as possible.

First, I ran emacs -Q,
After Emacs loaded, I ran M-x ielm,
Below is the log of my IELM session:

*** Welcome to IELM ***  Type (describe-mode) for help.
ELISP> (setq inferrior-lisp-program "sbcl")
"sbcl"
ELISP> inferrior-lisp-program
"sbcl"
ELISP> (load (expand-file-name "~/quicklisp/slime-helper.el"))
t
ELISP> inferrior-lisp-program
"sbcl"
ELISP>

And here is the relevant content of the *Messages* buffer:

Loading /home/wvxvw/quicklisp/slime-helper.el (source)...done
. . .
apply: Searching for program: no such file or directory, lisp

To elaborate, the default value of `inferrior-lisp-program' is
"lisp", this is why you see it in SLIME's error message.
The problem is, I can execute (setq inferrior-lisp-program "sbcl")
no matter how (using M-: or from *scratch* buffer, or from IELM), but
the variable will not get set.

Best,

Oleg





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

* bug#15198: 24.3.50; Setq doesn't update the value of the variable
  2013-08-27 15:24 bug#15198: 24.3.50; Setq doesn't update the value of the variable Oleg Sivokon
@ 2013-08-27 15:50 ` Glenn Morris
  2013-08-27 15:53 ` Andreas Schwab
  1 sibling, 0 replies; 5+ messages in thread
From: Glenn Morris @ 2013-08-27 15:50 UTC (permalink / raw)
  To: Oleg Sivokon; +Cc: 15198

Oleg Sivokon wrote:

> ELISP> (setq inferrior-lisp-program "sbcl")

That should be: inferior-lisp-program

> ELISP> inferrior-lisp-program
> "sbcl"
> ELISP> (load (expand-file-name "~/quicklisp/slime-helper.el"))
> t
> ELISP> inferrior-lisp-program
> "sbcl"
> ELISP>
>
> And here is the relevant content of the *Messages* buffer:
>
> Loading /home/wvxvw/quicklisp/slime-helper.el (source)...done
> . . .
> apply: Searching for program: no such file or directory, lisp
>
> To elaborate, the default value of `inferrior-lisp-program' is
> "lisp", this is why you see it in SLIME's error message.
> The problem is, I can execute (setq inferrior-lisp-program "sbcl")
> no matter how (using M-: or from *scratch* buffer, or from IELM), but
> the variable will not get set.

What does C-h v inferior-lisp-program say?





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

* bug#15198: 24.3.50; Setq doesn't update the value of the variable
  2013-08-27 15:24 bug#15198: 24.3.50; Setq doesn't update the value of the variable Oleg Sivokon
  2013-08-27 15:50 ` Glenn Morris
@ 2013-08-27 15:53 ` Andreas Schwab
  2013-08-27 16:02   ` Left Right
  1 sibling, 1 reply; 5+ messages in thread
From: Andreas Schwab @ 2013-08-27 15:53 UTC (permalink / raw)
  To: Oleg Sivokon; +Cc: 15198

Oleg Sivokon <olegsivokon@gmail.com> writes:

> ELISP> (setq inferrior-lisp-program "sbcl")
                   ^^

That's not how the variable is spelt.

Andreas.

-- 
Andreas Schwab, SUSE Labs, schwab@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE  1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."





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

* bug#15198: 24.3.50; Setq doesn't update the value of the variable
  2013-08-27 15:53 ` Andreas Schwab
@ 2013-08-27 16:02   ` Left Right
  2013-08-28  3:52     ` Kevin Rodgers
  0 siblings, 1 reply; 5+ messages in thread
From: Left Right @ 2013-08-27 16:02 UTC (permalink / raw)
  To: Andreas Schwab; +Cc: 15198

*Sigh*,

Sorry for the noise. I think it's not the first time I make this
mistake. :( Yes, the typo was the problem.

On Tue, Aug 27, 2013 at 6:53 PM, Andreas Schwab <schwab@suse.de> wrote:
> Oleg Sivokon <olegsivokon@gmail.com> writes:
>
>> ELISP> (setq inferrior-lisp-program "sbcl")
>                    ^^
>
> That's not how the variable is spelt.
>
> Andreas.
>
> --
> Andreas Schwab, SUSE Labs, schwab@suse.de
> GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE  1748 E4D4 88E3 0EEA B9D7
> "And now for something completely different."





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

* bug#15198: 24.3.50; Setq doesn't update the value of the variable
  2013-08-27 16:02   ` Left Right
@ 2013-08-28  3:52     ` Kevin Rodgers
  0 siblings, 0 replies; 5+ messages in thread
From: Kevin Rodgers @ 2013-08-28  3:52 UTC (permalink / raw)
  To: 15198

On 8/27/13 10:02 AM, Left Right wrote:
> On Tue, Aug 27, 2013 at 6:53 PM, Andreas Schwab<schwab@suse.de>  wrote:
>> Oleg Sivokon<olegsivokon@gmail.com>  writes:
>>
>>> ELISP>  (setq inferrior-lisp-program "sbcl")
>>                     ^^
>>
>> That's not how the variable is spelt.
>>
>> Andreas.
>>
>> --
>> Andreas Schwab, SUSE Labs, schwab@suse.de
>> GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE  1748 E4D4 88E3 0EEA B9D7
>> "And now for something completely different."
>
 > Sorry for the noise. I think it's not the first time I make this
 > mistake. :( Yes, the typo was the problem.

Completion is your friend.  Try TAB for comint-dynamic-complete or M-TAB for
completion-at-point

-- 
Kevin Rodgers
Denver, Colorado, USA






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

end of thread, other threads:[~2013-08-28  3:52 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-08-27 15:24 bug#15198: 24.3.50; Setq doesn't update the value of the variable Oleg Sivokon
2013-08-27 15:50 ` Glenn Morris
2013-08-27 15:53 ` Andreas Schwab
2013-08-27 16:02   ` Left Right
2013-08-28  3:52     ` Kevin Rodgers

Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).