Commit graph

1466 commits

Author SHA1 Message Date
bmag 5eff620e83 custom setting: don't write to dotfile before loading all of them
Fixes a bug where saving a custom variable (e.g. package-selected-packages)
before reading the custom settings from dotspacemacs/emacs-custom-settings could
overwrite the stored settings.
2019-02-18 14:21:06 -05:00
syl20bnr 474f945709 defaults: add SPC T N key binding to cycle theme backward 2019-02-10 10:10:51 -05:00
Codruț Constantin Gușoi a2bda16823 Use external tar program for extracting archive 2019-02-01 00:57:46 +02:00
duianto a87300e9c0 Fit Spacemacs home buffer version in terminal 2019-01-29 00:26:21 +02:00
Dieter Komendera b1a958a54c Update quelpa.el to 2c17c4f9 2019-01-20 15:59:04 +02:00
nashamri 5d5a8a5588 Latest theme updates
Summary:

- Update diff and ediff colors (thanks @duianto).
- Support hl-todo mode.
2019-01-20 15:57:28 +02:00
Alexander Miller e7d13da61d Make treemacs the default file browser. 2019-01-20 14:31:36 +02:00
JAremko c7f139e2dc Fiddle with layers.org TOC generation. 2019-01-13 21:48:43 +02:00
JAremko b6949a329e Fix typo 2019-01-13 20:35:45 +02:00
JAremko 19502ec517 Update layers.org generation 2019-01-13 20:27:35 +02:00
RockyRoad cc1764b2ad Recompiling Elpa: don't skip missing .elc files 2018-12-04 21:57:31 -05:00
bmag 745e868b07 update spacemacs theme
Update spacemacs theme to commit c162ad13 upstream.

c162ad13e4
2018-11-09 20:20:26 +02:00
bmag 642b811882 core: update Quelpa to last version 2018-11-09 20:18:47 +02:00
Dieter Komendera 410b23150e
Make query-replace work when frame is split
This works around an issue in Emacs which args-out-or-range errors when
trying to query-replace in frames which are split vertically or horizontally.

See https://github.com/syl20bnr/spacemacs/issues/9700 and
https://debbugs.gnu.org/cgi/bugreport.cgi?bug=31586
2018-11-04 19:01:16 +02:00
Codruț Constantin Gușoi 5c6057226e Encapsulates multiple cursors functionality in a layer 2018-10-27 14:33:42 +03:00
deb0ch afd3c8c127 alternate-buffer without purpose 2018-10-27 12:54:02 +03:00
Kevin Ji e98c1b5113
core: Remove space before question mark 2018-10-18 20:02:24 +03:00
Dieter Komendera 2d7737cd3e
Cache expensive computations in spacemacs/title-prepare 2018-10-13 19:23:38 +03:00
MadAnd 2e50f8c6fc
Optimize spacemacs/title-prepare
spacemacs/title-prepare is being called on every frame re-display, so
eager evaluation of values for every possible format specifier can be too
expensive. For example projectile-project-name is very slow in TRAMP buffers.
2018-10-10 08:05:14 +03:00
et2010 02f573df7f core: fix init test (#11278)
When doom-modeline is used, the init test will fail. This should fix it.
2018-09-10 22:34:42 +01:00
syl20bnr e641e6c6e6 Add doom-emacs mode-line theme
Set dotspacemacs-mode-line-theme to 'doom to enjoy this great minimalistic
mode-line.
2018-09-04 14:53:39 -04:00
MarcoIeni 21c3a87044 Spacemacs documentation improvements
`SPC f e f` key binding is no more present, so moved that table entry to
`SPC h f` in DOCUMENTATION.org.

corrected description of paste transient-state behavior.
2018-08-18 12:22:23 +01:00
André Peric Tavares 775d584665 Merge file variables in a single line 2018-08-09 22:53:11 +01:00
André Peric Tavares e329582f54 Use lexical binding in dotfile template
Lexical binding is easier to reason about and it's generally recommended for new code. It's faster too.

Dynamic scoping can lead to tricky situations. Example: https://emacs.stackexchange.com/questions/10394/scope-in-lambda

This probably won't break existing code. Most people don't even know the default is dynamic binding.
2018-08-09 22:53:11 +01:00
John Eismeier 5e3c96562a Propose a couple of spelling corrections 2018-08-02 00:20:06 +03:00
sorawee 616ca1443d Fix a typo (overwite -> overwrite) 2018-07-24 00:27:15 +03:00
Compro-Prasad 9662279838 Fix overflow of line in page-break-lines-mode when using line number
This is picked up from

fd3b7e38ad/page-break-lines.el
2018-07-24 00:11:39 +03:00
DonHugo69 e2b2266028 update doom-themes
* doom-challenger-deep
* doom-opera
* doom-opera-light
* doom-solarized-light
2018-07-10 00:12:11 +03:00
syl20bnr 7c9f612c4f core: try to fetch all env vars by calling the shell multiple times
Since bash will source different files depending on its mode, for instance
login vs. non-login shells, we fetch the env vars from both a login shell and
an interactive non-login shell. We try to cleanup the resulting file by removing
duplicates, sorting env vars etc...
2018-07-05 01:43:14 -04:00
Paolo G. Giarrusso f4506aa445 Extract env. vars from *login* shell
Bash needs the `-l` flag, as pointed out in 6220ace290 (r29480946) and https://github.com/syl20bnr/spacemacs/issues/10906#issuecomment-402184237.
2018-07-05 00:04:52 -04:00
syl20bnr a861177c4a core: fix potential undefined function error with transient hooks
Fixes #10930
2018-07-04 15:38:15 -04:00
syl20bnr ba2f692366 core: add GPG_AGENT_INFO and SSH_AGENT_PID to ignored env vars 2018-07-04 03:44:15 -04:00
syl20bnr d5f5b5ab7e core: fix parsing of env vars with empty value 2018-07-04 03:42:28 -04:00
syl20bnr 21551b6995 core: fix parsing of env vars
Was working on Windows but not macOS.. weird
2018-07-04 03:08:52 -04:00
syl20bnr ee5166949d core-env: add support for Windows
Fix fetching of env. vars on Microsoft Windows (tested with Windows 10 only)
2018-07-04 02:34:54 -04:00
syl20bnr d0401f8640 core: allow spaces in env vars values as well as empty values 2018-07-04 02:34:10 -04:00
et2010 e33638d920 Fix typo 2018-07-03 10:31:05 -04:00
syl20bnr a013d86874 core: update environment variables management
* add new dotfile function `dotspacemacs/user-env`
* add ignored env. vars with variable spacemacs-ignored-environment-variables
* ignore env vars: SSH_AUTH_SOCK and DBUS_SESSION_BUS_ADDRESS
* update documentation in DOCUMENTATION.org
* update .spacemacs.template with new function
* rename environment file from spacemacs.env to .spacemacs.env
* move location of .spacemacs.env file to home or dotdirectory
* add a header to the generated .spacemacs.env file to explain what it is
* make SPC f e e fallbacks to the function dotspacemacs/user-env if the user
  manages the env var by themselves
* make SPC f e E call the new function dotspacemacs/user-env
* sort environment variables in .spacemacs.env file
2018-07-03 01:25:28 -04:00
syl20bnr 6220ace290 core: rework environment variables and PATH management
See updated DOCUMENTATION.org and FAQ.org for more info.

* add core-env.el
* add library load-env-vars.el
* add bootstrap package dotenv-mode.el
* remove spacemacs-environment from bootstrap layer
* remove dotspacemacs variable dotspacemacs-import-env-vars-from-shell
* remove dotspacemacs variable dotspacemacs-improt-env-vars-shell-file-name
* add new key binding SPC f e e to open spacemacs.env file
* add new key binding SPC f e E to reload environment variable from env file
* add new key binding SPC f e C-e to re-initialize the env file from shell.
2018-06-25 02:55:28 -04:00
syl20bnr f1f8db002a core: display time spent in user-config in home buffer 2018-06-16 15:21:58 -04:00
syl20bnr d3c594512d core: don't call user-load unless we are dumping 2018-06-16 14:46:17 -04:00
syl20bnr b8e0fdd4a5 core: fix pdumper enabled on SPC f e R no matter what 2018-06-16 11:05:05 -04:00
syl20bnr 034cb2bd66 Always import environment variables on linux
Seems that some people does not get their PATH right on Linux. Add back the
import for all Linux distro.
2018-06-16 03:38:16 -04:00
syl20bnr d28990537f Add new variable dotspacemacs-import-env-vars-shell-file-name
Used to fetch the environment variables. This allows to keep shell-file-name
untouched.
2018-06-15 02:40:44 -04:00
syl20bnr 9ee832955a core: async import of env.vars and add new dotfile variable
* new variable dotspacemacs-import-env-vars-from-shell
 * asynchronous import of environments variables
 * move loadenv function to funcs.el
 * update documentation
2018-06-15 01:38:07 -04:00
syl20bnr d19a20beb4 Load window-purpose when window configuration changes 2018-06-14 02:07:02 -04:00
syl20bnr de858b2953 Fix startup buffers without spaceline mode line 2018-06-14 01:10:44 -04:00
syl20bnr 18d397a98a Add dotspacemacs-server-socket-dir to dotfile template 2018-06-14 00:43:49 -04:00
Carl Lange d92da11bcd Allow setting of server-socket-dir in .spacemacs 2018-06-14 00:42:13 -04:00
Benjamin Reynolds 594fdc8f05 Rename spacemacs/mplist-get functions to be more descriptive
* spacemacs/mplist-get -> spacemacs/mplist-get-values
* spacemacs/plist-get -> spacemacs/mplist-get-value
* refactor spacemacs/mplist-get-value to be defined in terms of mplist-get-values

Ref #10803 See [comment]

[comment]: https://github.com/syl20bnr/spacemacs/pull/10803#issuecomment-395292606
2018-06-14 00:15:49 -04:00