Giter VIP home page Giter VIP logo

emacs-geeknote's People

Contributors

alperenkose avatar avendael avatar ayman avatar stephenwithav avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

emacs-geeknote's Issues

emacsclient in Emacs For Mac OS X

It maybe not relevant here, but after googling for a long time, I still can't find the right solution.

Emacs24.5 was installed from macport on Mac OS X 10.10, Emacs daemon is started with
/Applications/MacPorts/Emacs.app/Contents/MacOS/Emacs --daemon

then try to edit a note, there is an error says:
emacsclient: can't find socket; have you started the server?
To start the server in Emacs, type "M-x server-start".

geeknote-command fails when argument to --tags flag is empty

for me at least

the current

(defun geeknote-create-old (title)
  "Create a new note with the given title.

TITLE the title of the new note to be created."
  (interactive "sName: ")
  (message (format "geeknote creating note: %s" title))
  (let ((note-title (geeknote--parse-title title))
	(note-tags (geeknote--parse-tags title))
	(note-notebook (geeknote--parse-notebook title)))
  (async-shell-command
   (format (concat geeknote-command " create --content WRITE --title %s --tags %s"
                   (when note-notebook " --notebook %s"))
           (shell-quote-argument note-title)
           (shell-quote-argument (or note-tags ""))
           (shell-quote-argument (or note-notebook ""))))))

fails with

python ~/.emacs.d/opt/geeknote/geeknote/geeknote.py create --content WRITE --title emacs\ vs\ vim --tags '' --notebook ideas: exited abnormally with code 1.

removing --tags seems to work though obviously without the tagging feature

(defun geeknote-create (title)
  "Create a new note with the given title.

TITLE the title of the new note to be created."
  (interactive "sName: ")
  (message (format "geeknote creating note: %s" title))
  (let ((note-title (geeknote--parse-title title))
	(note-tags (geeknote--parse-tags title))
	(note-notebook (geeknote--parse-notebook title)))
  (async-shell-command
   (format (concat geeknote-command " create --content WRITE --title %s "
                   (when note-notebook " --notebook %s"))
           (shell-quote-argument note-title)
           (shell-quote-argument (or note-tags ""))
           (shell-quote-argument (or note-notebook ""))))))

macOS Sierra 10.12
geeknote 2.0.11
python 2.7.10

Move to geeknote fork

Would you consider switching to geeknote fork? The project is actually maintained and bring several improvements. There are just a couple of modifications to implement in the API. I could prepare a PR if you are interested.

Manage notes the `ranger` style?

First of all, I think this should be implemented in geeknote to for broader audience. However, would it be possible to walk note tree and edit notes like ranger command-line file manager?

Essentially it will be very cool to do like this:

  • List notebooks/stacks
  • Jump to the output buffer
  • Hit l (lowercase of L) for goto sub item
  • Hit j goto item below
  • Hit k goto item above. Or go up one level if it is the topmost one already.
  • Hit h go up one level (parent item)
  • Some other editing commands: create item of the same level, edit item, delete item, move item, etc.

"geeknote: command not found" error with pyenv

I configured geeknote-command with:

(setq geeknote-command "/home/steven/repos/.pyenv/versions/2.7/bin/python /home/steven/repos/.pyenv/versions/2.7/bin/geeknote")                                                                                             

..and geeknote-find returns the command not found error.

Is there a workaround?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.