From: Ramon Diaz-Uriarte <rdiaz02@gmail.com>
To: "Jorge A. Alfaro-Murillo" <jorge.a.alfaro@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: An org password manager
Date: Fri, 16 May 2014 15:03:39 +0200 [thread overview]
Message-ID: <87a9ahvpsk.fsf@gmail.com> (raw)
In-Reply-To: <87y4y5c0nu.fsf@gmail.com>
Thanks! I did not know that.
Best,
R.
On Tue, 13-05-2014, at 14:40, Jorge A. Alfaro-Murillo <jorge.a.alfaro@gmail.com> 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: rdiaz02@gmail.com
ramon.diaz@iib.uam.es
http://ligarto.org/rdiaz
next prev parent reply other threads:[~2014-05-16 13:03 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-05-11 5:21 An org password manager Jorge A. Alfaro-Murillo
2014-05-11 5:47 ` Igor Sosa Mayor
2014-05-11 9:15 ` Ramon Diaz-Uriarte
2014-05-11 13:56 ` Colin Baxter
2014-05-12 8:20 ` Ramon Diaz-Uriarte
2014-05-12 14:35 ` Colin Baxter
2014-05-12 22:12 ` Ramon Diaz-Uriarte
2014-05-13 11:51 ` Colin Baxter
2014-05-13 12:40 ` Jorge A. Alfaro-Murillo
2014-05-14 10:01 ` Colin Baxter
2014-05-16 13:03 ` Ramon Diaz-Uriarte [this message]
2014-05-11 17:13 ` Jorge A. Alfaro-Murillo
2014-05-11 17:20 ` Jorge A. Alfaro-Murillo
2014-05-12 8:22 ` Ramon Diaz-Uriarte
2014-05-12 20:51 ` Cayetano Santos
2014-05-21 7:32 ` Bastien
2014-05-21 11:53 ` Michael Albinus
2014-06-05 14:36 ` Jorge A. Alfaro-Murillo
2014-06-06 9:39 ` Michael Albinus
2014-05-31 16:09 ` Jorge A. Alfaro-Murillo
2014-06-01 19:17 ` Bastien
2014-06-02 17:38 ` Bastien
2014-06-02 17:53 ` Jorge A. Alfaro-Murillo
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
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87a9ahvpsk.fsf@gmail.com \
--to=rdiaz02@gmail.com \
--cc=emacs-orgmode@gnu.org \
--cc=jorge.a.alfaro@gmail.com \
/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 public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.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).