zsh-workers
 help / color / mirror / code / Atom feed
From: Bart Schaefer <schaefer@brasslantern.com>
To: zsh-workers@sunsite.dk
Subject: Re: Here-documents borked in "functions" output
Date: Fri, 14 Mar 2008 07:48:49 -0700	[thread overview]
Message-ID: <080314074849.ZM22703@torch.brasslantern.com> (raw)
In-Reply-To: <20080314113641.10398594@news01>

On Mar 14, 11:36am, Peter Stephenson wrote:
}
} There has always been a bit of a hack here, so it's not surprising
} things go a little wonky. We turn HERE-documents into HERE-strings
} immediately; the code in text.c that re-presents them doesn't
} currently know whether the code came from a HERE-document, in which
} case it needs extra quoting, for which it simply guesses. The sensible
} fix is to tell it.

This is great, but in case you have some extra time just lying around
waiting to be filled, it might be nicer to store the begin/end marker
string so that it could be re-presented as a here-document again.

Of course, if you give me that cookie I'm going to want leading tabs
with my milk, so maybe it's better if I quietly let it pass.


      parent reply	other threads:[~2008-03-14 14:50 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-03-14  2:52 Bart Schaefer
2008-03-14 11:36 ` Peter Stephenson
2008-03-14 11:58   ` Peter Stephenson
2008-03-14 14:48   ` Bart Schaefer [this message]

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=080314074849.ZM22703@torch.brasslantern.com \
    --to=schaefer@brasslantern.com \
    --cc=zsh-workers@sunsite.dk \
    /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 public inbox

	https://git.vuxu.org/mirror/zsh/

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 NNTP newsgroup(s).