[Orgmode] org-mode, grep and folding issue

2009-12-05 Thread Good Bad
My notes are scattered across various org files. So I use grep (usually M-x lgrep and M-x rgrep) to search my notes. When I click one of the grep results (in the *grep* buffer), it leads to where the match is, but often the corresponding line is hidden because it is inside a folded heading in an

[Orgmode] something odd with org-remember-mode and kill-ring-save

2009-12-05 Thread Good Bad
I made a wrapped version of org-remember-kill which saves the remember content to the kill ring and then calls the original org-remember-kill. It works as I expect in most cases but not always. First, the relevant elisp code is: (define-key global-map "\C-cr" 'org-remember) (defun org-remember

[Orgmode] Re: org-mode is turning off soft word wrapping.

2009-04-23 Thread Good Bad
Bernt Hansen norang.ca> writes: > Good Bad yahoo.com> writes: > > When I visit a text file, a C file or a TeX file, it is in soft word > > wrapping > > mode, i.e. long lines get wrapped, but without really inserting newlines. > > > > But when I visit

[Orgmode] org-mode is turning off soft word wrapping.

2009-04-22 Thread Good Bad
When I visit a text file, a C file or a TeX file, it is in soft word wrapping mode, i.e. long lines get wrapped, but without really inserting newlines. But when I visit an org file, it is not in word wrapping mode, i.e. longs lines never gets wrapped, you can't see the whole line if the line is t