Read org-agenda-files !267

merged merged by cmc on 2026-10-11 10:53 UTC · krz/orgstar:issue-18 into main

12 files changed, +103 −5

Layout: unified · split

Sources/OrgApp/AgendaFiles.swift added +43
@@ -0,0 +1,43 @@
1import Foundation
2
3/// `org-agenda-files` as the `(org-agenda-files)` function reads it: each entry a folder (its
4/// `.org` files not starting with a dot, in name order, not below it), an `.org` file, or a
5/// file listing more entries one per line, as the variable's string form names one.
6/// Relative paths count from `base`, standing in for `org-directory`. Missing files are left out.
7public enum AgendaFiles {
8 public static func resolve(_ entries: [String], base: String?, fileManager: FileManager = .default) -> [String] {
9 var out: [String] = []
10 var seen: Set<String> = []
11 func expand(_ entry: String, from base: String?) -> String {
12 let path = (entry as NSString).expandingTildeInPath
13 if path.hasPrefix("/") || base == nil { return (path as NSString).standardizingPath }
14 return ((base! as NSString).appendingPathComponent(path) as NSString).standardizingPath
15 }
16 func add(_ path: String) {
17 if seen.insert(path).inserted { out.append(path) }
18 }
19 func visit(_ entry: String, listed: Bool) {
20 let path = expand(entry, from: base)
21 var isDirectory: ObjCBool = false
22 guard fileManager.fileExists(atPath: path, isDirectory: &isDirectory) else { return }
23 if isDirectory.boolValue {
24 let names = (try? fileManager.contentsOfDirectory(atPath: path)) ?? []
25 for name in names.sorted() where !name.hasPrefix(".") && name.hasSuffix(".org") {
26 let file = (path as NSString).appendingPathComponent(name)
27 var dir: ObjCBool = false
28 if fileManager.fileExists(atPath: file, isDirectory: &dir), !dir.boolValue { add(file) }
29 }
30 } else if path.hasSuffix(".org") || listed {
31 add(path)
32 } else if let text = try? String(contentsOfFile: path, encoding: .utf8) {
33 // `org-read-agenda-file-list`.
34 for line in text.components(separatedBy: .newlines) {
35 let trimmed = line.trimmingCharacters(in: .whitespaces)
36 if !trimmed.isEmpty { visit(trimmed, listed: true) }
37 }
38 }
39 }
40 for entry in entries { visit(entry, listed: false) }
41 return out
42 }
43}
Sources/OrgApp/AgendaModel.swift +4 −1
@@ -36,6 +36,8 @@ public final class AgendaModel {
36 public var startOnWeekday: Int? = 1 36 public var startOnWeekday: Int? = 1
37 /// Files below the top level of each folder are agenda files too. 37 /// Files below the top level of each folder are agenda files too.
38 public var includeSubfolders = false 38 public var includeSubfolders = false
39 /// `org-agenda-files`: when not empty, the agenda reads these instead of the folders' files.
40 public var agendaFiles = OrgPreferences.agendaFiles()
39 public var options = AgendaOptions() 41 public var options = AgendaOptions()
40 /// The settings of the views in `views.toml`, applied while `mode` is theirs. 42 /// The settings of the views in `views.toml`, applied while `mode` is theirs.
41 public var viewSettings: [AgendaMode: AgendaViewSettings] = [:] 43 public var viewSettings: [AgendaMode: AgendaViewSettings] = [:]
@@ -61,7 +63,8 @@ public final class AgendaModel {
61 /// Org files directly in each folder (or below it, with `includeSubfolders`), by path, as 63 /// Org files directly in each folder (or below it, with `includeSubfolders`), by path, as
62 /// Emacs lists a directory in `org-agenda-files`. 64 /// Emacs lists a directory in `org-agenda-files`.
63 public var files: [String] { 65 public var files: [String] {
64 workspace.files 66 if !agendaFiles.isEmpty { return AgendaFiles.resolve(agendaFiles, base: workspace.rootPaths.first) }
67 return workspace.files
65 // Dotfiles stay out, as `org-agenda-file-regexp` leaves them out. 68 // Dotfiles stay out, as `org-agenda-file-regexp` leaves them out.
66 .filter { $0.kind == .org && !$0.name.hasPrefix(".") && (includeSubfolders || !$0.relativePath.contains("/")) } 69 .filter { $0.kind == .org && !$0.name.hasPrefix(".") && (includeSubfolders || !$0.relativePath.contains("/")) }
67 .map(\.path) 70 .map(\.path)
Sources/OrgApp/EmacsImport.swift +3
@@ -628,6 +628,9 @@ public struct EmacsImport: Sendable {
628 case "org-agenda-files": 628 case "org-agenda-files":
629 let paths = (value.elements ?? [value]).compactMap(\.string) 629 let paths = (value.elements ?? [value]).compactMap(\.string)
630 guard !paths.isEmpty else { return note("not a list of files or folders") } 630 guard !paths.isEmpty else { return note("not a list of files or folders") }
631 add(name, .string(paths.joined(separator: "\n")))
632 // A file listing the files (the variable's string form) gives no folder.
633 if value.string != nil, !paths[0].hasSuffix(".org") { return }
631 for path in paths { 634 for path in paths {
632 let folder = path.hasSuffix(".org") ? (path as NSString).deletingLastPathComponent : path 635 let folder = path.hasSuffix(".org") ? (path as NSString).deletingLastPathComponent : path
633 items.append(Item(id: id(), name: name, summary: "add folder \(folder)", source: source, change: .folder(folder))) 636 items.append(Item(id: id(), name: name, summary: "add folder \(folder)", source: source, change: .folder(folder)))
Sources/OrgApp/OrgPreferences.swift +4
@@ -116,6 +116,10 @@ public enum OrgPreferences {
116 options.sortNoeffortIsHigh = bool("agendaSortNoeffortIsHigh", defaults) 116 options.sortNoeffortIsHigh = bool("agendaSortNoeffortIsHigh", defaults)
117 return options 117 return options
118 } 118 }
119 /// `org-agenda-files`, one entry per line.
120 public static func agendaFiles(_ defaults: UserDefaults = .standard) -> [String] {
121 string("agendaFiles", defaults).components(separatedBy: .newlines).map { $0.trimmingCharacters(in: .whitespaces) }.filter { !$0.isEmpty }
122 }
119 /// `org-stuck-projects`. 123 /// `org-stuck-projects`.
120 public static func stuckProjects(_ defaults: UserDefaults = .standard) -> StuckProjects { 124 public static func stuckProjects(_ defaults: UserDefaults = .standard) -> StuckProjects {
121 StuckProjects(match: string("stuckProjectsMatch", defaults), todo: words(string("stuckProjectsTodo", defaults)), 125 StuckProjects(match: string("stuckProjectsMatch", defaults), todo: words(string("stuckProjectsTodo", defaults)),
Sources/OrgApp/UserConfig.swift +2
@@ -203,6 +203,8 @@ public enum UserConfig {
203 comment: "t: marking the clocked entry done clocks out; nil: it doesn't; or keywords that clock out, separated by spaces", legacy: ""), 203 comment: "t: marking the clocked entry done clocks out; nil: it doesn't; or keywords that clock out, separated by spaces", legacy: ""),
204 Setting(section: "", key: "org-clock-history-length", defaultsKey: "clockHistoryLength", kind: .integer, fallback: .integer(5), 204 Setting(section: "", key: "org-clock-history-length", defaultsKey: "clockHistoryLength", kind: .integer, fallback: .integer(5),
205 comment: "recently clocked entries to remember", legacy: ""), 205 comment: "recently clocked entries to remember", legacy: ""),
206 Setting(section: "", key: "org-agenda-files", defaultsKey: "agendaFiles", kind: .string, fallback: .string(""),
207 comment: "files and folders the agenda reads, separated by \\n; a file that isn't .org lists more, one per line; \"\" reads the folders' files", legacy: ""),
206 Setting(section: "", key: "org-agenda-use-time-grid", defaultsKey: "agendaUseTimeGrid", kind: .bool, fallback: .bool(true), 208 Setting(section: "", key: "org-agenda-use-time-grid", defaultsKey: "agendaUseTimeGrid", kind: .bool, fallback: .bool(true),
207 comment: "time grid lines among timed entries, as [org-agenda-time-grid] says", legacy: ""), 209 comment: "time grid lines among timed entries, as [org-agenda-time-grid] says", legacy: ""),
208 Setting(section: "", key: "org-agenda-show-current-time-in-grid", defaultsKey: "agendaShowCurrentTime", kind: .bool, fallback: .bool(true), 210 Setting(section: "", key: "org-agenda-show-current-time-in-grid", defaultsKey: "agendaShowCurrentTime", kind: .bool, fallback: .bool(true),
Sources/Orgstar/AgendaView.swift +3 −1
@@ -71,6 +71,7 @@ struct AgendaView: View {
71 @AppStorage("agendaStartOffset") var startOffset = 0 71 @AppStorage("agendaStartOffset") var startOffset = 0
72 @AppStorage("agendaStartOnWeekday") private var startOnWeekday = "1" 72 @AppStorage("agendaStartOnWeekday") private var startOnWeekday = "1"
73 @AppStorage("agendaSubfolders") private var includeSubfolders = false 73 @AppStorage("agendaSubfolders") private var includeSubfolders = false
74 @AppStorage("agendaFiles") private var agendaFileList = ""
74 @AppStorage("agendaShowAllDates") private var showAllDates = false 75 @AppStorage("agendaShowAllDates") private var showAllDates = false
75 @AppStorage("calendarEvents") private var calendarEventsOn = false 76 @AppStorage("calendarEvents") private var calendarEventsOn = false
76 @AppStorage("calendarEventCalendars") private var calendarNames = "" 77 @AppStorage("calendarEventCalendars") private var calendarNames = ""
@@ -151,7 +152,7 @@ struct AgendaView: View {
151 private var refreshKey: RefreshKey { 152 private var refreshKey: RefreshKey {
152 RefreshKey( 153 RefreshKey(
153 mode: agenda.mode, start: agenda.start, span: span, startOffset: startOffset, startOnWeekday: startOnWeekday, includeSubfolders: includeSubfolders, prefix: [prefixAgenda, prefixTodo, prefixTags], 154 mode: agenda.mode, start: agenda.start, span: span, startOffset: startOffset, startOnWeekday: startOnWeekday, includeSubfolders: includeSubfolders, prefix: [prefixAgenda, prefixTodo, prefixTags],
154 settings: [sortAgenda, sortTodo, sortTags, sortSearch, gridWhen, gridTimes, "\(useTimeGrid) \(showCurrentTime)", stuckMatch, stuckTodo, stuckTags, stuckRegexp], 155 settings: [sortAgenda, sortTodo, sortTags, sortSearch, gridWhen, gridTimes, "\(useTimeGrid) \(showCurrentTime)", stuckMatch, stuckTodo, stuckTags, stuckRegexp, agendaFileList],
155 logMode: logMode, 156 logMode: logMode,
156 calendars: calendarEventsOn ? [calendarNames] : [], files: 0, changed: nil, edits: 0, path: nil, tick: tick 157 calendars: calendarEventsOn ? [calendarNames] : [], files: 0, changed: nil, edits: 0, path: nil, tick: tick
157 ) 158 )
@@ -162,6 +163,7 @@ struct AgendaView: View {
162 agenda.startOffset = startOffset 163 agenda.startOffset = startOffset
163 agenda.startOnWeekday = Int(startOnWeekday) 164 agenda.startOnWeekday = Int(startOnWeekday)
164 agenda.includeSubfolders = includeSubfolders 165 agenda.includeSubfolders = includeSubfolders
166 agenda.agendaFiles = OrgPreferences.agendaFiles()
165 agenda.options.prefixFormat = ["agenda": prefixAgenda, "todo": prefixTodo, "tags": prefixTags] 167 agenda.options.prefixFormat = ["agenda": prefixAgenda, "todo": prefixTodo, "tags": prefixTags]
166 agenda.options.logMode = logMode 168 agenda.options.logMode = logMode
167 agenda.options = OrgPreferences.agendaOptions(agenda.options) 169 agenda.options = OrgPreferences.agendaOptions(agenda.options)
Sources/Orgstar/BoardView.swift +1
@@ -78,6 +78,7 @@ struct BoardView: View {
78 .navigationTitle(kanban ? "Kanban" : "Entries") 78 .navigationTitle(kanban ? "Kanban" : "Entries")
79 .task(id: RefreshKey(match: match, subfolders: includeSubfolders, files: workspace.files.count, changed: workspace.changedFile?.version, edits: session.editVersion, path: session.path, tick: tick)) { 79 .task(id: RefreshKey(match: match, subfolders: includeSubfolders, files: workspace.files.count, changed: workspace.changedFile?.version, edits: session.editVersion, path: session.path, tick: tick)) {
80 agenda.includeSubfolders = includeSubfolders 80 agenda.includeSubfolders = includeSubfolders
81 agenda.agendaFiles = OrgPreferences.agendaFiles()
81 let open = session.openTexts 82 let open = session.openTexts
82 let result = await agenda.board(open: open, match: match) 83 let result = await agenda.board(open: open, match: match)
83 entries = result.entries 84 entries = result.entries
Sources/OrgstarMobile/MobileModel.swift +1
@@ -146,6 +146,7 @@ final class MobileModel {
146 agenda.startOffset = OrgPreferences.agendaStartOffset() 146 agenda.startOffset = OrgPreferences.agendaStartOffset()
147 agenda.startOnWeekday = OrgPreferences.agendaStartOnWeekday() 147 agenda.startOnWeekday = OrgPreferences.agendaStartOnWeekday()
148 agenda.includeSubfolders = OrgPreferences.agendaSubfolders() 148 agenda.includeSubfolders = OrgPreferences.agendaSubfolders()
149 agenda.agendaFiles = OrgPreferences.agendaFiles()
149 agenda.options = OrgPreferences.agendaOptions(agenda.options) 150 agenda.options = OrgPreferences.agendaOptions(agenda.options)
150 agenda.calendarEvents = OrgPreferences.calendarEvents() ? calendarEvents : nil 151 agenda.calendarEvents = OrgPreferences.calendarEvents() ? calendarEvents : nil
151 agenda.calendarNames = OrgPreferences.calendarEventCalendars() 152 agenda.calendarNames = OrgPreferences.calendarEventCalendars()
Tests/OrgAppTests/AppTests.swift +22
@@ -756,6 +756,28 @@ struct AgendaCommandTests {
756 #expect(agenda.list.isEmpty && agenda.days.isEmpty) 756 #expect(agenda.list.isEmpty && agenda.days.isEmpty)
757 } 757 }
758 758
759 @Test func agendaFilesList() async throws {
760 let notes = try Folder()
761 try notes.write("a.org", "* TODO A\n")
762 try notes.write("b.org", "* TODO B\n")
763 try notes.write(".hidden.org", "* TODO Hidden\n")
764 try notes.write("sub/c.org", "* TODO C\n")
765 try notes.write("sub/d.org", "* TODO D\n")
766 try notes.write("sub/notes.txt", "x\n")
767 try notes.write("list", "sub/d.org\n\n b.org\nmissing.org\nsub/notes.txt\n")
768 let root = notes.url.path
769 #expect(AgendaFiles.resolve(["sub"], base: root) == ["\(root)/sub/c.org", "\(root)/sub/d.org"])
770 #expect(AgendaFiles.resolve([root, "sub/c.org"], base: nil) == ["\(root)/a.org", "\(root)/b.org"])
771 #expect(AgendaFiles.resolve(["list", "a.org"], base: root) == ["\(root)/sub/d.org", "\(root)/b.org", "\(root)/sub/notes.txt", "\(root)/a.org"])
772 let model = try WorkspaceModel(directory: nil)
773 try await model.addRoot(notes.url)
774 let agenda = AgendaModel(workspace: model)
775 agenda.agendaFiles = ["sub/c.org", "b.org"]
776 agenda.mode = .todo(keywords: nil)
777 await agenda.refresh(open: [:])
778 #expect(agenda.list.map(\.text) == ["TODO C", "TODO B"])
779 }
780
759 @Test func todoListMode() async throws { 781 @Test func todoListMode() async throws {
760 let notes = try Folder() 782 let notes = try Folder()
761 try notes.write("a.org", "* TODO One :work:\n* DONE Two\n* TODO Three\n") 783 try notes.write("a.org", "* TODO One :work:\n* DONE Two\n* TODO Three\n")
Tests/OrgAppTests/EmacsImportTests.swift +2 −1
@@ -110,6 +110,7 @@ struct EmacsImportTests {
110 #expect(s["org-agenda-time-grid.when"] == .string("daily today")) 110 #expect(s["org-agenda-time-grid.when"] == .string("daily today"))
111 #expect(s["org-agenda-time-grid.times"] == .string("800 1300")) 111 #expect(s["org-agenda-time-grid.times"] == .string("800 1300"))
112 #expect(s["org-agenda-use-time-grid"] == .bool(false)) 112 #expect(s["org-agenda-use-time-grid"] == .bool(false))
113 #expect(s["org-agenda-files"] == .string("~/notes/\n~/work/plan.org"))
113 #expect(s["org-stuck-projects.match"] == .string("+project/-DONE")) 114 #expect(s["org-stuck-projects.match"] == .string("+project/-DONE"))
114 #expect(s["org-stuck-projects.todo"] == .string("NEXT TODO")) 115 #expect(s["org-stuck-projects.todo"] == .string("NEXT TODO"))
115 #expect(s["org-stuck-projects.tags"] == .string("errand")) 116 #expect(s["org-stuck-projects.tags"] == .string("errand"))
@@ -217,7 +218,7 @@ struct EmacsImportTests {
217 let keymap = folder.appendingPathComponent("keymap.toml") 218 let keymap = folder.appendingPathComponent("keymap.toml")
218 #expect(KeymapLoader.load(.doom, userFile: keymap).problems.isEmpty) 219 #expect(KeymapLoader.load(.doom, userFile: keymap).problems.isEmpty)
219 #expect(KeymapLoader.load(.doom, userFile: keymap).keymap.keyLabels(for: "app.agenda", modes: ["normal"]).contains("C-c a")) 220 #expect(KeymapLoader.load(.doom, userFile: keymap).keymap.keyLabels(for: "app.agenda", modes: ["normal"]).contains("C-c a"))
220 #expect(summary.hasPrefix("Imported 42 settings, 3 capture templates, 3 key bindings, 2 structure templates, 3 agenda views."), "\(summary)") 221 #expect(summary.hasPrefix("Imported 43 settings, 3 capture templates, 3 key bindings, 2 structure templates, 3 agenda views."), "\(summary)")
221 let views = AgendaViewLoader.load(userFile: folder.appendingPathComponent("views.toml")) 222 let views = AgendaViewLoader.load(userFile: folder.appendingPathComponent("views.toml"))
222 #expect(views.problems.isEmpty, "\(views.problems)") 223 #expect(views.problems.isEmpty, "\(views.problems)")
223 #expect(views.views.dropFirst(3).map(\.name) == ["Daily", "Work", "Stuck"]) 224 #expect(views.views.dropFirst(3).map(\.name) == ["Daily", "Work", "Stuck"])
docs/manual/guide/07-agenda.org +15 −1
@@ -22,7 +22,7 @@ On iOS the agenda is the first tab. See [[*The agenda on iOS][The agenda on iOS]
22 22
23* Agenda files 23* Agenda files
24 24
25orgstar has no =org-agenda-files= list. The agenda reads every =.org= file at the top level of each folder you have added (see [[file:01-files-and-folders.org][Files and folders]]). Files whose names start with a dot are left out, as =org-agenda-file-regexp= leaves them out. 25By default the agenda reads every =.org= file at the top level of each folder you have added (see [[file:01-files-and-folders.org][Files and folders]]). Files whose names start with a dot are left out, as =org-agenda-file-regexp= leaves them out.
26 26
27To include files in subfolders as well, turn on Settings ▸ Agenda ▸ Include files in subfolders, or set this in =config.toml=: 27To include files in subfolders as well, turn on Settings ▸ Agenda ▸ Include files in subfolders, or set this in =config.toml=:
28 28
@@ -31,6 +31,20 @@ To include files in subfolders as well, turn on Settings ▸ Agenda ▸ Include
31agenda-include-subfolders = true 31agenda-include-subfolders = true
32#+END_SRC 32#+END_SRC
33 33
34To read a list of files instead, as =org-agenda-files= does, set =org-agenda-files= in =config.toml=, entries separated by =\n=:
35
36#+BEGIN_SRC toml
37org-agenda-files = "~/notes/\n~/work/plan.org\n~/.agenda_files"
38#+END_SRC
39
40Each entry is one of:
41
42- a folder: its =.org= files whose names don't start with a dot, in name order, without subfolders;
43- an =.org= file;
44- another file: a list of entries, one per line, as Emacs reads the file named when =org-agenda-files= is a string. Files named in it are agenda files whatever their extension.
45
46Relative paths count from the first folder in the sidebar, standing in for =org-directory=. Entries that don't exist are left out. The agenda follows the order of the list. With a list, Include files in subfolders has no effect. The agenda refreshes on its own only for changes inside your folders; on iOS, files outside them can't be read.
47
34When a file is open in the editor, the agenda reads the buffer, so unsaved edits show. Other files are read from disk and cached until their modification date or size changes. A file that uses =#+SETUPFILE= is read again on every refresh, because its setup file may have changed. 48When a file is open in the editor, the agenda reads the buffer, so unsaved edits show. Other files are read from disk and cached until their modification date or size changes. A file that uses =#+SETUPFILE= is read again on every refresh, because its setup file may have changed.
35 49
36Within a file, the agenda skips: 50Within a file, the agenda skips:
docs/manual/guide/13-configuration.org +3 −1
@@ -172,6 +172,7 @@ These settings have no control in the Settings window. Some are in the View menu
172| =[org-agenda-sorting-strategy]=, =org-agenda-sort-notime-is-late=, =org-agenda-sort-noeffort-is-high= | | 172| =[org-agenda-sorting-strategy]=, =org-agenda-sort-notime-is-late=, =org-agenda-sort-noeffort-is-high= | |
173| =[org-agenda-time-grid]=, =org-agenda-use-time-grid=, =org-agenda-show-current-time-in-grid= | | 173| =[org-agenda-time-grid]=, =org-agenda-use-time-grid=, =org-agenda-show-current-time-in-grid= | |
174| =[org-stuck-projects]= | | 174| =[org-stuck-projects]= | |
175| =org-agenda-files= | |
175| =theme-file= | | 176| =theme-file= | |
176 177
177* config.toml reference 178* config.toml reference
@@ -229,6 +230,7 @@ A key you remove from the file goes back to its default. A key that isn't in the
229| =org-agenda-tags-todo-honor-ignore-options= | boolean | =false= | The four settings above apply to TODO-only matches (=M=) too. Mirrors =org-agenda-tags-todo-honor-ignore-options=. | 230| =org-agenda-tags-todo-honor-ignore-options= | boolean | =false= | The four settings above apply to TODO-only matches (=M=) too. Mirrors =org-agenda-tags-todo-honor-ignore-options=. |
230| =org-agenda-search-view-always-boolean= | boolean | =false= | The agenda's text search reads every string as =+word -word {regexp}= snippets, never as a phrase. Mirrors =org-agenda-search-view-always-boolean=. | 231| =org-agenda-search-view-always-boolean= | boolean | =false= | The agenda's text search reads every string as =+word -word {regexp}= snippets, never as a phrase. Mirrors =org-agenda-search-view-always-boolean=. |
231| =org-agenda-search-view-force-full-words= | boolean | =false= | Text search snippets match whole words only, as a leading =:= does. Mirrors =org-agenda-search-view-force-full-words=. | 232| =org-agenda-search-view-force-full-words= | boolean | =false= | Text search snippets match whole words only, as a leading =:= does. Mirrors =org-agenda-search-view-force-full-words=. |
233| =org-agenda-files= | string | =""= | Files and folders the agenda reads, separated by =\n=; a file that isn't =.org= lists more, one per line. =""= reads the folders' files. See [[file:07-agenda.org][The agenda]]. Mirrors =org-agenda-files=. |
232| =org-agenda-use-time-grid= | boolean | =true= | Grid lines at the times in =[org-agenda-time-grid]=, on the days it names. Mirrors =org-agenda-use-time-grid=. | 234| =org-agenda-use-time-grid= | boolean | =true= | Grid lines at the times in =[org-agenda-time-grid]=, on the days it names. Mirrors =org-agenda-use-time-grid=. |
233| =org-agenda-show-current-time-in-grid= | boolean | =true= | The now line on today's grid. Mirrors =org-agenda-show-current-time-in-grid=. | 235| =org-agenda-show-current-time-in-grid= | boolean | =true= | The now line on today's grid. Mirrors =org-agenda-show-current-time-in-grid=. |
234| =org-agenda-sort-notime-is-late= | boolean | =true= | Lines without a time sort after timed ones for =time-up=, and lines without a date after dated ones for the date keys. Mirrors =org-agenda-sort-notime-is-late=. | 236| =org-agenda-sort-notime-is-late= | boolean | =true= | Lines without a time sort after timed ones for =time-up=, and lines without a date after dated ones for the date keys. Mirrors =org-agenda-sort-notime-is-late=. |
@@ -542,7 +544,7 @@ Only variables whose names start with =org-=, =appt-=, =display-line-numbers=, =
542| =org-structure-template-alist= | =[org-structure-template-alist]=: each =("key" . "type")= entry that isn't one of Org's, from =setq= or =(add-to-list 'org-structure-template-alist …)= | 544| =org-structure-template-alist= | =[org-structure-template-alist]=: each =("key" . "type")= entry that isn't one of Org's, from =setq= or =(add-to-list 'org-structure-template-alist …)= |
543| =org-todo-keywords= | =org-todo-keywords=, one line per sequence. Keywords with spaces are left out; =type= sequences are read as sequences. | 545| =org-todo-keywords= | =org-todo-keywords=, one line per sequence. Keywords with spaces are left out; =type= sequences are read as sequences. |
544| =org-directory= | A folder to add | 546| =org-directory= | A folder to add |
545| =org-agenda-files= | A folder for each entry; for a =.org= file, its folder | 547| =org-agenda-files= | =org-agenda-files=, the entries separated by =\n=; the string form becomes one entry naming the list file. Also a folder to add for each entry; for a =.org= file, its folder; none for a list file |
546| =org-capture-templates= | Templates for =capture.toml=; see below | 548| =org-capture-templates= | Templates for =capture.toml=; see below |
547| =doom-font= | =font= and =font-size=, from =(font-spec :family … :size …)= or ="Family-14"= | 549| =doom-font= | =font= and =font-size=, from =(font-spec :family … :size …)= or ="Family-14"= |
548| =doom-variable-pitch-font= | Not imported: orgstar uses one font | 550| =doom-variable-pitch-font= | Not imported: orgstar uses one font |