Re: [O] Bug: org-agenda-filter-by-top-heading does not filter [9.1.14 (release_9.1.14-908-gf1269e)]
Hello, That is exactly what happened. I reread the helper and now it is obvious that "Root" is among the parents also. I didn't realized that at the time. Thanks Kyle and Adrian for the clarification. Lem On Sun, Sep 16, 2018 at 4:29 PM Kyle Meyer wrote: > Hello, > > Lem Ming writes: > > > In the agenda list `org-agenda-list` buffer, when I do > > `org-agenda-filter-by-top-headline` when the point is over a line with a > > headline, nothing is filtered. > > > > I've never used org-agenda-filter-by-top-headline, but taking a quick > look at it and its helper, org-find-top-headline, the intention seems to > be to find the level-one parent of the current heading. So, in your > example, > > > * Root > > ** TODO task 2 > > :tag_2: > >DEADLINE: <2018-09-14 Fri 12:00:00> > >:PROPERTIES: > >:ADD_TIME: <2018-09-07 Fri 23:47:00> > >:END: > > *** TODO task 2.1 > > DEADLINE: <2018-09-14 Fri 11:00:00> > > :PROPERTIES: > > :ADD_TIME: <2018-09-07 Fri 23:47:00> > > :END: > [...] > > ** TODO task 7 > >DEADLINE: <2018-09-14 Fri 12:00:00> SCHEDULED: <2018-09-12 Wed > 10:00:00> > > ... it'd find "Root" if point were on any of the tasks. If I'm reading > your report correctly, you're assuming that with point on the "task 2", > it'd take *that* as the top-level heading and filter to all the tasks > under it (task 2.1, etc). Instead, it finds "Root" and filters to > everything thing under that, which---in your example file---is the same > thing, so you don't see any change. > > -- > Kyle >
Re: [O] Bug: org-agenda-filter-by-top-heading does not filter [9.1.14 (release_9.1.14-908-gf1269e)]
I tried with org-mode version 9.0.10 and 9.0.1. There is still no filtering when I do ^ in org agenda mode when the point is anywhere on a line where there is a task. I observe that: - The version 9.0.1 dates to November 2016. - org-agenda-filter-by-top-headline is a very useful function. It probably means that if it was a bug it would probably have been fix by then. But it is not. Which makes me think it is probably not a bug and that I am probably not using this function the right way. How do I filter the tasks listed in the agenda list by top headline? Regards.
[O] Bug: org-agenda-filter-by-top-heading does not filter [9.1.14 (release_9.1.14-908-gf1269e)]
I am learning org-mode by trying the several features one by one. In the agenda list `org-agenda-list` buffer, when I do `org-agenda-filter-by-top-headline` when the point is over a line with a headline, nothing is filtered. I use the minimal setup as described with the most recent org version as specified here: https://orgmode.org/org.html#Feedback Here is the content of the files in org-agenda-files: f1.org ``` * Root ** TODO task 1 :tag_1: DEADLINE: <2018-09-14 Fri 12:00:00> :PROPERTIES: :ADD_TIME: <2018-09-07 Fri 23:47:00> :END: *** TODO task 1.1 DEADLINE: <2018-09-14 Fri 11:00:00> :PROPERTIES: :ADD_TIME: <2018-09-07 Fri 23:47:00> :END: *** DONE task 1.2 CLOSED: [2018-09-09 Sun 23:53:00] DEADLINE: <2018-09-14 Fri 11:00:00> :PROPERTIES: :ADD_TIME: <2018-09-07 Fri 23:47:00> :END: ``` f2.org ``` * Root ** TODO task 2 :tag_2: DEADLINE: <2018-09-14 Fri 12:00:00> :PROPERTIES: :ADD_TIME: <2018-09-07 Fri 23:47:00> :END: *** TODO task 2.1 DEADLINE: <2018-09-14 Fri 11:00:00> :PROPERTIES: :ADD_TIME: <2018-09-07 Fri 23:47:00> :END: *** DONE task 2.2 CLOSED: [2018-09-09 Sun 23:53:00] DEADLINE: <2018-09-14 Fri 11:00:00> :PROPERTIES: :ADD_TIME: <2018-09-07 Fri 23:47:00> :END: ** DONE task 3 [100%] :tag_3: CLOSED: [2018-09-10 Mon 23:57:22] DEADLINE: <2018-09-14 Fri 12:00:00> :PROPERTIES: :ADD_TIME: <2018-09-06 Thu 23:47:00> :END: *** DONE task 3.1 CLOSED: [2018-09-10 Mon 23:57:20] DEADLINE: <2018-09-14 Fri 11:00:00> :PROPERTIES: :ADD_TIME: <2018-09-06 Thu 23:47:00> :END: *** DONE task 3.2 CLOSED: [2018-09-09 Sun 23:53:00] DEADLINE: <2018-09-14 Fri 11:00:00> :PROPERTIES: :ADD_TIME: <2018-09-06 Thu 23:47:00> :END: ** TODO task 4 DEADLINE: <2018-09-13 Thu 12:00:00> SCHEDULED: <2018-09-14 Fri 23:55:00> ** TODO task 5 DEADLINE: <2018-09-11 Tue 12:00:00> SCHEDULED: <2018-09-06 Thu 10:00:00> ** TODO task 6 DEADLINE: <2018-09-13 Thu 12:00:00> SCHEDULED: <2018-09-09 Sun 10:00:00> ** TODO task 7 DEADLINE: <2018-09-14 Fri 12:00:00> SCHEDULED: <2018-09-12 Wed 10:00:00> ``` Am I not using `org-agenda-filter-by-top-headline` correctly? What should I do to filter the agenda list by top headline? Regards. === Emacs : GNU Emacs 26.1 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.22.30) of 2018-07-05 Package: Org mode version 9.1.14 (release_9.1.14-908-gf1269e) current state: == (setq org-src-mode-hook '(org-src-babel-configure-edit-buffer org-src-mode-configure-edit-buffer) org-after-todo-state-change-hook '(org-clock-out-if-current) org-metadown-hook '(org-babel-pop-to-session-maybe) org-clock-out-hook '(org-clock-remove-empty-clock-drawer) org-agenda-files '("~/tmp/orgmode/agenda/f2.org" "~/tmp/orgmode/agenda/ f1.org") org-mode-hook '((closure (org--rds reftex-docstruct-symbol orgtbl-line-start-regexp org-element-greater-elements org-table-coordinate-overlays org-table-auto-blank-field org-clock-history org-agenda-current-date org-with-time org-defdecode org-def org-read-date-inactive org-ans2 org-ans1 org-columns-current-fmt-compiled org-clock-current-task org-clock-effort org-agenda-skip-function org-agenda-skip-comment-trees org-agenda-archives-mode org-end-time-was-given org-time-was-given org-log-note-extra org-log-note-purpose org-log-post-message org-last-inserted-timestamp org-last-changed-timestamp org-entry-property-inherited-from org-blocked-by-checkboxes org-state org-agenda-headline-snapshot-before-repeat org-capture-last-stored-marker org-agenda-start-on-weekday org-agenda-buffer-tmp-name clean-buffer-list-kill-buffer-names org-id-link-to-org-use-id org-agenda-buffer-name org-priority-regexp org-mode-abbrev-table org-mode-syntax-table buffer-face-mode-face org-mode-map org-tbl-menu org-org-menu org-struct-menu org-entities org-last-state org-id-track-globally org-clock-start-time texmathp-why remember-data-file org-agenda-tags-todo-honor-ignore-options iswitchb-temp-buflist calc-embedded-open-mode calc-embedded-open-formula calc-embedded-close-formula align-mode-rules-list org-emphasis-alist org-emphasis-regexp-components org-export-registered-backends org-modules org-babel-load-languages org-indent-indentation-per-level org-element-paragraph-separate ffap-url-regexp org-inlinetask-min-level t) nil (add-hook (quote change-major-mode-hook) (quote org-show-all) (quote append) (quote local)) ) (closure (org-bracket-link-regexp org-src-window-setup *this* org-babel-confirm-evaluate-answer-no org-src-preserve-indentation org-src-lang-modes
[O] First row results are ignored when updating the results of a range formula in a spreadsheet
I am trying to update this: | 1 | 2 | | | | 3 | 4 | | | | 5 | 6 | | | #+TBLFM: @1$3..@3$4=$-2 to this: | 1 | 2 | 1 | 2 | | 3 | 4 | 3 | 4 | | 5 | 6 | 5 | 6 | #+TBLFM: @1$3..@3$4=$-2 doing C-c C-c on the TBLFM line. All I get is this: | 1 | 2 | | | | 3 | 4 | 3 | 4 | | 5 | 6 | 5 | 6 | #+TBLFM: @1$3..@3$4=$-2 The first row results are ignored. Here are the conditions in which I tried: - Emacs: 26.1 Config: Spacemacs Org mode: 9.1.13 - Emacs: 26.1 Config: No config Org mode: 9.1.9 In both case, it gives the same results. Is that a normal behavior? Regards.