[Orgmode] grouped undo
Hi, I've noticed that in org-mode, undo undoes one character at a time. Normally in Emacs, undo is done in chunks. To quote from the manual: Usually each editing command makes a separate entry in the undo records, but some commands such as `query-replace' divide their changes into multiple entries for flexibility in undoing. Meanwhile, self-inserting characters are usually grouped to make undoing less tedious. So to undo a sentence that you've typed in, only a few "undos" are required. In org-mode, though, it seems self-inserting characters aren't grouped, and my undos are thus more tedious. Is this a feature or a bug? I like the grouped undo feature. In outline mode, the undo is still grouped, so it seems this is an undo-specific thing. I am running version 6.22b Thanks, Nick ___ 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: minor option conflict
On Fri, Feb 6, 2009 at 15:10, Bernt Hansen wrote: > I can't reproduce this either. I think you can now. Do c-c c on a headline to reproduce. Fairly minimal org file: #+SEQ_TODO: TODO(t) WAIT(w!) | DONE(d!) * sss * sss Fairly minimal .emacs: (require 'cl) (defun alpha-add-path (p) (setq load-path (cons p load-path))) (alpha-add-path (concat (getenv "delorgsrc") "/lisp")) (alpha-add-path (concat (getenv "delpkgbef") "/remember")) (add-to-list 'auto-mode-alist '("\\.org$" . org-mode)) (defvar alpha-mac-font "-apple-courier-medium-r-normal--24-240-72-72-m-240-iso10646-1") '(progn (progn (defconst alpha-mac-font-2 "-apple-courier-medium-r-normal--*-*-*-*-*-240-*") (set-frame-font alpha-mac-font-2)) ) (set-frame-font alpha-mac-font) ;;it seems to me that i never want blank lines ending a body ;;;(setf org-cycle-separator-lines 0) (setf org-cycle-separator-lines 1) ;;keep body indentation intact when promoting and demoting (setf org-adapt-indentation nil) ;;very strange. this gets overridden with time? ;;;(setq org-log-done t) (setq org-log-done 'time) (require 'org-install) (defvar alpha-org-map (make-sparse-keymap "alpha org map")) (define-key global-map [f8] alpha-org-map) (define-key alpha-org-map [f8] 'org-remember) ;c-c r (define-key alpha-org-map "o" 'org-open-at-point-global) ;c-c o (require 'remember-autoloads) (org-remember-insinuate) ;;http://mail.google.com/mail/x (setf org-file-apps '( ;;(auto-mode . emacs) ;;("\\.x?html?\\'" . default) ;;("\\.pdf\\'" . default) (t . emacs))) (define-key org-mode-map "\C-cc" (lambda () (interactive) (org-todo "WAIT"))) > > -Bernt > > > Carsten Dominik writes: > >> Hi Samuel, >> >> I cannot reproduce this. >> >> - Carsten >> >> On Feb 6, 2009, at 6:44 AM, Samuel Wales wrote: >> >>> With org-log-done set to t or 'time and >>> org-cycle-separator-lines set to 0 or 1, on a node with no >>> body, org-done inserts a time log item with a blank line after >>> it. This causes the blank line to show in the collapsed >>> outline. >>> >>> Perhaps org-done could check for the presence of a body >>> before deciding to insert a blank line. >>> >>> -- >>> For personal and corporate gain, myalgic encephalomyelitis denialists >>> are knowingly causing massive suffering and 25-years-early death by >>> grossly corrupting science. >>> http://www.meactionuk.org.uk/What_Is_ME_What_Is_CFS.htm >>> >>> >>> ___ >>> 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 > -- Myalgic encephalomyelitis denialists are causing massive suffering and 25-years-early death by grossly corrupting science. http://www.meactionuk.org.uk/What_Is_ME_What_Is_CFS.htm ___ 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] outline-agenda sorting consistency
Here are some possible ways that the outline and the agenda could be made slightly more consistent. Hope I didn't miss any that already exist. 1) priority faces are settable in the agenda. perhaps they could be so in the outline also. 2) sorting strategy is settable in the agenda. perhaps it could be settable in the outline also. they could share code. also: * priorities are sortable. perhaps tags can be sortable via a default (built-in) sorting strategy also. to set the weights, the user configures as follows. nil means that tag sorting does nothing. ;;urgent gets sorted highest (or lowest, depending on ;;perspective). this is very useful for people who ;;have some ordered tags. (setq org-tag-sort-weights '(("urgent" . 1000) ("now" . 100) ;;below no tag ("someday" . -100)) ;;nutrition is more important than entertainment ("nutrition" . 100) ("entertainment" . -100)) * todo states are sortable. perhaps they can be sortable in such a way that the user can put blank entries (no todo state) as desired (e.g. between TODO and DONE). perhaps a variable to set the weights. -- Myalgic encephalomyelitis denialists are causing massive suffering and 25-years-early death by grossly corrupting science. http://www.meactionuk.org.uk/What_Is_ME_What_Is_CFS.htm ___ 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] How to backup the DONE items?
Hi Feng, look here: http://orgmode.org/manual/Archiving.html#Archiving It's not too much to read and easy to follow. Regards, Sebastian Feng Zhou writes: > Hello, all >I am using org mode, but as time goes on, my org file becomes > larger and larger. So, I want to move all the DONE and Archived items > to another file (preferably with a copy of the headers that contain > them for reference), but I don't know how to do this. Any help on > this? Thank you. > > --Feng > > > ___ > 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 -- Sebastian Rose, EMMA STIL - mediendesign, Niemeyerstr.6, 30449 Hannover Tel.: +49 (0)511 - 36 58 472 Fax: +49 (0)1805 - 233633 - 11044 mobil: +49 (0)173 - 83 93 417 Http: www.emma-stil.de ___ 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] How to backup the DONE items?
Hello, all I am using org mode, but as time goes on, my org file becomes larger and larger. So, I want to move all the DONE and Archived items to another file (preferably with a copy of the headers that contain them for reference), but I don't know how to do this. Any help on this? Thank you. --Feng ___ 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] Adding HTML into exported files
> Carsten Dominik writes: >> It is documented here: >> >> http://orgmode.org/manual/Links.html#Links >> >> Is this not the right place? The export section seems a good place actually. I just forgot, that images and links share a common syntax. Now, as I read this, I see that links and images are mentioned in the same subsection (I think they were when I read the manual last spring). I didn't read through the manual for a long time :) Just looked up things quickly. I didn't find it in there. It was easy to find in the `List of user visible chages' using `o image RET' ;-) Regards, -- Sebastian Rose, EMMA STIL - mediendesign, Niemeyerstr.6, 30449 Hannover Tel.: +49 (0)511 - 36 58 472 Fax: +49 (0)1805 - 233633 - 11044 mobil: +49 (0)173 - 83 93 417 Http: www.emma-stil.de ___ 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] Slight fix to update-org.sh
While updating to 6.22b, I remembered this: I like pete's update-org.sh. It's convenient when you haven't got git (I'll get around to getting git someday, but it's not high priority) It had a bit of a problem because my org directory wasn't a subdirectory of my build directory. I made some minor changes to make it do that and to gunzip the archive. I've attached it to this message. Tom Breton (Tehom) update-org.sh Description: Bourne shell script ___ 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] Adding HTML into exported files
Jan Seeger writes: >> and C) >> >> This is the cleanest way to do it. >> >> #+ATTR_HTML: alt="an image" id="mySpecialImmage" >> [[./img/a.jpg] ] >> >> and use CSS. >> > The problem is that I can't use CSS. I need to modify the HTML to > insert an element which forces the outline-2 container to extend all > the way down to the end of the image. I do not understand what you mean by 'I can't use CSS'. You mean external stylesheets? If so, no problem. You may add several lines to the export-options-template on top of the file: #+STYLE:
Re: [Orgmode] HTML export: feature request
Wanrong Lin writes: > Hi, > > One problem I have with current HTML export is the section number (like "1", > "2.1", "2.1.2" and etc) is not very distinctive from the actual section > heading. Also, sometimes I wish the sub-section headings are indented. So I > wonder whether we can add the following features: > > 1. Assign a CSS class to the section number, so the section number font and > color can be customized through CSS That would be great indeed: 1 Headline \/ ^ basename| level > 2. Add a variable to control whether sub-sections should be indented in the > export, and by how much. This is possible through CSS more easy and flexible (different projects, different designs): .outline-2 h2 {} Ahh - Carsten, would it easy to add a new class here? 1 blabla ^ Here ---' the We could the indent the text independently from the headline (or add additional indentation to the sections body). The appended patch does both of these. Add a class to the section number, and a class to the container of the sections content. Regards, Sebastian diff --git a/lisp/org-exp.el b/lisp/org-exp.el index 69ebdbc..4e5f2e5 100644 --- a/lisp/org-exp.el +++ b/lisp/org-exp.el @@ -4646,12 +4646,12 @@ When TITLE is nil, just close all open levels." (insert "\n" title "\n" (aset org-levels-open (1- level) t) (setq snumber (org-section-number level)) - (if (and org-export-with-section-numbers (not body-only)) - (setq title (concat snumber " " title))) (setq level (+ level org-export-html-toplevel-hlevel -1)) + (if (and org-export-with-section-numbers (not body-only)) + (setq title (concat "" snumber " " title))) (unless (= head-count 1) (insert "\n\n")) - (insert (format "\n\n%s%s\n\n" - snumber level level snumber extra-targets title level snumber)) + (insert (format "\n\n%s%s\n -- Sebastian Rose, EMMA STIL - mediendesign, Niemeyerstr.6, 30449 Hannover Tel.: +49 (0)511 - 36 58 472 Fax: +49 (0)1805 - 233633 - 11044 mobil: +49 (0)173 - 83 93 417 Http: www.emma-stil.de ___ 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] Docs submitted (Was Re: Advice sought on managing decision alternatives.)
> On Tue, Feb 10, 2009 at 2:42 PM, Carsten Dominik wrote: >> >> On Feb 10, 2009, at 9:46 AM, Manish wrote: >> >>> On Tue, Feb 10, 2009 at 8:44 AM, Tom Breton (Tehom) wrote: >>> [...] OK, I've add comments, keywords, and some docstrings I forgot to org-choose.el, and I wrote a standalone doc. Both are attached. >>> >>> This is very intriguing functionality. I tried to follow your and >>> Casten's >>> earlier exchanges but could understand only a little. So I tried to >>> follow >>> your tutorial but I am getting stuck at switching the `choosenness' of >>> items. >>> I get following error when I try to switch to any state from "no >>> state". >>> Once >>> I assign a state by typing it out manually (as opposed to using state >>> switching commands), I can then switch between states but the error >>> repeats >>> when I try to switch to "MAYBE" state. >>> >>> , >>> | save-excursion: Symbol's function definition is void: >>> outline-up-heading-all >>> ` >> >> Hmm, not sure if I messed up there - so I fixed this bug. Tom, >> please check if I did this right. > > This issue is gone for me. Thanks. > >>> So far, my understaning is that only one item can be in "YES" state. If >>> I >>> try >>> to switch another item to "YES" then the existing "YES" will be demoted >>> to "MAYBE". So for a two-state choosenness only one item can be in >>> CHOOSE >>> state while all others will switch to NOT_CHOOSEN state.. is that >>> understanding correct? > > With three choices for choosenness, it works as I expected (only one item > in > CHOSEN state at a time) but for more choices like: > > #+CHOOSE_TODO: REJECTED(r) NOT_CHOSEN(n,-) MAYBE(,0) > LEANING_TOWARDS(l) CHOSEN(c,+) > > it allows multiple items to be in CHOSEN state. How do we interpret that? Having fetched and set up 6.22b, I can now reproduce it. This bug is simple. In "Setting it all up" at the end of org-choose.el, in 6.22b a quote got introduced before progn. That's all. With that quote, it "evaluated" a quoted form and did nothing. I'd send a patch, but ISTM it's easier to just press backspace once. It's here: (eval-after-load 'org '(progn ;;^--HERE. (add-to-list 'org-todo-setup-filter-hook #'org-choose-setup-filter) (add-to-list 'org-todo-get-default-hook #'org-choose-get-default-mark) (add-to-list 'org-trigger-hook #'org-choose-keep-sensible) (add-to-list 'org-todo-interpretation-widgets '(:tag "Choose (to record decisions)" choose) 'append) )) Tom Breton (Tehom) ___ 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: Bug and feature request in HTML export
Rasmus Pank Roulund writes: > Carsten Dominik writes: > > Hello, > >> Org cannot know that you do want to end the list here, the HTML >> insertion might be part of the list. >> >> I do not know how to fix this. > I see your point. But if i have a lot of blank lines it probably should > not be included. Somehow one needs to signal to Org that this is not > part of the list. The most obvious signal seems to be a lot of blank > lines, or does that solution contain undesirable sideeffects? M-x customize-variable RET org-empty-line-terminates-plain-lists will do what you need. Regards, -- Sebastian Rose, EMMA STIL - mediendesign, Niemeyerstr.6, 30449 Hannover Tel.: +49 (0)511 - 36 58 472 Fax: +49 (0)1805 - 233633 - 11044 mobil: +49 (0)173 - 83 93 417 Http: www.emma-stil.de ___ 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] HTML export: feature request
Wanrong Lin writes: > Hi, > > One problem I have with current HTML export is the section number > (like "1", "2.1", "2.1.2" and etc) is not very distinctive from the > actual section heading. Also, sometimes I wish the sub-section > headings are indented. So I wonder whether we can add the following > features: > > 1. Assign a CSS class to the section number, so the section number > font and color can be customized through CSS > 2. Add a variable to control whether sub-sections should be indented > in the export, and by how much. > > Thank you for giving some thoughts on the above. Similar on this subject, is there a reason ID numbers and classes are not aligned? e.g is output. (6.18 trans with emacs 23) -- important and urgent problems of the technology of today are no longer the satisfactions of the primary needs or of archetypal wishes, but the reparation of the evils and damages by the technology of yesterday. ~Dennis Gabor, Innovations: Scientific, Technological and Social, 1970 ___ 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] Docs submitted (Was Re: Advice sought on managing decision alternatives.)
> > Hmm, not sure if I messed up there - so I fixed this bug. Tom, > please check if I did this right. > > - Carsten Hi, Carsten. I just looked at org-6.22b You caught a problem, but I think it's a different bug. I think there are these different things: * What you saw, that it doesn't work at top level. Good catch. My code finds the groups of siblings via their parent. If they have no parent, it doesn't work. Doing that already generated an error deep in the guts of outline, but your way is better. Let's keep your fix. * What Manish saw. I can't reproduce this. I suspect that it relates to outline somehow not being loaded, but org-choose requires org which requires outline. I find a dependency on org-agenda from `org-map-entries' in org.el, and once I load that, it all works. Tom Breton (Tehom) ___ 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: Bug and feature request in HTML export
Carsten Dominik writes: Hello, > Org cannot know that you do want to end the list here, the HTML > insertion might be part of the list. > > I do not know how to fix this. I see your point. But if i have a lot of blank lines it probably should not be included. Somehow one needs to signal to Org that this is not part of the list. The most obvious signal seems to be a lot of blank lines, or does that solution contain undesirable sideeffects? > It seems to me quite reasonable to put it at the top of the page. Sure, but it might be useful to have the title several places on the site. Sometimes it might be useful to place it elsewhere than the top. > Don't forget that Org is not a full HTML editor, it just tried to do a > good job at converting your file. I know :-) But it is still the best HTML "editor"/parser I have used in a looong time! The publish feature is fantanstic. Good job BTW! > You do not have a recent version of Org-mode. Please always try the > latest version before reporting bugs. I have 6.22b but the page had not been refreshed with the new version. Sorry! > This is not supported currently, and I am not sure we will get there. Maybe one day :-) > For this specific case you will get away with ... Thanks! > However, if you need this much or more control, maybe Muse will be a > better option. Org rocks. 'Nuff said :-) BTW: Is it possible make part of a word italicized. I.e. Ti/k/Z where the 'k' is italicized? Thanks for Org. -Rasmus ___ 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] Bug and feature request in HTML export
On Feb 10, 2009, at 10:06 PM, Rasmus Pank Roulund wrote: Hello, There seems to be a bug in HTML export. I am using Org for making a (fancy) web site. I define the top menu via a list which is made fancy via CSS. The Org file looks like this: #+HTML: - [[file:index.org][Forside]] - [[file:eksempler.org][Eksempler]] #+HTML: Org cannot know that you do want to end the list here, the HTML insertion might be part of the list. I do not know how to fix this. I also have a couple of feature request/bug reports for html export: First: it would be nice if one could specify the location of the title similar to the [TABLE-OF-CONTENTS] option. At the moment it seems to always be placed in the top of the page, which might not be desirable. It seems to me quite reasonable to put it at the top of the page. Don't forget that Org is not a full HTML editor, it just tried to do a good job at converting your file. Second: I do not know if this is a feature, but * Heading (i.e. a first level heading) is marked as a heading. It should probably be . At least one should be able to define it as a heading. See `org-export-html-toplevel-nlevel', and also see http://orgmode.org/worg/org-tutorials/org-customize.php Third (bug): Sometimes links are rendered wrong: [[http://etext.library.adelaide.edu.au/k/keynes/john_maynard/k44g/k44g.html ]] is rendered as http://etext.library.adelaide.edu.au/k/keynes/john_maynard/k44g/k44g.html ">http://etext.library.adelaide.edu.au/k/keynes/johnmaynardsub>/k44g/k44g.html notice the -tags! You do not have a recent version of Org-mode. Please always try the latest version before reporting bugs. Forth: Sometimes it is desirable to be able to #+HTML in links and titles. This is not possible. For example: #+TITLE: #+HTML: TEX or [[http://scripts.sil.org/xetex][ #+HTML: XƎTeX ]] This is not supported currently, and I am not sure we will get there. For this specific case you will get away with #+TITLE:@T@E@X@ However, if you need this much or more control, maybe Muse will be a better option. - Carsten ___ 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] Docs submitted (Was Re: Advice sought on managing decision alternatives.)
> With three choices for choosenness, it works as I expected (only one item > in > CHOSEN state at a time) but for more choices like: > > #+CHOOSE_TODO: REJECTED(r) NOT_CHOSEN(n,-) MAYBE(,0) > LEANING_TOWARDS(l) CHOSEN(c,+) > > it allows multiple items to be in CHOSEN state. How do we interpret that? I couldn't reproduce this. Is this on the same test file as before? Tom Breton (Tehom) ___ 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] Docs submitted (Was Re: Advice sought on managing decision alternatives.)
> On Tue, Feb 10, 2009 at 8:44 AM, Tom Breton (Tehom) wrote: > [...] >> OK, I've add comments, keywords, and some docstrings I forgot to >> org-choose.el, and I wrote a standalone doc. Both are attached. > > This is very intriguing functionality. I tried to follow your and > Casten's > earlier exchanges but could understand only a little. So I tried to > follow > your tutorial but I am getting stuck at switching the `choosenness' of > items. > I get following error when I try to switch to any state from "no state". > Once > I assign a state by typing it out manually (as opposed to using state > switching commands), I can then switch between states but the error > repeats > when I try to switch to "MAYBE" state. > > , > | save-excursion: Symbol's function definition is void: > outline-up-heading-all > ` I couldn't reproduce this bug with your test file. It seemed to have to do with loading, so I restarted emacs without pre-loading org (ie, I commented it out of my .emacs). I only found a dependency on org-agenda, and once that was loaded, no more error. So I couldn't reproduce it. > So far, my understaning is that only one item can be in "YES" state. If I > try > to switch another item to "YES" then the existing "YES" will be demoted > to "MAYBE". Right. > So for a two-state choosenness only one item can be in CHOOSE > state while all others will switch to NOT_CHOOSEN state.. is that > understanding correct? Hm, I didn't look at sets with just two states. Now that I look at it, yes, that works but not in the best way it could. Because I never contemplated "0" and "-" being properties of the same mark, it has to be speced as something like: #+CHOOSE_TODO: NO(n,-) YES(y,0) Tom Breton (Tehom) ___ 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] newbie - gnus links/split windows/breadcrumbs
On Tue, Feb 10, 2009 at 08:02, Bill White wrote: > - C-o on an "external link" to another file in my ~/org results in a > split window with the target file at the bottom. Is it possible to > open targets in the same window? When I follow a trail of links to > separate files (homepage -> project homepage with hundreds of > projects for my manager to read -> details of a single project) I'm > left with a tiny window and have to do C-x 1 to clean things up. It should respect pop-up-windows. -- Myalgic encephalomyelitis denialists are causing massive suffering and 25-years-early death by grossly corrupting science. http://www.meactionuk.org.uk/What_Is_ME_What_Is_CFS.htm ___ 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] revert all agenda buffers
On Feb 10, 2009, at 9:00 PM, Manish wrote: On Wed, Feb 11, 2009 at 1:21 AM, Carsten Dominik wrote: On Feb 10, 2009, at 8:49 PM, Manish wrote: On Wed, Feb 11, 2009 at 12:54 AM, Carsten Dominik wrote: On Feb 10, 2009, at 1:21 PM, David Bremner wrote: Hi Org-wizards; I am using git to to sync my org files between various hosts. The problem is that when I update the files on disk (i.e. with a git pull) then I have to manually revert each current org buffer (or, restart emacs, like that is going to happen :-) ). It would be nice if there was an analog of org-save-all-org-buffers that reverted them all for me. Am I missing an existing solution? 6.22b has now `org-revert-all-org-buffers'. I consider this command slightly dangerous, so you have to confirm with "yes". Org mode is my default mode and many buffers not necessarily part of agenda are open almost all the time. Will this command revert *all* Org buffers or only the ones part of org-agenda-files? All of them. I take it that it has to. So far I haven't yet run into David's situation so I guess I am fine for the moment. But if I need to then I guess I will need to remember to save (from agenda view, so that all Org buffers are saved) before executing the git pull and revert command? Yes. The right way would be 1. save all org buffer 2. pull to get the merging right 3. revert the buffers. - Carsten ___ 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] newbie - gnus links/split windows/breadcrumbs
On Feb 10, 2009, at 4:02 PM, Bill White wrote: Howdy - I've finally taken the plunge into org-mode - I'm transferring my last 3 years of old planner/muse notes to org for its better html export and its astounding rate of development. So naturally I've found a few little things that bug me: - gnus hyperlinks open a new frame, rather than teleporting me to my running instance of gnus in the current frame. Is it possible to keep things in one frame? My gnus links are of the form [[gnus:nnml:wri.d-wpt#<87y719beqv@wolfram.com][e-mail to Joe Schmoe]] http://thread.gmane.org/gmane.emacs.orgmode/2721/focus=2742 - C-o on an "external link" to another file in my ~/org results in a split window with the target file at the bottom. Is it possible to open targets in the same window? When I follow a trail of links to separate files (homepage -> project homepage with hundreds of projects for my manager to read -> details of a single project) I'm left with a tiny window and have to do C-x 1 to clean things up. Again, customize org-link-frame-setup, and set the `file' entry to `find-file'. - breadcrumbs: http://en.wikipedia.org/wiki/ Breadcrumb_(navigation). A link from, say, ~/org/projects.org, to a nonexistent file, [[file:blargh.org][blargh]], opens a buffer named blargh.org. Immediately after creating the new buffer, would it be possible to insert a link that points back to the calling page? In this example, the following link would appear at the top of blargh.org: [[file:projects.org][projects.org]]. There is nothing for this. I guess you could insert a function in change-major-mode-hook or so, when you get there through linking, `old-buffer' will contain the buffer where the link was called. However, you need to be careful here because this function will be called in many other occasions as well. So something like (when (and (eq this-command 'org-open-at-point) (boundp 'old-buffer) (equal (point-min) (point-max)) .. ... and maybe even more precautions... HTH - Carsten ___ 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] HTML export: feature request
Hi, One problem I have with current HTML export is the section number (like "1", "2.1", "2.1.2" and etc) is not very distinctive from the actual section heading. Also, sometimes I wish the sub-section headings are indented. So I wonder whether we can add the following features: 1. Assign a CSS class to the section number, so the section number font and color can be customized through CSS 2. Add a variable to control whether sub-sections should be indented in the export, and by how much. Thank you for giving some thoughts on the above. Wanrong ___ 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: Latex export error in tables
Manish writes: > On Mon, Feb 9, 2009 at 6:10 PM, Flávio wrote: > [snip (44 lines)] >> >> This is not a utf-8 encoding problem. When I generate a tex file with org, I >> change manually from \usepackage[utf8]{inputenc} to >> \usepackage[latin1]{inputenc}. All characters are recognized without any >> problems. I tested it both in Linux and Windows XP. This works fine. >> >> Now I will try to narrow down my problem and see if we can find a solution. I >> really believe the problem is in tex code generated by org. I will show you >> the >> reason I am pointing the problem to org. >> >> If I have an org table in my file like this one: >> >> #+BEGIN: columnview :hlines 1 :vlines t :id "09.0001-ESCH" :skip-empty-rows t >> | | ITEM | Quotation | Sold | Required | >> |---+--+---+--+--| >> | | * Escopo Horas|230 | 1640 | | >> | | ** Gerência |10 | | | >> | | ** Definição |50 | | | >> | | ** Configuração |100 | | | >> | | ** Comis. & Start up |50 | | | >> | | ** Documentação |20 | | | >> | / | <> |<> | <> | <>| >> #+END: >> >> Then I select the option to generate latex "[L] export as LaTeX to temporary >> buffer" ( I only want the tex code, I am not going to do any further >> transformation on it ). The raw code for that specific part of the file is: >> >> >> \begin{tabular}{l|l|r|l} >> ITEM & Quotation & Sold & Required \\ >> \hline >> * Escopo Horas &230 & 1640 & \\ >> \textbf{* Gerência & 10 && \\ >> *} Definição & 50 && \\ >> \textbf{* Configuração &100 && \\ >> *} Comis. & Start up & 50 && \\ >> ** Documentação & 20 && \\ >> \end{tabular} >> >> The problems I can point to in this code are: >> >> 1) The code "\textbf{* Gerência" is wrong, it should be "\textbf{*} Gerência" >> 2) The code "*} Definição" is wrong, it should be "\textbf{*} Definição". The >> same problem happens in other rows as you can see above. So all these open >> command lines will be the source for the errors. >> 3) One minor problem is that the character "&" at "Comis. & Start up" should >> be >> genrated as "\&". However this is a minor problem and I just dont use this >> character anymore. >> >> Now I will describe my solution (workaround) I found today for it. Firstly I >> changed my org table configuration to: >> >> #+BEGIN: columnview :hlines 2 :vlines t :id "09.0001-ESCH" :skip-empty-rows t >> | | ITEM | Quotation | Sold | Required | >> |---+--+---+--+--| >> | | * Escopo Horas|230 | 1640 | | >> |---+--+---+--+--| >> | | ** Gerência |10 | | | >> |---+--+---+--+--| >> | | ** Definição |50 | | | >> |---+--+---+--+--| >> | | ** Configuração |100 | | | >> |---+--+---+--+--| >> | | ** Comis.and Startup |50 | | | >> |---+--+---+--+--| >> | | ** Documentação |20 | | | >> | / | <> |<> | <> | <>| >> #+END: >> >> With the option :hlines 2 my table has horizontal lines in every row. When I >> generate tex, it will look like this: >> >> \begin{tabular}{l|l|r|l} >> ITEM & Quotation & Sold & Required \\ >> \hline >> * Escopo Horas&230 & 1640 & \\ >> \hline >> ** Gerência & 10 && \\ >> \hline >> ** Definição & 50 && \\ >> \hline >> ** Configuração&100 && \\ >> \hline >> ** Comis.and Start up & 50 && \\ >> \hline >> ** Documentação& 20 && \\ >> \end{tabular} >> >> The above code is a perfect tex table and I get no errors, because now the >> code >> is generated with \hline. I needed to "deviate" org tex generation code from >> using \textbuf :) > > That was quite detailed analysis so I tried to replicate it. > > This is the input file (I only added a first blank line and a dummy heading): > > --8<---cut here---start->8--- > # > * test table > #+BEGIN: columnview :hlines 1 :vlines t :id "09.0001-ESCH" :skip-empty-rows t > | | ITEM | Quotation | Sold | Required | > |---+--+---+--+--| > | | * Escopo Horas | 230 | 1640 | | > | | ** Ger�ncia |10 | | | > | | ** Defini��o |50 | | | > | | ** Configura��o | 100 | | | > | | ** Comis. & Start up |50 | | | > | | ** Documenta��o |20 | | | > | / | <> |<> | <> | <> | > #+END: > --8<---cut here---end-
[Orgmode] Bug and feature request in HTML export
Hello, There seems to be a bug in HTML export. I am using Org for making a (fancy) web site. I define the top menu via a list which is made fancy via CSS. The Org file looks like this: #+HTML: - [[file:index.org][Forside]] - [[file:eksempler.org][Eksempler]] #+HTML: The corrosponding HTML code looks like this: Forside Eksempler Thus, when I try to validate the site it gets errors! It should look like ... I tried to insert a comment (#) after the list but Org still ended div before ul. I also have a couple of feature request/bug reports for html export: First: it would be nice if one could specify the location of the title similar to the [TABLE-OF-CONTENTS] option. At the moment it seems to always be placed in the top of the page, which might not be desirable. Second: I do not know if this is a feature, but * Heading (i.e. a first level heading) is marked as a heading. It should probably be . At least one should be able to define it as a heading. Third (bug): Sometimes links are rendered wrong: [[http://etext.library.adelaide.edu.au/k/keynes/john_maynard/k44g/k44g.html]] is rendered as http://etext.library.adelaide.edu.au/k/keynes/john_maynard/k44g/k44g.html";>http://etext.library.adelaide.edu.au/k/keynes/johnmaynard/k44g/k44g.html notice the -tags! Forth: Sometimes it is desirable to be able to #+HTML in links and titles. This is not possible. For example: #+TITLE: #+HTML: TEX or [[http://scripts.sil.org/xetex][ #+HTML: XƎTeX ]] Thanks, Rasmus ___ 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: LaTeX Export
Hello, Sorry for the late reply. This is regarind a bug in LaTeX export. The trouble seems to happen when autofill is used. It might be caused by something else. I am not sure. The thing is that Org sometimes misintpretate $ as the currency symbolar rather than "math" as in LaTeX-lingu. IMO the use of $ as a currency symbol should be optional. Here is an example of the error: Org source: - Funktioner findes ved at sætte funktionen lige en given konstant $k$. Dermed bestemmes indifferentfunktion. Det ses nemt at $u(x_1, x_2)=k$. LaTeX export: \item Funktioner findes ved at sætte funktionen lige en given konstant \$k\$. Dermed bestemmes indifferentfunktion. Det ses nemt at $u(x_1, x_2)=k$. I have pulled the newest revision of Org. The version is 6.22b. Thanks, Rasmus ___ 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] revert all agenda buffers
On Wed, Feb 11, 2009 at 1:21 AM, Carsten Dominik wrote: > > On Feb 10, 2009, at 8:49 PM, Manish wrote: > >> On Wed, Feb 11, 2009 at 12:54 AM, Carsten Dominik wrote: >>> >>> On Feb 10, 2009, at 1:21 PM, David Bremner wrote: >>> Hi Org-wizards; I am using git to to sync my org files between various hosts. The problem is that when I update the files on disk (i.e. with a git pull) then I have to manually revert each current org buffer (or, restart emacs, like that is going to happen :-) ). It would be nice if there was an analog of org-save-all-org-buffers that reverted them all for me. Am I missing an existing solution? >>> >>> 6.22b has now `org-revert-all-org-buffers'. I consider this command >>> slightly dangerous, so you have to confirm with "yes". >> >> Org mode is my default mode and many buffers not necessarily part of >> agenda >> are open almost all the time. Will this command revert *all* Org buffers >> or >> only the ones part of org-agenda-files? > > All of them. I take it that it has to. So far I haven't yet run into David's situation so I guess I am fine for the moment. But if I need to then I guess I will need to remember to save (from agenda view, so that all Org buffers are saved) before executing the git pull and revert command? -- Manish ___ 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] Adding HTML into exported files
Carsten Dominik writes: > On Feb 10, 2009, at 3:05 PM, Richard Riley wrote: > >> Sebastian Rose writes: >> >>> >>> This is the cleanest way to do it. >>> >>> #+ATTR_HTML: alt="an image" id="mySpecialImmage" >>> [[./img/a.jpg] ] >>> >>> and use CSS. >>> >>> >> >> I didn't know about this! >> >> Should this maybe be documented somewhere other than in the Links >> section >> of the manual? >> >> >> (org) Links > > It is documented here: > > http://orgmode.org/manual/Links.html#Links > > Is this not the right place? > > - Carsten > Hi Carsten, I'm not sure. But it seems its also applicable to images. So possibly a mention there or better in general HTML Export section? I could be totally wrong though and am only going on my understanding of Sebastian's advice, regards r. -- important and urgent problems of the technology of today are no longer the satisfactions of the primary needs or of archetypal wishes, but the reparation of the evils and damages by the technology of yesterday. ~Dennis Gabor, Innovations: Scientific, Technological and Social, 1970 ___ 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] revert all agenda buffers
On Feb 10, 2009, at 8:49 PM, Manish wrote: On Wed, Feb 11, 2009 at 12:54 AM, Carsten Dominik wrote: On Feb 10, 2009, at 1:21 PM, David Bremner wrote: Hi Org-wizards; I am using git to to sync my org files between various hosts. The problem is that when I update the files on disk (i.e. with a git pull) then I have to manually revert each current org buffer (or, restart emacs, like that is going to happen :-) ). It would be nice if there was an analog of org-save-all-org-buffers that reverted them all for me. Am I missing an existing solution? 6.22b has now `org-revert-all-org-buffers'. I consider this command slightly dangerous, so you have to confirm with "yes". Org mode is my default mode and many buffers not necessarily part of agenda are open almost all the time. Will this command revert *all* Org buffers or only the ones part of org-agenda-files? All of them. - Carsten ___ 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] Bug: org-cycle on list at the end of buffer
Hi, I have "org-cycle-include-plain-lists" set to t. In the following example, the text is at the very end of an org-mode buffer. If I put my cursor on the line of "item 1" and press "TAB" key, the cycling does not work. But if I add another list item after "item 1", the cycling now works (of course now the "item 2" does not work). I am using Emacs 22.3 and org-mode 6.22a. Looks like a bug. Thank you if somebody can look into this. * Test 1. item 1 abc, xyz, whatever ___ 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] revert all agenda buffers
On Wed, Feb 11, 2009 at 12:54 AM, Carsten Dominik wrote: > > On Feb 10, 2009, at 1:21 PM, David Bremner wrote: > >> >> Hi Org-wizards; >> >> I am using git to to sync my org files between various hosts. The >> problem is that when I update the files on disk (i.e. with a git pull) >> then I have to manually revert each current org buffer (or, restart >> emacs, like that is going to happen :-) ). It would be nice if there >> was an analog of org-save-all-org-buffers that reverted them all for >> me. Am I missing an existing solution? > > 6.22b has now `org-revert-all-org-buffers'. I consider this command > slightly dangerous, so you have to confirm with "yes". Org mode is my default mode and many buffers not necessarily part of agenda are open almost all the time. Will this command revert *all* Org buffers or only the ones part of org-agenda-files? -- Manish ___ 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] Release 6.22
Just want to point out the download link on the org-mode web page is still pointing to 6.21b. ___ 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: How to tag paragraphs?
On this topic, another thought occurs. I think that the current tagging concept is perfectly implemented. To add more tags for the purpose I have suggested would interfere with the current agenda concept. Perhaps the best way is to use headlines, and delete them later. That's probably what I'll do. Thanks, Alan On Wed, Feb 11, 2009 at 5:40 AM, Alan E. Davis wrote: > I would like to ask, without asking for any new features, how writers among > the Org-mode community have come up with solutions for tagging paragrap > -- Alan Davis It is undesirable to believe a proposition when there is no ground whatsoever for supposing it is true. Bertrand Russell They are ill discoverers that think there is no land, when they can see nothing but sea. Sir Francis Bacon ___ 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] How to tag paragraphs?
I would like to ask, without asking for any new features, how writers among the Org-mode community have come up with solutions for tagging paragraphs. I had submitted a manuscript to a friend-reviewer a number of years ago. He tagged paragraphs by little keywords or numbers. This mimicked the ability in org mode to collapse and expand and move sections. I can do this by adding a heading for each little section, and that's all good. But several times I've stumbled over the impossibility of tagging an item list item, and just now I have started a long piece that requires some massaging to get into shape. Tagging paragraphs would have worked well. Perhaps someone on this list has developed ways to doing these things? Thank you again for all the help, Alan -- Alan Davis It is undesirable to believe a proposition when there is no ground whatsoever for supposing it is true. Bertrand Russell They are ill discoverers that think there is no land, when they can see nothing but sea. Sir Francis Bacon ___ 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] Citing articles, bibliography and html export
On Feb 10, 2009, at 7:02 PM, David Bremner wrote: At Tue, 10 Feb 2009 18:33:31 +0100, Manuel Hermenegildo wrote: Some time ago I had some success in a similar context (writing an autodocumenter for the Ciao programming language) where I needed to generate citations in a format different from latex. I managed to do this by writing a new .bst file (the "bibliography style" file that controls the format in which bibtex formats the references that it outputs). Hope it helps. --Manuel Unless you like forth, bst programming is not much fun. There is also e.g. the Text::BibTeX perl module, python-bibtex and probably other options parsing for the bibtex format. There is also ebib [1], a bibtex editor for emacs, but I'm not sure if deals with formatting entries, which is the main issue here. Both reftex-cite.el and bibtex.el have pretty sophisticated ways to extract info from bibtex databases. So with a little bit of lisp, I am sure it is possible to cook something that would insert references well enough during HTML export. - Carsten P.S. No, I am no writing it :-) ___ 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] Adding HTML into exported files
On Feb 10, 2009, at 3:05 PM, Richard Riley wrote: Sebastian Rose writes: This is the cleanest way to do it. #+ATTR_HTML: alt="an image" id="mySpecialImmage" [[./img/a.jpg] ] and use CSS. I didn't know about this! Should this maybe be documented somewhere other than in the Links section of the manual? (org) Links It is documented here: http://orgmode.org/manual/Links.html#Links Is this not the right place? - Carsten ___ 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] revert all agenda buffers
On Feb 10, 2009, at 1:21 PM, David Bremner wrote: Hi Org-wizards; I am using git to to sync my org files between various hosts. The problem is that when I update the files on disk (i.e. with a git pull) then I have to manually revert each current org buffer (or, restart emacs, like that is going to happen :-) ). It would be nice if there was an analog of org-save-all-org-buffers that reverted them all for me. Am I missing an existing solution? 6.22b has now `org-revert-all-org-buffers'. I consider this command slightly dangerous, so you have to confirm with "yes". - Carsten ___ 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] Release 6.22
Yes, thanks, fixed now. - Carsten On Feb 10, 2009, at 3:56 PM, Manish wrote: On Tue, Feb 10, 2009 at 1:23 PM, Carsten Dominik wrote: Hi, I have release Org-mode 6.22. [snip: many new features (38 lines)] New skipping conditions The functions `org-agenda-skip-entry-if' and `org-agenda-skip-subtree-if' now accept `timestamp' and `nottimestamp' as additional conditions. This was in response to a request by Saurabh Agrawal. Shouldn't these skipping conditions be available when using customize to make custom agenda commands? -- Manish ___ 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
Re: [Orgmode] Citing articles, bibliography and html export
At Tue, 10 Feb 2009 18:33:31 +0100, Manuel Hermenegildo wrote: > > Some time ago I had some success in a similar context (writing an > autodocumenter for the Ciao programming language) where I needed to > generate citations in a format different from latex. I managed to do > this by writing a new .bst file (the "bibliography style" file that > controls the format in which bibtex formats the references that it > outputs). Hope it helps. --Manuel > Unless you like forth, bst programming is not much fun. There is also e.g. the Text::BibTeX perl module, python-bibtex and probably other options parsing for the bibtex format. There is also ebib [1], a bibtex editor for emacs, but I'm not sure if deals with formatting entries, which is the main issue here. [1] http://ebib.sourceforge.net/ ___ 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] Citing articles, bibliography and html export
> If you want to use BibTeX for your citations, you'd have to have > either: (1) a bibtex engine for HTML (does it exist?) or (2) get org > to cleverly insert fragments of TeX output in HTML, both for each > citation and the bibliography. This would be ugly even if it were > easy, and I suspect it's not. Some time ago I had some success in a similar context (writing an autodocumenter for the Ciao programming language) where I needed to generate citations in a format different from latex. I managed to do this by writing a new .bst file (the "bibliography style" file that controls the format in which bibtex formats the references that it outputs). Hope it helps. --Manuel -- --- Manuel Hermenegildo | Prof., C.S.Dept., T.U. Madrid (UPM) Director, IMDEA-Software and CLIP Group | +34-91-336-7435 (W) -352-4819 (Fax) --- ___ 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] Citing articles, bibliography and html export
Hi Taru, Taru Karttunen writes: > Currently I am using \cite{foobar} in the text and > have: > > #+LATEX: \bibliographystyle{foo} > #+LATEX: \bibliography{bar} > > In the end and a corresponding .bib file. This works nicely with > latex, but I would like a solution that worked also with html. > > How have other people solved this? I think you'll have to export to TeX and then convert to html using something like TeX4ht: http://www.cse.ohio-state.edu/~gurari/TeX4ht/ Best, 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
Re: [Orgmode] Adding HTML into exported files
Sebastian Rose writes: > Richard Riley writes: >> Sebastian Rose writes: >> >>> >>> This is the cleanest way to do it. >>> >>> #+ATTR_HTML: alt="an image" id="mySpecialImmage" >>> [[./img/a.jpg] ] >>> >>> and use CSS. >>> >>> >> >> I didn't know about this! >> >> Should this maybe be documented somewhere other than in the Links section >> of the manual? > > I'm used to search the `list of user visible changes' though. I can > imagine it's always a lot of work to incorporate all those new features > into the manual, and still keep that clean and easy to follow (forgot > the word... I know there is one...). > > So the `hottest' features are often found in the news file :-) Nothing new there then for any SW :-; I must admit not to following the development too much now since most "just works" :-) But anyway, I just thought I'd mention it since the relevant doc is there but could be moved I guess. > > I'm shure this will change as soon as we start to order printed manuals > on Amazon :) > > I'll also by the `Book of user visible changes', just to be shure. > > > > Regards, -- important and urgent problems of the technology of today are no longer the satisfactions of the primary needs or of archetypal wishes, but the reparation of the evils and damages by the technology of yesterday. ~Dennis Gabor, Innovations: Scientific, Technological and Social, 1970 ___ 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] newbie - gnus links/split windows/breadcrumbs
Howdy - I've finally taken the plunge into org-mode - I'm transferring my last 3 years of old planner/muse notes to org for its better html export and its astounding rate of development. So naturally I've found a few little things that bug me: - gnus hyperlinks open a new frame, rather than teleporting me to my running instance of gnus in the current frame. Is it possible to keep things in one frame? My gnus links are of the form [[gnus:nnml:wri.d-wpt#<87y719beqv@wolfram.com][e-mail to Joe Schmoe]] - C-o on an "external link" to another file in my ~/org results in a split window with the target file at the bottom. Is it possible to open targets in the same window? When I follow a trail of links to separate files (homepage -> project homepage with hundreds of projects for my manager to read -> details of a single project) I'm left with a tiny window and have to do C-x 1 to clean things up. - breadcrumbs: http://en.wikipedia.org/wiki/Breadcrumb_(navigation). A link from, say, ~/org/projects.org, to a nonexistent file, [[file:blargh.org][blargh]], opens a buffer named blargh.org. Immediately after creating the new buffer, would it be possible to insert a link that points back to the calling page? In this example, the following link would appear at the top of blargh.org: [[file:projects.org][projects.org]]. Thanks - bw -- Bill White . bi...@wolfram.com . http://members.wolfram.com/billw "No ma'am, we're musicians." ___ 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] Release 6.22
On Tue, Feb 10, 2009 at 1:23 PM, Carsten Dominik wrote: > Hi, > I have release Org-mode 6.22. [snip: many new features (38 lines)] > New skipping conditions > > The functions `org-agenda-skip-entry-if' and > `org-agenda-skip-subtree-if' now accept `timestamp' and > `nottimestamp' as additional conditions. > This was in response to a request by Saurabh Agrawal. Shouldn't these skipping conditions be available when using customize to make custom agenda commands? -- Manish ___ 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] Citing articles, bibliography and html export
At the moment, rather than using BibTeX, I'm just doing citations manually, using org's footnote mechanism and /italics/ markup. This works, but I think I may have a few bugs to report with org's LaTeX export. All those italics, punctuation, and parentheses in close proximity seem like they may be causing problems. I haven't yet sorted out where the problems are, but I'll report them as soon as I do. If you can imagine forgoing the luxury of BibTeX, this is probably the way to go., alternately you could use BibTeX to assure the quailty of your LaTeX output (print still rules in some quarters), but do manual citations in using #+HTML markup. If you want to use BibTeX for your citations, you'd have to have either: (1) a bibtex engine for HTML (does it exist?) or (2) get org to cleverly insert fragments of TeX output in HTML, both for each citation and the bibliography. This would be ugly even if it were easy, and I suspect it's not. With regard to (1), I suppose you could hack together a very rudimentary substitution engine to replace your \cites with preformatted citations which were already set up in org markup, and would therefore export into HTML. This could be promising if your citation requirements are simple, and if you do enough work using a single style guide to make the setup work worth it. You may find a LaTeX to HTML exporter that can do the trick. And if it did, this might be the best of all worlds. The last option would be working up an org export to 'pandoc', an extension of Markdown which has a very cool citation mechanism in development (using Citation Style Language, the same as the Zotero bibliographic manager, so there are already many citation styles). It's working (and can use BibTeX databases), but I've not put it to the test. If you could sucessfully get your work from org to pandoc, you could then export to either LaTeX or HTML (as well as ODF and OOXML). There are some people on this list working on (or musing over) a generalized org2wiki exporter, and, it might someday be possible to coax that to export to pandoc/Markdown. This is, only a possibility, though, and not free of problems. I only put it down for the record. Scot On Tue, Feb 10, 2009 at 1:49 PM, Taru Karttunen wrote: > Hello > > Is there a good way of writing articles so that citations and > the bibliography works in both latex and html? > > Currently I am using \cite{foobar} in the text and > have: > > #+LATEX: \bibliographystyle{foo} > #+LATEX: \bibliography{bar} > > In the end and a corresponding .bib file. This works nicely with > latex, but I would like a solution that worked also with html. > > How have other people solved this? > > - Taru Karttunen > > > ___ > 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
Re: [Orgmode] Call for documentation of contributed packages
On Tue, Feb 10, 2009 at 08:55:09AM +0100, Carsten Dominik wrote: > > To start up this process, I am looking for a volunteer, with > the following task: > > Go through the file commentaries of stuff in Org's contrib > directory and extract information from the file commentaries to > create a page for each of these packages. Making a start in > this way would be great, and package authors and users could > then improve on this with time. Anyone??? Hi Carsten, (Apologies for not finishing this before when you asked me...) I am back around for a bit and can volunteer if you would like. Regards, Phil -- Blessed are they who can laugh at themselves for they shall never cease to be amused. - Unknown ___ 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] Adding HTML into exported files
At Tue, 10 Feb 2009 15:03:47 +0100, Sebastian Rose wrote: > > Hi Jan, > > > there are several possiblities to achive your goal. > > B) > > #+begin_html > > Html code here > > #+end_html Yep, that's what I did. It's somewhat ugly though. > and C) > > This is the cleanest way to do it. > > #+ATTR_HTML: alt="an image" id="mySpecialImmage" > [[./img/a.jpg] ] > > and use CSS. > The problem is that I can't use CSS. I need to modify the HTML to insert an element which forces the outline-2 container to extend all the way down to the end of the image. Regards, Jan ___ 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] Adding HTML into exported files
Richard Riley writes: > Sebastian Rose writes: > >> >> This is the cleanest way to do it. >> >> #+ATTR_HTML: alt="an image" id="mySpecialImmage" >> [[./img/a.jpg] ] >> >> and use CSS. >> >> > > I didn't know about this! > > Should this maybe be documented somewhere other than in the Links section > of the manual? I'm used to search the `list of user visible changes' though. I can imagine it's always a lot of work to incorporate all those new features into the manual, and still keep that clean and easy to follow (forgot the word... I know there is one...). So the `hottest' features are often found in the news file :-) I'm shure this will change as soon as we start to order printed manuals on Amazon :) I'll also by the `Book of user visible changes', just to be shure. Regards, -- Sebastian Rose, EMMA STIL - mediendesign, Niemeyerstr.6, 30449 Hannover Tel.: +49 (0)511 - 36 58 472 Fax: +49 (0)1805 - 233633 - 11044 mobil: +49 (0)173 - 83 93 417 Http: www.emma-stil.de ___ 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] Adding HTML into exported files
Sebastian Rose writes: > > This is the cleanest way to do it. > > #+ATTR_HTML: alt="an image" id="mySpecialImmage" > [[./img/a.jpg] ] > > and use CSS. > > I didn't know about this! Should this maybe be documented somewhere other than in the Links section of the manual? (org) Links regards r. ___ 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] Adding HTML into exported files
Jan Seeger writes: > Greetings! > > I am currently creating a website using org-mode, and I want images to > float to the right. However, that leads to a problem that the outline > container doesn't resize to contain the image (Attached is a screenshot). > > To force the outline container to resize, it would work to add " style="clear: both"/>" before the end of the last container as > suggested here: http://csscreator.com/node/78. > > Is there any infrastructure in place to add something like this, or > would I have to patch the code? Hi Jan, there are several possiblities to achive your goal. A) @@ Not shure if this is still supported though. I don't use that anymore B) #+begin_html Html code here #+end_html and C) This is the cleanest way to do it. #+ATTR_HTML: alt="an image" id="mySpecialImmage" [[./img/a.jpg] ] and use CSS. see http://orgmode.org/Changes.html?OCCUR=image (press `S-s' to find all matches for `image') Best, Sebastian > Best Regards, > Jan Seeger > > > ___ > 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 -- Sebastian Rose, EMMA STIL - mediendesign, Niemeyerstr.6, 30449 Hannover Tel.: +49 (0)511 - 36 58 472 Fax: +49 (0)1805 - 233633 - 11044 mobil: +49 (0)173 - 83 93 417 Email: s.r...@emma-stil.de, sebastian_r...@gmx.de Http: www.emma-stil.de ___ 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] Citing articles, bibliography and html export
Hello Is there a good way of writing articles so that citations and the bibliography works in both latex and html? Currently I am using \cite{foobar} in the text and have: #+LATEX: \bibliographystyle{foo} #+LATEX: \bibliography{bar} In the end and a corresponding .bib file. This works nicely with latex, but I would like a solution that worked also with html. How have other people solved this? - Taru Karttunen ___ 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] revert all agenda buffers
Hi Org-wizards; I am using git to to sync my org files between various hosts. The problem is that when I update the files on disk (i.e. with a git pull) then I have to manually revert each current org buffer (or, restart emacs, like that is going to happen :-) ). It would be nice if there was an analog of org-save-all-org-buffers that reverted them all for me. Am I missing an existing solution? d ___ 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] Release 6.22
> Hi Castern, Am really sorry for the misspell.. :( > > Its me, Saurabh again. > > Thanks a lot for the fast new releases. I am really enjoying working > with org and finding it indispensably useful. > > I would also want to thank Manish, who the other day, devoted 2 hours > of his, with me, for the interactive help session. > >> This package inserts itself into Org using hooks, so if other >> people would like to do interesting stuff with TODO keywords for >> special purposes, looking at Tom's code might be a good way to >> start. > > > Just yesterday night, I was thinking of an extension for basic double > book accounting, wherein we can use TODO type keywords for > Debit/Credit and Tags for account names. > > For each accounting entry to succeed, there should be two entries > compulsorily, as is the rule for double book keeping. > > Then, there should be a pane on the left side maybe, updating > different accounts (such as cash, bank, food, books etc.) real time. > > Finally, some report to show the transaction for a particular a/c (ie > Tag) can be generated. > > I really don't have the expertise to implement this, but maybe this > could be a project for someone who is good at lisp... :) > > I really don't know if something like this exists for org; do let me > know if something is there and forgive me for this unnecessary idea. > > Thanks for reading. > > With regards, > Saurabh Agrawal. > > > > >> Thanks to Tom for this interesting contribution! >> orgmode.org and Worg css works now better on IE >> >> Thanks to Sebastian Rose for making these changes. >> When exporting a subtree, headline levels are now relative to parent >> = >> This was reported as a bug by William Henney and is fixed now. >> Inactive dates in tables can be used for sorting. >> == >> When sorting table fields or entries by date, Org first tries to >> find an active date, and, if none exist, uses a passive date if >> present. >> This was a request by Hsui-Khuen Tang >> The default for `org-return-follows-link' is back to `nil' >> === >> Setting it to `t' violates Emacs rules to some extend. The >> internal implementation of this has been improved, so setting it >> to `t' should now be pretty stable. >> Automatic scheduling of siblings with org-depend.el >> >> The sibling of a DONE task can now automatically be scheduled. >> This was a patch by Andrew Hyatt. >> New skipping conditions >> >> The functions `org-agenda-skip-entry-if' and >> `org-agenda-skip-subtree-if' now accept `timestamp' and >> `nottimestamp' as additional conditions. >> This was in response to a request by Saurabh Agrawal. >> >> ___ >> 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
Re: [Orgmode] An advice about stirng width in unicode
Hi, the table editor works fine if each Chinese character is an integer number of ASCII characters wide. So you need to find a Chinese font that does have this property. No chance that will ever make this work for fonts that do not have this property. - Carsten Matt, this is another FAQ... :-) On Feb 10, 2009, at 7:42 AM, goodmenli...@gmail.com wrote: Hi, Org-mode is a great package! It is so great!! Here is my situation: I'm a Chinese. I use different font to display Chinese character and English characters. The table can not align correctly when there are Chinese character in it. I had check the table in detail, and found that you supposed that a Chinese char has double width of the english. But it is not true for _all_ chinese font. Would you please fix these ? I don't want to use a single font in my emacs environment. ___ 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] An advice about stirng width in unicode
Hi, Org-mode is a great package! It is so great!! Here is my situation: I'm a Chinese. I use different font to display Chinese character and English characters. The table can not align correctly when there are Chinese character in it. I had check the table in detail, and found that you supposed that a Chinese char has double width of the english. But it is not true for _all_ chinese font. Would you please fix these ? I don't want to use a single font in my emacs environment. ___ 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] agenda formatting
Hi John, I believe the reason for this problem is that, when you run Emacs in batch mode, it has no display and therefore no colored faces, so that HTMLIZE will pick up simpler versions of the faces and use those. So the solution you are choosing is exactly the right one, defining the faces in a CSS file. You probably now end up with double face definitions, one set inlined by htmlize, the other set in your class file. You can get rid of the inlined ones by binding htmlize-output-type to `css' for the duration of the export. If you copy the face definitions from org.css, you will get the default Emacs faces. If you have configured faces and want to use those, start an emacs session, display you agenda to make sure all faces have been defined, and then run the command M-x org-export-htmlize-generate-css RET This will create css for all faces currently defined in Emacs. The copy these definitions, or the ones you'd like to have, into your own css file. HTH - Carsten On Feb 10, 2009, at 2:52 AM, John Rakestraw wrote: Replying to myself, just in case others have this question... Hi -- I'd like to export my agenda to an html page, and I'd like to do regularly with a cron job. I've set up the custom agenda view, and use the batch processing described here: http://orgmode.org/manual/Using-the-agenda-elsewhere.html#Using-the-agenda-elsewhere When I export the custom agenda using C-c a e interactively from within emacs, the agenda.html file has all the formatting of the usual agenda within org -- colored and bold fonts as I expect them to be. However, when I create the agenda using this command from the command line: emacs -batch -l ~/.emacs -eval '(org-batch-agenda "e")' all of the text in agenda.html is the same color. In addition, much of the text in the html version is italicized. Looking at the html source of the two different versions, I see that the CSS style settings are different, so the export process of the batch file is picking up a different css style sheet than the one picked up by the export process called within emacs. (I found the file org.css in my org git directory, but that seems to have still different settings for faces.) I've not changed any of the default face settings. Should the formatting in the html file produced by the batch process be the same as the formatting produced using C-c a e within emacs. Or, in other words, is there a problem with my set-up? Apologies if there's an obvious answer to this -- my searches haven't turned up anything. Thanks -- With a little more digging, I've solved my problem. Not sure that this is the best solution, because I still don't understand why running org-batch-agenda from the command line wasn't picking up the same style sheet as the export agenda command run interactively from within emacs. However, inserting this in my org config file has agenda.htm looking the same as it looks in the org buffer no matter agenda.htm is generated: ***code starts here (setq org-agenda-export-html-style " body { color: #daa520; background-color: #00; } .org-agenda-date { /* org-agenda-date */ color: #87cefa; } .org-agenda-structure { /* org-agenda-structure */ color: #87cefa; } .org-scheduled { /* org-scheduled */ color: #98fb98; } .org-scheduled-previously { /* org-scheduled-previously */ color: #ff7f24; } .org-scheduled-today { /* org-scheduled-today */ color: #98fb98; } .org-tag { /* org-tag */ font-weight: bold; } .org-todo { /* org-todo */ color: #ffc0cb; font-weight: bold; } a { color: inherit; background-color: inherit; font: inherit; text-decoration: inherit; } a:hover { text-decoration: underline; } "> ) ***code ends here ___ 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
Re: [Orgmode] Release 6.22
Hi Saurabh, I had fancy ideas once, and I've gone nowhere with them. I used org- map-entries to convert an org-mode file into an acceptable input file for ledger. See my note to the org-mode list at : http://groups.google.com/group/ledger-cli/browse_thread/thread/cba54edf065c7623 I haven't followed up on my new year's resolution because I had to move overseas instead. Any org-mode users in Romania? -Ben On 2009-Feb-10, at 12:05, Saurabh Agrawal wrote: Just yesterday night, I was thinking of an extension for basic double book accounting, wherein we can use TODO type keywords for Debit/Credit and Tags for account names. For each accounting entry to succeed, there should be two entries compulsorily, as is the rule for double book keeping. Then, there should be a pane on the left side maybe, updating different accounts (such as cash, bank, food, books etc.) real time. Finally, some report to show the transaction for a particular a/c (ie Tag) can be generated. ___ 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] Docs submitted (Was Re: Advice sought on managing decision alternatives.)
On Tue, Feb 10, 2009 at 2:42 PM, Carsten Dominik wrote: > > On Feb 10, 2009, at 9:46 AM, Manish wrote: > >> On Tue, Feb 10, 2009 at 8:44 AM, Tom Breton (Tehom) wrote: >> [...] >>> >>> OK, I've add comments, keywords, and some docstrings I forgot to >>> org-choose.el, and I wrote a standalone doc. Both are attached. >> >> This is very intriguing functionality. I tried to follow your and >> Casten's >> earlier exchanges but could understand only a little. So I tried to >> follow >> your tutorial but I am getting stuck at switching the `choosenness' of >> items. >> I get following error when I try to switch to any state from "no state". >> Once >> I assign a state by typing it out manually (as opposed to using state >> switching commands), I can then switch between states but the error >> repeats >> when I try to switch to "MAYBE" state. >> >> , >> | save-excursion: Symbol's function definition is void: >> outline-up-heading-all >> ` > > Hmm, not sure if I messed up there - so I fixed this bug. Tom, > please check if I did this right. This issue is gone for me. Thanks. >> So far, my understaning is that only one item can be in "YES" state. If I >> try >> to switch another item to "YES" then the existing "YES" will be demoted >> to "MAYBE". So for a two-state choosenness only one item can be in CHOOSE >> state while all others will switch to NOT_CHOOSEN state.. is that >> understanding correct? With three choices for choosenness, it works as I expected (only one item in CHOSEN state at a time) but for more choices like: #+CHOOSE_TODO: REJECTED(r) NOT_CHOSEN(n,-) MAYBE(,0) LEANING_TOWARDS(l) CHOSEN(c,+) it allows multiple items to be in CHOSEN state. How do we interpret that? -- Manish ___ 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] Release 6.22
Hi Castern, Its me, Saurabh again. Thanks a lot for the fast new releases. I am really enjoying working with org and finding it indispensably useful. I would also want to thank Manish, who the other day, devoted 2 hours of his, with me, for the interactive help session. > This package inserts itself into Org using hooks, so if other > people would like to do interesting stuff with TODO keywords for > special purposes, looking at Tom's code might be a good way to > start. Just yesterday night, I was thinking of an extension for basic double book accounting, wherein we can use TODO type keywords for Debit/Credit and Tags for account names. For each accounting entry to succeed, there should be two entries compulsorily, as is the rule for double book keeping. Then, there should be a pane on the left side maybe, updating different accounts (such as cash, bank, food, books etc.) real time. Finally, some report to show the transaction for a particular a/c (ie Tag) can be generated. I really don't have the expertise to implement this, but maybe this could be a project for someone who is good at lisp... :) I really don't know if something like this exists for org; do let me know if something is there and forgive me for this unnecessary idea. Thanks for reading. With regards, Saurabh Agrawal. > Thanks to Tom for this interesting contribution! > orgmode.org and Worg css works now better on IE > > Thanks to Sebastian Rose for making these changes. > When exporting a subtree, headline levels are now relative to parent > = > This was reported as a bug by William Henney and is fixed now. > Inactive dates in tables can be used for sorting. > == > When sorting table fields or entries by date, Org first tries to > find an active date, and, if none exist, uses a passive date if > present. > This was a request by Hsui-Khuen Tang > The default for `org-return-follows-link' is back to `nil' > === > Setting it to `t' violates Emacs rules to some extend. The > internal implementation of this has been improved, so setting it > to `t' should now be pretty stable. > Automatic scheduling of siblings with org-depend.el > > The sibling of a DONE task can now automatically be scheduled. > This was a patch by Andrew Hyatt. > New skipping conditions > > The functions `org-agenda-skip-entry-if' and > `org-agenda-skip-subtree-if' now accept `timestamp' and > `nottimestamp' as additional conditions. > This was in response to a request by Saurabh Agrawal. > > ___ > 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: org-mode not loading properly on startup
> On Jan 30, 2009, at 10:40 AM, Paul Mead wrote: > > > Just a niggling issue here, I have a function set up to load my main > > org > > file work.org. > > > > (defun gtd() > > (interactive) > > (find-file "~/.gtd/work.org") > > ) > > > > Straightforward enough, but since I downloaded v6.20 I then have to > > manually switch using M-x org-mode. Otherwise the faces are all wrong, > > hidden stars don't work, etc. Interestingly the mode line shows 'org' > > before and after. Once I manually switch it on, everything is fine. > Just to let you know, for unrelated reasons I deleted and re-cloned the repository and recompiled from scratch, and this problem disappeared. Just one of those things I guess... Paul ___ 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] Docs submitted (Was Re: Advice sought on managing decision alternatives.)
On Feb 10, 2009, at 9:46 AM, Manish wrote: On Tue, Feb 10, 2009 at 8:44 AM, Tom Breton (Tehom) wrote: [...] OK, I've add comments, keywords, and some docstrings I forgot to org-choose.el, and I wrote a standalone doc. Both are attached. This is very intriguing functionality. I tried to follow your and Casten's earlier exchanges but could understand only a little. So I tried to follow your tutorial but I am getting stuck at switching the `choosenness' of items. I get following error when I try to switch to any state from "no state". Once I assign a state by typing it out manually (as opposed to using state switching commands), I can then switch between states but the error repeats when I try to switch to "MAYBE" state. , | save-excursion: Symbol's function definition is void: outline-up- heading-all ` Hmm, not sure if I messed up there - so I fixed this bug. Tom, please check if I did this right. - Carsten And the test file: --8<---cut here---start->8--- #+CHOOSE_TODO: NO(n,-) MAYBE(m,0) YES(y,+) * Which bike to buy? *** Ducati *** Honda *** Kawasaki --8<---cut here---end--->8--- So far, my understaning is that only one item can be in "YES" state. If I try to switch another item to "YES" then the existing "YES" will be demoted to "MAYBE". So for a two-state choosenness only one item can be in CHOOSE state while all others will switch to NOT_CHOOSEN state.. is that understanding correct? Thanks again. -- Manish ___ 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
Re: [Orgmode] Re: Setting recurring deadlines
Nick Dokos writes: Hi Nick, >> I was curious how to get that done, but I couldn't find a diary for >> "each last day of a month" in diary, too. "Each second thursday in a >> month" is on emacswiki, but all those complex dates I found are wired >> to a specific day of the week... > > "Bah, how hard can that be?" - famous last words, now eaten (I did > choke on them along the way) ... > > Here's my attempt (tested *very* lightly): > > &%%(let ((lastday (calendar-last-day-of-month (calendar-extract-month date) > (calendar-extract-year date))) > (day (calendar-extract-day date))) > (= day lastday)) last day of month Using `calendar-last-day-of-month' is unfair. ;-) Bye, Tassilo ___ 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] Docs submitted (Was Re: Advice sought on managing decision alternatives.)
On Tue, Feb 10, 2009 at 8:44 AM, Tom Breton (Tehom) wrote: [...] > OK, I've add comments, keywords, and some docstrings I forgot to > org-choose.el, and I wrote a standalone doc. Both are attached. This is very intriguing functionality. I tried to follow your and Casten's earlier exchanges but could understand only a little. So I tried to follow your tutorial but I am getting stuck at switching the `choosenness' of items. I get following error when I try to switch to any state from "no state". Once I assign a state by typing it out manually (as opposed to using state switching commands), I can then switch between states but the error repeats when I try to switch to "MAYBE" state. , | save-excursion: Symbol's function definition is void: outline-up-heading-all ` And the test file: --8<---cut here---start->8--- #+CHOOSE_TODO: NO(n,-) MAYBE(m,0) YES(y,+) * Which bike to buy? *** Ducati *** Honda *** Kawasaki --8<---cut here---end--->8--- So far, my understaning is that only one item can be in "YES" state. If I try to switch another item to "YES" then the existing "YES" will be demoted to "MAYBE". So for a two-state choosenness only one item can be in CHOOSE state while all others will switch to NOT_CHOOSEN state.. is that understanding correct? Thanks again. -- Manish ___ 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