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]
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]
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
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
Re: [O] Bug: hl-line obscures org-habit tracking in agenda [7.8.11]
Hi, 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 ...) /v -- Vincent Beffara On Thursday, November 29, 2012 at 14:38 , Boyan Penkov wrote: > 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 (http://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 (http://todo.org)") > org-clock-out-hook '(org-clock-remove-empty-clock-drawer) > ) > > -- > Boyan Penkov <>
[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