unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Emacs registers above 255
@ 2010-05-19 14:04 Štěpán Němec
  2010-05-19 14:15 ` David Kastrup
  2010-05-19 17:18 ` Stefan Monnier
  0 siblings, 2 replies; 4+ messages in thread
From: Štěpán Němec @ 2010-05-19 14:04 UTC (permalink / raw)
  To: emacs-devel


Hello,

according to the documentation, registers are characters up to 255.
But the actual implementation is very simple and permits storing
"anything" in `register-alist' using `set-register'; it's just that the
UI functions use the "c" interactive spec, so you can't really enter
anything other than a character inputtable without an input method.

My question is: would you consider it too much of a hack if a package
used registers above 255 to not clobber the standard registers, but on
the other hand be able to use the existing infrastructure (my example
use case would be implementing Vim-compatible registers in an emulation
package)? 


Štěpán



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2010-05-20  8:46 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-05-19 14:04 Emacs registers above 255 Štěpán Němec
2010-05-19 14:15 ` David Kastrup
2010-05-19 17:18 ` Stefan Monnier
2010-05-20  8:46   ` Štěpán Němec

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).