Re: [Orgmode] org-encrypt-entries seems to break perl- and cperl-mode

2010-02-16 Thread Jeffrey Ratcliffe
On Sun, Jan 24, 2010 at 01:02:53PM +0100, Jeffrey Ratcliffe wrote: > This doesn't fix things for me. Have you any other suggestions how I > might fix this? I got it working with some help from the Debian maintainer: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=569947 signature.asc Descripti

Re: [Orgmode] org-encrypt-entries seems to break perl- and cperl-mode

2010-01-24 Thread Jeffrey Ratcliffe
On Tue, Jan 19, 2010 at 04:10:08PM +0100, Carsten Dominik wrote: > indeed you need to make sure that this hook runs only in Org-mode files. > This is automatically done by calling > > (org-crypt-use-before-save-magic) > > after loading org-crypt.el. This doesn't fix things for me. Have you any o

Re: [Orgmode] org-encrypt-entries seems to break perl- and cperl-mode

2010-01-19 Thread Carsten Dominik
Hi Jeffrey, indeed you need to make sure that this hook runs only in Org-mode files. This is automatically done by calling (org-crypt-use-before-save-magic) after loading org-crypt.el. Internally, this achieves it's goal by installing a function into `org-mode-hook', which will then install a

[Orgmode] org-encrypt-entries seems to break perl- and cperl-mode

2010-01-18 Thread Jeffrey Ratcliffe
With (add-hook 'before-save-hook 'org-encrypt-entries) and a file with the following contents: package G; in perl- or cperl-mode, when saving, I get the following error message: org-scan-tags: Wrong type argument: consp, nil Can I make the add-hook org-mode specific, or this is a bug in org-m