Coder Social home page Coder Social logo

s3ed's People

Contributors

mattusifer avatar syohex avatar tedkornish 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

Watchers

 avatar  avatar

s3ed's Issues

s3ed breaks the minibuffer

Hi there @mattusifer,
First of all, thanks for this package. It's been super useful for me on a daily basis.

Since the last time I updated, I'm running into an issue with s3ed-mode which breaks the backspace key on the minibuffer for everything else.
Steps to reproduce:

  • call s3ed-find-file.
  • answer y to the prompt.
  • visit a bucket.

Once that is done, the problem is now activated. Whenever I'm trying to use the minibuffer for any other reason (say, good old C-x C-f), if I hit backspace I get the following error:

Debugger entered--Lisp error: (void-variable base)
  #f(compiled-function () (interactive nil) #<bytecode 0xb4797c153aeae80>)()
  funcall-interactively(#f(compiled-function () (interactive nil) #<bytecode 0xb4797c153aeae80>))
  call-interactively(#f(compiled-function () (interactive nil) #<bytecode 0xb4797c153aeae80>) nil nil)
  command-execute(#f(compiled-function () (interactive nil) #<bytecode 0xb4797c153aeae80>))
  read-from-minibuffer(...)
  completing-read-default(...)
  completing-read(...)
  read-file-name-default(...)
  read-file-name(...)
  find-file-read-args(...)
  byte-code(...)
  call-interactively(find-file nil nil)
  command-execute(find-file)

Clicking on the compiled function on the second like shows this:

byte code:
  args: nil
 interactive: nil
0       constant  s3ed-completing-read-backspace
1       varref    base
2       call      1
3       return    

Customize Command Line Args?

This is a very helpful tool for my workflow so thanks for making it!

I need to copy content with --sse flag every time I copy content but not sure how to specify this or other flags. I understand you can't make everything flexible because I could just use AWS CLI directly but any way to modify the command before it's run to add arguments or customize variable with flags I always need to use?

Multi-account and regions

Thanks a lot for working on this module!
I think support for using different accounts/profiles and regions would be a big plus.
Eg have the path start with /profile/region/
Then it can be different for each interaction with s3 without much hassle.

Quitting an s2ed command leaves the minibuffer backspace binding broken

The fix for #26 works great as long as you complete the s3ed command. I've found that if you change your mind and quit (C-g), the backspace binding remains and causes an error for other minibuffer commands.

I commented on #27 with a workaround: I am advising the s3ed commands to handle the quit signal:

(defun my/s3ed-quit-handler (orig &rest args)
  (condition-case nil
      (apply orig args)
    (quit (define-key minibuffer-local-map (kbd "<backspace>") nil))))
(advice-add #'s3ed-find-file :around #'my/s3ed-quit-handler)
(advice-add #'s3ed-save-file :around #'my/s3ed-quit-handler)

MELPA

This project looks really cool, so I tried to install via my spacemacs config, but it looks like there isn't a package yet on MELPA or spacelpa.

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.