editor-bootstrap / emacs-bootstrap Goto Github PK
View Code? Open in Web Editor NEWYour on-the-fly Emacs development environment.
Home Page: http://emacs-bootstrap.com
License: MIT License
Your on-the-fly Emacs development environment.
Home Page: http://emacs-bootstrap.com
License: MIT License
www.emacs-bootstrap.com is unreachable.
502 Bad Gateway
The location of the custom.el file can be altered in the base.el, but the value is never read back.
If the variable is altered from the default value, it will not be loaded after a restart of emacs. Just add this after the Emacs customization block:
`(load custom-file)
(add-hook 'kill-emacs-query-functions
'custom-prompt-customize-unsaved-options)`
Hello,
I just generated a config folder using your bootstrapper. However when I run emacs I notice that it becomes really sluggish in response. Navigating with an arrow to the next line takes like 2 seconds...
Any indication where I could start looking for a solution? Perhaps too many plugins are being loaded?
I'm running (16.04 ubuntu)
Thanks
It looks some of the key-bindings that you've made are overriding the default key bindings set by emacs. Some time ago, I had a lengthy discussion about the same issue here. I came into the conclusion to use C-c
prefix for most of my user defined key bindings so that they don't override with any default key bindings.
From my quick check here are some key bindings that are overriding the default key bindings:
C-x s
-> this key binding is bound to save-from-buffers
(I use this command a lot)C-x v
-> This is the version control prefixC-x C-r
-> This is bound to find-file-read-only
(why does this key binding exist? ivy-reusme
by default is bound to C-c C-r
, which is fine as is)C-x c
-> this overrides default binding for calc-mode
My suggestion would be to prefix user defined key bindings with C-c
instead of C-x
, so that we don't accidentally override any key bindings. It might be fine now, but as the user start assigning more bindings to commands, he'll quickly run out of C-x
prefixes which aren't bound to any command.
Getting internal server error when trying to load the site.
Another really useful package.
@rakanalh http://emacs-bootstrap.com/ is offline.
502 Bad Gateway
nginx/1.4.6 (Ubuntu)
as of August 18, 2017
If I click on a language icon it's shown highlighted and "true" is logged to the console. If I click it again, "true" is just logged again but the language is not deselected. I think you want to change line 9 in static/form.js to:
var newState = checkbox.is(":checked");
(See this SO question for the explanation.)
The Website doesn't seem to work at the moment.
I ran into this problem when I tried using this with emacs-26.1. I'm documenting the fix I applied.
You need to change these lines in elisp/base.el
(add-to-list 'package-archives
'("melpa" . "http://melpa.org/packages/"))
(add-to-list 'package-archives
'("elpy" . "http://jorgenschaefer.github.io/packages/"))
(when (not package-archive-contents)
(package-refresh-contents))
(unless (package-installed-p 'use-package)
(package-refresh-contents)
(package-install 'use-package))
Error (use-package): org-projectile/:config: Symbol’s function definition is void: org-projectile:per-repo.
I'm using generate default emacs.d configuration, open a file wait minutus emacs report error
config file is:
base.el:
(package-initialize)
(add-to-list 'package-archives
'("melpa" . "https://melpa.org/packages/")
'("elpy" . "http://jorgenschaefer.github.io/packages/"))
(when (not package-archive-contents)
(package-refresh-contents))
(unless (package-installed-p 'use-package)
(package-install 'use-package))
(defconst private-dir (expand-file-name "private" user-emacs-directory))
(defconst temp-dir (format "%s/cache" private-dir)
"Hostname-based elisp temp directories")
;; Core settings
;; UTF-8 please
(set-charset-priority 'unicode)
(setq locale-coding-system 'utf-8) ; pretty
(set-terminal-coding-system 'utf-8) ; pretty
(set-keyboard-coding-system 'utf-8) ; pretty
(set-selection-coding-system 'utf-8) ; please
(prefer-coding-system 'utf-8) ; with sugar on top
(setq default-process-coding-system '(utf-8-unix . utf-8-unix))
;; Emacs customizations
(setq confirm-kill-emacs 'y-or-n-p
confirm-nonexistent-file-or-buffer t
save-interprogram-paste-before-kill t
mouse-yank-at-point t
require-final-newline t
visible-bell nil
ring-bell-function 'ignore
custom-file "~/.emacs.d/.custom.el"
;; http://ergoemacs.org/emacs/emacs_stop_cursor_enter_prompt.html
minibuffer-prompt-properties
'(read-only t point-entered minibuffer-avoid-prompt face minibuffer-prompt)
;; Disable non selected window highlight
cursor-in-non-selected-windows nil
highlight-nonselected-windows nil
;; PATH
exec-path (append exec-path '("/usr/local/bin/"))
indent-tabs-mode nil
inhibit-startup-message t
fringes-outside-margins t
x-select-enable-clipboard t
use-package-always-ensure t)
;; Bookmarks
(setq
;; persistent bookmarks
bookmark-save-flag t
bookmark-default-file (concat temp-dir "/bookmarks"))
;; Backups enabled, use nil to disable
(setq
history-length 1000
backup-inhibited nil
make-backup-files t
auto-save-default t
auto-save-list-file-name (concat temp-dir "/autosave")
make-backup-files t
create-lockfiles nil
backup-directory-alist `((".*" . ,(concat temp-dir "/backup/")))
auto-save-file-name-transforms `((".*" ,(concat temp-dir "/auto-save-list/") t)))
(fset 'yes-or-no-p 'y-or-n-p)
(global-auto-revert-mode t)
;; Disable toolbar & menubar
(menu-bar-mode -1)
(when (fboundp 'tool-bar-mode)
(tool-bar-mode -1))
(when ( fboundp 'scroll-bar-mode)
(scroll-bar-mode -1))
(show-paren-mode 1)
;; Delete trailing whitespace before save
(add-hook 'before-save-hook 'delete-trailing-whitespace)
(provide 'base)
;;; base ends here
init.el
(package-initialize)
(add-to-list 'load-path (concat user-emacs-directory "elisp"))
(require 'base)
; (require 'base-extensions)
; (require 'base-functions)
; (require 'base-global-keys)
also I'm checked ~/.emacs.d/private/cache/
not found auto-save-list directory, after create that directory emacs prompt auto-save message ok. this is a bug?
From this repository
Comment out the disabling code so that it can be optionally enabled.
I've found that, if you don't use tern
, Emacs tries to connect to it, and fails each time.
error in process sentinel: Searching for program: No such file or directory, tern
On my old laptop it micro-freezes Emacs.
I'll PR a fix to prevent tern
and company-tern
to load if there is no tern
program available.
Honestly I can't live without smex
. It provides sorting for counsel-M-x
and helm
Website:
Generated Code:
Wikis:
Seems like a great start, but then nothing seems to work.
Maybe you could state a list dependencies that are required to be installed, e.g.
Install Node.js and then the package tern. What is required for python? sass etc?
I'm sorry I don't have much concrete info as to why, but here's what I know so far:
Enabled minor modes: Async-Bytecomp-Package Auto-Composition
Auto-Compression Auto-Encryption Cl-Old-Struct-Compat Company
Dumb-Jump Ede Electric-Indent File-Name-Shadow Font-Lock
Global-Auto-Revert Global-Company Global-Ede Global-Eldoc
Global-Font-Lock Global-Git-Commit Global-Linum
Global-Semantic-Idle-Scheduler Global-Semantic-Stickyfunc
Global-Semanticdb Global-Undo-Tree Helm Line-Number Linum
Magit-Auto-Revert Mouse-Wheel Org-Bullets Override-Global Projectile
Pyvenv Recentf Semantic Shell-Dirtrack Show-Paren Tooltip
Transient-Mark Undo-Tree Which-Key Yas Yas-Global
;;; package --- Main init file
;;; Commentary:
;;; This is my init file
;;; Code:
;; Added by Package.el. This must come before configurations of
;; installed packages. Don't delete this line. If you don't want it,
;; just comment it out by adding a semicolon to the start of the line.
;; You may delete these explanatory comments.
;; (package-initialize)
(add-to-list 'load-path (concat user-emacs-directory "elisp"))
;; Set default font
(set-face-attribute 'default nil
:family "Monkey"
:height 120
:weight 'normal
:width 'normal)
(require 'base)
(require 'base-theme)
(require 'base-extensions)
(require 'base-functions)
(require 'base-global-keys)
(require 'lang-python)
(require 'lang-ruby)
(require 'lang-go)
(require 'lang-javascript)
(require 'lang-web)
(require 'lang-rust)
(require 'lang-c)
(blink-cursor-mode 0)
(put 'scroll-left 'disabled nil)
; Cut shell CRs from bash or something
(add-hook 'comint-output-filter-functions
'comint-strip-ctrl-m)
(setq company-idle-delay 0.5)
(setq company-tooltip-idle-delay 0.5)
(require 'projectile)
(define-key projectile-mode-map (kbd "C-c C-p") 'projectile-command-map)
(define-key projectile-mode-map (kbd "C-c p") 'projectile-command-map)
(require 'helm)
(global-set-key (kbd "M-y") 'helm-show-kill-ring)
(global-set-key (kbd "C-s") 'helm-swoop)
(require 'browse-at-remote)
(global-set-key (kbd "C-c g") 'browse-at-remote)
(require 'magit-gh-pulls)
(add-hook 'magit-mode-hook 'turn-on-magit-gh-pulls)
(server-start)
GNU Emacs 27.1 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.22.30, cairo version 1.15.10) of 2020-09-19
Disclsocure: This is a plug for my own mode
Would it be possible to add JSX as its own language in the selection pane, including rjsx-mode
as the package to use for it? rjsx
extends js2
to add syntax highlighting for JSX -- no config needed beyond just use-package
. You could just use the React logo, which is CC BY 4.0 licensed
macOS 10.13.1
Show Error(use-package): Cannot load org-projectile
cargo process new should be avalible in the global key map, since you will use it in directories to create a rust project.
keybinding: C-c C-c C-n
save-place-mode is incredibly useful. I can resume from where I left off when I last visited the file :) And another useful editing tip is enabling auto-fill-mode
ONLY inside comments with (setq comment-auto-fill-only-comments t)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.