Re: [O] How to turn off visibility-state messages from 'org-cycle?

2013-07-19 Thread Thorsten Jolitz
Jambunathan K kjambunat...@gmail.com writes: Try this: (defadvice org-cycle-internal-local (around org-cycle-internal-local-suppress-messages activate) Do the local cycling action, but suppress messages. (letf (((symbol-function 'message) (symbol-function 'ignore)))

Re: [O] How to turn off visibility-state messages from 'org-cycle?

2013-07-19 Thread Eric S Fraga
Would you wrap it all up in a patch and submit it? It would be great to have incorporated. Thanks, eric -- : Eric S Fraga (0xFFFCF67D), Emacs 24.3.50.1, Org release_8.0.6-341-g338603

Re: [O] How to turn off visibility-state messages from 'org-cycle?

2013-07-18 Thread Eric S Fraga
Thorsten Jolitz tjol...@gmail.com writes: Hi List, when calling Org-mode functionality form an external program, some functions seem to make use of 'org-cycle', what results in a lot of OVERVIEW messages arriving at stdout/stderr ,- | OVERVIEW [...] Is there a way to turn

Re: [O] How to turn off visibility-state messages from 'org-cycle?

2013-07-18 Thread Thorsten Jolitz
Eric S Fraga e.fr...@ucl.ac.uk writes: Thorsten Jolitz tjol...@gmail.com writes: Hi List, when calling Org-mode functionality form an external program, some functions seem to make use of 'org-cycle', what results in a lot of OVERVIEW messages arriving at stdout/stderr ,- |

Re: [O] How to turn off visibility-state messages from 'org-cycle?

2013-07-18 Thread Thorsten Jolitz
Thorsten Jolitz tjol...@gmail.com writes: Eric S Fraga e.fr...@ucl.ac.uk writes: Thorsten Jolitz tjol...@gmail.com writes: Hi List, when calling Org-mode functionality form an external program, some functions seem to make use of 'org-cycle', what results in a lot of OVERVIEW messages

Re: [O] How to turn off visibility-state messages from 'org-cycle?

2013-07-18 Thread Thorsten Jolitz
Thorsten Jolitz tjol...@gmail.com writes: oops, there was a left-over from inspiring `toggle-truncate-lines' in my example function, here is the fixed version: #+begin_src emacs-lisp (defvar org-cycle-silently nil Suppress visibility-state-change messages when non-nil.) (defun

Re: [O] How to turn off visibility-state messages from 'org-cycle?

2013-07-18 Thread Jambunathan K
Try this: (defadvice org-cycle-internal-local (around org-cycle-internal-local-suppress-messages activate) Do the local cycling action, but suppress messages. (letf (((symbol-function 'message) (symbol-function 'ignore))) ad-do-it)) (defadvice

[O] How to turn off visibility-state messages from 'org-cycle?

2013-07-17 Thread Thorsten Jolitz
Hi List, when calling Org-mode functionality form an external program, some functions seem to make use of 'org-cycle', what results in a lot of OVERVIEW messages arriving at stdout/stderr ,- | OVERVIEW | OVERVIEW | OVERVIEW | OVERVIEW | OVERVIEW | OVERVIEW | OVERVIEW | OVERVIEW |