<div dir="ltr"><span style="font-family:arial,sans-serif;font-size:13px"> why not accept both 'return' and 'r' as valid options?</span><br><div><span style="font-family:arial,sans-serif;font-size:13px"><br>

</span></div><div><span style="font-family:arial,sans-serif;font-size:13px">Because it could lead to confusion, where 'r' (or 'R') and 'return' may be perceived as offering differing functionality.</span></div>

</div><div class="gmail_extra"><br><br><div class="gmail_quote">On 7 February 2014 06:52, Patrick R. Michaud <span dir="ltr"><<a href="mailto:pmichaud@pobox.com" target="_blank">pmichaud@pobox.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">If it's something that someone will have to write often, it should<br>
have a short name.  (This is why "SDV" has a short name. :)<br>
Otherwise, a longer or more descriptive name should be used.<br>
<br>
For this case, if the choice is between 'return' and 'r' I would<br>
tend to prefer 'return', but I'd probably need to look at a few<br>
code examples.<br>
<br>
Also, this is a computer and the function isn't called frequently,<br>
so why not accept both 'return' and 'r' as valid options?  :-)<br>
<br>
Pm<br>
<div class=""><br>
<br>
On Fri, Feb 07, 2014 at 08:46:21AM -0500, michael paulukonis wrote:<br>
> What is the reason for using abbreviations and supershort pieces instead of<br>
> the full semantic name?<br>
><br>
> Staring at "SDV" for the first time (or the first time in a long time) it's<br>
> rather opaque.<br>
><br>
> As John said, 'return' is a lot more semantic than 'r'<br>
><br>
> -Michael Paulukonis<br>
> <a href="http://www.xradiograph.com" target="_blank">http://www.xradiograph.com</a><br>
</div>>  <<a href="http://goog_2112721603" target="_blank">http://goog_2112721603</a>>Interference Patterns (a<br>
> blog)<<a href="http://www.xradiograph.com" target="_blank">http://www.xradiograph.com</a>%5Cinterference><br>
> @XraysMonaLisa <<a href="https://twitter.com/XraysMonaLisa" target="_blank">https://twitter.com/XraysMonaLisa</a>><br>
> <a href="http://michaelpaulukonis.com" target="_blank">http://michaelpaulukonis.com</a><br>
> <<a href="http://www.BestAndroidResources.com" target="_blank">http://www.BestAndroidResources.com</a>><br>
<div class="HOEnZb"><div class="h5">><br>
> Sent from somewhere in the Cloud<br>
> (hearthrug, by the fender)<br>
><br>
><br>
> On Thu, Feb 6, 2014 at 9:28 PM, John Rankin <<a href="mailto:john.rankin@affinity.co.nz">john.rankin@affinity.co.nz</a>>wrote:<br>
><br>
> ><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>
> > '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>
> > ><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>
> > --<br>
> > John Rankin<br>
> ><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>
> ><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>
<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><br clear="all"><div><br></div>-- <br>____<br><a href="http://kiwiwiki.co.nz">http://kiwiwiki.co.nz</a>
</div>