all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: William Stevenson <yhvh2000@gmail.com>
To: emacs-devel@gnu.org
Subject: Re: /etc/TODO: define-minor-mode & minor-mode-list
Date: Thu, 02 Feb 2012 06:57:14 +0000	[thread overview]
Message-ID: <87liolrad1.fsf@gmail.com> (raw)
In-Reply-To: jwvty3alkub.fsf-monnier+emacs@gnu.org

Stefan Monnier <monnier@iro.umontreal.ca> writes:

>> Also is this todo considered todone?
>
> Largely, yes.  I did this during the Emacs-24 development (which lead to
> the addition of the `:variable' argument).  My methodology to find
> potential minor modes was to grep for something like "defun.*-mode
> ([^)]" since traditionally minor modes take an argument, whereas major
> modes don't.  There are a few cases I found which I haven't converted,
> usually because the conversion was less straightforward so I left it
> for later.  These are: orgstruct++-mode, tcl-auto-fill-mode,
> vhdl-hs-minor-mode, speedbar-frame-mode, reftex-isearch-minor-mode,
> type-break-mode.
> There are probably other candidates, of course.


I searched for more but I've probably unearthed more false positives
than anything else. I'll hopefully have at least one patch by the end of
the week.



| file                    | mode name                             | d-m-m | d-d-m | notes |
|-------------------------+---------------------------------------+-------+-------+-------|
| org/org.el              | orgstruct++-mode                      | y     |       |       |
| progmodes/tcl.el        | tcl-auto-fill-mode                    | y     |       |       |
| speedbar.el             | speedbar-frame-mode                   |       |       | ?     |
| reftex-global.el        | reftex-isearch-minor-mode             | y     |       | ?     |
| progmodes/vhdl-mode.el  | vhdl-hs-minor-mode                    | y     |       | ?     |
| textmodes/two-column.el | 2C-mode                               | y     |       |       |
| textmodes/artist.el     | artist-mode                           | y     |       |       |
| emulation/edt.el        | edt-select-mode                       |       |       | m/M?  |
| ehelp.el                | electric-help-orig-major-mode         | y     |       | ?     |
| eshell/esh-mode.el      | eshell-mode                           |       |       | m/M?  |
| textmodes/fill.el       | fill-indent-according-to-mode         | ?     | ?     |       |
| font-lock.el            | font-lock-major-mode                  | ?     | ?     |       |
| gnus/gnus-agent.el      | gnus-agent-mode                       | y     |       |       |
| gnus/gnus-start.el      | gnus-slave-mode                       | y     |       | FIXME |
| gnus/gnus-topic.el      | gnus-topic-mode                       | y     |       | FIXME |
| ido.el                  | ido-mode                              | y     |       |       |
| image-mode.el           | image-mode                            |       | y     |       |
| info-look.el            | info-lookup-mode                      |       |       | ?     |
| jit-lock.el             | jit-lock-mode                         | y     |       | ?     |
| avoid.el                | mouse-avoidance-mode                  | y     |       | ?     |
| net/rcirc.el            | rcirc-mode                            |       | y     | FIXME |
| nxml/rng-valid.el       | rng-validate-mode                     | y     |       |       |
| international/robin.el  | robin-mode                            |       |       | m/M?  |
| shell.el                | shell                                 |       |       | m/M?  |
| term.el                 | term-insert-mode                      |       |       | ?     |
| type-break.el           | type-break-mode                       | y     |       |       |
| uniquify.el             | uniquify-list-buffers-directory-modes |       |       | ?     |
| emulation/vi.el         | vi-mode-old-major-mode                |       | y     | old?  |
| winner.el               | winner-mode                           | y     |       |       |
|-------------------------+---------------------------------------+-------+-------+-------|




  parent reply	other threads:[~2012-02-02  6:57 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-02-01  2:05 /etc/TODO: define-minor-mode & minor-mode-list William Stevenson
2012-02-01  2:32 ` Juanma Barranquero
2012-02-01  2:46   ` William Stevenson
2012-02-01  3:39     ` Juanma Barranquero
2012-02-01  3:14   ` Chong Yidong
2012-02-01 14:06 ` Stefan Monnier
2012-02-01 14:53   ` Juanma Barranquero
2012-02-01 15:14     ` Stefan Monnier
2012-02-02  0:56   ` Juri Linkov
2012-02-02  6:57   ` William Stevenson [this message]
2012-02-02 18:40     ` Stefan Monnier
2012-02-02 21:14     ` Juri Linkov
2012-02-04 13:49       ` Johan Bockgård

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87liolrad1.fsf@gmail.com \
    --to=yhvh2000@gmail.com \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.