Commit Graph

1710 Commits

Author SHA1 Message Date
duianto 4dc1d7640a [defaults] Add dotspacemacs-scroll-bar-while-scrolling 2021-04-08 21:09:54 +00:00
duianto d012d2d95f [dotfile] New var: dotspacemacs-startup-buffer-multi-digit-delay
It sets the minimum delay in seconds between number key presses.
On the Spacemacs home buffer.
2021-04-08 22:27:54 +02:00
Sylvain Benner 9c7e4bd5f1
[init] Disable GUI elements in early-init as well (#14559)
* [init] Disable GUI elements in early-init as well

Can provide a smoother startup by reducing graphical artifacts.

* [core] Add file for early-init functions

Needed to make the tests to work as early-init.el is not sourced
during tests.

Fixes error:

   Symbol’s function definition is void: spacemacs/removes-gui-elements
2021-04-08 22:25:14 +02:00
emacspace eec5ba6577
[bot] Auto-update (#14573)
* documentation formatting: Mon Apr 5 20:50:44 UTC 2021

* Built-in files auto-update: Mon Apr 5 20:49:17 UTC 2021
2021-04-05 23:19:49 +02:00
Lucius Hu f7650f89c9 refactor
- Replaced `(set (make-local-variable 'foo) bar)` with `(setq-local foo bar)`
2021-04-04 12:48:21 +02:00
Lucius Hu f4067d6375 refactor
- Replaced `(set (make-local-variable 'foo) bar)` with `(setq-local foo bar)`
2021-04-04 12:48:21 +02:00
duianto eaf2e932e6 Fix typo: connst -> const 2021-03-29 10:36:07 +02:00
duianto aabd3bcac3 Fix expected type of: dotspacemacs-which-key-delay
problem:
Setting dotspacemacs-which-key-delay to an integer, for example: 4

Makes the following message to appear on startup:
(Spacemacs) Error in dotspacemacs/init: Variable: "dotspacemacs-which-key-delay" has value: "4" that doesn’t match its type: "(float)". Validator message: "(user-error Looking for `(float)' in `4' failed because:
  not a float)"

cause:
dotspacemacs-which-key-delay expects the type: float
The float type has the description:
The value must be floating point.

solution:
Change the type to: number
The number type has the description:
The value must be a number (floating point or integer).

Source: info (`C-h i`)
In the section: Elisp > Customization Types > Simple Types
2021-03-29 10:00:28 +02:00
syl20bnr aa0c0301e2 [home] Add link to free software definition 2021-03-26 18:58:54 -04:00
emacspace 314c131209 Built-in files auto-update: Fri Mar 26 03:33:18 UTC 2021 2021-03-25 23:52:04 -04:00
syl20bnr 60a070433f [home] Add "Proudly free software" to footer 2021-03-25 23:31:18 -04:00
syl20bnr 92c1565507 [home] Fix alignement and footer regression cased by 9a66c2566 2021-03-25 23:18:39 -04:00
syl20bnr 532ad2567c [home] Add GPLv3 badge in footer 2021-03-25 22:59:32 -04:00
syl20bnr 9a66c2566e [home] Add Licensing button 2021-03-25 22:59:32 -04:00
syl20bnr 97cd83e169 Apply GPLv3 terms explicitly to all elisp files 2021-03-25 22:59:32 -04:00
syl20bnr d55a9e2e67 Update header for year 2021 2021-03-25 22:59:32 -04:00
duianto 7a2eb1be70 [home] Add multi-digit numbers to the startup lists
Added support for jumping to two digit numbers.

How quickly two numbers have to be typed,
can be modified with the variable:
spacemacs-buffer-multi-digit-delay
2021-03-21 23:38:57 +01:00
syl20bnr 3243172af1 [core] Fix another typo
Well not sure I will do all the typos mentioned by email...
2021-03-20 21:41:32 -04:00
syl20bnr 3d1b8865d9 [core] Fix value validation for `dotspacemacs-editing-style` 2021-03-20 20:56:34 -04:00
Lucius Hu 5830e72b60 fixup! Validate .spacemacs variables.
fixes #14535 #14537 #14529 https://github.com/syl20bnr/spacemacs/issues/10638#issuecomment-803247326
2021-03-21 01:29:09 +02:00
Lucius Hu 3e156ec763 fixup! Validate .spacemacs variables. 2021-03-21 00:54:46 +02:00
claude 3f45527813 Update doc-string for dotspacemacs-frame-title-format 2021-03-20 11:45:32 +02:00
claude 70f475d782 Fix .spacemacs validation choices 2021-03-20 11:45:32 +02:00
Aaron L. Zeng 454e729ef0 In SPC h d P, print :toggle expression using Elisp syntax
This prints out an expression in valid Lisp syntax, so that, e.g.,
strings in the expression are quoted.
2021-03-19 09:48:44 +01:00
JAremko 369cf7519f Improve spacemacs|defc doc-string 2021-03-18 20:55:08 +02:00
JAremko bbf050734a Don't show customize link in doc-strings of uncustomizable variables. 2021-03-18 20:55:08 +02:00
emacspace b86c619cb6 Built-in files auto-update: Thu Mar 18 14:37:56 UTC 2021 2021-03-18 18:07:05 +01:00
JAremko 0f2df2727d Validate .spacemacs variables. 2021-03-18 15:47:02 +02:00
Maximilian Wolff 7d2ff48d77 Allow disabling smartparens in dotfile
Smartparens seems to cause performance issues for
a lot of users. This PR allows to disable the package
completely.

There are some functions in elisp and common-lisp mode
which dependt on this package and will manually require
it when executed though. But this should only affect
lispers which mostly will want to have some kind of
smartparent functionality anyway.

For the discussion see here #12533.
2021-03-15 20:51:18 +00:00
emacspace 13791616c7
[bot] Auto-update (#14398)
* documentation formatting: Sat Mar 13 23:53:10 UTC 2021

* Built-in files auto-update: Sat Mar 13 23:51:34 UTC 2021
2021-03-14 00:57:56 +01:00
William McBee 7786e11a35
[core] load-env-vars cygwin support (#14442)
Cygwin's paths use forward slashes, not backward slashes.
2021-03-14 00:33:50 +01:00
duianto 2e48899db7 Open home buffer recent files in expected order
problem:
Pressing a number key on the Spacemacs home buffer,
doesn't reliably open the expected recent file.

cause:
The number keys are bound to open the files in the
order they are listed in the `recentf-list`.

The `recentf-list` is updated when a file is saved.

The home buffers recent files list is only updated
when the home buffer is created/refreshed/resized.

solution:
Open the recent files in the order they were listed
when the home buffer was last updated.

Fixes: incorrect order number in recent files on home buffer #14471
2021-03-13 23:19:02 +01:00
William McBee 40c42e6af5 Support system-type 'cygwin
A minor change allowing environment variables to be stored when running Cygwin version of Emacs.
2021-02-28 22:17:07 +01:00
Lin Sun 722fa45ea1 [core-env] #14348 ignore env "DISPLAY" for .spacemacs.env 2021-02-22 23:46:20 +02:00
emacspace 228097a19e
Built-in files auto-update: Sat Feb 13 22:24:06 UTC 2021 2021-02-13 23:30:05 +01:00
JAremko 7238eb03e8 Better .elc cleanup 2021-02-11 16:08:29 +02:00
emacspace e11fb63f2e Built-in files auto-update: Tue Feb 9 14:26:29 UTC 2021 2021-02-09 22:16:33 +01:00
emacspace ea58a79715
Built-in files auto-update: Sun Feb 7 20:27:36 UTC 2021 2021-02-07 22:27:56 +01:00
Thanh Vuong ae65f3cedd
Fix #14213 remove dash and ht from core libs
- delete dash and ht in core
- reimplemented all ht functions we need in `spacemacs-ht.el` and use them
- add dash to spacemacs-bootstrap
2021-02-07 22:22:39 +01:00
duianto 2a4cd98afc [core] Refactor spacemacs-buffer//do-insert-startupify-lists 2021-02-04 22:40:10 +01:00
duianto ba8f5414c9 Add home buffer named shortcuts functions
Define named functions: spacemacs-buffer/jump-to-...
for the home buffer shortcuts. So that a descriptive name is shown,
in for example the view-lossage (C-h l) buffer.

Before:
 r                      ;; anonymous-command
 p                      ;; anonymous-command

After:
 r                      ;; spacemacs-buffer/jump-to-recent-files
 p                      ;; spacemacs-buffer/jump-to-projects
2021-02-03 22:35:34 +01:00
emacspace 137ed73fce Built-in files auto-update: Sun Jan 31 19:57:56 UTC 2021 2021-02-03 03:53:30 +02:00
JAremko 725d585341 Do not delete non existent files 2021-01-31 21:20:52 +02:00
JAremko 16073171d8 Make Spacemacs byte-compilation optional 2021-01-31 13:32:06 +02:00
JAremko 88980363b6 Recompile Spacemacs core .elc files when Emacs version changes 2021-01-31 13:32:06 +02:00
JAremko 6ae9364a57 cleanup 2021-01-31 13:32:06 +02:00
JAremko 9eb11bb7a2 refactor bytecomp 2021-01-31 13:32:06 +02:00
JAremko 370798262e Make sure that some core files never byte compiled 2021-01-31 13:32:06 +02:00
duianto c590d84f72 Fix key: home buffer list Recent Files by Project
The shortcut was searching for "Recent Files:"
instead of the expected: "Recent Files by Project"
2021-01-29 19:38:43 +01:00
duianto 38a314f7cc Limit home buffer recent files numbers to 9 2021-01-29 19:05:47 +01:00