[Orgmode] how to wrap headings

2008-10-22 Thread Rich E
Hi,

I just have a simple question:  how can I wrap the headings so they
don't go off the visual window?

Thanks,
Rich


___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] Re: how to wrap headings

2008-10-23 Thread Rich E
ah, very nice and easy.  That was the call I was looking for.

So now I have toggle-truncate-lines bound to C-x-q, but I cannot use
it in the file I want, which is in Python mode. I get the message "Not
defining or executing kbd macro".

I have it bound like this:

(global-set-key (kbd "C-x q") 'toggle-truncate-lines)

.. maybe there is a better way to bind it?  I'm just kindof hacking at
the .emacs file, don't really know the api well.

On Thu, Oct 23, 2008 at 2:44 AM, Sebastian Rose <[EMAIL PROTECTED]> wrote:
> Funny enough, yesterday I wrote this one here:
>
>
>
> (defun my-toggle-truncate-lines ()
>  "Toggle truncate-lines."
>  (interactive)
>  (setq truncate-lines (if truncate-lines nil t)))
>
>
>
> I've bound it to H-t (I like those windows keys in Linux/GNU :-) and use
> it a lot (since yesterday). It's so usefull, that I wonder if something
> like this is in emacs already???
>
>
>
>
> Bernt Hansen wrote:
>>
>> "Rich E" <[EMAIL PROTECTED]> writes:
>>
>>> I just have a simple question:  how can I wrap the headings so they
>>> don't go off the visual window?
>>
>> M-x set-truncate-lines
>>
>> It toggles line wrapping on and off.
>>
>> -Bernt
>>
>>
>> ___
>> Emacs-orgmode mailing list
>> Remember: use `Reply All' to send replies to the list.
>> Emacs-orgmode@gnu.org
>> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
>>
>
>
>
> ___
> Emacs-orgmode mailing list
> Remember: use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
>


___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] workflow states

2009-02-05 Thread Rich E
Hi,

I'd like to simply add a VERIFY workflow state between TODO and DONE
in my org files.  I am looking at section 5.2.1 of the manual for how
to do this, but it is not working like I would expect.  Here is the
code I have in my .emacs file:

(setq org-todo-keywords '("TODO" "VERIFY" "DONE")
  org-todo-interpretation 'sequence)


Here is my todo item:

** TODO make testing scripts

..I then hit C-c C-t and I get:


** VERIFY make testing scripts

.. but VERIFY is not color coded or bold, like TODO and DONE.  I then
hit C-c C-t again and get:


** TODO VERIFY make testing scripts

.. and I hit it again and get:


** TODO VERIFY VERIFY make testing scripts

.. where VERIFY is never bold or color coded.


anyone know how to do what I am trying? It seems basic enough.
regards,
Rich


___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] workflow states

2009-02-05 Thread Rich E
I am using version 4.6.7c.

The following code:

(setq org-todo-keywords '((sequence "TODO" "VERIFY" "|" "DONE")))

gives the error "Wrong type argument: integerp, sequence"

This code:

(setq org-todo-keyword-faces '(("TODO" :foreground "blue" :weight bold)
  ("VERIFY" :foreground "red" :weight bold)
  ("DONE" :foreground "forest green" :weight bold)))

works just like the default on my computer.. I do not get a VERIFY,
just a cycle between TODO, DONE, and nothing.

Maybe I need to update my org-mode?

Thanks for the fast responses..
rich

On Thu, Feb 5, 2009 at 4:36 PM, Matthew Lundin  wrote:
>
> Hi Rich,
>
> Rich E  writes:
>
>> Hi,
>>
>> I'd like to simply add a VERIFY workflow state between TODO and DONE
>> in my org files.  I am looking at section 5.2.1 of the manual for how
>> to do this, but it is not working like I would expect.  Here is the
>> code I have in my .emacs file:
>>
>> (setq org-todo-keywords '("TODO" "VERIFY" "DONE")
>>   org-todo-interpretation 'sequence)
>>
>
> Which version of org-mode are you using?
>
> I believe the settings above are for older versions of org-mode (e.g.,
> 4.67).
>
> Try the following and see what happens:
>
> (setq org-todo-keywords '((sequence "TODO" "VERIFY" "|" "DONE")))
>
> Regards,
>
> Matt
>


___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Re: workflow states

2009-02-05 Thread Rich E
Upgraded.  I can now get the VERIFY with the following code:

(setq org-todo-keywords '((sequence "TODO" "VERIFY" "|" "DONE")))

.. but I the code below does not give me a VERIFY (but it does give me
nice colors, which I like :)

(setq org-todo-keyword-faces '(("TODO" :foreground "blue" :weight bold)
 ("VERIFY" :foreground "red" :weight bold)
 ("DONE" :foreground "forest green" :weight bold)))


Sorry for all the questions about these things that I would probably
know how to do if I knew lisp, but I don't :)  Thanks for the help!

- Rich

On Thu, Feb 5, 2009 at 5:52 PM, Bernt Hansen  wrote:
> Ah that's ancient... :)
>
> 4.67  is from Jan 31 2008
> 6.21b is from Feb  2 2009
>
> And there have been 134 releases between these two versions...
>
> You should upgrade to something recent and try again.
>
> -Bernt
>
>
> Rich E  writes:
>
>> I am using version 4.6.7c.
>>
>> The following code:
>>
>> (setq org-todo-keywords '((sequence "TODO" "VERIFY" "|" "DONE")))
>>
>> gives the error "Wrong type argument: integerp, sequence"
>>
>> This code:
>>
>> (setq org-todo-keyword-faces '(("TODO" :foreground "blue" :weight bold)
>>   ("VERIFY" :foreground "red" :weight bold)
>>   ("DONE" :foreground "forest green" :weight 
>> bold)))
>>
>> works just like the default on my computer.. I do not get a VERIFY,
>> just a cycle between TODO, DONE, and nothing.
>>
>> Maybe I need to update my org-mode?
>>
>> Thanks for the fast responses..
>> rich
>>
>> On Thu, Feb 5, 2009 at 4:36 PM, Matthew Lundin  wrote:
>>>
>>> Hi Rich,
>>>
>>> Rich E  writes:
>>>
>>>> Hi,
>>>>
>>>> I'd like to simply add a VERIFY workflow state between TODO and DONE
>>>> in my org files.  I am looking at section 5.2.1 of the manual for how
>>>> to do this, but it is not working like I would expect.  Here is the
>>>> code I have in my .emacs file:
>>>>
>>>> (setq org-todo-keywords '("TODO" "VERIFY" "DONE")
>>>>   org-todo-interpretation 'sequence)
>>>>
>>>
>>> Which version of org-mode are you using?
>>>
>>> I believe the settings above are for older versions of org-mode (e.g.,
>>> 4.67).
>>>
>>> Try the following and see what happens:
>>>
>>> (setq org-todo-keywords '((sequence "TODO" "VERIFY" "|" "DONE")))
>>>
>>> Regards,
>>>
>>> Matt
>>>
>>
>>
>> ___
>> Emacs-orgmode mailing list
>> Remember: use `Reply All' to send replies to the list.
>> Emacs-orgmode@gnu.org
>> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
>


___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Re: workflow states

2009-02-05 Thread Rich E
Ah, I didn't think about trying both lines of code at the same time :)
 You see, i am a copy/paste guy.. some times I don't see the subtle
yet important things like org-todo-keywords as compared to
org-todo-faces, hehe.  Everything works beautifully now, much
appreciated.

cheers,
Rich



On Thu, Feb 5, 2009 at 7:18 PM, Bernt Hansen  wrote:
> Rich E  writes:
>
>> Upgraded.  I can now get the VERIFY with the following code:
>>
>> (setq org-todo-keywords '((sequence "TODO" "VERIFY" "|" "DONE")))
>>
>
> You should be able to cycle between todo states with S-left arrow or
> S-right arrow.
>
>> .. but I the code below does not give me a VERIFY (but it does give me
>> nice colors, which I like :)
>>
>> (setq org-todo-keyword-faces '(("TODO" :foreground "blue" :weight bold)
>>  ("VERIFY" :foreground "red" :weight bold)
>>  ("DONE" :foreground "forest green" :weight 
>> bold)))
>
> I'm confused.  All org-todo-keyword-faces does is specify colors for the
> TODO keywords... what's not working?
>
>>
>>
>> Sorry for all the questions about these things that I would probably
>> know how to do if I knew lisp, but I don't :)  Thanks for the help!
>
> No need to be sorry - this list is here to help people with org-mode
> usage.
>
> -Bernt
>


___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode