[O] Re: [PATCH] Wash output of org-encrypt-entry, take 3

2011-03-20 Thread Bernt Hansen
Óscar Fuentes writes: > With a gpg executable with default settings, org-encrypt-entry produces > output like this: > > -BEGIN PGP MESSAGE- > Version: GnuPG v1.4.10 (GNU/Linux) > > jA0EAwMCBWZVym6QMPVgyTxreTb1AEL3uTO+qCh2lR9/Qxk4nEMpPr9/RwNk95Gb > slUra9X+N+qSWghEHvvxY0Ol8Yw9Ko4n7JVhH

[O] Re: [PATCH] Wash output of org-encrypt-entry, take 3

2011-03-20 Thread Bernt Hansen
Óscar Fuentes writes: > +(defun org-crypt-wash-encrypted-string (str) > + "Remove superfluos and annoying text from the encrypted string." > + (with-temp-buffer Typo in the docstring: superfluos -> superfluous -- Bernt

[O] Re: [PATCH] Wash output of org-encrypt-entry

2011-03-18 Thread Óscar Fuentes
Óscar Fuentes writes: [snip] > + (setq str (replace-regexp-in-string "^Version:.*$" "" str)) Ugh... replace-regexp-in-string does not exist on XEmacs. Time for a rewrite. Still, it would good to know if the goal is acceptable.