(db): fix db sync for narrowed buffers#2159
Merged
jethrokuan merged 2 commits intomasterfrom Apr 16, 2022
Merged
Conversation
hlissner
added a commit
to doomemacs/doomemacs
that referenced
this pull request
Jun 17, 2022
awth13/org-appear@ffbd742267ff -> awth13/org-appear@8dd1e564153d bastibe/org-journal@f12145061065 -> bastibe/org-journal@839a2e19865a emacs-straight/org-mode@971eb6885ec9 -> emacs-straight/org-mode@e9da29b6fafe emacsmirror/org-contrib@17f3c5143564 -> emacsmirror/org-contrib@c1e0980fd7a5 emacsorphanage/ox-pandoc@b2e43b936249 -> emacsorphanage/ox-pandoc@0a35d0fbfa56 hakimel/reveal.js@e281b3234e79 -> hakimel/reveal.js@039972c73069 kaushalmodi/ox-hugo@65e349b306b7 -> kaushalmodi/ox-hugo@85d11219a58d magit/orgit-forge@36e57a035999 -> magit/orgit-forge@8baf1dee795f magit/orgit@42b7f682b3e4 -> magit/orgit@b33b916915db emacs-jupyter/jupyter@0a7055d7b12c -> emacs-jupyter/jupyter@7d20c0aee2f9 oer/org-re-reveal@e5bae22b9ef6 -> oer/org-re-reveal@93ba4e91f1d0 org-roam/org-roam@36152590ad1e -> org-roam/org-roam@171a8db32f5b - Fixes Roam's on-save errors when narrowed (#6315). Close: #6315 Ref: org-roam/org-roam#2159 Co-authored-by: Colin Woodbury <fosskers@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Motivation for this change
Fixed cases where buffer is narrowed and
org-roam-db-update-fileis called. We need to widen and process everything before renarrowing.Closes #2139.