<div dir="ltr"><div><div>What is the reason for using abbreviations and supershort pieces instead of the full semantic name?<br><br></div>Staring at "SDV" for the first time (or the first time in a long time) it's rather opaque.<br>

<br></div>As John said, 'return' is a lot more semantic than 'r'<br></div><div class="gmail_extra"><br clear="all"><div>-Michael Paulukonis<br><a href="http://www.xradiograph.com" target="_blank">http://www.xradiograph.com</a><br>

<a href="http://goog_2112721603" target="_blank"></a><a href="http://www.xradiograph.com%5Cinterference" target="_blank">Interference Patterns (a blog)</a><br><a href="https://twitter.com/XraysMonaLisa" target="_blank">@XraysMonaLisa</a><br>

<a href="http://michaelpaulukonis.com" target="_blank">http://michaelpaulukonis.com</a><br><a href="http://www.BestAndroidResources.com" target="_blank"></a><br><br>Sent from somewhere in the Cloud<br>(hearthrug, by the fender)<br>

</div>
<br><br><div class="gmail_quote">On Thu, Feb 6, 2014 at 9:28 PM, John Rankin <span dir="ltr"><<a href="mailto:john.rankin@affinity.co.nz" target="_blank">john.rankin@affinity.co.nz</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div class="im"><br>
> I think we can add this. Why the key is named markup_c? This template can<br>
> be<br>
> used on many places which call PCCF(), is there a better key name?<br>
<br>
</div>'return' would be a clearer (and shorter) key name<br>
<br>
If a very short key name is acceptable, how about 'r'? Then we could write<br>
<br>
  Markup_e( ... , 'r');<br>
<br>
Thanks!<br>
<div class="im HOEnZb">><br>
> John Rankin writes:<br>
>> I'd like to suggest a small change to the pmwiki core:<br>
>><br>
>> $CallbackFnTemplates = array(<br>
>>   ...,<br>
>>   'markup_c' => 'return %s;',<br>
>>   ...,<br>
>> );<br>
>><br>
>> ...<br>
>><br>
>> function Markup_e($id, $when, $pat, $rep, $tmpl='markup_e') {<br>
>>   if (!is_callable($rep)) $rep = PCCF($rep, $tmpl);<br>
>>   Markup($id, $when, $pat, $rep);<br>
>> }<br>
>><br>
>><br>
<br>
</div><span class="HOEnZb"><font color="#888888">--<br>
John Rankin<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
<br>
_______________________________________________<br>
pmwiki-users mailing list<br>
<a href="mailto:pmwiki-users@pmichaud.com">pmwiki-users@pmichaud.com</a><br>
<a href="http://www.pmichaud.com/mailman/listinfo/pmwiki-users" target="_blank">http://www.pmichaud.com/mailman/listinfo/pmwiki-users</a><br>
</div></div></blockquote></div><br></div>