[O] No priority cookies in html export despite setting pri:t option
This happens even with a fresh "portable-style" installation of emacs and org-mode and no customisations When I export to plain text I can see the prioity cookies, When I export to html there are none, even though I have created a local for that file and changed pri:nil to pri:t The html source file doesn't show the cookies - it's not just the html rendering or css. Any idea why? Gez Org-mode version 8.2.10 Emacs version GNU Emacs 25.1.1 (x86_64-w64-mingw32)
Re: [O] Publish project alist in org-mode 8 - confusing documentation
>Richard Lawrence writes: > > Gez writes: > > > but I don't know where to begin adapting it to the new export framework. > > > > For example, I'd be very grateful if someone could "translate" the > > following (or something more simple) into org-mode 8 version, so I can > > start evaluating and playing with it. > > > > (require 'org-publish) > > (setq org-publish-project-alist > > '( > > ("org-notes" > > :base-directory "~/org/" > > :base-extension "org" > > :publishing-directory "~/public_html/" > > :recursive t > > :publishing-function org-publish-org-to-html > > It's been a while since I converted my publishing setup to the new > exporter, but I *think* the only change you need to make here is to the > :publishing-function option. > > The function you want here is now called org-html-publish-to-html. > There are other similar functions in the other export backends -- e.g., > the function to publish to PDF is org-latex-publish-to-pdf. > > Thus, if you need to find an appropriate publishing function, start by > looking for a function named like: org-BACKEND-publish-to-FORMAT. I > don't remember how I figured this out, but hopefully it is documented in > the manual... Thanks - in fact, the first issue was the first line: (require 'org-publish) which gave the error message eval: Cannot open load file: org-publish But I guessed I needed to replace it with: (require 'ox-publish) And that fixed it. As for the function you mentioned, I checked http://orgmode.org/worg/org-8.0.html#sec-5-2 and replaced org-publish-org-to-html with org-html-publish-to-html. And I got something to publish. Now that it's basically working I can play around with the options etc. Many thanks. By the way, sorry if this isn't threaded correctly; I didn't receive these emails (mine and the reply) from the list so I couldn't reply. I have checked my mailman settings and I'm supposed to receive my own posts. :-( Gez
[O] Publish project alist in org-mode 8 - confusing documentation
Can someone give me some hints for how to set up a publishing project in org-mode 8? Am I right in thinking that I can't use easy customization to set up a publish project alist? I've been reading various links such as http://orgmode.org/worg/exporters/ox-overview.html http://orgmode.org/worg/org-8.0.html and even http://orgmode.org/worg/exporters/ox-docstrings.html and http://orgmode.org/worg/exporters/org-element-docstrings.html but since I'm not at all a power user I find myself rather lost. I generally rely on the customization browsers to do most of my configuration. I do sometimes edit .emacs manually but normally closely following an example. I'd really like to set up a project based on the worg tutorial at http://orgmode.org/worg/org-tutorials/org-publish-html-tutorial.html but I don't know where to begin adapting it to the new export framework. For example, I'd be very grateful if someone could "translate" the following (or something more simple) into org-mode 8 version, so I can start evaluating and playing with it. (require 'org-publish) (setq org-publish-project-alist '( ("org-notes" :base-directory "~/org/" :base-extension "org" :publishing-directory "~/public_html/" :recursive t :publishing-function org-publish-org-to-html :headline-levels 7 :auto-preamble t ) ("org-static" :base-directory "~/org/" :base-extension "css\\|js\\|png\\|jpg\\|gif\\|pdf\\|mp3\\|ogg\\|swf" :publishing-directory "~/public_html/" :recursive t :publishing-function org-publish-attachment ) ("org" :components ("org-notes" "org-static")) )) Many thanks! Gez Org-mode version 8.2.5h (8.2.5h-30-gdd810b-elpa GNU Emacs 24.3.1 (i386-mingw-nt6.2.9200)
Re: [O] Quicker refile? Capture & progress cookies. Using capture to count/tally
Bernt, I think your system (and your writing about it) is fantastic and it has inspired me to develop mine. On 17 November 2011 23:10, Bernt Hansen wrote: > Gez writes: > I almost exclusively use capture to quickly file away things I don't > want to forget. This goes to my refile.org as a level 1 heading and > isn't attached to anything yet. I was resisting doing that because I have different todo's for different files, but - it just occured to me - what's to stop me listing all of the possible todo's at the top of a refile org file? I might just do that. > All of my tasks that need to be refiled show up on my block agenda view > in the second section - immediately under today's agenda view. > I'm using this block agenda view regularly during the day and the tasks > to be refiled are constantly 'in my face' until I do something with > them. Yes, it would work if I added them to my block agenda. > I refile these items mostly from the agenda - I tend to get 2 or 3 of > them that are going to the same target so I'll mark them with 'm' and > refile with 'B r'. My refile setup uses IDO completion for refile > targets and I find this works very well. If I'm refiling to file x.org > under '* Tasks' I'll do something like C-c C-w x.org C-SPC tasks RET The > order of entering x.org/tasks doesn't matter - IDO is limiting the > targets to the entered data so I can match part of what is left in the > list. It's because of reading your set-up that I use IDO now. I't's amazing. Perhaps I need more practise in using it - cleverly selecting what I enter - since I end up having to type the whole file name including .org quite often. As good practise, I should probably consistently start with the headline, since my filenames are not unique enough (they match the equivalent archive file and also other headlines). > I've also set up refiling to remove DONE tasks from the list of > available completion targets. This helps prevent mistakes where you > refile to an already done tree (or if you have repeating separate tasks > with the same name only the open ones show up as refile targets.) I've had your page open for a while in firefox, gradually re-reading, working through and modifying my setup. I was going to tackle some clock-related stuff next, but now I think removing DONE tasks from the list of targets might be the next thing I add. >Refiling the thing to the right place isn't > important right now so I put that off. Constantly having to move things > to the right place as you capture them will be too slow IMHO. I do know what you mean. I think I've erroneously feared that if I insert a reminder out of context, I need to be more verbose than I would otherwise, or I will forget later what it means, but I can imagine that if I frequently check the items to refile, I probably won't forget. > Hope that helps, Very much indeed. Thank you. Geraldine
[O] Quicker refile? Capture & progress cookies. Using capture to count/tally
I have a list of "niggles" which are not on an active todo list because they only occur to me from time to time, but I wanted to be able to quickly note each time one of them bothers me, so that the most annoying ones, the ones I would want to add to my todo list first, might start to "rise to the surface". So I created a capture template which inserts a "todo" under the already listed niggle (which has a progess cookie). It's simple and reasonably fast. Does anyone have any other ways of counting/tallying in org-mode? There are two issues with how I'm doing it. One (pretty minor) is that the inserted todo doesn't trigger off the progress cookie. It's not a big deal; when I want to know which niggle has the largest count, I just need to do C-u C-c # in the file. But I thought I'd point it out in case it could be fixed. The second issue is one I have with capture all the time; I want the refile to be faster. I have a few capture templates for logging that send to a particular headline, but most times I use capture the target can be anywhere in my main outlines. As it is, I'm almost always finishing up with C-c C-w, and in effect starting from scratch each time, narrowing down to the target from all my agenda files. I'd really like a template where once I've called it and entered text or tags or whatever, I use a single key press and the refile selection would begin with a file or headline pre-selected for quick further narrowing down. I don't know if that's do-able with IDO but I do imagine it could work with file+headline, file+olp etc. They would become file+headline+prompt etc and just as now, the template would determine which target was first suggested, but then it would still be "open" for quick further filtering before RET. To summarise - my 2 ideas are: 1. to add something like "+prompt" to refile selection in general, and 2. to allow capture templates with a "+prompt" target to use a single key to start the refile process. I hope all this makes sense! Geraldine
Re: [O] Blocked tasks also dimmed in export?
Just bumping this in case anyone can help me fix it - I'd really like the tasks to be greyed out in an export. Thanks, Gez On 13 October 2011 12:57, Gez wrote: > I use org-agenda-dim-blocked-tasks to keep track of "tasks" that have > no current "todo's", but in my exported html agenda view (C-c a e) > which I share via dropbox, there is unfortunately no dimming. Is > there a way to preserve the grey face in html export? > > Gez >
Re: [O] Idea: insert "current sort order" property
That was my duh - I accidentally left a # in when copying to my .emacs. It works fine now. Thank you. Gez On 13 October 2011 13:39, Christian Moe wrote: > Hi, > > Not sure I can help; I don't quite see how this error could be caused by > anything in the code I sent you. Is this happening on the same system as you > used before? What version of Emacs are you on when this happens? > > Yours, > Christian > > On 10/13/11 1:40 PM, Gez wrote: > >> Thanks. I got it to work from a scratch buffer but not from .emacs >> (previous version worked fine from my .emacs). Restarting emacs >> showed an error. >> >> --- >> Warning (initialization): An error occurred while loading >> `q:/Q_Synced/Portable/emacs-23.3/home/.emacs': >> >> Invalid read syntax: # >> >> To ensure normal operation, you should investigate and remove the >> cause of the error in your initialization file. Start Emacs with >> the `--debug-init' option to view a complete error backtrace. >> - > >
[O] How to show done items in specific agenda views
I'd like to include done items only in certain views, including the one below, but I can't work out how to do it. At the moment I have org-agenda-skip-scheduled-if-done set as nil but that affects all my views (and messes up undone totalled effort estimates). Ideally I'd like to export log mode, but I couldn't work out a way to do that. My current set up means that items done today but scheduled for a previous day don't show up on this view unless they are rescheduled for today. Is there a way round this? --- (quote (("7e" "For export" ((agenda "" ((org-agenda-overriding-header "Scheduled todo's") (org-agenda-span (quote week)) (org-agenda-skip-function (quote (org-agenda-skip-entry-if (quote regexp) "habit"))) (org-agenda-sorting-strategy (quote (todo-state-up))) (org-agenda-prefix-format "%-7e") (org-agenda-todo-keyword-format "%-10s"))) (tags-todo "thisweek" ((org-agenda-overriding-header "Unscheduled todo's; also tasks (from which todo's were generated)") (org-agenda-skip-function (quote (org-agenda-skip-entry-if (quote scheduled (org-agenda-prefix-format "%-7e") (org-agenda-todo-keyword-format "%-10s") (org-agenda-sorting-strategy (quote (todo-state-up)) ((org-agenda-remove-tags t)) ("Q:\\Q_Synced\\My Dropbox\\OrgModeExports\\agenda.html")) --- Gez
[O] C-c a e closes agenda buffer
I'm mostly working in a custom agenda view, refreshing with q or r, but I like to frequently update my exported html agenda view (shared in dropbox). Each time I export with C-c a e the agenda buffer closes and I have to call my custom agenda view again. Would it be possible to make it so that C-c a e aborts the refresh of the agenda buffer (as if C-g were used after C-c a)? Alternatively could a particular custom agenda view be designated as a default to return to after C-c a e? Gez
[O] No date/day title in agenda column view
A short while ago I stopped being able to see the names/dates of the days when viewing the agenda in column view. I can see the overall title (Week-agenda (W41-W42):) and then the next row displays totalled effort for the first day in a blue face at the top of the effort column. The next rows are the entries for that day, followed by the totalled effort for the following day, and so on. The names/dates of the days are not displayed. I can't remember if they used to take up an extra row each or if they were on the same row as the totalled effort, but either way I can't see them now - perhaps since using my current version - GNU Emacs 23.3.1 and org-mode version 7.7 My org-columns-default-format is "%1BLOCKED %4TODO %CATEGORY %5Effort{:} %50ITEM %20TAGS %21ALLTAGS" Could this be a bug, or have I made this happen with a setting that I can't remember? Gez
[O] Blocked tasks also dimmed in export?
I use org-agenda-dim-blocked-tasks to keep track of "tasks" that have no current "todo's", but in my exported html agenda view (C-c a e) which I share via dropbox, there is unfortunately no dimming. Is there a way to preserve the grey face in html export? Gez
Re: [O] Idea: insert "current sort order" property
On 12 October 2011 20:51, Christian Moe wrote: > > Then we need a way to keep track of what property keys are used to store > outlines in, so we can offer those and only those for completion. (We don't > want to offer all the property keys used in the buffer -- that's an > invitation to overwrite data.) That makes sense > > So in my second pass (below), when you use a :foo: property to store the > outline index, `foo' gets added to a list of keys in the :Stored_outlines: > property of the parent. When you store an outline, the prompt for a property > key offers completion on all the keys stored in :Stored_outlines:. See how > this works for you. > Thanks. I got it to work from a scratch buffer but not from .emacs (previous version worked fine from my .emacs). Restarting emacs showed an error. --- Warning (initialization): An error occurred while loading `q:/Q_Synced/Portable/emacs-23.3/home/.emacs': Invalid read syntax: # To ensure normal operation, you should investigate and remove the cause of the error in your initialization file. Start Emacs with the `--debug-init' option to view a complete error backtrace. - I couldn't copy the whole backtrace here (an encoding issue?) Here's the start and end of it in case it's any help: ___ Debugger entered--Lisp error: (invalid-read-syntax "#") eval-buffer(# nil "q:/Q_Synced/Portable/emacs-23.3/home/.emacs" nil t) ; Reading at buffer position 13136 load-with-code-conversion("q:/Q_Synced/Portable/emacs-23.3/home/.emacs" "q:/Q_Synced/Portable/emacs-23.3/home/.emacs" t t) load("~/.emacs" t t) #[nil [init-file-user system-type user-init-file-1 user-init-file otherfile source ms-dos "~" "/_emacs" windows-nt directory-files nil "^\\.emacs\\(\\.elc?\\)?$" "~/.emacs" "^_emacs\\(\\.elc?\\)?$" "~/_emacs" "/.emacs" t load expand-file-name "init" file-name-as-directory "/.emacs.d" file-name-extension "elc" file-name-sans-extension ".el" file-exists-p file-newer-than-file-p message "Warning: %s is newer than %s" sit-for 1 "default" alt inhibit-default-init inhibit-startup-screen] 7]() command-line() normal-top-level() _ Gez
Re: [O] Idea: insert "current sort order" property
On 12 October 2011 13:16, Christian Moe wrote: If you like it and want it available the next time you start Emacs, > just copy it into your .emacs file (only the bit *between* the #+BEGIN_SRC > and #+END_SRC lines). It's in my .emacs now - I have just tested it and it seems to work perfectly. Thank you so much for it. And thanks for explaining what to do with code snippets. I do use revisioning, but Is there a protocol I should use for testing code snippets before using them on my original data or can they be considered safe after being run once? One thing that might be useful to add to the code please ... If when prompting for the property key, TAB brought up the list of auto-complete keys (like when using C-c C-x p) that would make for easier maintenance and consistency; e.g. when I deliberately want to overwrite a previous outline index it would avoid a second set of properties being written accidentally if I made a typo. Gez > On 10/12/11 1:35 PM, Gez wrote: >> >> Thanks, Christian. Please forgive my ignorance but what should I do >> with the code? I've not done anything more advanced than >> org-customize before. >> >> Gez >
Re: [O] Idea: insert "current sort order" property
Thanks, Christian. Please forgive my ignorance but what should I do with the code? I've not done anything more advanced than org-customize before. Gez On 11 October 2011 20:46, Christian Moe wrote: > Hi, Gez, > > > On 10/7/11 5:02 PM, Gez wrote: > >> What I'm imagining is a command executed on a headline to insert a >> property into each of its children "fixing" the current order; >> something like ":sorted:01", ":sorted:02" etc. >> > > I think this is a neat idea, and can see some uses for it for my own stuff. > I've made a first pass below. Please test it and let me know how it works > for you (and please *don't* test it on anything valuable without backing up > first!). > > > > Code follows. Yours, > Christian > > #+begin_src emacs-lisp > (defun cm/org-store-outline-order (arg prop) >"Store the outline of the subtree of the entry at point by > setting the property PROP of each direct child entry to its > current position in the tree. With prefix ARG, store the position > of the whole subtree. The tree can be restored to the stored > outline by sorting on the property with `C-c ^ r'. Note that this > will only work properly on the order of each subtree; if headings > are demoted, promoted, or moved into different subtrees, the > result may or may not be nonsense, but it will be impossible to > restore the original order by sorting." >(interactive "P\nsProperty key (default OutlineIndex): ") >(if (string= prop "") (setq prop "OutlineIndex")) >(if (or (not (org-map-entries t (concat prop "={.}") 'tree)) >(y-or-n-p "Property exists; overwrite? ")) >(let* ((match (format "LEVEL%s%s" > (if arg ">=" "=") > (1+ (org-current-level > (counter 1) > (width (1+ (floor (log10 (length (org-map-entries t match > 'tree)) > (fstr (concat "%0" (number-to-string width) "d"))) > (org-map-entries > '(progn > (org-set-property prop >(format fstr counter)) > (setq counter (1+ counter))) > match 'tree) > (message "" > #+end_src >
[O] Idea: insert "current sort order" property
What I'm imagining is a command executed on a headline to insert a property into each of its children "fixing" the current order; something like ":sorted:01", ":sorted:02" etc. Ideally there would be a prompt for the property key (or part of it) so that there could be more than one such property for a particular headline, but with the option to simplify the usage and consistency by having just one property key as a default and no prompt. One of my uses of org-mode is to list songs (Lieder) that I am currently working on, and I mark them up with special todo states and tags relating to my workflow - e.g. findscore, translate, memorise etc. I've also been known to add properties such as 1st line text (if different from title), poet, and pagenumber. While I'm dealing with a list of repertoire (there's a lot of bitty admin involved!) I've found it useful to sort alphabetically, by TODO state and by these properties, but I'd like to be able to retain the order in which the songs will be performed. I know I could manually add such a property to each headline myself but I'd really love to be able to quickly "fix" the order of my sorted headings by automating a ":sorted:" property. Another use I can imagine for this is when juggling an outline, one could "fix" an order that reads well, and then play around with it to see how it might flow better, knowing that it would be easy to return to the last preferred sort-order - like a rollback. During the last few weeks I would have made use of this not only when working on songs, but also when designing song programmes and writing my resumé. If a sorted headline got moved to a new parent its sort-order might be a duplicate one of its siblings, but I don't really see that as a problem - the user knows it's "only text" after all. I don't know whether it might be desired to similarly fix the sort-order of 1st level headlines; perhaps the command could act per current file, with a < to narrow down to the current tree. I'm also not sure how to deal with larger numbers - 01-99 seems like a good default but could one have an option for 001-999? I also wonder about adding the property to more than one level at a time, but might that be a bit much in terms of affecting performance? Does anyone else see this as potentially useful? Gez GNU Emacs 23.3.1 and org-version 7.7
Re: [Orgmode] Re: Bug? Capture not in customize until called by key
- Original Message - From: "Bernt Hansen" "Gez" writes: ... it seems that the customize capture appears and disappears. Here's how to replicate, I hope. With .emacs having no reference to capture (no key defined, no templates), customize capture is inaccessible (not found via M-x customize-apropos nor listed in the customize browser) With .emacs having capture key defined, on each restart of emacs, customize capture is likewise inaccessible, until the key combination is called (in my case, C-c c), upon which capture appears both in the customize browser and via M-x-customize-apropos - until the next restart. So you can't use customize for capture until you've both defined a key for it in .emacs and also called that key combination in the current session. I hope that's all clear enough. Hi Gez, I think the capture definitions are autoloaded the first time you capture something. If you add (require 'org-capture) in your .emacs then I think they will always be available. Thank you, Bernt - that did it. Much appreciated. Just in case it's relevant, "Org Capture" appears just after "Org Completion" in the list in the customize browser window now, whereas before it was listed at the end, after "Org Protocol". I suppose that's because of the order of loading. Gez ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Bug? Capture not in customize until called by key (was Request - capture included in customize browser)
I wrote another post but it didn't thread properly - sorry. Anyway, I've tested further and it seems that the customize capture appears and disappears. Here's how to replicate, I hope. With .emacs having no reference to capture (no key defined, no templates), customize capture is inaccessible (not found via M-x customize-apropos nor listed in the customize browser) With .emacs having capture key defined, on each restart of emacs, customize capture is likewise inaccessible, until the key combination is called (in my case, C-c c), upon which capture appears both in the customize browser and via M-x-customize-apropos - until the next restart. So you can't use customize for capture until you've both defined a key for it in .emacs and also called that key combination in the current session. I hope that's all clear enough. - Original Message - From: "Bernt Hansen" C-h v org-capture-templates and click on the _customize_ link. Thank you, Bernt, but I can't see a _customize_ link there, either when capture is in customize or when it's not. Gez (Windows XP, GNU Emacs 23.2.1, Org-mode version 7.01trans) ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Nulled request - now a query- capture included in customize browser
Following up my own email (hopefully this will be threaded correctly) - I've found the customize interface for capture now. It appeared _after_ I'd written some settings into my .emacs file. Is there a reason capture wasn't in the customize browser before? I mean, is that the expected behaviour or a bug? Here's what I had added to .emacs: (define-key global-map "\C-cc" 'org-capture) (setq org-capture-templates '(("t" "Todo" entry (file+headline "~/org/cap.org" "CapturedTasks") "* TODO %?\n %i\n %a") ("j" "Journal" entry (file+datetree "~/org/cap_journal.org") "* %?\nEntered on %U\n %i\n %a"))) Gez ___ - Original Message - From: Gez To: emacs-orgmode@gnu.org Sent: Tuesday, October 26, 2010 6:32 PM Subject: Request - capture included in customize browser I've had my main system in org mode for a couple of weeks now and I'm getting on really well - it's an amazing tool. I'm very grateful for it. And for the support here too. I want to set up org-capture but cannot find it using M-x customize-apropos. I'm guessing that the customize browser is a kind of interface that has to be written and hasn't yet been written for org-capture. I'll get on with making my settings by hand, as it were, in the meantime, but this is a request please, for a customize interface for org-capture. I've been doing all my configuring with the customize browser recently (after some early false starts copying, pasting and editing settings directly into my .emacs file). I'm avoiding errors and I also find it better documented than the manual and really useful to see the context (the customize group). Gez (Windows XP, GNU Emacs 23.2.1, Org-mode version 7.01trans) ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Request - capture included in customize browser
I've had my main system in org mode for a couple of weeks now and I'm getting on really well - it's an amazing tool. I'm very grateful for it. And for the support here too. I want to set up org-capture but cannot find it using M-x customize-apropos. I'm guessing that the customize browser is a kind of interface that has to be written and hasn't yet been written for org-capture. I'll get on with making my settings by hand, as it were, in the meantime, but this is a request please, for a customize interface for org-capture. I've been doing all my configuring with the customize browser recently (after some early false starts copying, pasting and editing settings directly into my .emacs file). I'm avoiding errors and I also find it better documented than the manual and really useful to see the context (the customize group). Gez (Windows XP, GNU Emacs 23.2.1, Org-mode version 7.01trans) ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Updating using snapshot & org-install missing
I just updated my org mode for the first time, using a snapshot, and I had an issue with org-install. Although I think it's resolved I'm documenting it here in case a) I've done something incorrect which needs pointing out to me b) it helps others with the same problem c) it is useful for documentation etc Here's what I did: I read this thread http://thread.gmane.org/gmane.emacs.orgmode/32427/ to find out how to get a snapshot (I had previously downloaded what I thought was the latest version from http://orgmode.org/org-latest.zip but it's out of date at the moment) I downloaded the tar.gz from http://repo.or.cz/w/org-mode.git/snapshot and unpacked it I renamed my org-mode directory to org-mode-backup and copied the downloaded org-mode directory into its place I started emacs and saw an error message about org-install (I'm not relaying the message here since I think it's resolved now) I opened an org file and saw that at least some of my customisations were not active (faces), then I closed emacs I looked in the org-mode directory for org-install.el and saw that it was missing I searched the email list archives and read this thread http://thread.gmane.org/gmane.emacs.orgmode/11416 I copied over the org-install.el file from my org-mode-backup directory into the new org-mode directory and restarted emacs Result: org mode updated, no errors Hope this helps! Gez (Windows XP, GNU Emacs 23.2.1, Org-mode version 7.01trans) ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] VISIBILITY property and C-u C-u
- Original Message - From: "Carsten Dominik" To: "Gez" Subject: Re: [Orgmode] VISIBILITY property and C-u C-u On Oct 17, 2010, at 5:41 PM, Gez wrote: I have a query about the C-u C-u TAB command. When I've just edited or used S-TAB (no matter which part of the global cycle it's on) C-u C-u TAB works as I would expect. But if I've just used TAB, C-u C-u TAB cycles hrough -> CONTENTS -> SHOW ALL etc, even while the mini buffer displays "startup visibility plus VISIBILITY properties" at each stage of the cycle. C-u C-u TAB also cycles when it's repeated. > I believe I have fixed this, please verify. - Carsten Yes, fixed in my setup now (just downloaded snapshot today). Thank you. Gez ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] VISIBILITY property and C-u C-u
> On Oct 17, 2010, at 5:41 PM, Gez wrote: C-u C-u >> TAB is documented in the reference card but not in the manual or on >> worg as far as I can see - Shouldn't it be added? Also shouldn't >> VISIBILITY be listed with the other "special properties" in the >> manual etc? > > Would you like to make a patch? I would like to and I read http://orgmode.org/worg/org-contribute.php#sec-3 but I don't have git. >> I have a query about the C-u C-u TAB command. When I've just edited >> or used S-TAB (no matter which part of the global cycle it's on) C-u >> C-u TAB works as I would expect. But if I've just used TAB, C-u C-u >> TAB cycles hrough -> CONTENTS -> SHOW ALL etc, even while the mini >> buffer displays "startup visibility plus VISIBILITY properties" at >> each stage of the cycle. C-u C-u TAB also cycles when it's >> repeated. > I believe I have fixed this, please verify. I'm still getting the same behaviour (i.e. not fixed), using org-latest.zip which I just downloaded today from http://orgmode.org/org-latest.zip. But my version still says Org-mode version 7.01trans so perhaps I'm not testing the fixed version. Sorry if there's something I'm misunderstanding. Gez (Windows, GNU Emacs 23.2.1, Org-mode version 7.01trans)___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] VISIBILITY property and C-u C-u
I've just discovered the VISIBILITY property, although I had some trouble working out how to apply it .I discovered C-u C-u TAB from reading http://thread.gmane.org/gmane.emacs.orgmode/6623. C-u C-u TAB is documented in the reference card but not in the manual or on worg as far as I can see - Shouldn't it be added? Also shouldn't VISIBILITY be listed with the other "special properties" in the manual etc? I'm using it to mark sub-projects (level 2,3 etc) with :VISIBILITY: folded (or :VISIBILITY: content when they also contain a sub-sub-project). When sub-projects are folded into their projects (level 1) I miss out on an overview of all projects. Using C-u C-u TAB I can see all non-level-1 headlines that I've marked because they are parents of tasks, and then I can visit them locally with TAB. It's very useful in conjunction with the counter cookie, and in column view. I have a query about the C-u C-u TAB command. When I've just edited or used S-TAB (no matter which part of the global cycle it's on) C-u C-u TAB works as I would expect. But if I've just used TAB, C-u C-u TAB cycles hrough -> CONTENTS -> SHOW ALL etc, even while the mini buffer displays "startup visibility plus VISIBILITY properties" at each stage of the cycle. C-u C-u TAB also cycles when it's repeated. I find it hard to keep track of whether it will cycle or not while I'm using it to view areas of the outline, so in effect, the only way I feel sure I can quickly return to my desired startup visibility is with S-TAB C-u C-u TAB, which is a lot of keystrokes! So my questions are - is this expected behaviour? Can it be changed? Gez Windows XP, GNU Emacs 23.2.1, Org-mode version 7.01trans ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] FIXED - Cannot insert column - wrong type argument
Thanks, Giovanni, but I fixed it before using your sample file. I went through my file with a fine-tooth comb and found a tag on a line beginning "PROPERTIES". (At least I think it was that line - it could have been the line below with the property value in it. Whichever it was, it wasn't on a headline.) When I removed the tag and reloaded the file, the column commands all worked fine. I'm assuming that was the cause, but I was surprised though since there had been no error message. Gez - Original Message - From: "Giovanni Ridolfi" To: "Gez" Cc: Sent: Wednesday, September 29, 2010 10:36 AM Subject: Re: [Orgmode] Cannot insert column - wrong type argument "Gez" writes: Hi, Gez, I'm having problems configuring what do you intend with "configuring"? the column view in a particular file - I can't insert/add a column. `S-M-' Insert a new column, to the left of the current column. I cannot reproduce: Org version 7.01trans , commit 9ec705cb57b77595dd9aeb17f9168fb1db9ac908. Sample file: --- -*- mode: org; -*- * [2010-09-29 mer] column view :PROPERTIES: :COLUMNS: %25ITEM(Number) :END: ** one :PROPERTIES: :Value: 100 :Age: 11 :END: ** two :PROPERTIES: :Value: 200 :Age: 22 :END: - 1. C-c C-x C-c shows the column view with the "Number column" 2. M-S- asks for the property of the new column 2.1write "Age" (without " ") 3. You'll have a two columns column view Giovanni ___ Emacs-orgmode mailing list Please 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 Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Cannot insert column - wrong type argument
I'm having problems configuring the column view in a particular file - I can't insert/add a column. I can navigate around it, and S-M- works fine, but S-M- brings up the message "Wrong type argument: integer-or-marker-p, nil" In a newly created test file S-M- worked fine - prompts for a property. I don't know if it's relevant but in the problematic file, when I use C-c C-x C-c to create the column view, no #+COLUMNS line appears. Any ideas how to troubleshoot it? Gez (beginner, GNU Emacs 23.2.1, Org-mode version 7.01trans)___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] compiling org without make
I got it working, thanks to an offlist message from Don - copied with permission below... Gez - Original Message - From: "Dan Davison" To: "Gez" Sent: Sunday, September 26, 2010 2:56 PM Subject: Re: compiling org without make > Hi Gez, > > It is possible to use the latest version of Org mode very easily, > without compiling or installing to system folders. I just posted example > instructions in another thread; the link to that thread is > > http://thread.gmane.org/gmane.emacs.orgmode/30973 > > With this method, the info files in emacs will be out-of-date. Full > installation is covered in section 1.2 of the manual: > > http://orgmode.org/manual/Installation.html#Installation > > But here are the instructions I posted: > > 1. Download the latest version > .zip and .tar.gz version are kept at > http://orgmode.org/org-latest.zip > http://orgmode.org/org-latest.tar.gz > > 2. Extract the archived files > This will create a folder called "org-mode". Let's say that the > location of this folder is "~/path/to/org-mode" (for Windows see > footnote [1]) > > 3. Add the following lines to your .emacs file (note that we're pointing > to the "lisp" folder *within* the main "org-mode" folder): > > (setq load-path (cons "~/path/to/org-mode/lisp" load-path) > (require 'org-install) > > That's it. However, this will not install the latest info files, so > these will be out of date (corresponding to whatever version of Org > shipped with your emacs). See for instructions on installing the > info files. > > Now, Emacs should load whatever version of Org-mode you put at > "~/path/to/org-mode". So to update Org in the future, simply delete that > folder and replace it with a new one (steps 1 and 2 above). > > Footnotes: > > [1] On Windows, this path might look something like > "C:\\path\to\org-mode" > > Dan > > > > "Gez" writes: > >> I'm a beginner on windows and I'm prepared to learn slowly and steadily, >> but I'm having trouble getting started. I have GNU Emacs 23.2.1 and I'd >> like to get the latest version of orgmode (my version has no >> org-capture). I see from >> http://orgmode.org/worg/org-hacks.php#compiling-org-without-make that >> this problem has been addressed, but I'm still not clear on what to do... >> >> 1. How I find out which version of orgmode I have? I'm assuming from >> http://orgmode.org/ that it's 6.21b, but is there a way of confirming >> this? > > M-x org-version > >> >> 2. Do I need to compile at all? At least in order to get started >> learning and using it? > > No, it is not necessary to compile. Some experienced Org users do not > compile at all, because they upgrade very often and don't want to risk > accidentally forgetting to recompile. > >> 3. Whether or not I compile, how do I "install" the downloaded org-mode >> files? Should I just copy them into \emacs-23.2\lisp\org (where my org >> lisp files are now) and let them overwrite where necessary? >> >> 3. In the example path in the function on >> http://orgmode.org/worg/org-hacks.php#compiling-org-without-make, the >> org-lisp-directory is under .emacs.d but my org files are under >> \emacs-23.2\lisp\org - does this matter? >> >> 4. Assuming the path is ok as it is, how do I enter the path into the >> function - do I write the whole path - e.g. Q:\progs\emacs-23.2\lisp\org >> ? >> >> 5. What option should I choose for org-compile-sources in the function? >> (I don't know what it means.) >> >> 6. Finally, how do I use this function? Do I write it to my .emacs and >> then call it? What is the command? >> ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] compiling org without make
I'm a beginner on windows and I'm prepared to learn slowly and steadily, but I'm having trouble getting started. I have GNU Emacs 23.2.1 and I'd like to get the latest version of orgmode (my version has no org-capture). I see from http://orgmode.org/worg/org-hacks.php#compiling-org-without-make that this problem has been addressed, but I'm still not clear on what to do... 1. How I find out which version of orgmode I have? I'm assuming from http://orgmode.org/ that it's 6.21b, but is there a way of confirming this? 2. Do I need to compile at all? At least in order to get started learning and using it? 3. Whether or not I compile, how do I "install" the downloaded org-mode files? Should I just copy them into \emacs-23.2\lisp\org (where my org lisp files are now) and let them overwrite where necessary? 3. In the example path in the function on http://orgmode.org/worg/org-hacks.php#compiling-org-without-make, the org-lisp-directory is under .emacs.d but my org files are under \emacs-23.2\lisp\org - does this matter? 4. Assuming the path is ok as it is, how do I enter the path into the function - do I write the whole path - e.g. Q:\progs\emacs-23.2\lisp\org ? 5. What option should I choose for org-compile-sources in the function? (I don't know what it means.) 6. Finally, how do I use this function? Do I write it to my .emacs and then call it? What is the command? Sorry for all the questions. I hope I've been clear. Gez ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode