[O] org-tag-faces only applies to :face:?
Hello, My intention is to change the color and background of certain (urgent-important, noturgent-important) items in the agenda. To this end, I have set up appropriate tags in org-tag-alist and have played with org-tag-faces. However, when I -- for example -- (setq org-tag-faces '( ("home" . (:background "GoldenRod")) ) ) only the tag's face (the bit between the two colons...) changes to GoldenRod. I'd like the entire line to change to GoldenRod. What's the best way to do this? Cheers! -- Boyan Penkov
[O] :PROPERTIES: right after ?
Hey folks, Is is the case that, syntactically, the :PROPERTIES: drawer must be immediately after the :SCHEDULED: line? Here’s the example; after the org-20150810 update TODO Water the plants. SCHEDULED: <2015-08-13 Thu .+1d/2d> :PROPERTIES: :STYLE: habit :LAST_REPEAT: [2015-08-12 Wed 19:24] :END: - State "DONE" from "WAITING"[2015-08-12 Wed 19:24] - State "DONE" from "WAITING"[2015-08-11 Tue 21:17] - State "DONE" from "WAITING"[2015-08-10 Mon 21:40] - State "DONE" from "WAITING"[2015-08-09 Sun 21:19] correctly shows the habit string in the agenda, but TODO Water the plants. SCHEDULED: <2015-08-13 Thu .+1d/2d> - State "DONE" from "WAITING"[2015-08-12 Wed 19:24] - State "DONE" from "WAITING"[2015-08-11 Tue 21:17] - State "DONE" from "WAITING"[2015-08-10 Mon 21:40] - State "DONE" from "WAITING"[2015-08-09 Sun 21:19] :PROPERTIES: :STYLE: habit :LAST_REPEAT: [2015-08-12 Wed 19:24] :END: does not in the agenda view. Should I go and change all these in my files? Cheers! -- Boyan Penkov www.boyanpenkov.com signature.asc Description: Message signed with OpenPGP using GPGMail
Re: [O] FILE special property?
Thanks for your help, Alex. The backslashes do get the string to evaluate correctly (now the value of org-stuck-projects is indeed set to what you’d think it would be set to, where the first element is a string), but this does not yield the right output — C-c # still yields no output, and I do know there are projects I define as unfinished in the relevant file. When I crop out the +FILE=… part of the string, I get the output I’m expecting, so I’m pretty sure my problem is with the syntax of the FILE selector. Thanks! -- Boyan Penkov www.boyanpenkov.com On May 16, 2014, at 5:10 PM, Alexander Baier wrote: > On 2014-05-16 22:12 Boyan Penkov wrote: >> (setq org-stuck-projects >> ‘(“+FILE="~/todos/myTodos.org"+LEVEL=1" ("NEXT" "TODO") nil "”)) > > I have never used this feature, but this first element look odd to > me. I would try this: “+FILE=\"~/todos/myTodos.org\"+LEVEL=1". > > HTH, > -- > Alexander Baier
[O] FILE special property?
Hello, I’m looking to set up a search string using the FILE special property, but cannot get the syntax right. This is as part of setting up org-stuck-projects. If the file is in ~/todos/myTodos.org, and I want all the entries with heading 1, will (setq org-stuck-projects ‘(“+FILE="~/todos/myTodos.org"+LEVEL=1" ("NEXT" "TODO") nil "”)) work, or am I missing quotes there? Thanks! -- Boyan Penkov www.boyanpenkov.com
Re: [O] Org-agenda: show subtree?
Hello Bastien, Thanks for your response! C-c / T TODO does not do what I’d like — it seems to open a view of the buffer that’s similar to the agenda, but unsorted and inferior to using the agenda view. (It’s clear, however, why C-c / T … exists — I’m about to make use of it for other arguments, and thank you for pointing me towards it). I’m thinking of writing a custom agenda view for this, that traverses subtrees and displays then, and will let you know if I do this. Thanks! -- Boyan Penkov www.boyanpenkov.com On Nov 5, 2013, at 11:59 AM, Bastien wrote: > Hi Boyan, > > Boyan Penkov writes: > >> I'd like to show the entire subtree -- expanded! -- in the agenda >> view, instead of just the line that contains the TODO. Is there a >> way to do this? > > No. Maybe C-c / T TODO in the relevant buffer will be more useful? > > HTH, > > -- > Bastien
[O] Org-agenda: show subtree?
Hello all, I'm writing to ask about showing a TODO item's entire subtree in the agenda view. I have a series of TODO items that have plain lists as subtrees; something like this: ** TODO Grocery run DEADLINE: <2013-08-31 Sat> SCHEDULED: <2013-08-25 Sun> *** Apples *** Milk *** Cottage cheese Here, I denote that I want to to do the grocery run, and then have short notes that apply to that TODO below. I'd like to show the entire subtree -- expanded! -- in the agenda view, instead of just the line that contains the TODO. Is there a way to do this? Cheers! -- Boyan Penkov www.boyanpenkov.com
[O] Bug: org-element-paragraph-separate void; yields odd behavior on org-todo
To: emacs-orgmode@gnu.org Subject: Bug: org-element-paragraph-separate void; yields odd behavior on org-todo [8.0.6 (8.0.6-5-gb4a8ec-elpaplus @ /Users/boyanpenkov/.emacs.d/elpa/org-plus-contrib-20130722/)] From: Boyan Penkov --text follows this line-- Remember to cover the basics, that is, what you expected to happen and what in fact did happen. You don't know how to make a good report? See http://orgmode.org/manual/Feedback.html#Feedback Your bug report will be posted to the Org-mode mailing list. When I load an org buffer (myTodos.org, say), I get the follwoing message: "Desktop: Can't load buffer myTodos.org: Symbol's value as variable is void: org-element-paragraph-separate" I have :LOGGING: lognoterepeat (under :PROPERTIES:) enabled on some trees in myTodos.org; when I mark tasks DONE in those trees, and write in the note, the note appears correctly placed in the buffer: like so TODO Meditate in morning. :deep: SCHEDULED: <2013-07-23 Tue ++1d/2d> - State "DONE" from "WAITING"[2013-07-22 Mon 12:11] \\ minutes: 25; went well. However, saving the file and reopening it (or looking at it with another program while the buffer is open, like using gitx) yields that the formatting is like so: TODO Meditate in morning. :deep: SCHEDULED: <2013-07-23 Tue ++1d/2d> - State "DONE" from "WAITING"[2013-07-22 Mon 12:11] \\minutes: 25; went well Above, all the string is on one line, with no appropriate linebreaks. I suspect this is due to the message I see when I load the file, but would be willing to test this. Also, I'd like to conclusivly test that I don't have a mixed org-mode install; M-x org-verion yields the string below, but if there's a deeper way to check this, I'm all ears. Thanks! Emacs : GNU Emacs 24.3.1 (x86_64-apple-darwin, NS apple-appkit-1038.36) of 2013-03-13 on bob.porkrind.org Package: Org-mode version 8.0.6 (8.0.6-5-gb4a8ec-elpaplus @ /Users/boyanpenkov/.emacs.d/elpa/org-plus-contrib-20130722/) current state: == (setq org-tab-first-hook '(org-hide-block-toggle-maybe org-src-native-tab-command-maybe org-babel-hide-result-toggle-maybe org-babel-header-arg-expand) org-habit-preceding-days 28 org-speed-command-hook '(org-speed-command-default-hook org-babel-speed-command-hook) org-occur-hook '(org-first-headline-recenter) org-metaup-hook '(org-babel-load-in-session-maybe) org-agenda-start-on-weekday nil org-confirm-shell-link-function 'yes-or-no-p org-agenda-prefix-format '((agenda . " %i %?-12t% s") (timeline . " % s") (todo . " %i ") (tags . " %i ") (search . " %i ")) org-agenda-skip-scheduled-if-done t org-default-notes-file "~/Vazhno/Logs/ToDo/myTodos.org" org-habit-following-days 3 org-after-todo-state-change-hook '(org-clock-out-if-current) org-src-mode-hook '(org-src-babel-configure-edit-buffer org-src-mode-configure-edit-buffer) org-tags-column 85 org-agenda-before-write-hook '(org-agenda-add-entry-text) org-babel-pre-tangle-hook '(save-buffer) org-mode-hook '(#[nil "\300\301\302\303\304$\207" [org-add-hook change-major-mode-hook org-show-block-all append local] 5] #[nil "\300\301\302\303\304$\207" [org-add-hook change-major-mode-hook org-babel-show-result-all append local] 5] org-babel-result-hide-spec org-babel-hide-all-hashes) org-refile-targets '((nil :maxlevel . 2) (org-agenda-files :maxlevel . 2)) org-agenda-sorting-strategy '(time-up deadline-down habit-up scheduled-up category-keep) org-ctrl-c-ctrl-c-hook '(org-babel-hash-at-point org-babel-execute-safely-maybe) org-refile-use-outline-path t org-cycle-hook '(org-cycle-hide-archived-subtrees org-cycle-hide-drawers org-cycle-hide-inline-tasks org-cycle-show-empty-lines org-optimize-window-after-visibility-change) org-agenda-tags-column 83 org-todo-keywords '((sequence "TODO" "WAITING" "|" "DONE" "ABORTED")) org-modules '(org-bbdb org-bibtex org-docview org-gnus org-info org-jsinfo org-habit org-irc org-mew org-mhe org-rmail org-vm org-wl org-w3m) org-agenda-ndays 5 org-deadline-warning-days 0 org-confirm-elisp-link-function 'yes-or-no-p org-metadown-hook '(org-babel-pop-to-session-maybe) org-habit-graph-column 82 org-agenda-files '("~/Vazhno/Logs/ToDo/myTodos.org") org-clock-out-hook '(org-clock-remove-empty-clock-drawer) org-agenda-skip-scheduled-if-deadline-is-shown 'not-today ) -- Boyan Penkov www.boyanpenkov.com
[O] End of file during parsing; org-element-paragraph-separate void
oyanpenkov/.emacs.d/elpa/org-plus-contrib-20130712/ox-freemind.el Extracting org-plus-contrib-20130712/ox-groff.el Wrote /Users/boyanpenkov/.emacs.d/elpa/org-plus-contrib-20130712/ox-groff.el Extracting org-plus-contrib-20130712/ox-html.el Wrote /Users/boyanpenkov/.emacs.d/elpa/org-plus-contrib-20130712/ox-html.el Extracting org-plus-contrib-20130712/ox-icalendar.el Wrote /Users/boyanpenkov/.emacs.d/elpa/org-plus-contrib-20130712/ox-icalendar.el Extracting org-plus-contrib-20130712/ox-koma-letter.el Wrote /Users/boyanpenkov/.emacs.d/elpa/org-plus-contrib-20130712/ox-koma-letter.el Extracting org-plus-contrib-20130712/ox-latex.el Wrote /Users/boyanpenkov/.emacs.d/elpa/org-plus-contrib-20130712/ox-latex.el Extracting org-plus-contrib-20130712/ox-man.el Wrote /Users/boyanpenkov/.emacs.d/elpa/org-plus-contrib-20130712/ox-man.el Extracting org-plus-contrib-20130712/ox-md.el Wrote /Users/boyanpenkov/.emacs.d/elpa/org-plus-contrib-20130712/ox-md.el Extracting org-plus-contrib-20130712/ox-odt.el Wrote /Users/boyanpenkov/.emacs.d/elpa/org-plus-contrib-20130712/ox-odt.el Extracting org-plus-contrib-20130712/ox-org.el Wrote /Users/boyanpenkov/.emacs.d/elpa/org-plus-contrib-20130712/ox-org.el Extracting org-plus-contrib-20130712/ox-publish.el Wrote /Users/boyanpenkov/.emacs.d/elpa/org-plus-contrib-20130712/ox-publish.el Extracting org-plus-contrib-20130712/ox-rss.el Wrote /Users/boyanpenkov/.emacs.d/elpa/org-plus-contrib-20130712/ox-rss.el Extracting org-plus-contrib-20130712/ox-s5.el Wrote /Users/boyanpenkov/.emacs.d/elpa/org-plus-contrib-20130712/ox-s5.el Extracting org-plus-contrib-20130712/ox-taskjuggler.el Wrote /Users/boyanpenkov/.emacs.d/elpa/org-plus-contrib-20130712/ox-taskjuggler.el Extracting org-plus-contrib-20130712/ox-texinfo.el Wrote /Users/boyanpenkov/.emacs.d/elpa/org-plus-contrib-20130712/ox-texinfo.el Extracting org-plus-contrib-20130712/ox.el Wrote /Users/boyanpenkov/.emacs.d/elpa/org-plus-contrib-20130712/ox.el Extracting org-plus-contrib-20130712/dir Wrote /Users/boyanpenkov/.emacs.d/elpa/org-plus-contrib-20130712/dir Extracting org-plus-contrib-20130712/org Wrote /Users/boyanpenkov/.emacs.d/elpa/org-plus-contrib-20130712/org Extracting org-plus-contrib-20130712/orgcard.pdf Wrote /Users/boyanpenkov/.emacs.d/elpa/org-plus-contrib-20130712/orgcard.pdf Extracting org-plus-contrib-20130712/etc/styles/OrgOdtContentTemplate.xml Wrote /Users/boyanpenkov/.emacs.d/elpa/org-plus-contrib-20130712/etc/styles/OrgOdtContentTemplate.xml Extracting org-plus-contrib-20130712/etc/styles/OrgOdtStyles.xml Wrote /Users/boyanpenkov/.emacs.d/elpa/org-plus-contrib-20130712/etc/styles/OrgOdtStyles.xml Extracting org-plus-contrib-20130712/etc/styles/README Wrote /Users/boyanpenkov/.emacs.d/elpa/org-plus-contrib-20130712/etc/styles/README Extracting org-plus-contrib-20130712/org-plus-contrib-pkg.el Wrote /Users/boyanpenkov/.emacs.d/elpa/org-plus-contrib-20130712/org-plus-contrib-pkg.el Wrote /Users/boyanpenkov/.emacs.d/elpa/org-plus-contrib-20130712/org-plus-contrib-autoloads.el Making version-control local to org-plus-contrib-autoloads.el while let-bound! Starting new Ispell process [/usr/local/bin/ispell::default] ... Generating autoloads for ob-C.el...done Generating autoloads for ob-R.el...done Generating autoloads for ob-asymptote.el...done Generating autoloads for ob-awk.el...done Generating autoloads for ob-calc.el...done Generating autoloads for ob-clojure.el...done Generating autoloads for ob-comint.el...done Making generated-autoload-file local to *autoload-file* while let-bound! Generating autoloads for ob-core.el... autoload-read-section-header: End of file during parsing -- There is also a systematic error along the lines of "Symbol's value as variable is void: org-element-paragraph-separate" Might I have a mixed org install, and how do I correct this? how do I purge all of emacs, and reinstall packages from scratch (I only really depend on auctex and org-mode for now)? If someone has any thoughts, please write! If you need supplementary files (like my .emacs or other configs) please let me know. Cheers! -- Boyan Penkov www.boyanpenkov.com
Re: [O] Remove filename from agenda view?
-- Boyan Penkov On Jan 4, 2013, at 2:02 AM, Carsten Dominik wrote: > > On 4.1.2013, at 06:28, Nick Dokos wrote: > >> Boyan Penkov wrote: >> >>> Hello, >>> >>> In the default agenda view (C-c a), the leftmost column is the org-mode >>> file name from which the given item stems. However, I use a single file >>> for all my actionables, and would like to eliminate this column, as it >>> wastes 12 or so characters worth of space on the left of the agenda. >>> >> >> Not quite: it is the "category" of the item which, if absent, is >> defaulted to the filename. Check section 10.4.1, "Categories", of >> the org manual for more information - evaluate the following: >> >> (info "(org) Categories") >> >>> Can anyone point me in the right direction with a .emacs file snippet? >>> >> >> AFAIK, you cannot eliminate it in any simple way. > > Well, you can customize org-agenda-prefix-format and remove the "%-12:c" from > each of the strings where you do not want the category to be shown. Note > that the two leading space characters in these formats are necessary IIRC, > for technical reasons. > > (setq org-agenda-prefix-format > '((agenda . " %i %?-12t% s") >(timeline . " % s") >(todo . " %i ") >(tags . " %i ") >(search . " %i ")) I can confirm that this works pretty brilliantly. Thanks, Carsten! > > > - Carsten >
[O] Remove filename from agenda view?
Hello, In the default agenda view (C-c a), the leftmost column is the org-mode file name from which the given item stems. However, I use a single file for all my actionables, and would like to eliminate this column, as it wastes 12 or so characters worth of space on the left of the agenda. Can anyone point me in the right direction with a .emacs file snippet? Thanks! -- Boyan Penkov
Re: [O] Bug: hl-line obscures org-habit tracking in agenda [7.8.11]
Hello Bastien, Thanks for the tip -- however, I can confirm that this did *not* fix the problem. The behavior remains the same. FWIW, it didn't seem to do damage either. Thanks for thinking about this! Cheers! -- Boyan Penkov On Dec 23, 2012, at 8:27 PM, Bastien wrote: > Howdy, > > Boyan Penkov writes: > >> I'm unsure how to use hooks; can you provide a specific line to put in >> my .emacs? > > (add-hook 'org-agenda-finalize-hook 'hl-mode-line) > > I didn't test this. HTH, > > -- > Bastien
Re: [O] Bug: hl-line obscures org-habit tracking in agenda [7.8.11]
Salut Bastien, I'm unsure how to use hooks; can you provide a specific line to put in my .emacs? Thanks! -- Boyan Penkov On Dec 23, 2012, at 1:06 PM, Bastien wrote: > Hi Boyan and Vincent, > > Vincent Beffara writes: > >> Same thing here except with TODO keywords, the font is configured to be >> black-on-red and hl-line lays on top of that, giving a >> black-on-darkgrey. Looking at docs about how emacs determines the face at a >> given location, they speak about a stack of specifications but nothing >> about the ordering of that stack - certainly org should be above hl-line ? >> Any way to change that ? (Maybe hl-line uses an "overlay", in which case it >> seems to be hopeless ...) > > Yes, I think this is pretty hopeless. > > Before switching to Vi, maybe you can try to activate `hl-line-mode' > within `org-agenda-finalize-hook', because fontification is done late in > the agenda creation and this hook is called just before it. Not tested, > though. > > 2 cts, > > -- > Bastien
[O] Bug: hl-line obscures org-habit tracking in agenda [7.8.11]
Hello, I'm using org-habit to track habits in the agenda view, displaying the consistency graph. I'm also using hl-line to highlight the line the cursor is on. When the habit line is highlighted, the line highlight obscures the consistency graph. It seems behavior should be opposite -- i.e: the consistency graph should lie atop the highlight bar, such that the graph is visible when the line is highlighted. Thanks! Emacs : GNU Emacs 24.2.1 (x86_64-apple-darwin, NS apple-appkit-1038.36) of 2012-08-27 on bob.porkrind.org Package: Org-mode version 7.8.11 current state: == (setq org-export-preprocess-before-selecting-backend-code-hook '(org-beamer-select-beamer-code) org-tab-first-hook '(org-hide-block-toggle-maybe org-src-native-tab-command-maybe org-babel-hide-result-toggle-maybe) org-speed-command-hook '(org-speed-command-default-hook org-babel-speed-command-hook) org-occur-hook '(org-first-headline-recenter) org-metaup-hook '(org-babel-load-in-session-maybe) org-agenda-start-on-weekday nil org-export-preprocess-before-normalizing-links-hook '(org-remove-file-link-modifiers) org-confirm-shell-link-function 'yes-or-no-p org-export-latex-final-hook '(org-beamer-amend-header org-beamer-fix-toc org-beamer-auto-fragile-frames org-beamer-place-default-actions-for-lists) org-export-latex-after-initial-vars-hook '(org-beamer-after-initial-vars) org-agenda-skip-scheduled-if-done t org-after-todo-state-change-hook '(org-clock-out-if-current) org-src-mode-hook '(org-src-babel-configure-edit-buffer org-src-mode-configure-edit-buffer) org-tags-column 80 org-agenda-before-write-hook '(org-agenda-add-entry-text) org-babel-pre-tangle-hook '(save-buffer) org-mode-hook '(#[nil "\300\301\302\303\304$\207" [org-add-hook change-major-mode-hook org-show-block-all append local] 5] #[nil "\300\301\302\303\304$\207" [org-add-hook change-major-mode-hook org-babel-show-result-all append local] 5] org-babel-result-hide-spec org-babel-hide-all-hashes) org-ctrl-c-ctrl-c-hook '(org-babel-hash-at-point org-babel-execute-safely-maybe) org-cycle-hook '(org-cycle-hide-archived-subtrees org-cycle-hide-drawers org-cycle-show-empty-lines org-optimize-window-after-visibility-change) org-export-latex-format-toc-function 'org-export-latex-format-toc-default org-export-blocks '((src org-babel-exp-src-block nil) (export-comment org-export-blocks-format-comment t) (ditaa org-export-blocks-format-ditaa nil) (dot org-export-blocks-format-dot nil)) org-agenda-tags-column 93 org-export-first-hook '(org-beamer-initialize-open-trackers) org-export-interblocks '((src org-babel-exp-non-block-elements)) org-modules '(org-bbdb org-bibtex org-docview org-gnus org-info org-jsinfo org-habit org-irc org-mew org-mhe org-rmail org-vm org-wl org-w3m) org-agenda-ndays 9 org-deadline-warning-days 0 org-confirm-elisp-link-function 'yes-or-no-p org-metadown-hook '(org-babel-pop-to-session-maybe) org-habit-graph-column 75 org-agenda-files '("~/Vazhno/Logs/ToDo/todo.org") org-clock-out-hook '(org-clock-remove-empty-clock-drawer) ) -- Boyan Penkov