unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#16774: Enabled minor mode lists
@ 2014-02-17  5:56 Evgkeni Sampelnikof
  2014-02-17 11:56 ` E Sabof
  2020-08-21  1:28 ` Stefan Kangas
  0 siblings, 2 replies; 4+ messages in thread
From: Evgkeni Sampelnikof @ 2014-02-17  5:56 UTC (permalink / raw)
  To: 16774

Has it been considered for each major mode to have a list of minor modes that are enabled in it? The list would be "executed" before the major-mode hook is run, and it would be modifiable through customize.

This would give users unfamiliar with elisp more control. It would also reduce the negative aspects of enabling a minor mode by default -- finding out what's enabled and disabling would be trivial.

Evgeni





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

* bug#16774: Enabled minor mode lists
  2014-02-17  5:56 bug#16774: Enabled minor mode lists Evgkeni Sampelnikof
@ 2014-02-17 11:56 ` E Sabof
  2020-08-21  1:28 ` Stefan Kangas
  1 sibling, 0 replies; 4+ messages in thread
From: E Sabof @ 2014-02-17 11:56 UTC (permalink / raw)
  To: 16774

I forgot that it's possible to directly insert minor-modes into mode hooks. The "customize" part is still valid though.

Evgeni





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

* bug#16774: Enabled minor mode lists
  2014-02-17  5:56 bug#16774: Enabled minor mode lists Evgkeni Sampelnikof
  2014-02-17 11:56 ` E Sabof
@ 2020-08-21  1:28 ` Stefan Kangas
  2020-10-01 12:38   ` Stefan Kangas
  1 sibling, 1 reply; 4+ messages in thread
From: Stefan Kangas @ 2020-08-21  1:28 UTC (permalink / raw)
  To: Evgkeni Sampelnikof; +Cc: 16774

Evgkeni Sampelnikof <evgkeni.sampelnikof@gmail.com> writes:

> Has it been considered for each major mode to have a list of minor
> modes that are enabled in it? The list would be "executed" before the
> major-mode hook is run, and it would be modifiable through customize.
>
> This would give users unfamiliar with elisp more control. It would
> also reduce the negative aspects of enabling a minor mode by default
> -- finding out what's enabled and disabling would be trivial.

(This was reported 6 years ago but never got a reply at the time.)

I don't understand this feature request.  Isn't that exactly what the
major-mode hook is?  What exactly are you asking for here?

Best regards,
Stefan Kangas





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

* bug#16774: Enabled minor mode lists
  2020-08-21  1:28 ` Stefan Kangas
@ 2020-10-01 12:38   ` Stefan Kangas
  0 siblings, 0 replies; 4+ messages in thread
From: Stefan Kangas @ 2020-10-01 12:38 UTC (permalink / raw)
  To: Evgkeni Sampelnikof; +Cc: 16774-done

Stefan Kangas <stefan@marxist.se> writes:

> Evgkeni Sampelnikof <evgkeni.sampelnikof@gmail.com> writes:
>
>> Has it been considered for each major mode to have a list of minor
>> modes that are enabled in it? The list would be "executed" before the
>> major-mode hook is run, and it would be modifiable through customize.
>>
>> This would give users unfamiliar with elisp more control. It would
>> also reduce the negative aspects of enabling a minor mode by default
>> -- finding out what's enabled and disabling would be trivial.
>
> (This was reported 6 years ago but never got a reply at the time.)
>
> I don't understand this feature request.  Isn't that exactly what the
> major-mode hook is?  What exactly are you asking for here?

More information was requested, but none was given within 6 weeks, so
I'm closing this bug.  If this is still an issue, please reply to this
email (use "Reply to all" in your email client) and we can reopen the
bug report.

Best regards,
Stefan Kangas





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

end of thread, other threads:[~2020-10-01 12:38 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-02-17  5:56 bug#16774: Enabled minor mode lists Evgkeni Sampelnikof
2014-02-17 11:56 ` E Sabof
2020-08-21  1:28 ` Stefan Kangas
2020-10-01 12:38   ` Stefan Kangas

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).