Re: [Orgmode] definition lists in org-mode
On Jul 6, 2007, at 11:56, Rick Moynihan wrote: Eddward DeVilla wrote: ... Now first off, I know I could get most of what I want if I were to switch to use outline entries instead of a plain list. Heading don't wrap. That just seems wrong though. It's a list. I'd have to replace the simple checkboxes with TODO keyword (which isn't so unreasonable now that we can have multiple sequences) Out of curiousity this led me to try doing something like this: (setq org-todo-keywords '((sequence TODO | DONE) (type [ ] | [X]) )) Todo keywords need to be words currently, so you could do something like (setq org-todo-keywords '((sequence TODO | DONE) (type I_I | IXI) )) i.e. Hack an implementation of checkboxes onto the todo-keywords feature. Unfortunately it fails to work, the checkboxes aren't recognised as TODO keywords, and don't cycle properly. Obviously also C-c can't be used to toggle them (as it adds tags) and these wouldn't be real checkboxes. Well, a two-state todo setup really *is* a checkbox, even if it does not look like one. About the only difference is the command you use to toggle the state. I'm not sure if there is a need for checkboxes in outlines. When I started with org-mode this is something I felt like I needed; though this is likely due to me having previously used vim outliner for about a year. Can anyone else see a use/need for this? Vim outliner supports checkboxes as part of outlines, which allows folding etc... It will also automatically check parent boxes when all child boxes are checked (is there a way for org-mode to do this???) Not currently. I have just implemented this for boolean properties in column view (will be in 5.02), but not yet for TODO states. - Carsten ___ Emacs-orgmode mailing list Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] OT: remember'ing from other programs with stumpwm
On 7/6/07, Jason F. McBrayer [EMAIL PROTECTED] wrote: What about x-clipboard-yank? Also, if x-select-enable-clipboard is non-nil, shouldn't emacs paste the clipboard when available? If I knew these words before, I would've used them :). Well, there are more things in heaven and earth... -- With best regards, Dmitri Minaev Russian history blog: http://minaev.blogspot.com ___ Emacs-orgmode mailing list Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] definition lists in org-mode
On Jul 6, 2007, at 12:45, Rick Moynihan wrote: Carsten Dominik wrote: Well, a two-state todo setup really *is* a checkbox, even if it does not look like one. About the only difference is the command you use to toggle the state. I agree that they have the same number of states, but I think the differences between them are far greater than the command used to toggle state. Obvious differences are that checkboxes don't show in the agenda and to my knowledge they can't be scheduled/deadlined etc... They also (perhaps by convention more than anything else) indicate an ordered or unordered list, which outlines (at least for me) don't. Yes, of course you are right. What I meant: you can *use* TODO/DONE exactly like a checkbox because it is a 2-state thing. After thinking about it; I have on occasion wanted to schedule a checkboxed item into the agenda. This said I'm not convinced supporting this is a good idea. Does anyone else have any views? Checkbox items will not make it into the agenda. At some time in the past I wanted to make this happen, but this I have given up. - Carsten ___ Emacs-orgmode mailing list Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] OT: remember'ing from other programs with stumpwm
Dmitri Minaev [EMAIL PROTECTED] writes: On 7/6/07, Jason F. McBrayer [EMAIL PROTECTED] wrote: What about x-clipboard-yank? Also, if x-select-enable-clipboard is non-nil, shouldn't emacs paste the clipboard when available? If I knew these words before, I would've used them :). Well, there are more things in heaven and earth... Yep, emacs is like that. M-x apropos and M-x apropos-variable are really helpful for finding things before you try to implement them yourself. Also, emacswiki.org is helpful. IMO x-select-enable-clipboard should ALWAYS be t. Setting it to nil is saying please break my clipboard handling. I want it to not work. KTHXBYE. Still seems to default to nil in order to behave the same way as the emacs of yore, however. -- +---+ | Jason F. McBrayer[EMAIL PROTECTED] | | If someone conquers a thousand times a thousand others in | | battle, and someone else conquers himself, the latter one | | is the greatest of all conquerors. --- The Dhammapada| ___ Emacs-orgmode mailing list Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] definition lists in org-mode
On 7/6/07, Carsten Dominik [EMAIL PROTECTED] wrote: Todo keywords need to be words currently, so you could do something like (setq org-todo-keywords '((sequence TODO | DONE) (type I_I | IXI) )) Cool. I'll have to remember that. I can get back my old states _, v X. :-) I could just switch to using todo entries and tag my projects for agenda. Well, a two-state todo setup really *is* a checkbox, even if it does not look like one. About the only difference is the command you use to toggle the state. Agenda is oblivious to checkboxes. Checkboxes count toward the progress tokens. And todo entries are pretty colors. :-) All are little things and probably not too hard to deal with. Not currently. I have just implemented this for boolean properties in column view (will be in 5.02), but not yet for TODO states. Cool! Edd ___ Emacs-orgmode mailing list Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] definition lists in org-mode
On 7/6/07, Carsten Dominik [EMAIL PROTECTED] wrote: It it is only the wrapping, you could simply hack org-fill-paragraph, for example like this: Thanks. I'll have to play with it. But I guess you are really after definition lists. I actually like definition lists, but sadly the real nit I'm try to address is the wrapping. Maybe I have hack something where a ':' (or some such) at the end of the first line of a list entry prevents the wrap. In org-mode it would look like a definition list item and it could be recognized for publishing since definition list are actually nice. - term : (qualifier :)* definition - [ ] question : (brief answer)* long winded explaination response Edd ___ Emacs-orgmode mailing list Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] definition lists in org-mode
On 7/6/07, Rick Moynihan [EMAIL PROTECTED] wrote: After thinking about it; I have on occasion wanted to schedule a checkboxed item into the agenda. This said I'm not convinced supporting this is a good idea. Does anyone else have any views? I'm usually for collapsing similar things in to one more flexible thing, but there is a lot of meaning attached to something being a todo entry in the outline as opposed to being a mere checkbox in a list. Some times it would be nice to steal a feature of one and use it on the other, but the implicit difference is too useful I think to collapse them. I remember Carsten musing about this in the past and it sounds like there were some implementation issues that made it unreasonable. It it were reasonable to implement and if it was just as easy to get the current differences between todo entries and checkbox lists then I guess I wouldn't be against it. If everything became an outline entry I would definitely need the '*' hiding though. :-) Edd ___ Emacs-orgmode mailing list Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] definition lists in org-mode
Eddward DeVilla wrote: On 7/6/07, Rick Moynihan [EMAIL PROTECTED] wrote: After thinking about it; I have on occasion wanted to schedule a checkboxed item into the agenda. This said I'm not convinced supporting this is a good idea. Does anyone else have any views? I'm usually for collapsing similar things in to one more flexible thing, but there is a lot of meaning attached to something being a todo entry in the outline as opposed to being a mere checkbox in a list. Some times it would be nice to steal a feature of one and use it on the other, but the implicit difference is too useful I think to collapse them. Agreed. My gut feeling is that they fulfill largely different purposes. The problem is that I tend to make a decision to structure something with lists checkboxes, and later on discover I want an item in the list to appear inside the agenda. Duplicating this into an outline is one way to achieve this; but this presents several problems: - Your files rapidly become less DRY (Don't Repeat Yourself) and harder to maintain. - You loose the context of the list (i.e. any notion of sequence) I guess these are the sorts of use-cases/trade-offs we should be discussing as part of David O'Toole's community writing suggestion. Is anything happening with this yet? R. ___ Emacs-orgmode mailing list Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode