Skip to content

打开包含已有库的本地文件夹,不读取已经存在的设置文件“config.edn" = Open the local folder containing the existing library, do not read the existing configuration file "config.edn" #1299

Closed

Description

@li360

Describe the bug
打开包含已有库的本地文件夹,不读取已经存在的设置文件“config.edn",

To Reproduce
例如我的config.edn已经添加了配置 date-formatter "yyyy-MM-dd e,默认为”org“的配置;
然后把这个库的文件夹复制一份;
通过logseq打开复制的文件夹,logseq并没有读取config.edu,而是按默认配置创建了2012-02-09.md这个新文件,而不理会已经存在了2021-02-09.org文件。

Expected behavior
logseq应该首先读取已经存在的配置,使用已存在的2012-02-09.org文件,不应该再创建2012-02-09.md文件
日期格式按照config.edu中添加的配置变更,而不是又变成了默认格式。

Screenshots
image

Desktop:

  • OS: windows10
  • logseq 桌面版
  • Version 0.0.7

Additional context
我经常使用坚果云同步库文件夹,这样我可以在两台电脑中编辑笔记,但是总是遇到错误:比如更换电脑后发现多了md文件,而我默认配置是org,还有日期格式不对了。我自己测试后,发现如果logseq新打开文件夹,不会读取已经存在的配置。

Activity

  1. li360 commented on Feb 9, 2021

    @li360
    Author

    如果你也遇到了这种情况,我使用临时的解决方法是:
    首先重新在logseq中编辑config.edu文件,然后Re-index库
    希望对也遇到这个问题有所帮助。

  2. dale502 commented on Feb 24, 2021

    @dale502

    0.0.9 打开我之前的库文件夹,还把config给重置了

  3. tiensonqin commented on Feb 24, 2021

    @tiensonqin
    Contributor

    @dale502 这个正在修 😅

  4. llcc commented on Oct 28, 2021

    @llcc
    Contributor

    在最新版本中已经被修复,如果有任何问题,麻烦重新打开这个issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions