[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: contractor resources for emacs extension development
From: |
Eric Abrahamsen |
Subject: |
Re: contractor resources for emacs extension development |
Date: |
Wed, 23 Oct 2013 09:31:11 +0800 |
User-agent: |
Gnus/5.130008 (Ma Gnus v0.8) Emacs/24.3 (gnu/linux) |
Thorsten Jolitz <tjolitz@gmail.com> writes:
> Alan Schmitt <alan.schmitt@polytechnique.org> writes:
>
>> Thorsten Jolitz <tjolitz@gmail.com> writes:
>>
>>> Did you set the hooks?
>>>
>>> In my .emacs I find e.g.
>>>
>>> ,-------------------------------------------------------------
>>> | (add-hook 'outline-minor-mode-hook 'outshine-hook-function))
>>> | (add-hook 'emacs-lisp-mode-hook 'outline-minor-mode)
>>> | (add-hook 'message-mode-hook 'outline-minor-mode))
>>> `-------------------------------------------------------------
>>>
>>> so whenever outline-minor-mode is activated, the
>>> `outshine-hook-function' is called for setting up things. For
>>> emacs-lisp-mode and message-mode (and others not listed) I then activate
>>> outline-minor-mode by default.
>>
>> I have them in my configuration file. Is it supposed to work if no
>> headling is present?
>
> Yes, because the trick I used is to temporarily convert this
> line:
>
> ,---------------------------
> | --text follows this line--
> `---------------------------
>
> into a first-level Org-mode heading to make outorg work.
>
> I assumed that this line is always present in message-mode between the
> header and the body, so there is always at least one heading (created
> in the background by outorg).
>
> Is that line present in your case?
A tiny, tiny compatibility trick: the "text follows this
line" line actually comes from the `mail-header-separator' variable. You
might search for the value of that, instead of a hard-coded string, just
in case it's been customized.
Eric
- Re: contractor resources for emacs extension development, (continued)
- Re: contractor resources for emacs extension development, Marcin Borkowski, 2013/10/17
- Re: contractor resources for emacs extension development, Thorsten Jolitz, 2013/10/17
- Message not available
- Re: contractor resources for emacs extension development, Eric Brown, 2013/10/18
- Re: contractor resources for emacs extension development, Thorsten Jolitz, 2013/10/18
- Message not available
- Re: contractor resources for emacs extension development, Alan Schmitt, 2013/10/18
- Re: contractor resources for emacs extension development, Thorsten Jolitz, 2013/10/18
- Message not available
- Re: contractor resources for emacs extension development, Alan Schmitt, 2013/10/21
- Re: contractor resources for emacs extension development, Thorsten Jolitz, 2013/10/21
- Re: contractor resources for emacs extension development,
Eric Abrahamsen <=
- Re: contractor resources for emacs extension development, Thorsten Jolitz, 2013/10/23
- Message not available
- Re: contractor resources for emacs extension development, Alan Schmitt, 2013/10/22
- outorg-edit-as-org and mu4e (Was: contractor resources for emacs extension development), Alan Schmitt, 2013/10/22
- Re: outorg-edit-as-org and mu4e, Thorsten Jolitz, 2013/10/22
- Message not available
- Re: outorg-edit-as-org and mu4e, Alan Schmitt, 2013/10/23
- Re: outorg-edit-as-org and mu4e, Thorsten Jolitz, 2013/10/23
Re: contractor resources for emacs extension development, Bastien, 2013/10/18