[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: CUA mode cursor color
From: |
Stefan Monnier |
Subject: |
Re: CUA mode cursor color |
Date: |
Mon, 13 May 2002 14:15:39 -0400 |
> > I dislike the turn-on-X-mode things because they're just redundant.
> IIUC, they are needed for hooks: if you put turn-on-X-mode into a hook,
> you know you will get the X-mode, but if you put X-mode (which just
> toggles) there, you might or might not get it, depending on whether
> X was turned on in the mode definition or in another function added to
> the hook.
(add-hook 'foo-hook (lambda () (mode-X 1)))
only takes 7 more chars than your alternative.
Furthermore, although I know that some people are staunchly opposed
to it, I think that calling (X-mode) with no argument non-interactively
should behave exactly like turn-on-X-mode so that people can just
say (add-hook 'foo-hook 'mode-X) and so that people who already
(incorrectly) do that don't get into trouble.
Stefan
- Re: CUA mode cursor color, (continued)
- Re: CUA mode cursor color, Juanma Barranquero, 2002/05/13
- Re: CUA mode cursor color, Richard Stallman, 2002/05/13
- Re: CUA mode cursor color, Stefan Monnier, 2002/05/13
- Re: CUA mode cursor color, Sam Steingold, 2002/05/13
- Re: CUA mode cursor color,
Stefan Monnier <=
- Re: CUA mode cursor color, Kai Großjohann, 2002/05/14
- Re: CUA mode cursor color, Stefan Monnier, 2002/05/14
- Re: CUA mode cursor color, Miles Bader, 2002/05/14
- Re: CUA mode cursor color, Kai Großjohann, 2002/05/14
- Re: CUA mode cursor color, Alex Schroeder, 2002/05/13
- Re: CUA mode cursor color, Richard Stallman, 2002/05/15
- Re: CUA mode cursor color, Richard Stallman, 2002/05/14
- Re: CUA mode cursor color, Miles Bader, 2002/05/13
- Re: CUA mode cursor color, Richard Stallman, 2002/05/15
Re: CUA mode cursor color, Richard Stallman, 2002/05/13