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

2011-03-20 Thread Bernt Hansen
Óscar Fuentes o...@wanadoo.es 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, take 3

2011-03-20 Thread Bernt Hansen
Óscar Fuentes o...@wanadoo.es 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

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

2011-03-18 Thread Óscar Fuentes
Óscar Fuentes o...@wanadoo.es 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.