[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] An org password manager
From: |
Ramon Diaz-Uriarte |
Subject: |
Re: [O] An org password manager |
Date: |
Fri, 16 May 2014 15:03:39 +0200 |
User-agent: |
mu4e 0.9.9.5; emacs 24.3.50.1 |
Thanks! I did not know that.
Best,
R.
On Tue, 13-05-2014, at 14:40, Jorge A. Alfaro-Murillo <address@hidden> wrote:
> Dear Ramon and Colin,
>
> If you are using an "(add-to-list 'auto-mode-alist ...)" for the gpg
> files, that sets the major mode on. If you want to leave the major mode
> as Org, do not use auto-mode-alist, but instead use a hook:
> (add-hook 'org-mode-hook 'your-function), where your-function should be
> one that checks if the file name ends with gpg and if so turns your
> sensitivity-mode on.
>
> Alternatively, define another major mode:
>
> #+BEGIN_SRC emacs-lisp
> (define-derived-mode org-but-sensitive-mode org-mode
> ...)
> #+END_SRC
>
> and copy in "..." whatever your sensitive-minor-mode has.
>
> Best,
>
> Jorge.
--
Ramon Diaz-Uriarte
Department of Biochemistry, Lab B-25
Facultad de Medicina
Universidad Autónoma de Madrid
Arzobispo Morcillo, 4
28029 Madrid
Spain
Phone: +34-91-497-2412
Email: address@hidden
address@hidden
http://ligarto.org/rdiaz
- [O] An org password manager, Jorge A. Alfaro-Murillo, 2014/05/11
- Re: [O] An org password manager, Igor Sosa Mayor, 2014/05/11
- Re: [O] An org password manager, Ramon Diaz-Uriarte, 2014/05/11
- Re: [O] An org password manager, Colin Baxter, 2014/05/11
- Re: [O] An org password manager, Ramon Diaz-Uriarte, 2014/05/12
- Re: [O] An org password manager, Colin Baxter, 2014/05/12
- Re: [O] An org password manager, Ramon Diaz-Uriarte, 2014/05/12
- Re: [O] An org password manager, Colin Baxter, 2014/05/13
- Re: [O] An org password manager, Jorge A. Alfaro-Murillo, 2014/05/13
- Re: [O] An org password manager, Colin Baxter, 2014/05/14
- Re: [O] An org password manager,
Ramon Diaz-Uriarte <=
Re: [O] An org password manager, Jorge A. Alfaro-Murillo, 2014/05/11
Re: [O] An org password manager, Cayetano Santos, 2014/05/14
Re: [O] An org password manager, Bastien, 2014/05/21