unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Joel Reicher <joel.reicher@gmail.com>
To: Heime <heimeborgia@protonmail.com>
Cc: Heime via Users list for the GNU Emacs text editor
	<help-gnu-emacs@gnu.org>
Subject: Re: inserting a cons cell returned by a function
Date: Wed, 14 Aug 2024 10:46:36 +1000	[thread overview]
Message-ID: <86cymcc4nn.fsf@gmail.com> (raw)
In-Reply-To: <V25-D5HB55lgxdDhIdzQ33CqfvTHdo9t8xDd7WCRGkk7huS5nyk8pL8rAODuf2n9G95OxRzKuRrUUa5979NrIIhf7RVmXZ3cJoUXw1r0NBY=@protonmail.com> (Heime's message of "Tue, 13 Aug 2024 19:09:47 +0000")

Heime <heimeborgia@protonmail.com> writes:

> Have made a function navcons that returns a cons cell.
>
> Whilst this works
>
>       (insert (format " /* %s\n" (navcons "/*")))
>
> why does this fail ?
>
>       (insert (format " %s %s\n" comment-start (navcons 
>       comment-start)))

The error you get might explain it.

Regards,

        - Joel



  reply	other threads:[~2024-08-14  0:46 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-08-13 19:09 inserting a cons cell returned by a function Heime
2024-08-14  0:46 ` Joel Reicher [this message]
2024-08-14 10:46   ` Heime
2024-08-14 10:56     ` Joel Reicher
2024-08-14 11:19       ` Heime

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=86cymcc4nn.fsf@gmail.com \
    --to=joel.reicher@gmail.com \
    --cc=heimeborgia@protonmail.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).