Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

evil-indent-textobjects fork is causing an error when installing #2688

Closed
mahinshaw opened this issue Aug 18, 2015 · 59 comments
Closed

evil-indent-textobjects fork is causing an error when installing #2688

mahinshaw opened this issue Aug 18, 2015 · 59 comments

Comments

@mahinshaw
Copy link
Contributor

Refers to #2656. When updating spacemacs, evil-indent-textobject throws an error when installing

using version - GNU Emacs 24.5.1 (x86_64-w64-mingw32) of 2015-04-12 on KAEL

Debugger entered--Lisp error: (error "Package lacks a \"Version\" or \"Package-Version\" header")
  signal(error ("Package lacks a \"Version\" or \"Package-Version\" header"))
  error("Package lacks a \"Version\" or \"Package-Version\" header")
  package-buffer-info()
  byte-code("\303\304!�r�q\210\305\216\306  !\210\n\307=\203�\310 \2024
  quelpa-get-package-desc("c:/Users/Mark/.emacs.d/.cache/quelpa/packages/evil-indent-textobject-20140918.707.el")
  quelpa-package-install((evil-indent-textobject :fetcher github :repo "TheBB/evil-indent-textobject"))
  quelpa((evil-indent-textobject :fetcher github :repo "TheBB/evil-indent-textobject"))
  (if recipe (quelpa recipe) (spacemacs-buffer/warning (concat "Cannot find any recipe for package %S! Be sure " "to add a recipe for it in alist %S.") pkg-name recipes-var))
  (let* ((pgk-name (eieio-oref pkg (quote :name))) (layer (eieio-oref pkg (quote :owner))) (recipe (cons pkg-name (cdr (eieio-oref pkg (quote :location)))))) (if recipe (quelpa recipe) (spacemacs-buffer/warning (concat "Cannot find any recipe for package %S! Be sure " "to add a recipe for it in alist %S.") pkg-name recipes-var)))
  configuration-layer//install-from-recipe([object cfgl-package "evil-indent-textobject" evil-indent-textobject spacemacs nil nil (recipe :fetcher github :repo "TheBB/evil-indent-textobject") nil nil])
  (cond ((or (null pkg) (eq (quote elpa) location)) (configuration-layer//install-from-elpa pkg-name)) ((and (listp location) (eq (quote recipe) (car location))) (configuration-layer//install-from-recipe pkg)) (t (spacemacs-buffer/warning "Cannot install package %S." pkg-name)))
  (condition-case err (cond ((or (null pkg) (eq (quote elpa) location)) (configuration-layer//install-from-elpa pkg-name)) ((and (listp location) (eq (quote recipe) (car location))) (configuration-layer//install-from-recipe pkg)) (t (spacemacs-buffer/warning "Cannot install package %S." pkg-name))) ((quote error) (configuration-layer//set-error) (spacemacs-buffer/append (format (concat "An error occurred while installing %s " "(error: %s)\n") pkg-name err))))
  (if (package-installed-p pkg-name) nil (condition-case err (cond ((or (null pkg) (eq (quote elpa) location)) (configuration-layer//install-from-elpa pkg-name)) ((and (listp location) (eq (quote recipe) (car location))) (configuration-layer//install-from-recipe pkg)) (t (spacemacs-buffer/warning "Cannot install package %S." pkg-name))) ((quote error) (configuration-layer//set-error) (spacemacs-buffer/append (format (concat "An error occurred while installing %s " "(error: %s)\n") pkg-name err)))))
  (let* ((pkg (object-assoc pkg-name :name configuration-layer-packages)) (layer (if pkg (progn (eieio-oref pkg (quote :owner))))) (location (if pkg (progn (eieio-oref pkg (quote :location)))))) (spacemacs-buffer/replace-last-line (format "--> installing %s%s... [%s/%s]" (if layer (format "%S:" layer) "dependency ") pkg-name installed-count noinst-count) t) (if (package-installed-p pkg-name) nil (condition-case err (cond ((or (null pkg) (eq (quote elpa) location)) (configuration-layer//install-from-elpa pkg-name)) ((and (listp location) (eq (quote recipe) (car location))) (configuration-layer//install-from-recipe pkg)) (t (spacemacs-buffer/warning "Cannot install package %S." pkg-name))) ((quote error) (configuration-layer//set-error) (spacemacs-buffer/append (format (concat "An error occurred while installing %s " "(error: %s)\n") pkg-name err))))))
  (while --dolist-tail-- (setq pkg-name (car --dolist-tail--)) (setq installed-count (1+ installed-count)) (let* ((pkg (object-assoc pkg-name :name configuration-layer-packages)) (layer (if pkg (progn (eieio-oref pkg (quote :owner))))) (location (if pkg (progn (eieio-oref pkg (quote :location)))))) (spacemacs-buffer/replace-last-line (format "--> installing %s%s... [%s/%s]" (if layer (format "%S:" layer) "dependency ") pkg-name installed-count noinst-count) t) (if (package-installed-p pkg-name) nil (condition-case err (cond ((or (null pkg) (eq ... location)) (configuration-layer//install-from-elpa pkg-name)) ((and (listp location) (eq ... ...)) (configuration-layer//install-from-recipe pkg)) (t (spacemacs-buffer/warning "Cannot install package %S." pkg-name))) ((quote error) (configuration-layer//set-error) (spacemacs-buffer/append (format (concat "An error occurred while installing %s " "(error: %s)\n") pkg-name err)))))) (spacemacs//redisplay) (setq --dolist-tail-- (cdr --dolist-tail--)))
  (let ((--dolist-tail-- noinst-pkg-names) pkg-name) (while --dolist-tail-- (setq pkg-name (car --dolist-tail--)) (setq installed-count (1+ installed-count)) (let* ((pkg (object-assoc pkg-name :name configuration-layer-packages)) (layer (if pkg (progn (eieio-oref pkg ...)))) (location (if pkg (progn (eieio-oref pkg ...))))) (spacemacs-buffer/replace-last-line (format "--> installing %s%s... [%s/%s]" (if layer (format "%S:" layer) "dependency ") pkg-name installed-count noinst-count) t) (if (package-installed-p pkg-name) nil (condition-case err (cond ((or ... ...) (configuration-layer//install-from-elpa pkg-name)) ((and ... ...) (configuration-layer//install-from-recipe pkg)) (t (spacemacs-buffer/warning "Cannot install package %S." pkg-name))) ((quote error) (configuration-layer//set-error) (spacemacs-buffer/append (format ... pkg-name err)))))) (spacemacs//redisplay) (setq --dolist-tail-- (cdr --dolist-tail--))))
  (progn (spacemacs-buffer/append (format "Found %s new package(s) to install...\n" noinst-count)) (spacemacs-buffer/append "--> fetching new package repository indexes...\n") (spacemacs//redisplay) (package-refresh-contents) (setq installed-count 0) (let ((--dolist-tail-- noinst-pkg-names) pkg-name) (while --dolist-tail-- (setq pkg-name (car --dolist-tail--)) (setq installed-count (1+ installed-count)) (let* ((pkg (object-assoc pkg-name :name configuration-layer-packages)) (layer (if pkg (progn ...))) (location (if pkg (progn ...)))) (spacemacs-buffer/replace-last-line (format "--> installing %s%s... [%s/%s]" (if layer (format "%S:" layer) "dependency ") pkg-name installed-count noinst-count) t) (if (package-installed-p pkg-name) nil (condition-case err (cond (... ...) (... ...) (t ...)) ((quote error) (configuration-layer//set-error) (spacemacs-buffer/append ...))))) (spacemacs//redisplay) (setq --dolist-tail-- (cdr --dolist-tail--)))) (spacemacs-buffer/append "\n"))
  (if noinst-pkg-names (progn (spacemacs-buffer/append (format "Found %s new package(s) to install...\n" noinst-count)) (spacemacs-buffer/append "--> fetching new package repository indexes...\n") (spacemacs//redisplay) (package-refresh-contents) (setq installed-count 0) (let ((--dolist-tail-- noinst-pkg-names) pkg-name) (while --dolist-tail-- (setq pkg-name (car --dolist-tail--)) (setq installed-count (1+ installed-count)) (let* ((pkg (object-assoc pkg-name :name configuration-layer-packages)) (layer (if pkg ...)) (location (if pkg ...))) (spacemacs-buffer/replace-last-line (format "--> installing %s%s... [%s/%s]" (if layer ... "dependency ") pkg-name installed-count noinst-count) t) (if (package-installed-p pkg-name) nil (condition-case err (cond ... ... ...) (... ... ...)))) (spacemacs//redisplay) (setq --dolist-tail-- (cdr --dolist-tail--)))) (spacemacs-buffer/append "\n")))
  (let* ((candidates (configuration-layer/filter-packages packages (function (lambda (x) (and (not ...) (not ...) (not ...)))))) (noinst-pkg-names (configuration-layer//get-uninstalled-packages (mapcar (quote car) (object-assoc-list :name candidates)))) (noinst-count (length noinst-pkg-names))) (if noinst-pkg-names (progn (spacemacs-buffer/append (format "Found %s new package(s) to install...\n" noinst-count)) (spacemacs-buffer/append "--> fetching new package repository indexes...\n") (spacemacs//redisplay) (package-refresh-contents) (setq installed-count 0) (let ((--dolist-tail-- noinst-pkg-names) pkg-name) (while --dolist-tail-- (setq pkg-name (car --dolist-tail--)) (setq installed-count (1+ installed-count)) (let* ((pkg ...) (layer ...) (location ...)) (spacemacs-buffer/replace-last-line (format "--> installing %s%s... [%s/%s]" ... pkg-name installed-count noinst-count) t) (if (package-installed-p pkg-name) nil (condition-case err ... ...))) (spacemacs//redisplay) (setq --dolist-tail-- (cdr --dolist-tail--)))) (spacemacs-buffer/append "\n"))))
  configuration-layer//install-packages(([object cfgl-package "ac-ispell" ac-ispell auto-completion nil nil elpa nil nil] [object cfgl-package "ace-link" ace-link spacemacs nil nil elpa nil nil] [object cfgl-package "ace-window" ace-window spacemacs nil nil elpa nil nil] [object cfgl-package "adaptive-wrap" adaptive-wrap spacemacs nil nil elpa nil nil] [object cfgl-package "aggressive-indent" aggressive-indent spacemacs nil nil elpa nil nil] [object cfgl-package "align-cljlet" align-cljlet clojure nil nil elpa nil nil] [object cfgl-package "auto-complete" auto-complete auto-completion nil nil elpa nil nil] [object cfgl-package "auto-dictionary" auto-dictionary spacemacs nil nil elpa nil nil] [object cfgl-package "auto-highlight-symbol" auto-highlight-symbol spacemacs nil nil elpa nil nil] [object cfgl-package "auto-yasnippet" auto-yasnippet auto-completion nil nil elpa nil nil] [object cfgl-package "avy" avy spacemacs nil nil elpa nil nil] [object cfgl-package "bind-key" bind-key spacemacs nil nil elpa nil nil] [object cfgl-package "bookmark" bookmark spacemacs nil nil elpa nil nil] [object cfgl-package "buffer-move" buffer-move spacemacs nil nil elpa nil nil] [object cfgl-package "centered-cursor" centered-cursor spacemacs nil nil local nil nil] [object cfgl-package "cider" cider clojure nil nil elpa nil nil] [object cfgl-package "cider-eval-sexp-fu" cider-eval-sexp-fu clojure nil nil elpa nil nil] [object cfgl-package "clean-aindent-mode" clean-aindent-mode spacemacs nil nil elpa nil nil] [object cfgl-package "clj-refactor" clj-refactor clojure nil nil elpa nil nil] [object cfgl-package "clojure-mode" clojure-mode clojure nil nil elpa nil nil] [object cfgl-package "coffee-mode" coffee-mode javascript nil nil elpa nil nil] [object cfgl-package "company" company auto-completion (shell) (clojure csharp emacs-lisp html javascript) elpa nil nil] [object cfgl-package "company-quickhelp" company-quickhelp auto-completion nil nil elpa nil nil] [object cfgl-package "company-statistics" company-statistics auto-completion nil nil elpa nil nil] [object cfgl-package "company-tern" company-tern javascript nil nil elpa nil nil] [object cfgl-package "company-web" company-web html nil nil elpa nil nil] [object cfgl-package "css-mode" css-mode html nil nil elpa nil nil] [object cfgl-package "define-word" define-word spacemacs nil nil elpa nil nil] [object cfgl-package "desktop" desktop spacemacs nil nil elpa nil nil] [object cfgl-package "diff-hl" diff-hl version-control nil nil elpa nil nil] [object cfgl-package "diff-mode" diff-mode version-control nil nil elpa nil nil] [object cfgl-package "diminish" diminish spacemacs nil nil elpa nil nil] [object cfgl-package "doc-view" doc-view spacemacs nil nil elpa nil nil] [object cfgl-package "ediff" ediff spacemacs nil nil elpa nil nil] [object cfgl-package "eldoc" eldoc spacemacs nil (emacs-lisp) elpa nil nil] [object cfgl-package "elisp-slime-nav" elisp-slime-nav emacs-lisp nil nil elpa nil nil] [object cfgl-package "emacs-builtin-emacs-lisp" emacs-builtin-emacs-lisp emacs-lisp nil nil local post nil] [object cfgl-package "emacs-builtin-process-menu" emacs-builtin-process-menu spacemacs nil nil local nil nil] [object cfgl-package "emmet-mode" emmet-mode html nil nil elpa nil nil] [object cfgl-package "esh-help" esh-help shell nil nil elpa nil nil] [object cfgl-package "eshell" eshell shell nil nil elpa nil nil] [object cfgl-package "eshell-prompt-extras" eshell-prompt-extras shell nil nil elpa nil nil] [object cfgl-package "eval-sexp-fu" eval-sexp-fu spacemacs nil nil elpa nil nil] [object cfgl-package "evil" evil spacemacs nil (emacs-lisp) elpa nil nil] [object cfgl-package "evil-anzu" evil-anzu spacemacs nil nil elpa nil nil] [object cfgl-package "evil-args" evil-args spacemacs nil nil elpa nil nil] [object cfgl-package "evil-commentary" evil-commentary evil-commentary nil nil elpa nil nil] [object cfgl-package "evil-escape" evil-escape spacemacs nil nil elpa nil nil] [object cfgl-package "evil-exchange" evil-exchange spacemacs nil nil elpa nil nil] [object cfgl-package "evil-iedit-state" evil-iedit-state spacemacs nil nil elpa nil nil] ...))
  (let ((layers (reverse configuration-layer-layers)) (warning-minimum-level :error)) (configuration-layer//set-layers-variables layers) (configuration-layer//load-layers-files layers (quote ("funcs.el" "config.el"))) (configuration-layer//load-layers-files layers (quote ("packages.el" "extensions.el"))) (setq configuration-layer-packages (configuration-layer//sort-packages (configuration-layer/get-packages layers t))) (setq spacemacs-loading-dots-chunk-threshold (/ (configuration-layer/configured-packages-count) spacemacs-loading-dots-chunk-count)) (configuration-layer//install-packages configuration-layer-packages) (configuration-layer//configure-packages configuration-layer-packages) (configuration-layer//load-layers-files layers (quote ("keybindings.el"))))
  configuration-layer/load-layers()
  configuration-layer/sync()
  (progn (load-file (concat user-emacs-directory "core/core-load-paths.el")) (require (quote core-spacemacs)) (require (quote core-configuration-layer)) (spacemacs/init) (configuration-layer/sync) (spacemacs/setup-startup-hook) (spacemacs/maybe-install-dotfile) (require (quote server)) (if (server-running-p) nil (server-start)))
  (if (spacemacs/emacs-version-ok) (progn (load-file (concat user-emacs-directory "core/core-load-paths.el")) (require (quote core-spacemacs)) (require (quote core-configuration-layer)) (spacemacs/init) (configuration-layer/sync) (spacemacs/setup-startup-hook) (spacemacs/maybe-install-dotfile) (require (quote server)) (if (server-running-p) nil (server-start))))
  eval-buffer(#<buffer  *load*> nil "c:/Users/Mark/.emacs.d/init.el" nil t)  ; Reading at buffer position 998
  load-with-code-conversion("c:/Users/Mark/.emacs.d/init.el" "c:/Users/Mark/.emacs.d/init.el" t t)
  load("c:/Users/Mark/.emacs.d/init" t t)
  #[0 "�\205\262gg
@Kethku
Copy link
Contributor

Kethku commented Aug 18, 2015

It is still throwing the same issue for me as well. I have tried it on two windows 10 machines same version as above. Also it appears that I can't run package-buffer-info from M-x menu as it doesn't exist? I'm pretty new to emacs so I might be missing something. Could it possibly be related to the new use-package quelpa feature?

@TheBB
Copy link
Collaborator

TheBB commented Aug 18, 2015

You may have to M-: (require 'package) before running package-buffer-info.

@Kethku
Copy link
Contributor

Kethku commented Aug 18, 2015

gotchya. I'll see what I can do.

@TheBB
Copy link
Collaborator

TheBB commented Aug 18, 2015

Ah sorry, package-buffer-info isn't an interactive command. You have to do it with M-: (package-buffer-info) and not M-x.

@TheBB
Copy link
Collaborator

TheBB commented Aug 18, 2015

@mahinshaw When this happens, can you grab the file in the backtrace (c:/Users/Mark/.emacs.d/.cache/quelpa/packages/evil-indent-textobject-20140918.707.el) and post it somewhere so I can see?

@mahinshaw
Copy link
Contributor Author

@Kethku
Copy link
Contributor

Kethku commented Aug 18, 2015

Interestingly enough, the error does not seem to show up on my win 7 work machine. @mahinshaw what version of windows are you running?

@mahinshaw
Copy link
Contributor Author

@Devagamster - I am on Windows 7 - what emacs build are you using?

@Kethku
Copy link
Contributor

Kethku commented Aug 18, 2015

http://emacsbinw64.sourceforge.net/ for both machines having the issue and my one machine that is not displaying the issue. They all have the same .spacemacs.d folder as well.

@mahinshaw
Copy link
Contributor Author

That is what I am using as well. I tried an old build of 24.3 from gnu for windows, and I had the same issue.

@TheBB
Copy link
Collaborator

TheBB commented Aug 18, 2015

I can't reproduce this issue, not even with @mahinshaw's file. It must be OS/build related. I'll ask the quelpa maintainer to chip in.

@steckerhalter
Copy link

This is probably caused by Git for Windows defaulting to auto convert line endings to CR/LF (see quelpa/quelpa#72 (comment)) on checkout.

Try disabling autocrlf:

git config --global core.autocrlf false

See https://github.com/quelpa/quelpa#windows-instructions for Windows specific quelpa instructions (if the git change still didn't help, try if it works with any of the methods specified there)

@louy2
Copy link
Contributor

louy2 commented Aug 19, 2015

@steckerhalter Changing autocrlf to false did not solve the problem.

@syl20bnr
Copy link
Owner

@louy2 did you also wipe out the quelpa cache ? (~/.emacs.d/.cache/quelpa)

@TheBB
Copy link
Collaborator

TheBB commented Aug 19, 2015

I was able to reproduce this issue on my Windows computer. Setting core.autocrlf to false fixed it, but I did have to clean the quelpa cache, as @syl20bnr said.

According to @louy2, the php-extras repo doesn't suffer from this issue, so I wonder if there's something I could do with my repo to make this go away?

@TheBB
Copy link
Collaborator

TheBB commented Aug 19, 2015

I take that back, I was able to reproduce this with the php-extras package as well. I'm betting that @louy2 fixed the problem but simply didn't clean his cache, and that's why php-extras worked for him.

@steckerhalter
Copy link

@TheBB you can disable line-ending conversion in .gitattributes: http://stackoverflow.com/a/10017566

most people won't have this set so disabling autocrlf will be still required for other repos

@TheBB
Copy link
Collaborator

TheBB commented Aug 19, 2015

Thanks @steckerhalter, so after some mucking about, here are my findings.

  • Setting core.autocrlf to false allowed me to install evil-indent-textobject
  • Setting core.autocrlf to false did not allow me to install php-extras, I'm getting another error with that package.
  • The file in .cache/quelpa/build/ does not appear to have CRLF line endings no matter the core.autocrlf setting. Why?
  • The file in .cache/quelpa/packages/ does have CRLF line endings with core.autocrlf set to true, but I couldn't check with core.autocrlf set to false (because then the error doesn't occur and the file is deleted, as it should be).

@steckerhalter
Copy link

As long as (package-buffer-info) can run there shouldn't be a problem with CRLF. CRLF line-endings cause that to fail. What is the other error you are getting with php-extras?

@TheBB
Copy link
Collaborator

TheBB commented Aug 19, 2015

I don't know, I couldn't run with --debug-init. I'll try later as I'm at work now.

@TheBB
Copy link
Collaborator

TheBB commented Aug 19, 2015

I'm getting a (wrong-type-argument stringp nil) with php-extras. No backtrace, though, even with --debug-init. (With the error message "An error occured while installing php-extras".)

I can consistently get evil-indent-textobjects to succeed or fail by setting core.autocrlf to true or false. It seems @louy2 still has problems. I'd like to wait for feedback from @Devagamster and @mahinshaw.

@louy2
Copy link
Contributor

louy2 commented Aug 20, 2015

@syl20bnr Git for windows 2.5.0 has just been released Aug 18.
Anyway I met the problem on 1.9.5.
With autocrlf=false in my ~/.gitconfig, deleting autocrlf=true in <git install>/etc/gitconfig and cleaning cache by deleting ~/.emacs.d/.cache/quelpa, I am fine now. So maybe it's 2.5.0 specific.
In that case I guess git for windows team knows more?

@steckerhalter
Copy link

@louy2 I haven't tested on Windows yet but with the change in quelpa it should also work now without setting autocrlf to false

@mahinshaw
Copy link
Contributor Author

Works for me. Just as a side note - autocrlf=true will still cause this problem (I can make a PR if you want). It might be worth putting that in the windows docs. Also, the git version was not an issue, I had a tramp config file overriding my .gitconfig. Sorry for making this more of an issue than it should be.

@steckerhalter
Copy link

@mahinshaw it causes the same error as before with autocrlf=true?

@TheBB
Copy link
Collaborator

TheBB commented Aug 20, 2015

@steckerhalter I see it too, but I don't think it originates from the same location. Before, I got a backtrace on --debug-init, and after the patch I don't. So my best guess is that this has simply moved the problem from quelpa to somewhere else.

That's all I've found out for now.

@mahinshaw
Copy link
Contributor Author

@steckerhalter Yes. I just tested it again myself, and the issue is still there when core.autocrlf = true

@steckerhalter
Copy link

Ok, can you post the error if possible?

@mahinshaw
Copy link
Contributor Author

@steckerhalter I don't get a dump from the debugger, but the error from spacemacs is:

--> installing spacemacs:evil-indent-textobject... [1/1]An error occurred while installing evil-indent-textobject (error: (error Package lacks a "Version" or "Package-Version" header))

I started from a fresh clone of spacemacs to make sure there were not any cache issues regarding spacemacs. I am also back to using git version 1.9.5.msysgit.1

@steckerhalter
Copy link

Thanks. I will see if I can reproduce on Windows

@steckerhalter
Copy link

I know now why I used insert-file-contents-literally, I took that from Emacs core:

(defun package-install-file (file)
  "Install a package from a file.
The file can either be a tar file or an Emacs Lisp file."
  (interactive "fPackage file name: ")
  (with-temp-buffer
    (insert-file-contents-literally file)
    (when (string-match "\\.tar\\'" file) (tar-mode))
    (package-install-from-buffer)))

So now it is failing in Emacs core because package-install-file is doing the same thing as I had in quelpa and then fails with CRLF files.

@steckerhalter
Copy link

@TheBB
Copy link
Collaborator

TheBB commented Aug 21, 2015

Yeah I thought it would be something like that. There's probably not much we can do about it, then. Thanks for your help @steckerhalter!

@syl20bnr
Copy link
Owner

Can we advice install-from-buffer and do the conversion ?

@steckerhalter
Copy link

Advicing is quite dangerous as it may break other things (a good example is what happened with emacs-async that was advicing package--compile which broke quelpa as a side-effect (and the advice was enabled by requiring helm-config so a few people ran into that.)

I wrote some code using cl-letf: https://github.com/quelpa/quelpa/pull/86/files
Don't have Windows here right now so maybe you could test?

@syl20bnr
Copy link
Owner

I see, I will disable async compilation as we don't need it in Spacemacs (the update process of Spacemacs already forces a deletion of the packages to update and a restart to complete the installation, especially to fix the issue that async compilation tries to resolve).

Nice solution, replacing the bound function locally is great.

I cannot test for now unfortunately :-(

@syl20bnr
Copy link
Owner

This is with hack like this that elisp shines as a configuration language, having so much code that don't clash without namespace support is just epic :-)

@steckerhalter
Copy link

I could test in the meantime. Seems to work. The problem with async compilation was fixed btw by the maintainer a few days ago so that shouldn't be a an issue anymoe, but it was a good reminder to me never to advice any Emacs internals in public packages because it's impossible to know all the side-effects the changes could possibly have.

@steckerhalter
Copy link

Lisp is awesome... too bad it's not more popular and the world is stuck in the non-REPL world

@louy2
Copy link
Contributor

louy2 commented Aug 22, 2015

I went through a new installation of Git for Windows today, and noticed that to change the checkout behavior, it is enough to change autocrlf to input. Yep that's not a boolean. autocrlf=false will commit Windows style CRLF, which makes diff all crazy if the repo was using LF only.

@steckerhalter
Copy link

@louy2 Yes, that's better probably, although one should see when committing that there's a huge diff and if there is a PR with that it will probably be rejected.

The change I made in quelpa now (not merged yet) should make this problem go away so we can all forget about it. Then it will work no matter what someone chooses to have for autocrlf.

@TheBB
Copy link
Collaborator

TheBB commented Aug 22, 2015

I just tested quelpa/quelpa#86 and it works beautifully here.

@steckerhalter
Copy link

Thanks, merged as well

@mahinshaw
Copy link
Contributor Author

@steckerhalter - I tested this again this morning. Works like a champ!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants