Coder Social home page Coder Social logo

initsplit's People

Contributors

dabrahams avatar glasserc avatar jwiegley avatar mmarcus avatar sindikat 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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

initsplit's Issues

Don't advise save-buffer

Using advice on a basic and important function like save-buffer makes me uncomfortable. There has to be a better way to implement the check for real modifications. One option might be write-file-functions. Another might be before-save-hook. (I'm not sure whether the file will get saved if before-save-hook marks it as unmodified.)

reference to free variable warnings after upgrading to Emacs 25

I'm getting the following warnings every time Emacs starts. It used to be fine with emacs 24.

Warning (bytecomp): reference to free variable �initsplit-stanza-position�
Warning (bytecomp): assignment to free variable �initsplit-stanza-position�
Warning (bytecomp): assignment to free variable �initsplit-buffer-checksum�

Cheers!

custom-safe-themes doesn't "take" if split out

I initsplitted my custom-safe-themes' setting into a per-host file, and found that it no longer worked, in the sense thatload-theme' nevertheless still always prompts for manual acceptance of the theme even when it has not changed.

Probably not initsplit's problem to solve, but maybe should be documented.

Probably not relevant, but the theme I'm trying to load is `solarized-dark'.

Can't use the default settings file as a target

…which you may be prone to do due to the unavailability of negative assertions in elisp regexps, to keep some variable out of its usual customization location. This somehow causes all settings to get moved there.

please write a README

I don't get it to work. I have emacs version 25.1.1 and a big old custom.el file which I now want to split out. This is my initsplit config:

 '(initsplit-customizations-alist
   (quote
    (("^haskell-.*$" "haskell.el" nil t)
     ("^ido-.*$" "ido.el" nil t))))
 '(initsplit-default-directory "~/.emacs.d/custom.d/")
 '(initsplit-pretty-print t)

I save customizations by clicking the "Apply and Save" button in the top level customization buffer or in the initsplit buffer or the ido buffer. But only the haskell.el gets written although I also have variables matching ido-.

Before I start to debug and file a better bugreport, it would help to have a README to know whether I installed and configured the initsplit.el correctly.

Prone to clobbering customization edits

If I make edits to a customization stanza and then save customizations through the UI, the edits will get clobbered. Maybe the thing to do is store an md5 of the stansas to see whether they've been changed.

Cannot byte-compile my .org.el

If I byte-compile .org.el to .org.elc, then initsplit-known-p answers nil for '.org.el', and thus initsplit stops writing out any customizations to that file, and puts them back in .emacs.el -- whether that one is compiled or not.

Better documentation for initsplit-pretty-print

Reading the docstring for initsplit-pretty-print, I understand conceptually how pretty-printing might make changes more obvious to a VCS, but I got confused by the reference to indent-pp-sexp (which indents OR OPTIONALLY pretty-prints, and customize stanzas are usually indented).

I think an example might make this clearer. From my org mode customizations, you might say:

With initsplit-pretty-print, the customization:

'(org-capture-templates (quote (("t" "todo" entry (file+headline "~/src/org-files/incoming.org" "New") "* TODO %?
%u
%a"))))

Will instead be saved as:

'(org-capture-templates
(quote
(("t" "todo" entry
(file+headline "~/src/org-files/incoming.org" "New")
"* TODO %?
%u
%a"))))

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.