[PATCH] Abstract out a display-table-specific API (2)
Aidan Kehoe
kehoea at parhasard.net
Sat Dec 29 17:20:04 EST 2007
Ar an triochadú lá de mí na Nollaig, scríobh Stephen J. Turnbull:
> QUERY
>
> Aidan Kehoe writes:
>
> > * gamegrid.el (put-display-table): New.
> > * gamegrid.el (get-display-table): New.
> > Provide with #'defun-when-void, so as to not override the 21.5
> > implementation.
>
> Is there any chance you could name these `display-table-get' and
> `display-table-put'? Yes, I know there's precedent for the prefix
> form in `puthash' and `put-char-table' (and others), but `hash' can be
> read as the object (ie, the key), and put-char-table and friends have
> always made me ask "where should we put the char-table?" There's
> plenty of precedent for the postfix form (C-h a -put$ RET will give a
> list), and it's more Lisp-y.
Not emacs-Lisp-y, though (F1 a ^put- RET vs F1 a -put$ RET):
put-alist
put-case-table
put-case-table-pair
put-char-code-property
put-char-table
put-charset-property
put-database
put-nonduplicable-text-property
put-range-table
put-text-property
vs:
coding-system-put
lax-plist-put
overlay-put
plist-put
widget-put
--
¿Dónde estará ahora mi sobrino Yoghurtu Nghé, que tuvo que huir
precipitadamente de la aldea por culpa de la escasez de rinocerontes?
More information about the XEmacs-Patches
mailing list