GithubHelp home page GithubHelp logo

confmacs's Introduction

Hi, I'm Severen!

I am a systems developer at SiteHost and a mathematics and computer science graduate from the University of Canterbury.

My interests include:

  • Programming language theory, design, and implementation
  • Logic, type theory, and category theory
  • Abstract algebra

I am an avid user, developer, and supporter of free and open source software, and as such endeavour to release as many of my projects as possible under such licences.

You can contact me via email at [email protected] or on Discord at severen.

confmacs's People

Contributors

gitter-badger avatar severen avatar

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar

confmacs's Issues

[Solved]Thor 0.20.0 support

confmacs does not work and show this message

Traceback (most recent call last):
        8: from /bin/confmacs:23:in `<main>'
        7: from /usr/lib/ruby/2.5.0/rubygems.rb:309:in `activate_bin_path'
        6: from /usr/lib/ruby/2.5.0/rubygems.rb:309:in `synchronize'
        5: from /usr/lib/ruby/2.5.0/rubygems.rb:310:in `block in activate_bin_path'
        4: from /usr/lib/ruby/2.5.0/rubygems/specification.rb:1440:in `activate'
        3: from /usr/lib/ruby/2.5.0/rubygems/specification.rb:1458:in `activate_dependencies'
        2: from /usr/lib/ruby/2.5.0/rubygems/specification.rb:1458:in `each'
        1: from /usr/lib/ruby/2.5.0/rubygems/specification.rb:1469:in `block in activate_dependencies'
/usr/lib/ruby/2.5.0/rubygems/dependency.rb:312:in `to_specs': Could not find 'thor' (~> 0.19.1) - did find: [thor-0.20.0] (Gem::MissingSpecVersionError)
Checked in 'GEM_PATH=/home/master/.gem/ruby/2.5.0:/usr/lib/ruby/gems/2.5.0:/home/master/.gem', execute `gem env` for more information

gem env output:

RubyGems Environment:
  - RUBYGEMS VERSION: 2.7.6
  - RUBY VERSION: 2.5.1 (2018-03-29 patchlevel 57) [x86_64-linux]
  - INSTALLATION DIRECTORY: /home/master/.gem
  - USER INSTALLATION DIRECTORY: /home/master/.gem/ruby/2.5.0
  - RUBY EXECUTABLE: /usr/bin/ruby
  - EXECUTABLE DIRECTORY: /home/master/.gem/bin
  - SPEC CACHE DIRECTORY: /home/master/.gem/specs
  - SYSTEM CONFIGURATION DIRECTORY: /etc
  - RUBYGEMS PLATFORMS:
    - ruby
    - x86_64-linux
  - GEM PATHS:
     - /home/master/.gem
     - /home/master/.gem/ruby/2.5.0
     - /usr/lib/ruby/gems/2.5.0
  - GEM CONFIGURATION:
     - :update_sources => true
     - :verbose => true
     - :backtrace => false
     - :bulk_threshold => 1000
     - "gem" => "--user-install"
  - REMOTE SOURCES:
     - https://rubygems.org/
  - SHELL PATH:
     - /home/master/.zplug/repos/zplug/zplug/bin
     - /home/master/.zplug/bin
     - /home/master/.gem/ruby/2.5.0/bin
... etc

Doesn't work with Windows

Any chance of making this work with Windows? It works OK when running confmacs init and confmacs list, but when I try to run confmacs select I get the following:

λ confmacs select spacemacs
~/.emacs.d will be deleted and replaced with a symlink.
Do you want to proceed? (Y/N)
Y
C:/tools/ruby22/lib/ruby/2.2.0/fileutils.rb:357:in `symlink': symlink() function is unimplemented on    this machine (NotImplementedError)
        from C:/tools/ruby22/lib/ruby/2.2.0/fileutils.rb:357:in `block in ln_s'
        from C:/tools/ruby22/lib/ruby/2.2.0/fileutils.rb:1586:in `fu_each_src_dest0'
        from C:/tools/ruby22/lib/ruby/2.2.0/fileutils.rb:355:in `ln_s'
        from C:/tools/ruby22/lib/ruby/gems/2.2.0/gems/confmacs-0.2.0/bin/confmacs:62:in `select'
        from C:/tools/ruby22/lib/ruby/gems/2.2.0/gems/thor-0.19.1/lib/thor/command.rb:27:in `run'
        from C:/tools/ruby22/lib/ruby/gems/2.2.0/gems/thor-0.19.1/lib/thor/invocation.rb:126:in  `invoke_command'
        from C:/tools/ruby22/lib/ruby/gems/2.2.0/gems/thor-0.19.1/lib/thor.rb:359:in `dispatch'
        from C:/tools/ruby22/lib/ruby/gems/2.2.0/gems/thor-0.19.1/lib/thor/base.rb:440:in `start'
        from C:/tools/ruby22/lib/ruby/gems/2.2.0/gems/confmacs-0.2.0/bin/confmacs:76:in `<top  (required)>'
        from C:/tools/ruby22/bin/confmacs:23:in `load'
        from C:/tools/ruby22/bin/confmacs:23:in `<main>'

Implement a configuration file

There is currently no way to store or change settings. A TOML configuration file stored in the user's XDG_CONFIG directory would be the preferred way to implement this.

"confmacs select" breaks when .emacs.d not present

Had to do a fresh install on my MBP running OSX Yosemite. Had no previous .emacs.d folder created. Here's the output of confmacs select when .emacs.d does not exist:

confmacs select spacemacs
~/.emacs.d will be deleted and replaced with a symlink.
Do you want to proceed? (Y/N)
Y
/Users/username/.anyenv/envs/rbenv/versions/2.3.0/lib/ruby/2.3.0/fileutils.rb:1300:in `open': Permission denied @ dir_initialize - /Users/wwinfrey/.emacs.d (Errno::EACCES)
    from /Users/username/.anyenv/envs/rbenv/versions/2.3.0/lib/ruby/2.3.0/fileutils.rb:1300:in `entries'
    from /Users/username/.anyenv/envs/rbenv/versions/2.3.0/lib/ruby/2.3.0/fileutils.rb:1300:in `entries'
    from /Users/username/.anyenv/envs/rbenv/versions/2.3.0/lib/ruby/2.3.0/fileutils.rb:1487:in `postorder_traverse'
    from /Users/username/.anyenv/envs/rbenv/versions/2.3.0/lib/ruby/2.3.0/fileutils.rb:777:in `remove_entry'
    from /Users/username/.anyenv/envs/rbenv/versions/2.3.0/lib/ruby/2.3.0/fileutils.rb:805:in `remove_dir'
    from /Users/username/.anyenv/envs/rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/confmacs-0.2.0/bin/confmacs:60:in `select'
    from /Users/username/.anyenv/envs/rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/thor-0.19.1/lib/thor/command.rb:27:in `run'
    from /Users/username/.anyenv/envs/rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/thor-0.19.1/lib/thor/invocation.rb:126:in `invoke_command'
    from /Users/username/.anyenv/envs/rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/thor-0.19.1/lib/thor.rb:359:in `dispatch'
    from /Users/username/.anyenv/envs/rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/thor-0.19.1/lib/thor/base.rb:440:in `start'
    from /Users/username/.anyenv/envs/rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/confmacs-0.2.0/bin/confmacs:76:in `<top (required)>'
    from /Users/username/.anyenv/envs/rbenv/versions/2.3.0/bin/confmacs:23:in `load'
    from /Users/username/.anyenv/envs/rbenv/versions/2.3.0/bin/confmacs:23:in `<main>'`

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.