Re: [O] print booklet from orgmode
Matt Lundin m...@imapmail.org writes: Marc Spitzer mspit...@gmail.com writes: http://www.toodledo.com/booklet.php Does org mode have such a feature? Here's an old post with a script to generate something similar. I have no idea whether it still works: http://permalink.gmane.org/gmane.emacs.orgmode/3910 As far as I know it should still work and is included in the contrib/scripts directory under the name of org2hpda (see http://orgmode.org/w/?p=org-mode.git;a=blob;f=contrib/scripts/org2hpda;hb=HEAD). I guess if you also wanted to have the top tasks you need to enhance the script somewhat, i.e. invoke an agenda view in Emacs, export and include it in the booklet. Let me know if you have any problems. Thanks Christian -- Christian Egli Swiss Library for the Blind, Visually Impaired and Print Disabled Grubenstrasse 12, CH-8045 Zürich, Switzerland
[O] org-contacts and birthdays without year
Hi Julien, I'm just starting with org-contacts, and my first step was translating my %%(diary-anniversary... entries into contacts. Maybe you can help me with these issues. It seems that an EMAIL property indicates the current heading is a contact. How can I store contacts that I don't have an e-mail for? Again, this relates to my current task, so maybe a BIRTHDAY property can also be made to indicate a contact? Is it possible to specify birthdays without year? I often want to jot down someone's birthday so I'm not surprised next year, but don't want to ask them how old they are. :) Thanks. -- Le
Re: [O] org-contacts and birthdays without year
On Tue, May 17 2011, Le Wang wrote: It seems that an EMAIL property indicates the current heading is a contact. How can I store contacts that I don't have an e-mail for? You change that rule. It's a defcustom, simply set it to be there's an EMAIL or a BIRTHDAY. Is it possible to specify birthdays without year? I often want to jot down someone's birthday so I'm not surprised next year, but don't want to ask them how old they are. :) Not really :( -- Julien Danjou ❱ http://julien.danjou.info pgpovxQlnteg0.pgp Description: PGP signature
[O] Stop inserting default CSS in HTML export?
How can I get org-mode to stop inserting the default CSS in the HTML export? By default, exporting to HTML gives me this CSS defined in the header. I'd like to...well, *not* have it included in the HTML. style type=text/css !--/*--![CDATA[/*!--*/ html { font-family: Times, serif; font-size: 12pt; } .title { text-align: center; } .todo { color: red; } .done { color: green; } .tag{ background-color: #add8e6; font-weight:normal } .target { } .timestamp { color: #bebebe; } .timestamp-kwd { color: #5f9ea0; } .right {margin-left:auto; margin-right:0px; text-align:right;} .left {margin-left:0px; margin-right:auto; text-align:left;} .center {margin-left:auto; margin-right:auto; text-align:center;} p.verse { margin-left: 3% } pre { border: 1pt solid #AEBDCC; background-color: #F3F5F7; padding: 5pt; font-family: courier, monospace; font-size: 90%; overflow:auto; } table { border-collapse: collapse; } td, th { vertical-align: top; } th.right { text-align:center; } th.left { text-align:center; } th.center { text-align:center; } td.right { text-align:right; } td.left { text-align:left; } td.center { text-align:center; } dt { font-weight: bold; } div.figure { padding: 0.5em; } div.figure p { text-align: center; } textarea { overflow-x: auto; } .linenr { font-size:smaller } .code-highlighted {background-color:#00;} .org-info-js_info-navigation { border-style:none; } #org-info-js_console-label { font-size:10px; font-weight:bold; white-space:nowrap; } .org-info-js_search-highlight {background-color:#00; color:#00; font-weight:bold; } /*]]*/-- /style
Re: [O] org-contacts and birthdays without year
Julien Danjou jul...@danjou.info writes: Is it possible to specify birthdays without year? I often want to jot down someone's birthday so I'm not surprised next year, but don't want to ask them how old they are. :) Not really :( Same problem here, I just set the year to 1900 whenever I do not know. Whenever my agenda tells me someone is celebrating their three digit birthday, I am reminded that I need to find clever way to have a look at their id someday ;). Memnon
Re: [O] Stop inserting default CSS in HTML export?
amscopub-m...@yahoo.com wrote: How can I get org-mode to stop inserting the default CSS in the HTML export? By default, exporting to HTML gives me this CSS defined in the header. I'd like to...well, *not* have it included in the HTML. Does footnote (2) of section 12.5.9, CSS support, of the Org manual help? Nick
Re: [O] Include headings in export, but exclude from TOC?
suvayu ali fatkasuvayu+linux at gmail.com writes: On Mon, May 16, 2011 at 6:38 PM, Luke Crook luke at balooga.com wrote: :NOEXPORT: removes a heading from export and the TOC. Is there a tag that will only exclude a heading from appearing in the TOC? For LaTeX export the following header option should take care of this: #+OPTIONS: H:4 num:3 H:4 says export up to level 4 headlines num:3 says only number up to level 3 headlines I am not sure whether this works for the other export backends. Unfortunately the headings I want to hide are at different depths. Some are at level 3, some at level 4 etc. -Luke
Re: [O] print booklet from orgmode
You might also want to have a look at the following scripts that I wrote lots of years ago that allow creating a booklet of an arbitrary postscript file. They might be broken though after all these years. Please let me know of any problems. See: http://imagic.weizmann.ac.il/~dov/freesw/impose+/index.html Regards, Dov On Tue, May 17, 2011 at 09:36, Christian Egli christian.e...@sbs.ch wrote: Matt Lundin m...@imapmail.org writes: Marc Spitzer mspit...@gmail.com writes: http://www.toodledo.com/booklet.php Does org mode have such a feature? Here's an old post with a script to generate something similar. I have no idea whether it still works: http://permalink.gmane.org/gmane.emacs.orgmode/3910 As far as I know it should still work and is included in the contrib/scripts directory under the name of org2hpda (see http://orgmode.org/w/?p=org-mode.git;a=blob;f=contrib/scripts/org2hpda;hb=HEAD ). I guess if you also wanted to have the top tasks you need to enhance the script somewhat, i.e. invoke an agenda view in Emacs, export and include it in the booklet. Let me know if you have any problems. Thanks Christian -- Christian Egli Swiss Library for the Blind, Visually Impaired and Print Disabled Grubenstrasse 12, CH-8045 Zürich, Switzerland
[O] lower-case TODOs
I'm considering using lower-case TODO keywords -- I tried them out and they're MUCH LESS INTIMITDATING than their upper-case counterparts :-) Can anyone see foresee any big pitfalls with doing this? I did a dry run on a test.org file, and the agenda contained a bunch of * DONE headings (because DONE is no longer a keyword, done is). Perhaps if I left the old TOSOs sequence in, and just add the new lower-case TODOs it would work better? (setq org-todo-keywords '( (sequence todo(t) next(s) | done(d!)) (sequence TODO(t) NEXT(s) | DONE(d!)) (sequence waiting(w@/@) | delegated(e@/@) maybe(m) someday(o) cancelled(c) tbv(b)) )) Any other suggestions/warnings? Thanks, --Nate
Re: [O] lower-case TODOs
I replaced all existing todos with lowercase equivalents and don't recall having any downsides. I agree that it's a much more pleasant and less intimidating visual. On Tue, May 17, 2011 at 12:34, Nathan Neff nathan.n...@gmail.com wrote: Can anyone see foresee any big pitfalls with doing this?
[O] Ctl-E doesn't go to end of line?
Hello, In org-mode, Ctl-E is bound to org-end-of-line. However, this doesn't appear to take you to the actual end of line as it does in the regular modes. Instead, it appears to take you out to the default line fill -- even if your specified line fill is much shorter or much longer than the default. This is annoying, since my fingers are already typing ahead, and sometimes I lose stuff just because the cursor didn't go to the real end of line. Is this the desired behavior? And how can I change it to the expected true end of line? Thanks! Mark Org-mode 7.5 Emacs 23.2.1 (i386-mingw-nt5.1.2600) Windows XP
Re: [O] Ctl-E doesn't go to end of line?
Mark S. throa...@yahoo.com writes: Hello, In org-mode, Ctl-E is bound to org-end-of-line. However, this doesn't appear to take you to the actual end of line as it does in the regular modes. Instead, it appears to take you out to the default line fill -- even if your specified line fill is much shorter or much longer than the default. This is annoying, since my fingers are already typing ahead, and sometimes I lose stuff just because the cursor didn't go to the real end of line. Is this the desired behavior? And how can I change it to the expected true end of line? Hi Mark, Look at org-special-ctrl-a/e. -Bernt
Re: [O] Ctl-E doesn't go to end of line?
Hi Bernt, Thanks for pointing that out. However, I'm not on an item line nor a header line, so those settings should not apply. But even when I changed my line to an item, and then tried the settings t and reversed, it still wouldn't hop to the end of the line in one go. In fact, if the line is long enough, I may have to hit Ctl-E several times. So is something broken, or is there some other incantation? Thanks, Mark --- On Tue, 5/17/11, Bernt Hansen be...@norang.ca wrote: From: Bernt Hansen be...@norang.ca Subject: Re: [O] Ctl-E doesn't go to end of line? To: Mark S. throa...@yahoo.com Cc: emacs-orgmode@gnu.org Date: Tuesday, May 17, 2011, 5:32 PM Mark S. throa...@yahoo.com writes: Hello, In org-mode, Ctl-E is bound to org-end-of-line. However, this doesn't appear to take you to the actual end of line as it does in the regular modes. Instead, it appears to take you out to the default line fill -- even if your specified line fill is much shorter or much longer than the default. This is annoying, since my fingers are already typing ahead, and sometimes I lose stuff just because the cursor didn't go to the real end of line. Is this the desired behavior? And how can I change it to the expected true end of line? Hi Mark, Look at org-special-ctrl-a/e. -Bernt
Re: [O] Ctl-E doesn't go to end of line?
Mark S. throa...@yahoo.com writes: Hi Bernt, Thanks for pointing that out. However, I'm not on an item line nor a header line, so those settings should not apply. But even when I changed my line to an item, and then tried the settings t and reversed, it still wouldn't hop to the end of the line in one go. In fact, if the line is long enough, I may have to hit Ctl-E several times. So is something broken, or is there some other incantation? Sorry Mark, I just tried it on a headline only. C-e invokes end-of-visual-line and there seems to be no way to turn that off as a option. The following patch disables this behaviour permanently but it should probably be turned into an option in org-mode preserving the current behaviour as the default. --8---cut here---start-8--- Modified lisp/org.el diff --git a/lisp/org.el b/lisp/org.el index 975266c..af57d54 100644 --- a/lisp/org.el +++ b/lisp/org.el @@ -19495,8 +19495,7 @@ beyond the end of the headline. (not (org-on-heading-p)) arg) (call-interactively -(cond ((org-bound-and-true-p line-move-visual) 'end-of-visual-line) - ((fboundp 'move-end-of-line) 'move-end-of-line) +(cond ((fboundp 'move-end-of-line) 'move-end-of-line) (t 'end-of-line))) (let ((pos (point))) (beginning-of-line 1) --8---cut here---end---8--- Regards, Bernt
Re: [O] Ctl-E doesn't go to end of line?
Hi Mark, Mark S. throa...@yahoo.com writes: Hello, In org-mode, Ctl-E is bound to org-end-of-line. However, this doesn't appear to take you to the actual end of line as it does in the regular modes. Instead, it appears to take you out to the default line fill -- even if your specified line fill is much shorter or much longer than the default. Just to be clear: a) `C-e' takes you to whatever fill-column is set to globally? b) And this happens not only on headlines, but also on body lines? c) And you did not explicitly set any of the org-special-ctrl-xxx variables? afaics, org-end-of-line uses either a) end-of-visual-line, b) move-end-of-line or c) end-of-line. But none of those seem to have this effect. ... Now I am as curious as you are :). Memnon
Re: [O] Ctl-E doesn't go to end of line?
--- On Tue, 5/17/11, Memnon Anon gegendosenflei...@googlemail.com wrote: From: Memnon Anon gegendosenflei...@googlemail.com Subject: Re: [O] Ctl-E doesn't go to end of line? To: emacs-orgmode@gnu.org Date: Tuesday, May 17, 2011, 7:30 PM Hi Mark, Mark S. throa...@yahoo.com writes: Hello, In org-mode, Ctl-E is bound to org-end-of-line. However, this doesn't appear to take you to the actual end of line as it does in the regular modes. Instead, it appears to take you out to the default line fill -- even if your specified line fill is much shorter or much longer than the default. Just to be clear: a) `C-e' takes you to whatever fill-column is set to globally? b) And this happens not only on headlines, but also on body lines? c) And you did not explicitly set any of the org-special-ctrl-xxx variables? afaics, org-end-of-line uses either a) end-of-visual-line, b) move-end-of-line or c) end-of-line. But none of those seem to have this effect. ... Now I am as curious as you are :). Memnon Hello Memnon, 'b' 'c' are true on my system. On 'a', I don't know how org-mode is setting the distance. It seems to get stuck on some arbitrary number. For instance, it was at 106. Then I rebooted emacs and now its at 80 followed by jumps of 40. Changing the fill position doesn't seem to change the point to which it jumps. Basically, I would like it to either (1) jump to the end of the line just like in ordinary emacs or (2) behave predictably, so that I can get to the end in two key sequences. Currently it does neither. Thanks, Mark
Re: [O] Ctl-E doesn't go to end of line?
Bernt Hansen be...@norang.ca wrote: Mark S. throa...@yahoo.com writes: Hi Bernt, Thanks for pointing that out. However, I'm not on an item line nor a header line, so those settings should not apply. But even when I changed my line to an item, and then tried the settings t and reversed, it still wouldn't hop to the end of the line in one go. In fact, if the line is long enough, I may have to hit Ctl-E several times. So is something broken, or is there some other incantation? Sorry Mark, I just tried it on a headline only. C-e invokes end-of-visual-line and there seems to be no way to turn that off as a option. The following patch disables this behaviour permanently but it should probably be turned into an option in org-mode preserving the current behaviour as the default. Modified lisp/org.el diff --git a/lisp/org.el b/lisp/org.el index 975266c..af57d54 100644 --- a/lisp/org.el +++ b/lisp/org.el @@ -19495,8 +19495,7 @@ beyond the end of the headline. (not (org-on-heading-p)) arg) (call-interactively - (cond ((org-bound-and-true-p line-move-visual) 'end-of-visual-line) -((fboundp 'move-end-of-line) 'move-end-of-line) + (cond ((fboundp 'move-end-of-line) 'move-end-of-line) (t 'end-of-line))) (let ((pos (point))) (beginning-of-line 1) Isn't this the same as setting line-move-visual to nil? Just pretend it's an org-mode option. Nick
Re: [O] Ctl-E doesn't go to end of line?
Nick Dokos nicholas.do...@hp.com writes: Bernt Hansen be...@norang.ca wrote: Mark S. throa...@yahoo.com writes: Hi Bernt, Thanks for pointing that out. However, I'm not on an item line nor a header line, so those settings should not apply. But even when I changed my line to an item, and then tried the settings t and reversed, it still wouldn't hop to the end of the line in one go. In fact, if the line is long enough, I may have to hit Ctl-E several times. So is something broken, or is there some other incantation? Sorry Mark, I just tried it on a headline only. C-e invokes end-of-visual-line and there seems to be no way to turn that off as a option. The following patch disables this behaviour permanently but it should probably be turned into an option in org-mode preserving the current behaviour as the default. Modified lisp/org.el diff --git a/lisp/org.el b/lisp/org.el index 975266c..af57d54 100644 --- a/lisp/org.el +++ b/lisp/org.el @@ -19495,8 +19495,7 @@ beyond the end of the headline. (not (org-on-heading-p)) arg) (call-interactively - (cond ((org-bound-and-true-p line-move-visual) 'end-of-visual-line) - ((fboundp 'move-end-of-line) 'move-end-of-line) + (cond ((fboundp 'move-end-of-line) 'move-end-of-line) (t 'end-of-line))) (let ((pos (point))) (beginning-of-line 1) Isn't this the same as setting line-move-visual to nil? Just pretend it's an org-mode option. Could be :) I didn't find any details about that var when I looked at the docstrings for the functions involved. Thanks for pointing that out. -Bernt
Re: [O] Ctl-E doesn't go to end of line?
Bernt Hansen be...@norang.ca wrote: Isn't this the same as setting line-move-visual to nil? Just pretend it's an org-mode option. Could be :) I didn't find any details about that var when I looked at the docstrings for the functions involved. There's some documentation about it in the Emacs manual, section 7.2, Changing the location of point. It seems harmless to set it to nil (restores emacs 23 default behavior wrt long lines) and it's probably going to solve Mark's problem. Nick