Commit graph

90 commits

Author SHA1 Message Date
Minh Nguyen-Hue 8709b7e727 [osx] Replace pbcopy by osx-clipboard
Why:

* When using emacs >= 26, pbcopy has latency actions in terminal.

This change addresses the need by:

* Replace pbcopy by osx-clipboard
2019-04-06 09:05:08 +02:00
Enze Chi 21c442050a Add go-run-args to pass command line arguments to go run
When executing the main function which requires command line arguments, user can
set `go-run-args` to pass command line arguments to compiled binary.

The example below demonstrates how to pass command line arguments by setting
`go-run-args` as file local variable:

package main

import (
	"fmt"
	"os"
	"strconv"
)

func main() {
	//Atoi converts a string to an int
	fmt.Println("Arguments:", os.Args)
	a, _ := strconv.Atoi(os.Args[1])
	b, _ := strconv.Atoi(os.Args[2])

	result := sum(a, b)
	fmt.Printf("The sum of %d and %d is %d\n", a, b, result)
}

func sum(a, b int) int {
	return a + b
}

// Local Variables:
// go-run-args: "10 5"
// End:
2019-04-05 22:59:17 +02:00
Juuso Valkeejärvi c175e96d85 [lsp] Add lsp-prefer-flymake variable 2019-04-05 19:50:26 +02:00
duianto c804f37a0f Update changelog.develop 2019-04-05 19:23:08 +02:00
Colin Woodbury e817027d4a dhall: Update CHANGELOG.develop 2019-04-05 18:26:28 +02:00
Bryan Tan ab5fb0e58e Replace lsp-capabilities keybinding with lsp-describe-session
Also, move the binding from `SPC m b c` to `SPC m b d`. lsp-capabilities was
replaced with lsp-describe-session in lsp-mode.
2019-04-05 14:07:39 +02:00
Compro-Prasad 3b48c09a7f Doc fix and improvements: No need to checkout pdumper branch 2019-04-05 11:52:49 +02:00
syl20bnr e8b384f9a3 Update change log 2019-04-04 12:23:40 -04:00
duianto 9ee4e8777e Fix changlog.develop gratitude typo 2019-04-04 17:12:44 +02:00
Timo Freiberg 4351063f6a [clojure] change run-all-tests alias to run-project-tests
The previous docstring said that there's a bug with cider-test-run-project-tests
but it seems to work fine now
2019-04-04 16:43:59 +02:00
Timo Freiberg 978df8a70e [clojure] call cider-test-* functions interactively 2019-04-04 16:18:46 +02:00
timor 7b5ce34e65 [factor] Misc fixes for factor version 0.98
Since factor 0.98, `fuel-edit-word` has been removed, since
`fuel-edit-word-at-point` has the same behavior when point is not on a symbol.
Also adjust the jump-handler definition.

factor: choose correct name for the `fuel` package

The package is called `fuel`, not `factor-mode`.

This does not make a difference for the layer itself, since it is using the
`site` pseudo-location, and thus never deals with the package files.

Now, any `post-init-fuel` functions defined somewhere else should work
correctly.

factor-layer: add missing refactor command binding, fix initial modes
2019-04-04 13:16:05 +02:00
Grant Shangreaux 71a06c8b99 update docs for Chicken 5 changes 2019-04-04 12:52:09 +02:00
Tim Heckman e84bd90262 Set lsp-prefer-flymake to :none when Go layer is using LSP
When switching the Go layer to use the LSP backend with `golangci-lint`, I
noticed that none of my linter errors were being rendered with my source code.
Digging in further, I eventually learned it was due to `lsp-prefer-flymake`
being set to `nil` and not `:none`.

This change updates the Go layer, when using LSP and golangci-lint, to set
`lsp-prefer-flymake` to `:none`. If this is not set, the golangci-lint errors
will not be reported.

This is an alternative to #12043.

Fixes #11680

Signed-off-by: Tim Heckman <t@heckman.io>
2019-04-04 12:46:49 +02:00
Eric Zhang a4801bec7b Fix magit conflicting with golden-ratio 2019-04-04 12:41:01 +02:00
Loys Ollivier 7667df6319 python: add diminish for importmagic
importmangic does not have a diminish character.
Add diminish characters to make the modeline nice(r).

Signed-off-by: Loys Ollivier <loys.ollivier@gmail.com>
2019-04-04 12:33:57 +02:00
Magnus Therning 9e3340b8c3 Replace ox-reveal with org-re-reveal
Adressing #11935

Just a naive `s/ox-reveal/org-re-reveal`, but it seems to work.
2019-04-04 12:25:24 +02:00
Enze Chi 004d407908 Add toggle control for verbose go test output 2019-04-04 12:17:53 +02:00
cjay c47b53abbe Fix haskell jump handler for dante
Analog to d6b1d1674f50a85246eceda32866fd9f93d955d6 which was for intero
2019-04-04 12:14:14 +02:00
Lareb Syed b90bd6a856 [Finance] Prevent auto-complete from adding a space 2019-04-04 11:53:01 +02:00
timor ec5b1f2ad0 core/core-spacemacs-buffer: move up macro definition 2019-04-04 10:48:51 +02:00
duianto 95c2488c66 Show magit-log-select and diff in two windows 2019-04-03 22:35:26 +02:00
duianto f8ed4739fe Load helm before read-file-name and completing-read
Fixes helm not being loaded before calls to:
read-file-name and completing-read.

These are some commands that call either of those two functions:
spacemacs/rename-current-buffer-file (SPC f R)

In a Treemacs window:
treemacs-add-project-to-workspace (C-c C-p a)

In a Magit buffer:
magit-checkout (b b)

Thanks Miciah for a more elegant solution.

This commit also reverts:
Fix helm loading for layouts transient state #11705
because it's not needed anymore.

And the previously commented out transient hook minibuffer-setup-hook (it
doesn't seem to ever have been used) is removed because:
- It loads helm after a command is called that uses helm (instead of before)
- (spacemacs|hide-lighter helm-mode) has previously been moved to the
helm/init-helm :config section.
2019-04-03 21:27:08 +02:00
John Stevenson 074588475b Clojure Layer - Updated docs for Cider manual quick start
Updated documentation for Clojure layer to currently recommended versions of
build tools and `cider-nrepl`, ensuring that connecting to a manually run
Clojure REPL works correctly with the current version of CIDER.

Leiningen version 2.9.0
Boot version 2.8.2
`cider-nrepl` 0.21.1
2019-04-03 18:31:17 +02:00
Jason Walker 0becb67c21 Improve purescript keybinding discoverability & ergonomics.
Added prefix titles and removed some useless nesting.
2019-04-03 11:42:56 +02:00
Artur Juraszek 206ace5f51 [confluence] s/xlm/xml 2019-04-03 10:19:48 +02:00
jjzmajic 64154b1ba3 Declare missing prefixes for 'web-mode and 'css-mode. 2019-04-03 09:30:27 +02:00
Miciah Masters 17ec4da516 Delete helm-wikipedia-suggest key binding
Helm has removed the helm-wikipedia-suggest command, so delete Spacemacs's
key binding for the command.

4ef8299d78

* CHANGELOG.develop: Add entry.
* doc/DOCUMENTATION.org: Delete documentation for the key binding for
helm-wikipedia-suggest.
* layers/+completion/helm/packages.el (helm/init-helm): Delete the key
binding for helm-wikipedia-suggest.
2019-04-03 08:19:40 +02:00
Aaron Renner 9008a2ca1d Fix typo in multiple-cursors readme 2019-04-02 23:11:14 +02:00
duianto 4b195ddfc9 Ivy: Add SPC h d a counsel-apropos 2019-02-18 16:55:38 -05:00
duianto d55f39eed3 Change helm-apropos from SPC h d d to SPC h d a
Change the binding to be more mnemonic.

It calls helm-[a]propos and it pretty much describes [a]ll.
2019-02-18 16:42:12 -05:00
syl20bnr e61575343c Update change logs with last contribution 2019-02-18 15:00:29 -05:00
syl20bnr 2d511b8d44 Change logs tweaks part 3 2019-02-18 11:02:08 -05:00
syl20bnr b17e9d2e6d Sort alphabetically key bindings changes in distribution changes 2019-02-16 13:51:43 -05:00
bmag 99b355e2fa Adapt for Magit's move to Transient
Magit now uses Transient instead of magit-popup, and we must adapt. Also had to
replace the recently removed magit-diff-buffer-file-popup with
magit-diff-buffer-file (similar but doesn't offer a popup before displaying the
diff).

Note some upstream packages haven't adapted to this change, but when they do we
might need similar fixes:
- magithub
- magit-gitflow
- magit-svn
2019-02-16 10:21:45 -05:00
syl20bnr 63f9a92348 Revert "Mention breaking change for pull key binding with GitHub and forge"
This reverts commit 36c1291081.
2019-02-16 09:53:34 -05:00
syl20bnr 95422ae5d5 Second part of review and tweaks of release notes 2019-02-10 12:37:41 -05:00
Daniel Cole 170bb98cb5 Fix lsp find-* functions using peek-navigation
With this fix lsp find-* functions correctly use xref (simple-navigation).

Fixes issue #11931.
2019-02-05 23:39:10 +02:00
Uros Perisic bd77a5df6e Replace company-capf with company-nimsuggest in nim-mode.
As described here: https://github.com/nim-lang/nim-mode/issues/159,
company-capf makes nim-mode unusable. I am replacing it with
company-nimsuggest as it is much more responsive. The reason I elected not to
leave company-capf in as a backup is that it would somehow still make it to the
car of company-backends, regardless of position at assignment, thus becoming the
default completion backend. Given that no functionality is lost this way, and
that nimsuggest is now part of the core nim installation
(https://github.com/nim-lang/nimsuggest), I do not think anything has been
sacrificed.
2019-02-03 23:53:50 +00:00
duianto dc53608b65 Changelog.develop: Inline key bindings to list
It's easier to read the key bindings as a list.
2019-01-29 21:38:45 +00:00
syl20bnr ab2fc3fb02 First part of review and tweaks of release notes 2019-01-28 23:09:29 -05:00
Grant Shangreaux 71ff09af82 [agda] Fix: typo in agda layer setup documentation 2019-01-29 00:20:42 +02:00
Richard Kim a46b784e85 ported Info-find-file from emacs 27 by adding third argument 2019-01-22 00:00:42 +02:00
yuhan0 6737c8c8e5 Add ivy option to buffer transient state 2019-01-21 23:06:08 +02:00
Thanh Vuong f63009ae20 Fix keybindings overwritten by LSP
change prettier/web-beautify to `scp m = =` to avoid being
overridden by lsp
2019-01-21 22:59:56 +02:00
Robert O'Connor 0b5ae3ccbf Remove magit-gh-pulls as magithub is so much better! 2019-01-20 22:33:59 +02:00
yuhan0 b8a65e6ccb Use MELPA for perl6-mode package
The mentioned issue was resolved:
https://github.com/melpa/melpa/issues/5261
2019-01-20 21:53:14 +02:00
gdkrmr 23f3d3c313 adapt layer to recent changes in ess 2019-01-20 17:41:06 +02:00
rgb-24bit c2a351cac7 Fix conflict between pipenv directory .venv and pyvenv file .venv 2019-01-20 17:28:43 +02:00
Codruț Constantin Gușoi 7857bcae4d Adds changelog entry for previous commit 2019-01-20 17:23:06 +02:00