From: Drew Adams <drew.adams@oracle.com>
To: Jean Louis <bugs@gnu.support>
Cc: Michael Heerdegen <michael_heerdegen@web.de>, help-gnu-emacs@gnu.org
Subject: RE: Making ielm behave like a shell (getting to previous commands using the up-arrow key)
Date: Fri, 18 Dec 2020 11:11:49 -0800 (PST) [thread overview]
Message-ID: <1e2c45df-dd81-4248-b41e-e90469570c98@default> (raw)
In-Reply-To: <X9z2utoay3r7B4+N@protected.rcdrun.com>
> Programs do not run with `setq'
> there, it is inserted temporary to assign some variables step by step
> until I find what is wrong.
I see. I misunderstood. So you are not evaluating
the `let*' as written. You are evaluating individual
`setq' sexps you added to it.
> > (_IGNORED (setq fred 'nope-24))
>
> I have seen it works with _ alone
Yes, of course. I want to make it obvious to myself.
It "works" with any symbol whatsoever, no need for
"_" - that's just an informal convention. It's all
about communicating to human readers (e.g. yourself).
> How do you debug? You use edebug-defun?
I use `debug', not `edebug'. But many people use
`edebug'. I use `debug-on-entry', `debug-on-error',
and explicit calls to `debug' inserted as breakpoints.
For the latter, `(debug nil SOME-SEXP)' evaluates
SOME-SEXP in the debugging context, and prints it
at the top of the debugger when it's entered. So
it acts like an extra call to `message' (more
precisely, it does an implicit `e').
> > > How would you do message calls there?
I showed that in a few places - please review my
message - search for `message'.
> That I did not understand. Why now show example of message call? What
> is it? Do you mean (message something)?
Yes. And I did show examples of it.
> Useful function. Is there anyway to get out of debug and continue the
> function? c does not do what I think it should do. I would like to
> exit out of debug and continue with the function. Any way?
`j' kind of does that. `C-h m' in the debugger
tells you what's available. See also (elisp)
`Invoking the Debugger'.
next prev parent reply other threads:[~2020-12-18 19:11 UTC|newest]
Thread overview: 25+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-12-17 3:02 Making ielm behave like a shell (getting to previous commands using the up-arrow key) steve-humphreys
2020-12-17 3:34 ` Okam
2020-12-17 4:27 ` Michael Heerdegen
2020-12-17 4:44 ` steve-humphreys
2020-12-17 5:02 ` Michael Heerdegen
2020-12-17 5:17 ` steve-humphreys
2020-12-17 9:06 ` Jean Louis
2020-12-17 9:13 ` Jean Louis
2020-12-17 22:29 ` Michael Heerdegen
2020-12-18 5:05 ` Jean Louis
2020-12-18 9:01 ` Michael Heerdegen
2020-12-18 11:19 ` Jean Louis
2020-12-18 17:14 ` Drew Adams
2020-12-18 18:36 ` Jean Louis
2020-12-18 19:11 ` Drew Adams [this message]
2020-12-18 19:53 ` Jean Louis
2020-12-18 21:15 ` Drew Adams
2020-12-19 2:07 ` Michael Heerdegen
2020-12-19 2:51 ` Drew Adams
2020-12-18 11:28 ` Jean Louis
2020-12-19 1:55 ` Michael Heerdegen
2020-12-19 2:45 ` Drew Adams
2020-12-19 1:57 ` Michael Heerdegen
2020-12-17 8:22 ` Joost Kremers
2020-12-18 10:20 ` Philip K.
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1e2c45df-dd81-4248-b41e-e90469570c98@default \
--to=drew.adams@oracle.com \
--cc=bugs@gnu.support \
--cc=help-gnu-emacs@gnu.org \
--cc=michael_heerdegen@web.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.