[WHL] Re: Question about usage of C-number and M-number

Johann 'Myrkraverk' Oskarsson myrkraverk at users.sourceforge.net
Tue Nov 2 03:10:05 EST 2004


Adrian Aichner writes:
 > "Ben Wing" <ben at 666.com> writes:

I think I have fixed the broken url below.

 > > http://www.myrkraverk.com/~myrkraverk/window-number.el
 > >
 > > In any case, adrian, which [if either] do you use for digit-argument?
 > 
 > Ben, in window-meta-mode that would be just M-0, M-1, ...

Now since I wrote the stuff, I'm using M-num to switch windows ;)  But
I'm still reserving C-num for digit argument, even though I tend to
use C-u for it anyway.

 > In window-number-mode it's
 > C-x C-j 0 ((lambda nil (interactive) (window-number-select-nth 0)))
 > and so on.

Now, the window number thingy is entirely optional (at least yet).

Ben, is it possible to make that register kill/yank or yours optional,
even if it defaults to on?  Talking for myself, I'm not really using
registers all the much.  But considering, I wonder if I can make my
mode only work when region is not active, so there will be (almost) no
clashes with your stuff.

Johann "Myrkraverk"

 > >> "Ben Wing" <ben at 666.com> writes:
 > >> 
 > >> > I have made up some very useful functions which make it easy to cut 
 > >> > and paste to registers.  The idea is that C-num copies text to the 
 > >> > specified register and M-num pastes the text.  C-M-num appends to a 
 > >> > register, and adding S- to either C- or C-M- cuts instead 
 > >> > of copying.
 > >> >
 > >> > I've written these so that the use of C-num does not interfere with 
 > >> > its use for digit-argument, since it only takes effect when 
 > >> > a region 
 > >> > is active.
 > >> >
 > >> > I'm thinking of putting these into XEmacs, but I want to know:
 > >> >
 > >> > Do people tend to use C-num or M-num for digit-argument?  I 
 > >> can revise 
 > >> > the keybindings so that either one remains, but I'd like to know 
 > >> > current usage.
 > >> 
 > >> Ben, could you please also review 
 > >> http://article.gmane.org/gmane.emacs.xemacs.patches/4588
 > >> which might not be entirely unrelated.
 > >> 
 > >> I am refering to the gmane archives, because I can't figure 
 > >> out how to hit this in our own :-(
 > >> 
 > >> The patch proposes to support numbered access to windows in XEmacs.
 > >> 
 > >> I have run with this patch since then and haven't seen any 
 > >> problems with this.
 > >> 
 > >> Best regards,
 > >> 
 > >> Adrian
 > >> 
 > >> >
 > >> >
 > >> >
 > >> 
 > >> -- 
 > >> Adrian Aichner
 > >>  mailto:adrian at xemacs.org
 > >>  http://www.xemacs.org/
 > >> 
 > >
 > >
 > 
 > -- 
 > Adrian Aichner
 >  mailto:adrian at xemacs.org
 >  http://www.xemacs.org/




More information about the XEmacs-Beta mailing list