[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: blank-mode.el
From: |
Vinicius Jose Latorre |
Subject: |
Re: blank-mode.el |
Date: |
Mon, 19 Nov 2007 16:19:32 -0300 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.9) Gecko/20071030 SeaMonkey/1.1.6 |
Done, but the names now are blank-toggle-options and
global-blank-toggle-options.
It would be better for blank to go first so every defun, defvar,
defconst, defcustom, defface, defgroup, and define-minor-mode start
with `blank-'. That is easier to track, especially 20 years from now
by someone who does not know blank-mode.el. The four that need
changing are:
global-blank-mode
global-blank-mode-on
global-blank-mode-off
global-blank-toggle-options
Otherwise, what I saw looks good.
(Note that only some command names have "global-" prefix.
All defvar, defun (except some commands), defconst, defcustom,
defface and defgroup are prefixed by "blank-".)
Well, I also think this way, but there is no convention
(or consensus) about global minor mode name.
Initially, global blank-mode had the name blank-global-mode,
but Juri Linkov <address@hidden> suggested to change to global-blank-mode.
I made a `grep -e "global-" *.el' in emacs/lisp dir.
It seems that some of global minor mode names are prefixed by "global-",
for example, global-font-lock-mode (instead of font-lock-global-mode),
global-auto-revert-mode, global-cwarn-mode, global-hi-lock-mode,
global-highlight-changes, global-hl-line-mode.
I don't know what convention to use if that already used by some
global minor mode ("global-" prefix) or if I use "blank-*-global-mode".
BTW, I think it should have some note in
Emacs Lisp Reference Manual about global minor mode name.
- Re: blank-mode.el, (continued)
- Re: blank-mode.el, Juri Linkov, 2007/11/13
- Re: blank-mode.el, Jason Rumney, 2007/11/13
- Re: blank-mode.el, Andreas Schwab, 2007/11/14
- Re: blank-mode.el, Vinicius Jose Latorre, 2007/11/15
- Re: blank-mode.el, Robert J. Chassell, 2007/11/16
- Re: blank-mode.el, Vinicius Jose Latorre, 2007/11/17
- Re: blank-mode.el, Juri Linkov, 2007/11/17
- Re: blank-mode.el, Vinicius Jose Latorre, 2007/11/18
- Re: blank-mode.el, Vinicius Jose Latorre, 2007/11/19
- Re: blank-mode.el, Robert J. Chassell, 2007/11/19
- Re: blank-mode.el,
Vinicius Jose Latorre <=
- Re: blank-mode.el, Vinicius Jose Latorre, 2007/11/19
- Re: blank-mode.el, Vinicius Jose Latorre, 2007/11/21
- Re: blank-mode.el, Robert J. Chassell, 2007/11/11
- Re: blank-mode.el, Robert J. Chassell, 2007/11/11
- Re: blank-mode.el, Vinicius Jose Latorre, 2007/11/11
- Re: blank-mode.el, Jason Rumney, 2007/11/11
- Re: blank-mode.el, Juri Linkov, 2007/11/11
- Re: blank-mode.el, Jason Rumney, 2007/11/11
- Re: blank-mode.el, Robert J. Chassell, 2007/11/11
Re: blank-mode.el, Robert J. Chassell, 2007/11/14