Re: [O] An org password manager

2014-06-06 Thread Michael Albinus
jorge.a.alf...@gmail.com (Jorge A. Alfaro-Murillo) writes: > Michael Albinus writes: Hi Jorge, >> A useful feature would be an auth-source backend, See (info "(auth)") >> By this, other packages (like Gnus or Tramp) would profit from the >> password manager directly. > > Thanks Michael. I will

Re: [O] An org password manager

2014-06-05 Thread Jorge A. Alfaro-Murillo
Michael Albinus writes: > A useful feature would be an auth-source backend, See (info "(auth)") > By this, other packages (like Gnus or Tramp) would profit from the > password manager directly. > > Best regards, Michael. Thanks Michael. I will look more into auth. What is your idea? To be able t

Re: [O] An org password manager

2014-06-02 Thread Jorge A. Alfaro-Murillo
Bastien writes: > This is now in contrib/lisp/ - thanks! Great! Thanks a lot.

Re: [O] An org password manager

2014-06-02 Thread Bastien
Hi Jorge, jorge.a.alf...@gmail.com (Jorge A. Alfaro-Murillo) writes: > This is my first time submitting a patch, so I do not know if > this is the way I am supposed to do it. This is now in contrib/lisp/ - thanks! -- Bastien

Re: [O] An org password manager

2014-06-01 Thread Bastien
Dear Jorge, jorge.a.alf...@gmail.com (Jorge A. Alfaro-Murillo) writes: > This is my first time submitting a patch, so I do not know if > this is the way I am supposed to do it. Yes, the commit message looks good. Can you resent the patch as an attachment? Simply create a dedicated branch from

Re: [O] An org password manager

2014-05-31 Thread Jorge A. Alfaro-Murillo
Dear Bastien, This is my first time submitting a patch, so I do not know if this is the way I am supposed to do it. Best, Jorge --- org-passwords.el: Add an org derived mode for managing passwords * contrib/lisp/org-passwords.el: new file. The file gives a mode for consu

Re: [O] An org password manager

2014-05-21 Thread Michael Albinus
Bastien writes: > Hi Jorge, Hi, >> If there is interest from the community this can also go to >> /contrib. > > I think this would be a nice contribution. A useful feature would be an auth-source backend, See (info "(auth)") By this, other packages (like Gnus or Tramp) would profit from the pa

Re: [O] An org password manager

2014-05-21 Thread Bastien
Hi Jorge, jorge.a.alf...@gmail.com (Jorge A. Alfaro-Murillo) writes: > If there is interest from the community this can also go to > /contrib. I think this would be a nice contribution. Can you send a patch against the current master branch to add the code in the contrib/lisp/ directory? Thank

Re: [O] An org password manager

2014-05-14 Thread Cayetano Santos
Hi Jorge, Are you aware of this http://git.zx2c4.com/password-store/tree/contrib/emacs ? It's an api to pass and other simple cli tools. Hope it helps, c. On 11-05-14 01:21:20, Jorge A. Alfaro-Murillo wrote: Hi! I have been using org for managing passwords for a some time now. In case

Re: [O] An org password manager

2014-05-14 Thread Colin Baxter
Dear Jorge, Many thanks for this. I had forgotten about "define-derived-mode". Best wishes, Colin. > 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 au

Re: [O] An org password manager

2014-05-13 Thread Jorge A. Alfaro-Murillo
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

Re: [O] An org password manager

2014-05-13 Thread Colin Baxter
Dear Ramon, Yes, that's the problem I got with files *.org.gpg. I've never had the time - nor inclination - to look into it further. Best wishes, Colin. > Dear Colin, > > Great, thanks a lot. > > I just tried it, and it worked out of the box, and it turns on by default > (I used the code at

Re: [O] An org password manager

2014-05-12 Thread Colin Baxter
Dear Ramon, Yes. The first URL gives the lisp code. I could never get sensitive mode to turn on by default for files having gpg or cpt extensions. Consequently, I just "M-X sensitive RET" for each file. To remind me, I put "sensitive" at the beginning of the file. You may have better luck. Best

Re: [O] An org password manager

2014-05-11 Thread Jorge A. Alfaro-Murillo
jorge.a.alf...@gmail.com (Jorge A. Alfaro-Murillo) writes: I forgot to mention that what org-passwords.el does is to set a timer each time that the password file is opened (analogous to the second option in my previous message) rather than having just one timer with repeat. Jorge. > Thanks Ramon

Re: [O] An org password manager

2014-05-11 Thread Jorge A. Alfaro-Murillo
Thanks Ramon, Regarding your question, probably the bug is related to running a for with all the buffers that are open. To get what you want you can try something creating a minor mode for gpg files and adding a hook that adds the buffer name of the gpg file that you open to a list of buffers to k

Re: [O] An org password manager

2014-05-11 Thread Colin Baxter
Hi, You can ensure a gpg buffer doesn't leave any traces by using a minor-mode called "sensitive" which disables backups and auto-save. The code is available on the Internet, but I'll post it here if anyone is interested. Best wishes, Colin. > Dear Jorge, > > Neat!! Thanks for providing the d

Re: [O] An org password manager

2014-05-10 Thread Igor Sosa Mayor
jorge.a.alf...@gmail.com (Jorge A. Alfaro-Murillo) writes: > Hi! I have been using org for managing passwords for a some time now. In > case someone is interested, the code is in: > https://bitbucket.org/alfaromurillo/org-passwords.el interesting. Thanks for sharing.

[O] An org password manager

2014-05-10 Thread Jorge A. Alfaro-Murillo
Hi! I have been using org for managing passwords for a some time now. In case someone is interested, the code is in: https://bitbucket.org/alfaromurillo/org-passwords.el To consult the database, the code provides a function to open the Org file with the passwords in Read-Only mode, sets a timer af