[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [mentoring] a darkroom/writeroom mode for Emacs

From: Rasmus
Subject: Re: [mentoring] a darkroom/writeroom mode for Emacs
Date: Wed, 10 Dec 2014 02:22:17 +0100
User-agent: Gnus/5.130012 (Ma Gnus v0.12) Emacs/24.4.51 (gnu/linux)

Stefan Monnier <address@hidden> writes:

>>>> exiting the minor-mode.
>>> I didn't provide the hook. There is the minor mode hook that is normally
>>> provided. Do you think any more are needed?
>> IMO: Yes.  Cdlatex-org-mode is also a minor mode.  So is paredit.  I'm not
>> sure we want to use the same functions for these three projects.
>> E.g. visual-line-mode may be of interest to your mode, but not to paredit.
>> See `run-hook-with-args' and `run-hooks' and the like.
> I think João got it right here: define-minor-mode already defines a hook
> for that particular minor mode and there shouldn't be a need to define
> any extra one.

Right. . .  Now I understand; Outsmarted by Emacs again.


May contains speling mistake

reply via email to

[Prev in Thread] Current Thread [Next in Thread]