Dedline warnings appear in agenda only after opening file
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 42/100
Direzione di ricerca
Inizia tracciando il caricamento dell’agenda dai org_agenda_files configurati e il percorso di gestione degli avvisi DEADLINE, riproducendo il problema senza aprire il file sorgente. Il lavoro è completato quando l’agenda include gli avvisi sui modificatori di timestamp immediatamente dopo l’avvio, senza aprire il file né aggiornarlo manualmente.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Describe the bug
When using timestamp modifiers like -1d or -2d in DEADLINE entries, the warning information does not appear in the agenda unless the corresponding file is opened at least once and the agenda is manually refreshed.
checkhealth
orgmode: ✅
Orgmode ~
- ✅ OK Treesitter grammar installed (version 2.0.0)
- ✅ OK Setup called
- ✅ OK
org_agenda_filesconfigured - ✅ OK
org_default_notes_fileconfigured - ✅ OK
shellslashis set
Steps to reproduce
- Create a task with a deadline warning:
* TODO test
DEADLINE: <2030-01-01 Tue -20y>
- Restart Neovim and open the agenda without opening the file -> warning information does not appear
- Open the file, then refresh the agenda (
r). -> warning now appears
Expected behavior
Agenda should automatically include deadline entires with their warnings
Emacs functionality
No response
Minimal init.lua
vim.opt.shellslash = true
vim.cmd("language en_US.utf8")
local tmp_dir = vim.env.TMPDIR or vim.env.TMP or vim.env.TEMP or '/tmp'
local nvim_root = tmp_dir .. '/nvim_orgmode'
local lazy_root = nvim_root .. '/lazy'
local lazypath = lazy_root .. '/lazy.nvim'
for _, name in ipairs({ 'config', 'data', 'state', 'cache' }) do
vim.env[('XDG_%s_HOME'):format(name:upper())] = nvim_root .. '/' .. name
end
-- Install lazy.nvim if not already installed
if not vim.uv.fs_stat(lazypath) then
vim.fn.system({
'git',
'clone',
'--filter=blob:none',
'https://github.com/folke/lazy.nvim.git',
'--branch=stable', -- latest stable release
lazypath,
})
end
vim.opt.rtp:prepend(lazypath)
require('lazy').setup({
{
'nvim-orgmode/orgmode',
event = 'VeryLazy',
ft = { 'org' },
config = function()
require('orgmode').setup({
org_agenda_files = '~/orgfiles/**/*',
org_default_notes_file = '~/orgfiles/refile.org',
})
end,
},
}, {
root = lazy_root,
lockfile = nvim_root .. '/lazy.json',
install = {
missing = false,
},
})
require('lazy').sync({
wait = true,
show = false,
})
Screenshots and recordings
No response
nvim-orgmode version
03777ca
OS / Distro
Windows 10
Neovim version/commit
0.11.4
Additional context
No response
- Lingua principale
- Lua
- Stelle
- 3.9k
- Fork
- 193
- Merge medio
- 5g 7h
- PR unite (30g)
- 6
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di nvim-orgmode/orgmode
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
nvim-orgmode/orgmode#1213 ·
-
Surface "add_to_drawer" in public headline APIForse già presa @barthollomew l’ha presa 8 giorni fa. Apertaenhancement
Difficoltà 2/5 1-3 ore Idoneità per principianti 64/100
nvim-orgmode/orgmode#1175 ·
-
bug
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 92/100
nvim-orgmode/orgmode#1173 ·
-
enhancement
Difficoltà 4/5 3-5 giorni Idoneità per principianti 50/100
nvim-orgmode/orgmode#1172 · 1 commento · 1 reazione ·
-
Updating tree-sitter grammar ... aborting startup on WindowsForse già presa @lyn1dev l’ha presa 6 giorni fa. Apertabug
Difficoltà 3/5 1-2 giorni Idoneità per principianti 52/100
nvim-orgmode/orgmode#1170 ·
Tutte le issue di nvim-orgmode/orgmode
Issue simili
-
follow-up
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
ksysoev/duet.nvim#265 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
bug: accuracy
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
PathOfBuildingCommunity/PathOfBuilding#10649 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 92/100
version-fox/vfox-php#41 ·
I maintainer di solito rispondono entro 1 giorno
-
bug(image): image disappears when returning to an existing image buffer (hidden never reset)Forse già presa @ApexGP l’ha presa oggi. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 79/100
folke/snacks.nvim#3011 ·
-
easy first-contributor first-contributors good first issue help wanted lua up-for-grabs
Difficoltà 1/5 1-3 ore Idoneità per principianti 94/100
fork-commit-merge/fork-commit-merge#8750 ·
I maintainer di solito rispondono entro 1 giorno