seongjaelee / nvatom Goto Github PK
View Code? Open in Web Editor NEWnvatom (unpublished from atom.io)
License: MIT License
nvatom (unpublished from atom.io)
License: MIT License
Seems like this should reproduce this bug:
Atom Version: 1.8.0
System: Ubuntu 14.04.4
Thrown From: nvatom package, v0.11.0
Uncaught Error: ENOENT: no such file or directory, unlink '/home/akolomycev/Dropbox/Configs/atom/__DOT__atom/nvatom-notes/THE_TASK_FILE_NAME.md'
At fs.js:990
Error: ENOENT: no such file or directory, unlink '/home/akolomycev/Dropbox/Configs/atom/__DOT__atom/nvatom-notes/THE_TASK_FILE_NAME.md'
at Error (native)
at Object.fs.unlinkSync (fs.js:990:18)
at Object.module.exports.autodelete (/home/akolomycev/Dropbox/Configs/atom/__DOT__atom/packages/nvatom/lib/notational-velocity.coffee:83:8)
at /home/akolomycev/Dropbox/Configs/atom/__DOT__atom/packages/nvatom/lib/notational-velocity.coffee:52:97
at Function.module.exports.Emitter.simpleDispatch (/usr/share/atom/resources/app.asar/node_modules/event-kit/lib/emitter.js:25:14)
at Emitter.module.exports.Emitter.emit (/usr/share/atom/resources/app.asar/node_modules/event-kit/lib/emitter.js:125:28)
at PaneContainer.module.exports.PaneContainer.willDestroyPaneItem (/usr/share/atom/resources/app.asar/src/pane-container.js:298:27)
at Pane.module.exports.Pane.destroyItem (/usr/share/atom/resources/app.asar/src/pane.js:630:17)
at HTMLButtonElement.<anonymous> (/home/akolomycev/Dropbox/Configs/atom/__DOT__atom/packages/tree-view-open-files/lib/tree-view-open-files-pane-view.coffee:49:10)
at HTMLButtonElement.jQuery.event.dispatch (/home/akolomycev/Dropbox/Configs/atom/__DOT__atom/packages/tree-view-open-files/node_modules/space-pen/vendor/jquery.js:4681:9)
at HTMLButtonElement.elemData.handle (/home/akolomycev/Dropbox/Configs/atom/__DOT__atom/packages/tree-view-open-files/node_modules/space-pen/vendor/jquery.js:4359:28)
-2:55.1.0 expand-region:select-around-double-quotes (atom-text-editor.editor.emacs-plus.is-focused.mark-mode)
2x -2:55 expand-region:select-inside-parentheses (atom-text-editor.editor.emacs-plus.is-focused.mark-mode)
2x -2:55 expand-region:select-around-parentheses (atom-text-editor.editor.emacs-plus.is-focused.mark-mode)
2x -2:55 expand-region:select-inside-curly-brackets (atom-text-editor.editor.emacs-plus.is-focused.mark-mode)
2x -2:55 expand-region:select-around-curly-brackets (atom-text-editor.editor.emacs-plus.is-focused.mark-mode)
2x -2:55 expand-region:select-inside-square-brackets (atom-text-editor.editor.emacs-plus.is-focused.mark-mode)
2x -2:55 expand-region:select-around-square-brackets (atom-text-editor.editor.emacs-plus.is-focused.mark-mode)
2x -2:54.9.0 expand-region:expand (atom-text-editor.editor.emacs-plus.is-focused.mark-mode)
-2:54.2.0 emacs-plus:copy (atom-text-editor.editor.emacs-plus.is-focused.mark-mode)
-0:57.7.0 pane:show-next-recently-used-item (atom-text-editor.editor.emacs-plus.is-focused)
-0:57.6.0 pane:move-active-item-to-top-of-stack (atom-text-editor.editor.emacs-plus.is-focused)
-0:55.5.0 editor:newline (atom-text-editor.editor.emacs-plus.is-focused)
-0:54.9.0 editor:outdent-selected-rows (atom-text-editor.editor.emacs-plus.is-focused)
-0:52.4.0 autocomplete-plus:confirm (atom-text-editor.editor.emacs-plus.is-focused.autocomplete-active)
-0:52.4.0 snippets:expand (atom-text-editor.editor.emacs-plus.is-focused.autocomplete-active)
3x -0:47.9.0 core:backspace (atom-text-editor.editor.emacs-plus.is-focused)
{
"core": {
"autoHideMenuBar": true,
"disabledPackages": [
"kill-ring",
"language-markdown",
"markdown-deluxe",
"markdown-image-helper",
"markdown-preview",
"tidy-markdown",
"atom-delete-current-file",
"current-file-breadcrumb",
"linter-markdown",
"linter",
"markdown-document",
"markdown-folder",
"markdown-writer",
"tool-bar-markdown-writer",
"tool-bar"
],
"packagesWithKeymapsDisabled": [
"find-and-replace",
"expand-region",
"open-in"
],
"themes": [
"one-light-ui",
"github-atom-light-syntax"
]
},
"nvatom": {}
}
# User
advanced-open-file, v0.16.3
atomic-chrome, v0.3.0
clipboard-plus, v0.5.1
copy-filename, v1.0.1
date, v1.1.1
disable-keybindings, v0.6.0
emacs-core-keys, v0.2.2
emacs-plus, v0.11.0
expand-region, v0.2.4
fonts, v1.5.0
github-atom-light-syntax, v0.2.0
goto-last-edit, v0.3.2
markdown-preview-plus, v2.4.0
nvatom, v0.11.0
open-in, v4.0.0
remote-edit, v1.8.24
simple-copy-path, v1.0.0
toggle-markdown-task, v0.5.0
tree-view-open-files, v0.3.0
# Dev
No dev packages
[Enter steps to reproduce below:]
Atom Version: 1.3.2
System: Mac OS X 10.11.2
Thrown From: nvatom package, v0.9.3
Uncaught TypeError: Cannot read property 'tf' of undefined
At /Users/orcsbr/.atom/packages/nvatom/node_modules/docquery/node_modules/lunr/lunr.js:1150
TypeError: Cannot read property 'tf' of undefined
at [object Object].lunr.Index.documentVector (/Users/orcsbr/.atom/packages/nvatom/node_modules/docquery/node_modules/lunr/lunr.js:1150:53)
at [object Object].<anonymous> (/Users/orcsbr/.atom/packages/nvatom/node_modules/docquery/node_modules/lunr/lunr.js:1122:61)
at Array.map (native)
at [object Object].lunr.SortedSet.map (/Users/orcsbr/.atom/packages/nvatom/node_modules/docquery/node_modules/lunr/lunr.js:622:24)
at [object Object].lunr.Index.search (/Users/orcsbr/.atom/packages/nvatom/node_modules/docquery/node_modules/lunr/lunr.js:1121:6)
at DocQuery.search (/Users/orcsbr/.atom/packages/nvatom/node_modules/docquery/lib/DocQuery.js:119:31)
at NotationalVelocityView.module.exports.NotationalVelocityView.filter (/Users/orcsbr/.atom/packages/nvatom/lib/notational-velocity-view.coffee:67:22)
at NotationalVelocityView.module.exports.NotationalVelocityView.populateList (/Users/orcsbr/.atom/packages/nvatom/lib/notational-velocity-view.coffee:141:22)
at /Applications/Atom.app/Contents/Resources/app.asar/node_modules/atom-space-pen-views/lib/select-list-view.js:350:26
-0:47.2.0 application:add-project-folder (atom-text-editor.editor.is-focused)
-0:01.3.0 nvatom:toggle (ol.tree-view.full-menu.list-tree.has-collapsable-children.focusable-panel)
{
"core": {
"themes": [
"atom-dark-ui",
"solarized-dark-syntax"
]
},
"nvatom": {
"directory": "/Users/orcsbr/Dropbox/TextDB/",
"enableLunrPipeline": false,
"extensions": [
".txt",
".md"
]
}
}
# User
nvatom, v0.9.3
pandoc-convert, v1.0.4
# Dev
No dev packages
[email protected] install C:\Users\User2\AppData\Local\Temp\apm-install-dir-11574-4348-qvzink\node_modules\notational-velocity\node_modules\pathwatcher\node_modules\runas
node-gyp rebuild
C:\Users\User2\AppData\Local\Temp\apm-install-dir-11574-4348-qvzink\node_modules\notational-velocity\node_modules\pathwatcher\node_modules\runas>node "C:\Users\User2\AppData\Local\atom\app-1.0.3\resources\app\apm\node_modules\npm\bin\node-gyp-bin....\node_modules\node-gyp\bin\node-gyp.js" rebuild
npm ERR! Windows_NT 6.2.9200
npm ERR! argv "C:\Users\User2\AppData\Local\atom\app-1.0.3\resources\app\apm\bin\node.exe" "C:\Users\User2\AppData\Local\atom\app-1.0.3\resources\app\apm\node_modules\npm\bin\npm-cli.js" "--globalconfig" "C:\Users\User2.atom.apm.apmrc" "--userconfig" "C:\Users\User2.atom.apmrc" "install" "C:\Users\User2\AppData\Local\Temp\d-11574-4348-dccaro\package.tgz" "--target=0.22.0" "--arch=ia32"
npm ERR! node v0.10.35
npm ERR! npm v2.5.1
npm ERR! code ELIFECYCLE
npm ERR! [email protected] install: node-gyp rebuild
npm ERR! Exit status 7
npm ERR!
npm ERR! Failed at the [email protected] install script 'node-gyp rebuild'.
npm ERR! This is most likely a problem with the runas package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node-gyp rebuild
npm ERR! You can get their info via:
npm ERR! npm owner ls runas
npm ERR! There is likely additional logging output above.
Notational velocity creates a note when all the following conditions are met:
Make sure it parses /, , and a space correctly. We want to interpret \ or / as a directory identifier.
For example, "Diary\2015 04 12" should:
On activation, Atom spits out the following error message in my Ubuntu. This is not a linux-general problem, because Travis CI is running on Linux environment.
Atom Version: 1.0.11
System: Ubuntu 14.04.1
Thrown From: nvatom package, v0.4.1
Uncaught Error: Cannot find module 'DocQuery'
At module.js:330
Error: Cannot find module 'DocQuery'
at Module._resolveFilename (module.js:328:15)
at Function.Module._resolveFilename (/usr/share/atom/resources/app.asar/src/module-cache.js:383:52)
at Function.Module._load (module.js:270:25)
at Module.require (module.js:357:17)
at require (module.js:376:17)
at Object.<anonymous> (/usr/local/home/seongjae/.atom/packages/nvatom/lib/notational-velocity-view.coffee:5:12)
at Object.<anonymous> (/usr/local/home/seongjae/.atom/packages/nvatom/lib/notational-velocity-view.coffee:1:1)
at Module._compile (module.js:452:26)
at Object.defineProperty.value [as .coffee] (/usr/share/atom/resources/app.asar/src/compile-cache.js:169:21)
at Module.load (module.js:347:32)
at Function.Module._load (module.js:302:12)
at Module.require (module.js:357:17)
at require (module.js:376:17)
at Object.module.exports.createView (/usr/local/home/seongjae/.atom/packages/nvatom/lib/notational-velocity.coffee:49:32)
at atom-workspace.subscriptions.add.atom.commands.add.nvatom:toggle (/usr/local/home/seongjae/.atom/packages/nvatom/lib/notational-velocity.coffee:24:28)
at CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (/usr/share/atom/resources/app.asar/src/command-registry.js:245:29)
at CommandRegistry.handleCommandEvent (/usr/share/atom/resources/app.asar/src/command-registry.js:3:61)
at CommandRegistry.module.exports.CommandRegistry.dispatch (/usr/share/atom/resources/app.asar/src/command-registry.js:156:19)
at EventEmitter.<anonymous> (/usr/share/atom/resources/app.asar/src/window-event-handler.js:70:30)
at emitOne (events.js:77:13)
at EventEmitter.emit (events.js:166:7)
-1:20 settings-view:open (atom-text-editor.editor.is-focused)
-0:57.1.0 core:confirm (atom-text-editor.editor.mini.is-focused)
-0:17.2.0 core:save (atom-text-editor.editor.is-focused)
-0:02.0 nvatom:toggle (atom-text-editor.editor.is-focused)
{
"core": {
"themes": [
"atom-dark-ui",
"base16-tomorrow-dark-theme"
],
"disabledPackages": [
"spell-check"
]
},
"nvatom": {
"directory": "/usr/local/home/seongjae/notebook"
}
}
# User
nvatom, v0.4.1
# Dev
No dev packages
I migrated from notational-velocity
to nvatom
after finding that alt-cmd-l no longer brought up the search bar. I've set my notes directory, but don't see any results when typing in the search bar. Oddly, if I type the name of a file and hit enter, the file opens.
I'm on 0.8.1 (44).
๐ for working on this package โ notational velocity with vim mode, all in the same text editor I use to code, is a killer combo
Yes, this is NOT a feature in notational-velocity.
I like this project's concept very much! Somebody brought it up on our blog and I immediately checked this out because I still search for a Notational Velocity-like app on other platforms than Mac.
That being said, indexing my 3500 notes took 28+ seconds. Opening the file locator takes a bit (the lag is noticeable), but that's okay. Filtering the results is impossibly slow though.
It seems nvatom doesn't include the document body in search results of DocQuery. I guess that there's the real bottleneck.
I'll have a look at the source myself and see whether the performance can be increased.
NV always sorts by File Modified Time (fs.statSync(file).mtime
), rather than making guesses about the quality of the search. I find this to be a more helpful metric, and would likely also improve search performance.
I'd be happy to implement this, if you'll accept it. Perhaps as a config flag?
For more information, refer #28.
I'm getting an incompatible package error after installing nvatom. I've copy/paste the error below.
$ apm --version
apm 1.0.4
npm 2.13.3
node 0.10.40
python 2.7.10
git 2.5.1
The following packages could not be loaded because they contain native modules that aren't compatible with this version of Atom.
Previous Atom versions shipped with Chrome 31 and Node 0.11.10 but Atom now ships with Chrome 41.0.2272.76 and Node 1.5.1.
The packages listed should now ship versions of these native modules that are compatible with Node 1.5.1.
Updates for these packages may already be available that resolve this issue.
If no update is available you may want to notify the package author that their package isn't supported in Atom 1.0.11 because of the Chrome 41.0.2272.76 and Node 1.5.1 upgrade.
If you think a package is listed here and should no longer be, click the button below to reload Atom and recheck all packages.
Listed below are the incompatible native modules that this package depends on.
- [email protected]
- Error message: Module version mismatch. Expected 43, got 14.
README
says:
Settings
Note Directory: The directory to archive notes.
โฆ except, a quick peek at note.coffee
says it's notational-velocity.directory
.
Installing โ[email protected]โ failed
> [email protected] install /tmp/apm-install-dir-115516-3436-13oy4x5/node_modules/notational-velocity/node_modules/pathwatcher/node_modules/runas
> node-gyp rebuild
make: Entering directory `/tmp/apm-install-dir-115516-3436-13oy4x5/node_modules/notational-velocity/node_modules/pathwatcher/node_modules/runas/build'
CXX(target) Release/obj.target/runas/src/main.o
make: Leaving directory `/tmp/apm-install-dir-115516-3436-13oy4x5/node_modules/notational-velocity/node_modules/pathwatcher/node_modules/runas/build'
make: g++: Command not found
make: *** [Release/obj.target/runas/src/main.o] Error 127
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/usr/share/atom/resources/app/apm/node_modules/npm/node_modules/node-gyp/lib/build.js:267:23)
gyp ERR! stack at ChildProcess.emit (events.js:98:17)
gyp ERR! stack at Process.ChildProcess._handle.onexit (child_process.js:820:12)
gyp ERR! System Linux 3.16.0-41-generic
gyp ERR! command "node" "/usr/share/atom/resources/app/apm/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /tmp/apm-install-dir-115516-3436-13oy4x5/node_modules/notational-velocity/node_modules/pathwatcher/node_modules/runas
gyp ERR! node -v v0.10.35
gyp ERR! node-gyp -v v1.0.2
gyp ERR! not ok
npm ERR! Linux 3.16.0-41-generic
npm ERR! argv "/usr/share/atom/resources/app/apm/bin/node" "/usr/share/atom/resources/app/apm/node_modules/npm/bin/npm-cli.js" "--globalconfig" "/home/marek/.atom/.apm/.apmrc" "--userconfig" "/home/marek/.atom/.apmrc" "install" "/tmp/d-115516-3436-b6nwta/package.tgz" "--target=0.22.0" "--arch=x64"
npm ERR! node v0.10.35
npm ERR! npm v2.5.1
npm ERR! code ELIFECYCLE
npm ERR! [email protected] install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install script 'node-gyp rebuild'.
npm ERR! This is most likely a problem with the runas package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node-gyp rebuild
npm ERR! You can get their info via:
npm ERR! npm owner ls runas
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! /tmp/apm-install-dir-115516-3436-13oy4x5/npm-debug.log
Atom Version: 1.8.0
System: Ubuntu 16.04
Thrown From: nvatom package, v0.11.0
Uncaught Error: Cannot find module 'docquery'
At module.js:340
Error: Cannot find module 'docquery'
at Module._resolveFilename (module.js:338:15)
at Function.Module._resolveFilename (/usr/share/atom/resources/app.asar/src/module-cache.js:383:52)
at Function.Module._load (module.js:289:25)
at Module.require (module.js:366:17)
at require (/usr/share/atom/resources/app.asar/src/native-compile-cache.js:50:27)
at Object.<anonymous> (/home/nick/.atom/packages/nvatom/lib/notational-velocity-view.coffee:5:12)
at Object.<anonymous> (/home/nick/.atom/packages/nvatom/lib/notational-velocity-view.coffee:1:1)
at Module._compile (/usr/share/atom/resources/app.asar/src/native-compile-cache.js:103:30)
at Object.defineProperty.value [as .coffee] (/usr/share/atom/resources/app.asar/src/compile-cache.js:208:21)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:313:12)
at Module.require (module.js:366:17)
at require (/usr/share/atom/resources/app.asar/src/native-compile-cache.js:50:27)
at Object.module.exports.createView (/home/nick/.atom/packages/nvatom/lib/notational-velocity.coffee:66:32)
at atom-workspace.subscriptions.add.atom.commands.add.nvatom:toggle (/home/nick/.atom/packages/nvatom/lib/notational-velocity.coffee:38:28)
at CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (/usr/share/atom/resources/app.asar/src/command-registry.js:260:29)
at /usr/share/atom/resources/app.asar/src/command-registry.js:3:61
at KeymapManager.module.exports.KeymapManager.dispatchCommandEvent (/usr/share/atom/resources/app.asar/node_modules/atom-keymap/lib/keymap-manager.js:580:16)
at KeymapManager.module.exports.KeymapManager.handleKeyboardEvent (/usr/share/atom/resources/app.asar/node_modules/atom-keymap/lib/keymap-manager.js:388:22)
at WindowEventHandler.module.exports.WindowEventHandler.handleDocumentKeyEvent (/usr/share/atom/resources/app.asar/src/window-event-handler.js:98:36)
at HTMLDocument.<anonymous> (/usr/share/atom/resources/app.asar/src/window-event-handler.js:3:61)
-1:54.2.0 core:select-all (atom-text-editor.editor.mini.is-focused)
-1:47.2.0 editor:newline (atom-text-editor.editor.is-focused)
-1:47 core:paste (atom-text-editor.editor.is-focused)
-1:46.6.0 core:undo (atom-text-editor.editor.is-focused)
-1:43 core:select-all (atom-text-editor.editor.mini.is-focused)
-1:42 core:confirm (atom-text-editor.editor.mini.is-focused)
-1:35.9.0 editor:newline (atom-text-editor.editor.is-focused)
-1:35.2.0 core:backspace (atom-text-editor.editor.is-focused)
-1:34.6.0 editor:newline (atom-text-editor.editor.is-focused)
-1:34.4.0 core:paste (atom-text-editor.editor.is-focused)
2x -1:33.3.0 core:save (atom-text-editor.editor.is-focused)
-1:26.9.0 nvatom:toggle (atom-text-editor.editor.is-focused)
2x -1:25.7.0 core:close (atom-text-editor.editor.is-focused)
2x -1:23.8.0 nvatom:toggle (atom-workspace.workspace.scrollbars-visible-always.seti-ui-no-icons.theme-one-dark-syntax.theme-one-dark-ui)
-1:18 core:close (ol.tree-view.full-menu.list-tree.has-collapsable-children.focusable-panel)
-0:00.8.0 nvatom:toggle (atom-pane.pane.active)
{
"core": {
"audioBeep": false,
"autoHideMenuBar": true,
"automaticallyUpdate": false,
"closeEmptyWindows": false,
"disabledPackages": [
"about",
"background-tips",
"welcome",
"update-package-dependencies",
"styleguide",
"deprecation-cop",
"exception-reporting",
"metrics",
"package-generator",
"archive-view",
"merge-conflicts",
"linter"
],
"ignoredNames": [
".git",
".hg",
".svn",
".DS_Store",
"._*",
"Thumbs.db",
".remarkrc"
],
"packagesWithKeymapsDisabled": [],
"projectHome": "/home/nick/Projects",
"restorePreviousWindowsOnStart": false
},
"nvatom": {
"directory": "/home/nick/Notes"
}
}
# User
autocomplete-paths, v1.0.2
block-travel, v1.0.4
external-open, v0.6.3
file-icons, v1.7.15
highlight-selected, v0.11.2
linter-shellcheck, v1.2.0
minimap, v4.24.6
minimap-bookmarks, v0.3.1
minimap-cursorline, v0.2.0
minimap-find-and-replace, v4.5.1
minimap-highlight-selected, v4.4.0
minimap-selection, v4.4.0
nvatom, v0.11.0
open-sesame, v0.4.0
project-plus, v0.9.0
recent-files-fuzzy-finder, v0.2.4
sync-settings, v0.7.2
tab-title, v0.3.3
tabs-to-spaces, v1.0.2
toggle-packages, v1.1.0
# Dev
No dev packages
"Notational Velocity constantly writes your changes to disk as you create and edit notes, so no need to "Save" anything manually."
I tried to install notational-velocity plugin on Windows 8.1 64 bit Atom version 0.205.0. When I try to install it settings, it fails with the output below. The plugin works on my Mac and this is probably some native Windows issue. There a similar issue for instance here: izuzak/atom-pdf-view#50
Maybe it's a plugin issue. I can also try to look further to this issue. I have to use Windows at work, so I want to get something like nvALT work so that I can try to repeat some of my Mac workflow.
Installing โ[email protected]โ failed.Hide outputโฆ
> [email protected] install C:\Users\name\AppData\Local\Temp\apm-install-dir-11553-14428-1bzevon\node_modules\notational-velocity\node_modules\pathwatcher\node_modules\runas
> node-gyp rebuild
C:\Users\name\AppData\Local\Temp\apm-install-dir-11553-14428-1bzevon\node_modules\notational-velocity\node_modules\pathwatcher\node_modules\runas>node "C:\Users\name\AppData\Local\atom\app-0.205.0\resources\app\apm\node_modules\npm\bin\node-gyp-bin\\..\..\node_modules\node-gyp\bin\node-gyp.js" rebuild
gypnpm ERR! Windows_NT 6.2.9200
npm ERR! argv "C:\\Users\\name\\atom\\app-0.205.0\\resources\\app\\apm\\bin\\\\node.exe" "C:\\Users\\name\\atom\\app-0.205.0\\resources\\app\\apm\\node_modules\\npm\\bin\\npm-cli.js" "--globalconfig" "C:\\Users\\juhran\\.atom\\.apm\\.apmrc" "--userconfig" "C:\\Users\\juhran\\.atom\\.apmrc" "install" "C:\\Users\\name\\Temp\\d-11553-14428-913892\\package.tgz" "--target=0.22.0" "--arch=ia32"
npm ERR! node v0.10.35
npm ERR! npm v2.5.1
npm ERR! code ELIFECYCLE
npm ERR! [email protected] install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install script 'node-gyp rebuild'.
npm ERR! This is most likely a problem with the runas package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node-gyp rebuild
npm ERR! You can get their info via:
npm ERR! npm owner ls runas
npm ERR! There is likely additional logging output above.
It'd be nice not to have to surround interlinks with brackets. If nvatom can index all notes, it'd be great if it could automatically link those note titles, without having to have the user identify links. (Like in Tomboy Notes or Vim-Notes)
The simplenote sync feature of notational velocity is great. If the feature is not to a priority, is there an alternative ?
Could I move the nvatom directory into dropbox or else ?
I get this error regularly in Atom.
Basic setup:
I use ~/Desktop
as my nvatom directory. This means that I sometimes delete files outside of Atom, and therefore nvatom. This seems to cause an issue where I can't close the tab of a non-existing file anymore, throwing the error below.
Atom Version: 1.2.0
System: Mac OS X 10.11.2
Thrown From: nvatom package, v0.9.3
Uncaught Error: ENOENT: no such file or directory, unlink '/Users/zettt/Desktop/themen.txt'
At fs.js:947
Error: ENOENT: no such file or directory, unlink '/Users/zettt/Desktop/themen.txt'
at Error (native)
at Object.fs.unlinkSync (fs.js:947:18)
at Object.module.exports.autodelete (/Users/zettt/.atom/packages/nvatom/lib/notational-velocity.coffee:78:8)
at /Users/zettt/.atom/packages/nvatom/lib/notational-velocity.coffee:48:97
at Emitter.module.exports.Emitter.emit (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/event-kit/lib/emitter.js:86:11)
at PaneContainer.module.exports.PaneContainer.willDestroyPaneItem (/Applications/Atom.app/Contents/Resources/app.asar/src/pane-container.js:285:27)
at Pane.module.exports.Pane.destroyItem (/Applications/Atom.app/Contents/Resources/app.asar/src/pane.js:442:17)
at atom-tabs.TabBarView.onClick (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/tabs/lib/tab-bar-view.js:695:17)
{
"core": {
"disabledPackages": [
"welcome",
"remember-session",
"autocomplete",
"term"
],
"themes": [
"atom-dark-ui",
"monokai"
],
"customFileTypes": {
"source.gfm": [
"txt",
"markdown",
"md"
]
}
},
"nvatom": {
"directory": "~/Desktop/",
"extensions": [
".txt",
".md",
".csv"
]
}
}
# User
color-picker, v2.0.13
column-select, v0.2.0
command-logger, v0.23.0
editor-stats, v0.17.0
ever-notedown, v0.2.16
fountain, v0.2.0
git-log, v0.4.1
language-markdown, v0.3.1
monokai, v0.18.0
nvatom, v0.9.3
tabs-to-spaces, v0.11.1
tasks, v2.6.0
vim-mode, v0.63.0
vim-surround, v0.8.1
# Dev
No dev packages
Therefore, show title search first, and async load the result from docQuery search.
Maybe related to autosave? I donno yet.
Unless I'm missing something there's currently no way to delete a note outside of manually deleting the file. I think the most intuitive way to handle this (aside from pressing the delete key with a note selected + confirmation) is when closing a note with no content, the file should be removed.
When I launch the latest Atom Beta (1.2.0-beta1), Atom fails to load the notational-velocity package. Atom reports that the package is incompatible:
Some installed packages could not be loaded because they contain native modules that were compiled for an earlier version of Atom.
OS Version: OS X 10.11.1
For instance, if I want to create a new file called "Hello world" with uppercase first letter, if the search bar finds a file "hello" with a lowercase first letter, the search bar will change to lowercase. That is, if my intention is to create a file with an uppercase first letter, that lowercase file will prevent my from doing so.
Moving my NVAlt workflow over to NVAtom, I added the /path/to/my/notes, but am not seeing any search results - the path is /Users/myuser/Dropbox/Notes and the files are all stored as either .md or .txt files. When I use the shortcut to invoke the search feature, I end up with the ability to create new notes that end up in the correct folder, but even with notes created in Atom through this workflow, I am not able to search for them. Does this plugin only support directory storage, and not individual file storage?
Atom Version: 1.8.0
System: Ubuntu 16.04
Thrown From: nvatom package, v0.11.0
Uncaught TypeError: Cannot read property 'body' of undefined
At /home/nick/.atom/packages/nvatom/lib/notational-velocity-view.coffee:77
TypeError: Cannot read property 'body' of undefined
at NotationalVelocityView.module.exports.NotationalVelocityView.viewForItem (/home/nick/.atom/packages/nvatom/lib/notational-velocity-view.coffee:77:19)
at NotationalVelocityView.module.exports.NotationalVelocityView.populateList (/home/nick/.atom/packages/nvatom/lib/notational-velocity-view.coffee:148:23)
at NotationalVelocityView.module.exports.NotationalVelocityView.toggle (/home/nick/.atom/packages/nvatom/lib/notational-velocity-view.coffee:70:8)
at atom-workspace.subscriptions.add.atom.commands.add.nvatom:toggle (/home/nick/.atom/packages/nvatom/lib/notational-velocity.coffee:38:46)
at CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (/usr/share/atom/resources/app.asar/src/command-registry.js:260:29)
at /usr/share/atom/resources/app.asar/src/command-registry.js:3:61
at KeymapManager.module.exports.KeymapManager.dispatchCommandEvent (/usr/share/atom/resources/app.asar/node_modules/atom-keymap/lib/keymap-manager.js:580:16)
at KeymapManager.module.exports.KeymapManager.handleKeyboardEvent (/usr/share/atom/resources/app.asar/node_modules/atom-keymap/lib/keymap-manager.js:388:22)
at WindowEventHandler.module.exports.WindowEventHandler.handleDocumentKeyEvent (/usr/share/atom/resources/app.asar/src/window-event-handler.js:98:36)
at HTMLDocument.<anonymous> (/usr/share/atom/resources/app.asar/src/window-event-handler.js:3:61)
-3:50.2.0 project-plus:toggle-project-finder (atom-text-editor.editor.is-focused)
-3:49.6.0 core:confirm (atom-text-editor.editor.mini.is-focused)
-3:48.3.0 nvatom:toggle (atom-pane.pane.active)
-3:38.8.0 core:select-all (atom-text-editor.editor.mini.is-focused)
-3:37.4.0 core:confirm (atom-text-editor.editor.mini.is-focused)
-3:34.6.0 nvatom:toggle (atom-pane.pane.active)
-3:32.8.0 core:confirm (atom-text-editor.editor.mini.is-focused)
-0:08.5.0 core:backspace (atom-text-editor.editor.is-focused)
-0:00.9.0 nvatom:toggle (atom-text-editor.editor.is-focused)
{
"core": {
"audioBeep": false,
"autoHideMenuBar": true,
"automaticallyUpdate": false,
"closeEmptyWindows": false,
"disabledPackages": [
"about",
"background-tips",
"welcome",
"update-package-dependencies",
"styleguide",
"deprecation-cop",
"exception-reporting",
"metrics",
"package-generator",
"archive-view",
"merge-conflicts",
"linter"
],
"ignoredNames": [
".git",
".hg",
".svn",
".DS_Store",
"._*",
"Thumbs.db",
".remarkrc"
],
"packagesWithKeymapsDisabled": [],
"projectHome": "/home/nick/Projects",
"restorePreviousWindowsOnStart": false
},
"nvatom": {
"directory": "/home/nick/Notes"
}
}
# User
autocomplete-paths, v1.0.2
block-travel, v1.0.4
external-open, v0.6.3
file-icons, v1.7.15
highlight-selected, v0.11.2
linter-shellcheck, v1.2.0
minimap, v4.24.6
minimap-bookmarks, v0.3.1
minimap-cursorline, v0.2.0
minimap-find-and-replace, v4.5.1
minimap-highlight-selected, v4.4.0
minimap-selection, v4.4.0
nvatom, v0.11.0
open-sesame, v0.4.0
project-plus, v0.9.0
recent-files-fuzzy-finder, v0.2.4
sync-settings, v0.7.2
tab-title, v0.3.3
tabs-to-spaces, v1.0.2
toggle-packages, v1.1.0
# Dev
No dev packages
Hi, maybe I'm wrong but it seems it doesn't index existing files in the notes folder. Right? And so it shouldn't be possible to have subfolders (which is also a fonctionnality missing in nvAlt).
Edit: Sorry it works. Files should not be .txt but .md. Very good package :-)
Hello,
It would be great if there was a setting to disable autosave!
thanks,
string
and hit enter to create new noteAtom Version: 1.8.0
System: Ubuntu 16.04
Thrown From: nvatom package, v0.11.0
Uncaught Error: cache length is wrong; [REMOVED PRIVATE NOTE FILENAMES]
at NoteCache.module.exports.NoteCache._assert (/home/nick/.atom/packages/nvatom/lib/note-cache.coffee:90:15)
at NoteCache.module.exports.NoteCache.upsert (/home/nick/.atom/packages/nvatom/lib/note-cache.coffee:48:6)
at NoteWatcher.module.exports.NoteWatcher._add (/home/nick/.atom/packages/nvatom/lib/note-watcher.coffee:84:17)
at FSWatcher.<anonymous> (/home/nick/.atom/packages/nvatom/lib/note-watcher.coffee:78:29)
at emitTwo (events.js:87:13)
at FSWatcher.emit (events.js:172:7)
at FSWatcher.<anonymous> (/home/nick/.atom/packages/nvatom/node_modules/chokidar/index.js:191:15)
at FSWatcher._emit (/home/nick/.atom/packages/nvatom/node_modules/chokidar/index.js:233:5)
at FSWatcher.NodeFsHandler._handleFile (/home/nick/.atom/packages/nvatom/node_modules/chokidar/lib/nodefs-handler.js:275:10)
at FSWatcher.<anonymous> (/home/nick/.atom/packages/nvatom/node_modules/chokidar/lib/nodefs-handler.js:473:21)
at FSReqWrap.oncomplete (fs.js:82:15)
-0:18.6.0 project-plus:toggle-project-finder (atom-text-editor.editor.is-focused)
-0:18 core:confirm (atom-text-editor.editor.mini.is-focused)
-0:16.7.0 nvatom:toggle (atom-pane.pane.active)
-0:07.1.0 core:select-all (atom-text-editor.editor.mini.is-focused)
-0:05.8.0 core:confirm (atom-text-editor.editor.mini.is-focused)
-0:02.9.0 nvatom:toggle (atom-pane.pane.active)
-0:01.2.0 core:confirm (atom-text-editor.editor.mini.is-focused)
{
"core": {
"audioBeep": false,
"autoHideMenuBar": true,
"automaticallyUpdate": false,
"closeEmptyWindows": false,
"disabledPackages": [
"about",
"background-tips",
"welcome",
"update-package-dependencies",
"styleguide",
"deprecation-cop",
"exception-reporting",
"metrics",
"package-generator",
"archive-view",
"merge-conflicts",
"linter"
],
"ignoredNames": [
".git",
".hg",
".svn",
".DS_Store",
"._*",
"Thumbs.db",
".remarkrc"
],
"packagesWithKeymapsDisabled": [],
"projectHome": "/home/nick/Projects",
"restorePreviousWindowsOnStart": false
},
"nvatom": {
"directory": "/home/nick/Notes"
}
}
# User
autocomplete-paths, v1.0.2
block-travel, v1.0.4
external-open, v0.6.3
file-icons, v1.7.15
highlight-selected, v0.11.2
linter-shellcheck, v1.2.0
minimap, v4.24.6
minimap-bookmarks, v0.3.1
minimap-cursorline, v0.2.0
minimap-find-and-replace, v4.5.1
minimap-highlight-selected, v4.4.0
minimap-selection, v4.4.0
nvatom, v0.11.0
open-sesame, v0.4.0
project-plus, v0.9.0
recent-files-fuzzy-finder, v0.2.4
sync-settings, v0.7.2
tab-title, v0.3.3
tabs-to-spaces, v1.0.2
toggle-packages, v1.1.0
# Dev
No dev packages
[Enter steps to reproduce below:]
Atom Version: 1.10.0
Electron Version: 0.37.8
System: Mac OS X 10.11.1
Thrown From: nvatom package, v0.11.0
Failed to load the nvatom package
At Cannot find module 'fs-plus'
Error: Cannot find module 'fs-plus'
at Module._resolveFilename (module.js:339:15)
at Function.Module._resolveFilename (/Applications/Atom.app/Contents/Resources/app.asar/src/module-cache.js:383:52)
at Function.Module._load (module.js:290:25)
at Module.require (module.js:367:17)
at require (/Applications/Atom.app/Contents/Resources/app.asar/src/native-compile-cache.js:50:27)
at Object.<anonymous> (/Users/jimlantay/.atom/packages/nvatom-master/lib/notational-velocity.coffee:2:6)
at Object.<anonymous> (/Users/jimlantay/.atom/packages/nvatom-master/lib/notational-velocity.coffee:1:1)
at Module._compile (/Applications/Atom.app/Contents/Resources/app.asar/src/native-compile-cache.js:103:30)
at Object.defineProperty.value [as .coffee] (/Applications/Atom.app/Contents/Resources/app.asar/src/compile-cache.js:208:21)
at Module.load (module.js:357:32)
at Function.Module._load (module.js:314:12)
at Module.require (module.js:367:17)
at require (/Applications/Atom.app/Contents/Resources/app.asar/src/native-compile-cache.js:50:27)
at Package.module.exports.Package.requireMainModule (/Applications/Atom.app/Contents/Resources/app.asar/src/package.js:718:27)
at /Applications/Atom.app/Contents/Resources/app.asar/src/package.js:117:28
at Package.module.exports.Package.measure (/Applications/Atom.app/Contents/Resources/app.asar/src/package.js:92:15)
at Package.module.exports.Package.load (/Applications/Atom.app/Contents/Resources/app.asar/src/package.js:106:12)
at PackageManager.module.exports.PackageManager.loadPackage (/Applications/Atom.app/Contents/Resources/app.asar/src/package-manager.js:457:14)
at /Applications/Atom.app/Contents/Resources/app.asar/src/package-manager.js:402:19
at Config.module.exports.Config.transact (/Applications/Atom.app/Contents/Resources/app.asar/src/config.js:312:16)
at PackageManager.module.exports.PackageManager.loadPackages (/Applications/Atom.app/Contents/Resources/app.asar/src/package-manager.js:397:19)
at /Applications/Atom.app/Contents/Resources/app.asar/src/atom-environment.js:754:28
{
"nvatom": {
"directory": "/Users/jimlantay/Dropbox/nvatom"
}
}
# User
nvatom, v0.11.0 (inactive)
atom-dark-syntax, v0.27.0 (inactive)
atom-dark-ui, v0.52.0 (inactive)
atom-light-syntax, v0.28.0 (inactive)
atom-light-ui, v0.44.0 (inactive)
base16-tomorrow-dark-theme, v1.1.0 (inactive)
base16-tomorrow-light-theme, v1.1.1 (inactive)
one-dark-ui, v1.5.0 (inactive)
one-light-ui, v1.5.0 (inactive)
one-dark-syntax, v1.3.0 (inactive)
one-light-syntax, v1.3.0 (inactive)
solarized-dark-syntax, v1.0.2 (inactive)
solarized-light-syntax, v1.0.2 (inactive)
about, v1.5.3 (inactive)
archive-view, v0.61.1 (inactive)
autocomplete-atom-api, v0.10.0 (inactive)
autocomplete-css, v0.11.2 (inactive)
autocomplete-html, v0.7.2 (inactive)
autocomplete-plus, v2.31.1 (inactive)
autocomplete-snippets, v1.11.0 (inactive)
autoflow, v0.27.0 (inactive)
autosave, v0.23.1 (inactive)
background-tips, v0.26.1 (inactive)
bookmarks, v0.41.0 (inactive)
bracket-matcher, v0.82.1 (inactive)
command-palette, v0.38.0 (inactive)
deprecation-cop, v0.54.1 (inactive)
dev-live-reload, v0.47.0 (inactive)
encoding-selector, v0.22.0 (inactive)
exception-reporting, v0.39.0 (inactive)
find-and-replace, v0.201.0 (inactive)
fuzzy-finder, v1.3.0 (inactive)
git-diff, v1.1.0 (inactive)
go-to-line, v0.31.0 (inactive)
grammar-selector, v0.48.1 (inactive)
image-view, v0.58.2 (inactive)
incompatible-packages, v0.26.1 (inactive)
keybinding-resolver, v0.35.0 (inactive)
line-ending-selector, v0.5.0 (inactive)
link, v0.31.1 (inactive)
markdown-preview, v0.158.0 (inactive)
metrics, v0.53.1 (inactive)
notifications, v0.65.0 (inactive)
open-on-github, v1.2.0 (inactive)
package-generator, v1.0.0 (inactive)
settings-view, v0.241.2 (inactive)
snippets, v1.0.2 (inactive)
spell-check, v0.67.1 (inactive)
status-bar, v1.4.1 (inactive)
styleguide, v0.47.0 (inactive)
symbols-view, v0.113.0 (inactive)
tabs, v0.100.2 (inactive)
timecop, v0.33.2 (inactive)
tree-view, v0.208.2 (inactive)
update-package-dependencies, v0.10.0 (inactive)
welcome, v0.34.0 (inactive)
whitespace, v0.33.0 (inactive)
wrap-guide, v0.38.1 (inactive)
language-c, v0.52.1 (inactive)
language-clojure, v0.21.0 (inactive)
language-coffee-script, v0.47.2 (inactive)
language-csharp, v0.12.1 (inactive)
language-css, v0.37.1 (inactive)
language-gfm, v0.88.0 (inactive)
language-git, v0.15.0 (inactive)
language-go, v0.42.1 (inactive)
language-html, v0.45.1 (inactive)
language-hyperlink, v0.16.0 (inactive)
language-java, v0.23.0 (inactive)
language-javascript, v0.119.0 (inactive)
language-json, v0.18.2 (inactive)
language-less, v0.29.5 (inactive)
language-make, v0.22.2 (inactive)
language-mustache, v0.13.0 (inactive)
language-objective-c, v0.15.1 (inactive)
language-perl, v0.35.0 (inactive)
language-php, v0.37.2 (inactive)
language-property-list, v0.8.0 (inactive)
language-python, v0.45.0 (inactive)
language-ruby, v0.69.0 (inactive)
language-ruby-on-rails, v0.25.0 (inactive)
language-sass, v0.56.0 (inactive)
language-shellscript, v0.22.4 (inactive)
language-source, v0.9.0 (inactive)
language-sql, v0.23.0 (inactive)
language-text, v0.7.1 (inactive)
language-todo, v0.28.0 (inactive)
language-toml, v0.18.0 (inactive)
language-xml, v0.34.9 (inactive)
language-yaml, v0.26.0 (inactive)
# Dev
No dev packages
[Enter steps to reproduce below:]
Atom Version: 1.8.0
System: Linux Mint
Thrown From: nvatom package, v0.10.0
Uncaught TypeError: Cannot read property 'name' of undefined
At /opt/atom/resources/app.asar/src/package-manager.js:619
TypeError: Cannot read property 'name' of undefined
at PackageManager.module.exports.PackageManager.deactivatePackage (/opt/atom/resources/app.asar/src/package-manager.js:619:36)
at save (/home/robert/.atom/packages/nvatom/lib/notational-velocity-view.coffee:108:25)
at later (/opt/atom/resources/app.asar/node_modules/underscore-plus/node_modules/underscore/underscore.js:724:25)
-0:09.7.0 nvatom:toggle (ul.list-inline.tab-bar.inset-panel)
2x -0:02.4.0 editor:newline (atom-text-editor.editor.is-focused)
{
"core": {
"disabledPackages": [
"language-c",
"language-clojure",
"language-coffee-script",
"language-csharp",
"language-gfm",
"language-git",
"language-go",
"language-java",
"language-javascript",
"language-json",
"language-less",
"language-make",
"language-mustache",
"language-objective-c",
"language-perl",
"language-php",
"language-property-list",
"language-ruby",
"language-ruby-on-rails",
"language-source",
"language-toml",
"package-generator",
"symbols-view",
"styleguide",
"open-on-github",
"autocomplete-css",
"autocomplete-atom-api",
"autocomplete-html",
"deprecation-cop",
"dev-live-reload",
"encoding-selector",
"language-css",
"language-sql",
"language-todo",
"language-xml",
"markdown-preview",
"wrap-guide",
"whitespace",
"welcome",
"autocomplete-python",
"pandoc-convert",
"project-manager",
"script"
],
"ignoredNames": [
".git",
".hg",
".svn",
".DS_Store",
"._*",
"Thumbs.db",
".localized",
".sync",
"prefs.db",
".dropbox.cache",
".dropbox"
],
"openEmptyEditorOnStart": false,
"themes": [
"one-light-ui",
"base16-tomorrow-light-theme"
]
},
"nvatom": {
"directory": "/home/TextNotes",
"extensions": [
".txt",
".md"
]
}
}
# User
language-pfm, v0.82.0
markdown-preview-plus, v2.4.0
minimap, v4.24.6
nvatom, v0.10.0
# Dev
No dev packages
Hi! seongjaelee XL thanks for working on this package.
I would like to ask all of you how is notational-velocity package working for you? Especially how many notes are you having in the nv folder and how is your Atom performing.
I have a folder of about 2000 notes that used to be nvAlt notes folder and an issue with this package. When notational-velocity in Atom is summoned, Atom basically locks down for 10 minutes or more. After that, it becomes responsive... kind of... but as long as this package is activated, Atom will block/freeze when nv shortcut is activated. I am guessing nv is indexing the notes (?)
[Enter steps to reproduce below:]
Atom Version: 1.7.3
System: linux 4.5.1-1-ARCH
Thrown From: nvatom package, v0.10.0
Uncaught RangeError: Maximum call stack size exceeded
At /home/bulbil/.atom/packages/nvatom/node_modules/docquery/node_modules/lunr/lunr.js:968
RangeError: Maximum call stack size exceeded
at [object Object].<anonymous> (/home/bulbil/.atom/packages/nvatom/node_modules/docquery/node_modules/lunr/lunr.js:968:34)
at Array.forEach (native)
at [object Object].lunr.Index.add (/home/bulbil/.atom/packages/nvatom/node_modules/docquery/node_modules/lunr/lunr.js:964:16)
at DocQuery.addDocument (/home/bulbil/.atom/packages/nvatom/node_modules/docquery/lib/DocQuery.js:85:24)
at FSWatcher.<anonymous> (/home/bulbil/.atom/packages/nvatom/node_modules/docquery/lib/DocQuery.js:63:13)
at emitTwo (events.js:87:13)
at FSWatcher.emit (events.js:172:7)
at FSWatcher.<anonymous> (/home/bulbil/.atom/packages/nvatom/node_modules/chokidar/index.js:171:15)
at FSWatcher._emit (/home/bulbil/.atom/packages/nvatom/node_modules/chokidar/index.js:212:5)
at FSWatcher.NodeFsHandler._handleFile (/home/bulbil/.atom/packages/nvatom/node_modules/chokidar/lib/nodefs-handler.js:275:10)
at FSWatcher.<anonymous> (/home/bulbil/.atom/packages/nvatom/node_modules/chokidar/lib/nodefs-handler.js:473:21)
at FSReqWrap.oncomplete (fs.js:82:15)
-0:04.1.0 nvatom:toggle (atom-pane.pane.active)
{
"core": {
"themes": [
"arc-darker"
]
},
"nvatom": {
"directory": "~/Dropbox/notational"
}
}
# User
nvatom, v0.10.0
# Dev
No dev packages
This errors pops up when searching regardless of whether "Enable Lunr Pipeline" is on.
Atom Version: 1.0.13
System: Mac OS X 10.10.5
Thrown From: nvatom package, v0.8.1
Uncaught TypeError: Cannot read property 'tf' of undefined
At /Users/bg/.atom/packages/nvatom/node_modules/docquery/node_modules/lunr/lunr.js:1150
TypeError: Cannot read property 'tf' of undefined
at [object Object].lunr.Index.documentVector (/Users/bg/.atom/packages/nvatom/node_modules/docquery/node_modules/lunr/lunr.js:1150:53)
at [object Object].<anonymous> (/Users/bg/.atom/packages/nvatom/node_modules/docquery/node_modules/lunr/lunr.js:1122:61)
at Array.map (native)
at [object Object].lunr.SortedSet.map (/Users/bg/.atom/packages/nvatom/node_modules/docquery/node_modules/lunr/lunr.js:622:24)
at [object Object].lunr.Index.search (/Users/bg/.atom/packages/nvatom/node_modules/docquery/node_modules/lunr/lunr.js:1121:6)
at DocQuery.search (/Users/bg/.atom/packages/nvatom/node_modules/docquery/lib/DocQuery.js:119:31)
at NotationalVelocityView.module.exports.NotationalVelocityView.filter (/Users/bg/.atom/packages/nvatom/lib/notational-velocity-view.coffee:66:22)
at NotationalVelocityView.module.exports.NotationalVelocityView.populateList (/Users/bg/.atom/packages/nvatom/lib/notational-velocity-view.coffee:141:22)
at /Applications/Atom.app/Contents/Resources/app.asar/node_modules/atom-space-pen-views/lib/select-list-view.js:350:26
-0:01.0 nvatom:toggle (atom-text-editor.editor.is-focused.vim-mode.normal-mode)
{
"core": {
"audioBeep": false,
"projectHome": "/Users/bg/temp",
"themes": [
"one-dark-ui",
"base16-tomorrow-dark-theme"
],
"disabledPackages": [
"minimap",
"merge-conflicts",
"git-blame"
]
},
"nvatom": {
"directory": "/Users/bg/Notes",
"enableLunrPipeline": false
}
}
# User
file-icons, v1.6.9
linter-rubocop, v0.3.4
nvatom, v0.8.1
pretty-json, v0.4.1
vim-mode, v0.60.0
# Dev
No dev packages
When nvatom is enabled, right-clicking and renaming a note duplicates the existing note and the new note is given the name that you enter into the rename popup field. So you still have the old note, and an exact copy of the old note with the new name.
When nvatom is disabled, right-clicking and renaming a note just renames the existing note.
I think it's related to this bug maybe? atom/atom#3113 or atom/tree-view#72 or atom/tree-view#123
Using Atom 1.0.19 and nvatom 0.9.3
Do you plan to wiki style interlinking between notes? This would support direct jumping between notes without loading the title into the search box. I think Nvalt has this feature. My apologies, I am not at a point with Coffeescript to where I could submit a pull request. Thanks!
Hello!
I have created note with the following title: hello @test
Now I want to search for the note, so I type in @test
in the search bar, but my note does not show up.
As soon as I type the @ character, all search results disapear.
The settings section titled "nvAtom Github Markdown Grammar" appears twice.
I'm not quite sure exactly what happened here: I just updated notational-velocity to 0.2.0
while I had a note open in atom, at that point the notes tab disappeared, and the note seems to have been removed from disk. I only started using this a few days ago, so I only had a single note, and so I'm not sure if the bug is removing all notes, or just ones that are open.
Anyway there seems to be some kind of bug where notes get removed upon upgrade. Does the note directory get cleared out when atom updates the package directory?
It occurred to me that since Atom already has a fuzzy-finder view accessible via cmd-t/cmd-p
would it make sense (or even be possible) to integrate the nvatom
search view into the fuzzy-finder? Having an extra nvatom
specific view seems to be a duplication of functionality.
As a user, I already access files all the time using cmd-t
so when I'm working on my notes, it would be awesome to continue to use the same key-bindings. It would be nice to have the fuzzy-finder switch from searching by file-name only, to the nvatom feature of also searching within the note body.
Perhaps nvatom
could use a 'smart' approach where fuzzy-finder integration only occurs when the user is working within the notes root directory. This allows for normal fuzzy-finder operation when using Atom for writing code.
Thanks!
Title auto selection makes it impossible to create a new document from the search panel. Notational velocity cleverly solves this problem by auto-filling the rest of the title when partial initial title is queried.
When implementing, also make sure deleting the non-initial partial title matching filter too. This feature conflicts with the initial function of Notational Velocity.
[Enter steps to reproduce below:]
Atom Version: 1.0.11
System: KFK
Thrown From: nvatom package, v0.8.0
Uncaught SyntaxError: Invalid regular expression: /^sloterdijk, P. (2$/: Unterminated group
At /C:/Users/Franz/.atom/packages/nvatom/lib/notational-velocity-view.coffee:85
SyntaxError: Invalid regular expression: /^sloterdijk, P. (2$/: Unterminated group
at new RegExp (native)
at RegExp (native)
at NotationalVelocityView.module.exports.NotationalVelocityView.selectItem (C:\Users\Franz\.atom\packages\nvatom\lib\notational-velocity-view.coffee:45:30)
at NotationalVelocityView.module.exports.NotationalVelocityView.populateList (C:\Users\Franz\.atom\packages\nvatom\lib\notational-velocity-view.coffee:153:8)
at C:\Users\Franz\AppData\Local\atom\app-1.0.11\resources\app.asar\node_modules\atom-space-pen-views\lib\select-list-view.js:350:26
-1:06.1.0 core:paste (atom-text-editor#nvatom.directory.editor.mini.is-focused)
-0:51 application:new-file (ul.list-inline.tab-bar.inset-panel)
-0:49.1.0 command-palette:toggle (atom-text-editor.editor.is-focused)
-0:46.9.0 core:confirm (atom-text-editor.editor.mini.is-focused)
-0:46.9.0 nvatom:toggle (atom-text-editor.editor)
3x -0:41.6.0 core:backspace (atom-text-editor.editor.mini.is-focused)
-0:40.3.0 core:select-all (atom-text-editor.editor.mini.is-focused)
3x -0:37.4.0 core:backspace (atom-text-editor.editor.mini.is-focused)
-0:34.7.0 core:select-all (atom-text-editor.editor.mini.is-focused)
-0:34.1.0 core:backspace (atom-text-editor.editor.mini.is-focused)
-0:31.5.0 core:select-all (atom-text-editor.editor.mini.is-focused)
24x -0:29.7.0 core:backspace (atom-text-editor.editor.mini.is-focused)
-0:16.3.0 core:select-all (atom-text-editor.editor.mini.is-focused)
3x -0:14.6.0 core:backspace (atom-text-editor.editor.mini.is-focused)
-0:12.2.0 core:select-all (atom-text-editor.editor.mini.is-focused)
16x -0:07.9.0 core:backspace (atom-text-editor.editor.mini.is-focused)
{
"core": {
"themes": [
"atom-light-ui",
"one-light-syntax"
],
"disabledPackages": [
"notational-windows",
"notational-velocity"
],
"excludeVcsIgnoredPaths": false
},
"nvatom": {
"directory": "C:/Users/Franz/OneDrive/Dokumente/THS/Resoph",
"extensions": [
".txt"
]
}
}
# User
default-encoding, v0.8.0
event-watch, v3.7.11
file-watcher, v0.3.1
html-entities, v0.4.0
linter-tidy, v1.0.1
nvatom, v0.8.0
planner, v0.3.2
revert-buffer, v0.5.0
save-session, v0.15.7
stopwatch, v0.3.0
# Dev
No dev packages
I have files in my nvALT (etc) notes folders with extensions such as .txt, .taskpaper and .ftml. I'd like to have an option to set which file extensions are visible in search view.
I'm not sure if it's possible to do within Atom, but it'd be awesome if the hotkey were global, rather than specific to Atom.
After adding
'nvatom':
directory: '/path/to/your/notes'
Markdown Preview window does not display when keyboard or menu option used.
Tried with no space, single and double space before nvatom.
The end result is that either directory is not configured or Markdown Preview is not working.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.