[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Reply to: [list | sender only]
Re: [ddlm-group] Fwd: Fwd: Searching for a compromise on eliding. .. .
- To: Group finalising DDLm and associated dictionaries <[email protected]>
- Subject: Re: [ddlm-group] Fwd: Fwd: Searching for a compromise on eliding. .. .
- From: "Herbert J. Bernstein" <[email protected]>
- Date: Mon, 28 Feb 2011 16:13:45 -0500
- In-Reply-To: <[email protected]>
- References: <[email protected]><[email protected]><[email protected]><[email protected]><[email protected]><[email protected]><[email protected]><[email protected]><[email protected]><[email protected]><[email protected]><8F77913624F7524AACD2A92EAF3BFA54168ECD35C3@SJMEMXMBS11.stjude.sjcrh.local><8F77913624F7524AACD2A92EAF3BFA54168ECD35C4@SJMEMXMBS11.stjude.sjcrh.local> <a06240802c991a6861788@[192.168.27.101]><[email protected]>
Dear Simon,
The G example is no more or less likely than an F example. Whatever
choice of delimiters we make, the primary purpose is to be able to quote
chunk of CIF within such strings. Once we start using any multi-line
delimiter for this purpose, then that delimiter will need to be well-
handled in quoting chunks of CIF with that delimiter included. That
is one more reason to prefer P, P-prime, F or GP to F' or G.
Regards,
Herbert
At 8:26 PM +0000 2/28/11, SIMON WESTRIP wrote:
>Dear Herbert,
>
>Your G example is highly unlikely to be necessary in practice, which
>is one reason I've started
>to see the merits of alternative delimters that don't share a
>character with other delimiters and that are
>unlikely to form part of a CIF data value.
>
>Cheers
>
>Simon
>
>
>
>From: Herbert J. Bernstein <[email protected]>
>To: Group finalising DDLm and associated dictionaries <[email protected]>
>Sent: Monday, 28 February, 2011 19:34:48
>Subject: Re: [ddlm-group] Fwd: Fwd: Searching for a compromise on
>eliding. . . .
>
>The prudent thing to do is to double every backslash you want taken
>verbatim, whether it is at the end of a line or not. One nice aspect
>of P and P-prime is that you get in the habit of eliding the quote
>marks as well, as in
>
>"""This is an example of \"\"\"treble quoting\"\"\""""
>
>even though
>
>"""This is an example of \"""treble quoting""\""""
>
>is sufficient. It keeps your visual clues more local. I would suggest
>that those considering the merits of P and P-prime versus G and F', consider
>that in GP, the above would appear in F' as
>
>"""This is an example of ""\
>"treble quoting""\
>"\
>"""
>
>and the similar G statement would be
>
>``This is an example of `\
>`G quoting`\
>`\
>``
>
>which seems somewhat less clear than the more Pythonesque P, P-prime and
>F one-liners
>
>
>
>At 12:29 PM -0600 2/28/11, Bollinger, John C wrote:
>>On Monday, February 28, 2011 12:16 PM, I wrote:
>>
>>>F and GP would require backslash doubling when a literal backslash
>>>appears at the end of a line, and also when a literal
>>>double-backslash appears anywhere (in which case both backslashes
>>>would need to be doubled, \\ -> \\\\).
>>
>>Correction: F and GP would require backslash doubling when a literal
>>backslash appears at the end of a line. In addition, given any
>>sequence of n + 1 literal backslashes (n >= 0), the first n of them
>>must be doubled, but doubling the last is optional unless it appears
>>at the end of the line.
>>
>>John
>>
>>--
>>John C. Bollinger, Ph.D.
>>Department of Structural Biology
>>St. Jude Children's Research Hospital
>>
>>
>>
>>
>>Email Disclaimer:
>><http://www.stjude.org/emaildisclaimer>www.stjude.org/emaildisclaimer
>>
>>_______________________________________________
>>ddlm-group mailing list
>><mailto:[email protected]>[email protected]
>><http://scripts.iucr.org/mailman/listinfo/ddlm-group>http://scripts.iucr.org/mailman/listinfo/ddlm-group
>
>
>--
>=====================================================
> Herbert J. Bernstein, Professor of Computer Science
> Dowling College, Kramer Science Center, KSC 121
> Idle Hour Blvd, Oakdale, NY, 11769
>
> +1-631-244-3035
> <mailto:[email protected]>[email protected]
>=====================================================
>_______________________________________________
>ddlm-group mailing list
><mailto:[email protected]>[email protected]
><http://scripts.iucr.org/mailman/listinfo/ddlm-group>http://scripts.iucr.org/mailman/listinfo/ddlm-group
>
>
>_______________________________________________
>ddlm-group mailing list
>[email protected]
>http://scripts.iucr.org/mailman/listinfo/ddlm-group
--
=====================================================
Herbert J. Bernstein, Professor of Computer Science
Dowling College, Kramer Science Center, KSC 121
Idle Hour Blvd, Oakdale, NY, 11769
+1-631-244-3035
[email protected]
=====================================================
_______________________________________________
ddlm-group mailing list
[email protected]
http://scripts.iucr.org/mailman/listinfo/ddlm-group
Reply to: [list | sender only]
- Follow-Ups:
- References:
- [ddlm-group] Searching for a compromise on eliding (James Hester)
- [ddlm-group] Fwd: Fwd: Searching for a compromise on eliding (James Hester)
- Re: [ddlm-group] Fwd: Fwd: Searching for a compromise on eliding (James Hester)
- Re: [ddlm-group] Fwd: Fwd: Searching for a compromise on eliding (Herbert J. Bernstein)
- Re: [ddlm-group] Fwd: Fwd: Searching for a compromise on eliding (James Hester)
- Re: [ddlm-group] Fwd: Fwd: Searching for a compromise on eliding (Herbert J. Bernstein)
- Re: [ddlm-group] Fwd: Fwd: Searching for a compromise on eliding (Brian McMahon)
- Re: [ddlm-group] Fwd: Fwd: Searching for a compromise on eliding (SIMON WESTRIP)
- Re: [ddlm-group] Fwd: Fwd: Searching for a compromise on eliding. . (Bollinger, John C)
- Re: [ddlm-group] Fwd: Fwd: Searching for a compromise on eliding.. . . (Bollinger, John C)
- Re: [ddlm-group] Fwd: Fwd: Searching for a compromise on eliding.. . . (Herbert J. Bernstein)
- Re: [ddlm-group] Fwd: Fwd: Searching for a compromise on eliding. .. . (SIMON WESTRIP)
- Prev by Date: Re: [ddlm-group] Fwd: Fwd: Searching for a compromise on eliding. .. .
- Next by Date: Re: [ddlm-group] Fwd: Fwd: Searching for a compromise on eliding. .. .
- Prev by thread: Re: [ddlm-group] Fwd: Fwd: Searching for a compromise on eliding. .. .
- Next by thread: Re: [ddlm-group] Fwd: Fwd: Searching for a compromise on eliding. .. .
- Index(es):

