unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Thorsten Jolitz <tjolitz@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: Return value not as expected in Emacs Lisp function
Date: Thu, 08 Aug 2013 00:47:28 +0200	[thread overview]
Message-ID: <87txj1dsov.fsf@gmail.com> (raw)
In-Reply-To: jwv1u6543q7.fsf-monnier+gmane.emacs.help@gnu.org

Stefan Monnier <monnier@iro.umontreal.ca> writes:

>> so the value of 'result' is just fine in the second-last line of the
>> fun.
>
>> But the return value is not what I would expect
>
> Maybe there's something going on in the way you "get the return value".
> IOW give us more details to reproduce the problem.

While preparing to post the real function definition, I found the error:
a missing opening parenthesis in the (interactive...) part of the
function, in a branch of a (cond...) statement I never tested.

In total, the parens matched - but not all in the right places. 

Sorry for the noise.

-- 
cheers,
Thorsten




  reply	other threads:[~2013-08-07 22:47 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-08-07 18:48 Return value not as expected in Emacs Lisp function Thorsten Jolitz
2013-08-07 21:00 ` Stefan Monnier
2013-08-07 22:47   ` Thorsten Jolitz [this message]
2013-08-07 21:07 ` Pascal J. Bourguignon
2013-08-07 22:54   ` Thorsten Jolitz
2013-08-08 22:31     ` Pascal J. Bourguignon
2013-08-09 12:03       ` Thorsten Jolitz

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87txj1dsov.fsf@gmail.com \
    --to=tjolitz@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    /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.
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).