Giter Club home page Giter Club logo

.emacs.d's People

Contributors

fuco1 avatar matusgoljersaleschamp 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

Watchers

 avatar  avatar  avatar  avatar  avatar

.emacs.d's Issues

Implement and package "org radio checkbox"

References

implementation

(defun check-hook-fn ()
  (let ((parent (org-element-context)))
    (while (and parent
                (not (eq 'plain-list (org-element-type parent))))
      (setq parent (org-element-property :parent parent)))
    (when (-contains? (org-element-property :attr_org parent) ":radio")
      (save-excursion
        (--each (org-element-property :structure parent)
          (goto-char (car it))
          (when (re-search-forward "\\[X\\]" (line-end-position) t)
            (replace-match "[ ]"))))
      (save-excursion
        (beginning-of-line)
        (when (re-search-forward "\\[ \\]" (line-end-position) t)
          (replace-match "[X]"))))))

Also add the reference methods to get the picked value, will probably need a bit of work.

Usage

#+attr_org: :radio
#+name: test
- [ ] aasd
- [ ] Lorem ipsum dolor sit amet, consectetuer adipiscing
- [X] c
- [ ] dd

Make some "framework" for "jump to definition"

Something simple like buffer local function and a unified binding + setup for various languages/modes.

Right now we use:

  • gtags (php/c/...)
  • lsp (php)
  • flow (js)
  • find-function (emacs) but this has not great way to pop back. Also queries for the input.

Error in first line of org-project.el

The first line of org-projects.el is as follows:

;;; org-package.el --- Additional code for managing packages

but I think you meant

;;; org-project.el --- Additional code for managing projects

I like probably so many many others have been configuring a GTD system within org based heavily on Bernt Hansen's great article at http://doc.norang.ca/org-mode.html but then I discovered your configuration and this file and I like how you refactored (is that the correct term? - I'm slowly trying to learn how to programme) many of his functions. I've been trying to 'modernise' his article as it has not been updated since 2015 to account for some changes in org but also to take advantage of new packages such as org-super-agenda and this file is proving very helpful. I wondered have you ever considered creating an org-gtd.el based on this file and perhaps your org-defs.el. Anyway, thanks for your time.

Make a package for flycheck to automatically use local installations

I have to repeat the same code all over again and again in my personal configuration to update paths to use local installations.

(example)

;; inside setup hook
(-when-let (root (locate-dominating-file default-directory "node_modules"))
        (setq-local flycheck-javascript-eslint-executable (concat root "/node_modules/.bin/eslint"))
        (setq-local flycheck-javascript-flow-executable (concat root "/node_modules/.bin/flow"))
        (setq-local flycheck-javascript-flow-coverage-executable (concat root "/node_modules/.bin/flow")))
  • php: composer
  • javascript: npm/yarn
  • ruby/puppet: bundler
  • python: virtualenv
  • haskell: stack
  • emacs: cask

We should detect that this is going on and adjust the executables accordingly automatically. Virtually never would the user want to run any globally available executable if it is locally bundled with the project.

While something like this already seems to exist for cask other tools are missing.

Is this something we would want to push to the flycheck org as separate packages or even to flycheck itself? I think there's a great value in having these things just working without the users having to mess around with exec paths and stuff.

Figure out a way to cache refile targets for node-graph

Ideally keep a targetheadline -> marker list and only update files that changed on disk from the last change. It should all happen automatically. Should be compatible with org-refile-get-targets and org-refile-targets.

Publish as a package then?

Write a post about anchored font-lock

Wow, amazing!

(font-lock-add-keywords
 nil
 '(("(\\(elsa\\) +\\(\\(?:\\sw\\|\\s_\\)+\\) +::"
    (1 font-lock-keyword-face)
    (2 font-lock-function-name-face)
    ("\\_<\\(\\(?:\\sw\\|\\s_\\)+\\)\\_>"
     (save-excursion (up-list) (point))
     (progn (backward-up-list) (down-list))
     (0 font-lock-type-face))
    ("->" (save-excursion (up-list) (point))
     nil
     (0 font-lock-variable-name-face t)))))

on this:

(elsa use-foo :: string? -> string -> string)

Wrap values in magic-mode-alist with custom helpers

For example where we call json-mode we actually want json-mode + json-mode-beautify, so let's set up a function that does that and then put it in the alist instead.

See my-scratch-autodetect-mode and custom mode handling.

We will also need to traverse the alist and replace the values added by other modes. Or maybe hook to the mode function so we don't have to bother with external code.

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.