Discussion List Archives

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ddlm-group] Fwd: Fwd: Searching for a compromise on eliding. .


On Monday, February 28, 2011 10:31 AM, SIMON WESTRIP wrote:

>As I understand F or F', doubling of backslashes would only really be required
>when a literal backslash is needed at the end of a line, because, as in python,
>all unrecognized escape sequences are returned 'as is', e.g.
> ``\a\b\c\ \'\"`` will be returned as \a\b\c\ \'\" ?

F' and G would require backslash doubling only when a literal backslash appears at the end of a line.  If a line ends with multiple literal backslashes, then only the last one would or should be doubled.

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, \\ -> \\\\).  Other backslashes could be doubled for consistency, but that would be optional.

These proposals all provide for syntax-level line folding and for including arbitrary text.  So also do P, P', and Q.


John

>________________________________________
>From: Brian McMahon <bm@iucr.org>
>To: Group finalising DDLm and associated dictionaries <ddlm-group@iucr.org>
>Sent: Monday, 28 February, 2011 15:11:59
>Subject: Re: [ddlm-group] Fwd: Fwd: Searching for a compromise on eliding
>
>I'm still working through my backlog of work and haven't time yet to
>consider this in detail, but the converstaion has caught my attention:
>this approach seems to offer us a solution with line-folding and the
>ability to include arbitrary text. Is that right? If so, persistent
>doubling of the backslash in cases such as TeX I would consider a
>minor nuisance compared with the overall gain in functionality.
>
>Regards
>Brian


Email Disclaimer:  www.stjude.org/emaildisclaimer
_______________________________________________
ddlm-group mailing list
ddlm-group@iucr.org
http://scripts.iucr.org/mailman/listinfo/ddlm-group

Reply to: [list | sender only]
International Union of Crystallography

Scientific Union Member of the International Science Council (admitted 1947). Member of CODATA, the ISC Committee on Data. Partner with UNESCO, the United Nations Educational, Scientific and Cultural Organization in the International Year of Crystallography 2014.

International Science Council Scientific Freedom Policy

The IUCr observes the basic policy of non-discrimination and affirms the right and freedom of scientists to associate in international scientific activity without regard to such factors as ethnic origin, religion, citizenship, language, political stance, gender, sex or age, in accordance with the Statutes of the International Council for Science.