| Commit message (Collapse) | Author | Files | Lines |
|
Emacs 28 has support for native compilation which speeds up a number of
packages. This change set the path where we want to store the files.
|
|
We need a `provide` and we should only configure it if the binary is
present.
|
|
|
|
|
|
Don't use plain white for the background, but a very light yellow color.
|
|
Don't use the current branch when building a link to sourcegraph, as we
might be on a feature branch that is not available on the remote.
|
|
|
|
They are all handled by the repository `linux-desktop`. It's easier to
have a different repository for this bits of configs.
|
|
Since the hostname from the git remote is appended to
'sourcegraph.twitter.biz', we can get rid of the mapping and just build
the URL using `format`. This simplifies even more the solution.
|
|
The function needs to be defined before we use it in the `use-package`
for go-mode.
|
|
|
|
It's useful to show errors across a project
|
|
|
|
|
|
The mapping for git.twitter.biz was incorrect.
The package `git-link' has functions to take to format the URL for
sourcegraph, we don't need to maintain them on our end, which simplifies
a bit the code.
|
|
This article [1] shows how to use sourcegraph with the package
`git-link'. However, it requires to modify the configuration of the
repository to add a new remote named 'git-link'. This is inconvenient,
and this can be automated.
This change adds a function to automatically generate the remote URL
when the remote origin of a repo is set to twitter.biz.
We also add the configuration for our own gitea instance.
[1] https://sideshowcoder.com/2020/07/02/opening-sourcegraph-from-emacs/
|
|
This packages help interacting with various forges. We add a new entry
to the default list for our own gitea instance.
|
|
Sort branches by date.
|
|
The restic REST server is running on the nas' wireguard interface, so we
need to change the URL in our unit file.
|
|
|
|
|
|
|
|
When creating a new buffer for eshell with `fcuny/eshell-here` rename
the buffer using parts of the directory.
|
|
From https://www.masteringemacs.org/article/complete-guide-mastering-eshell
|
|
With zsh I report how long a command takes to execute when it takes more
than a few seconds, and it's pretty useful.
This article [1] shows how to do the same with eshell.
[1] https://www.birkey.co/2021-06-20-why-eshell-part-1.html
|
|
It breaks every time I update the package.
|
|
|
|
|
|
|
|
Debug Adapter Protocol (DAP) is wire protocol to communicate between a
client and debug server. This is similar to LSP, but for debuggers.
This initial configuration focuses on enabling the mode and setting the
layout for the various buffers (in this case I want the different
buffers on the right screen and keep the main part focused on the code).
I also disable some widget to use the debugger with hydra.
There's still a number of things that are incomplete when it comes to
integrate DAP and delve (the go debugger): there's no way to call
functions, to have access to the variables, etc. But this is a good
start though, to debug simple problems without relying on print
statement.
This also update the configuration for =go= so that =M-x compile=, when
editing a go file, by default will use =go build=. This is not what I
always need / want but this |