New answers tagged

0 votes

How to install a specific version of package?

This problem was solved ages ago. I saw the implemention in Steve Purcell's emacs.d about ten years ago. The solution uses only Emacs built in package system. Once it's set up, you don't need manually ...
user avatar
  • 4,581
0 votes

How to install a specific version of package?

Update as of 2022, elpa lists the older versions of a package on its page. One can download the archive file and then use package-install-file command on emacs to install this specific version. I ...
user avatar
1 vote
Accepted

Can't commit in Emacs 29.0.50 , magit 20220412

The problem turned out to be related to running git off of an NTFS volume. Previously git didn't care much about the file system. Now it does, so running magit on the repository produces an error ...
user avatar
3 votes
Accepted

Make Magit ignore certain files already added to git and to .gitignore

.gitignore is only relevant for files that are not already tracked by Git. If you've started tracking a file and now regret it, you need to remove it from Git. Once that's done, if the file is listed ...
user avatar
3 votes
Accepted

How to properly use Magit Fixup?

f just creates the fixup! commit. You wanted the upper-case F -- that ("Instant Fixup") is the variant which automatically performs the rebase after creating the fixup! commit. You can ...
user avatar
  • 43.1k
2 votes
Accepted

In Magit, what is the difference between stashing "index", "worktree", or "both"?

I assume you already know the difference: index: staged diff worktree: unstaged diff both: both As for examples, I'm not sure if this is a good one, but at times I use this feature: Suppose you are ...
user avatar
  • 920
2 votes
Accepted

How is the history.el file written? Why did this change happen?

It seems like transient save its history to transient/history.el. I don't think you need to care too much about how it's stored. I suggest you use no-littering and add no-littering-var-directory into ....
user avatar
  • 1,096
1 vote

Can't commit in Emacs 29.0.50 , magit 20220412

Version 29.0.50 is the version used by the unreleased master branch of Emacs. You appear to be using a prerelease version of Emacs, which you either recompile yourself from time to time or which you ...
user avatar
  • 11.3k
2 votes
Accepted

How to insert a flyspell hook on Magit via `use-package` declaration?

Here is from the README of use-package When using :hook omit the "-hook" suffix if you specify the hook explicitly, as this is appended by default. For example the following code will not ...
user avatar
  • 1,096

Top 50 recent answers are included