GNU bug report logs - #15198
24.3.50; Setq doesn't update the value of the variable

Previous Next

Package: emacs;

Reported by: Oleg Sivokon <olegsivokon <at> gmail.com>

Date: Tue, 27 Aug 2013 15:29:02 UTC

Severity: normal

Tags: notabug

Found in version 24.3.50

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 15198 in the body.
You can then email your comments to 15198 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#15198; Package emacs. (Tue, 27 Aug 2013 15:29:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Oleg Sivokon <olegsivokon <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Tue, 27 Aug 2013 15:29:03 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Oleg Sivokon <olegsivokon <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: 24.3.50; Setq doesn't update the value of the variable
Date: Tue, 27 Aug 2013 18:24:48 +0300
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




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#15198; Package emacs. (Tue, 27 Aug 2013 15:51:01 GMT) Full text and rfc822 format available.

Message #8 received at 15198 <at> debbugs.gnu.org (full text, mbox):

From: Glenn Morris <rgm <at> gnu.org>
To: Oleg Sivokon <olegsivokon <at> gmail.com>
Cc: 15198 <at> debbugs.gnu.org
Subject: Re: bug#15198: 24.3.50; Setq doesn't update the value of the variable
Date: Tue, 27 Aug 2013 11:50:24 -0400
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?




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#15198; Package emacs. (Tue, 27 Aug 2013 15:54:03 GMT) Full text and rfc822 format available.

Message #11 received at 15198 <at> debbugs.gnu.org (full text, mbox):

From: Andreas Schwab <schwab <at> suse.de>
To: Oleg Sivokon <olegsivokon <at> gmail.com>
Cc: 15198 <at> debbugs.gnu.org
Subject: Re: bug#15198: 24.3.50; Setq doesn't update the value of the variable
Date: Tue, 27 Aug 2013 17:53:23 +0200
Oleg Sivokon <olegsivokon <at> gmail.com> writes:

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

That's not how the variable is spelt.

Andreas.

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




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#15198; Package emacs. (Tue, 27 Aug 2013 16:03:02 GMT) Full text and rfc822 format available.

Message #14 received at 15198 <at> debbugs.gnu.org (full text, mbox):

From: Left Right <olegsivokon <at> gmail.com>
To: Andreas Schwab <schwab <at> suse.de>
Cc: 15198 <at> debbugs.gnu.org
Subject: Re: bug#15198: 24.3.50; Setq doesn't update the value of the variable
Date: Tue, 27 Aug 2013 19:02:17 +0300
*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 <at> suse.de> wrote:
> Oleg Sivokon <olegsivokon <at> gmail.com> writes:
>
>> ELISP> (setq inferrior-lisp-program "sbcl")
>                    ^^
>
> That's not how the variable is spelt.
>
> Andreas.
>
> --
> Andreas Schwab, SUSE Labs, schwab <at> suse.de
> GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE  1748 E4D4 88E3 0EEA B9D7
> "And now for something completely different."




Added tag(s) notabug. Request was from Glenn Morris <rgm <at> gnu.org> to control <at> debbugs.gnu.org. (Tue, 27 Aug 2013 16:04:02 GMT) Full text and rfc822 format available.

bug closed, send any further explanations to 15198 <at> debbugs.gnu.org and Oleg Sivokon <olegsivokon <at> gmail.com> Request was from Glenn Morris <rgm <at> gnu.org> to control <at> debbugs.gnu.org. (Tue, 27 Aug 2013 16:04:03 GMT) Full text and rfc822 format available.

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#15198; Package emacs. (Wed, 28 Aug 2013 03:53:01 GMT) Full text and rfc822 format available.

Message #21 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Kevin Rodgers <kevin.d.rodgers <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: Re: bug#15198: 24.3.50; Setq doesn't update the value of the variable
Date: Tue, 27 Aug 2013 21:52:19 -0600
On 8/27/13 10:02 AM, Left Right wrote:
> On Tue, Aug 27, 2013 at 6:53 PM, Andreas Schwab<schwab <at> suse.de>  wrote:
>> Oleg Sivokon<olegsivokon <at> gmail.com>  writes:
>>
>>> ELISP>  (setq inferrior-lisp-program "sbcl")
>>                     ^^
>>
>> That's not how the variable is spelt.
>>
>> Andreas.
>>
>> --
>> Andreas Schwab, SUSE Labs, schwab <at> 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





bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Wed, 25 Sep 2013 11:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 11 years and 273 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.