aboutsummaryrefslogtreecommitdiff
path: root/lisp/git-commit.el
AgeCommit message (Collapse)Author
2015-11-11release version 2.3.12.3.1Jonas Bernoulli
2015-10-28reset Package-Requires for MelpaJonas Bernoulli
2015-10-28release version 2.3.02.3.0Jonas Bernoulli
2015-10-22bump dependenciesJonas Bernoulli
Most importantly depend on a snapshot of `dash', because *any* snapshot is larger than 2.MM.S but we really do need v2.8 at the very least (for `-let'). Actually depend on a snapshot corresponding to v2.12.1 because that fixes magnars/dash.el#130.
2015-10-20silence byte-compilerJonas Bernoulli
2015-10-18handle custom cygwin mountsNoam Postavsky
Rely on the output from mount to tell us how to map cygwin paths into native Windows paths. This is also needed in git-commit; avoid a hard dependency on magit by only loading magit-git in the case where we receive a bad path to foo_EDITMSG (and falling back to the standard "/cygdrive" prefix if we fail to load).
2015-10-02git-commit-setup: handle cygwin pathsNoam Postavsky
Cygwin git passes paths like /cygdrive/c/foo/.git/COMMIT_EDITMSG which causes windows-nt Emacs to look for the non-existent c:/cygdrive/c/foo/.git/COMMIT_EDITMSG. We now attempt to switch to c:/foo/.git/COMMIT_EDITMSG in thise case. Re https://github.com/magit/magit/issues/2284#issuecomment-143927798
2015-09-03reset Package-Requires for MelpaJonas Bernoulli
2015-09-03release version 2.2.22.2.2Jonas Bernoulli
2015-08-24melpa release dance, part 2Jonas Bernoulli
2015-08-24melpa release dance, part 1Jonas Bernoulli
2015-08-18git-commit.el: fix commentary typoKyle Meyer
2015-08-16make Melpa snapshots depend on other snapshotsJonas Bernoulli
2015-08-16release version 2.2.02.2.0Jonas Bernoulli
2015-08-15make git-commit-flyspell-verify more robustJonas Bernoulli
The previous implementation sometimes did not succeed in keeping flyspell from checking certain parts of the instructions comment.
2015-08-15use font-lock-flush instead of font-lock-ensureJonas Bernoulli
The latter does not actually refresh the buffer.
2015-08-08use async-bytecomp to guarantee untainted buildsJonas Bernoulli
When `package.el' is used to update a package whose libraries have already been loaded in the current session, then parts of the loaded version can leak into the new version during byte-compilation. This can be avoided by compiling the libraries in a separate Emacs instance. The library `async-bytecomp', which is part of the package `async', does just that by advising the function `package--compile'. So add `async' as an Elpa dependency, soft-require `async-bytecomp', and if that succeeds, then turn on `async-bytecomp-package-mode' to activate the advice. Because it is undefined which package is updated first, and which library is loaded first, we have to this in both possible candidates `with-editor' and `magit-popup'. Users may update `magit' without updating the dependencies, so we have to further force the updates of all the Elpa packages that are build from the Melpa repository. To do so we depend on "20150808" snapshot versions instead of "2.2.0". When installing Magit manually, then `async-bytecomp' is not required, because Magit is then compiled using the Makefile which already uses a separate, untainted Emacs instance.
2015-08-05fix docstring typoKyle Meyer
2015-07-27define hooks like we are supposed tooJonas Bernoulli
Users are allowed to use `add-hook' et al. to add hook functions to hook variables which have not yet been declared. That means that the default value of hook variables should not be set inside `defvar' and defcustom' forms, because those definitions are only evaluated if the variable has no value yet (in case of `defcustom' it would be used to get the default value though). When the user used `add-hook' earlier, then it obviously has a value. So we are supposed to set the default value outside of the declaration form, using `add-hook'. But that has a few downsides too. If we set the default value outside of `defcustom', then Custom would think that the default value is `nil' (and would be right about that) and tell the user about it, which could confuse her a lot. So we set the default value inside `defcustom' *and* outside using `add-hook'. Sight. That's still not good enough though. Re-evaluating the file or buffer containing these `add-hook' forms would override all user customization. So we place the calls to `add-hook' before that to `defcustom' and additionally wrap the calls to `add-hook' to make sure they are only ever run once. Sight. (unless (find-lisp-object-file-name 'HOOK-VARIABLE 'defvar) ...) (add-hook 'HOOK-VARIABLE ...) ...) (defcustom HOOK-VARIABLE '(...) :options '(...) ...) Double sight. We *don't* do the above for section hooks, which users are supposed to modify using `magit-add-section-hook'. Instead we teach that function to raise an error when the user attempts to add a hook function to a hook variable which has not been defined yet. Re #2004.
2015-07-06use font-lock-ensure if availableJonas Bernoulli
It's available starting with Emacs v25.1.
2015-07-06call looking-back with two argumentsJonas Bernoulli
Starting with Emacs v25.1 `looking-back' requires two arguments. But the second argument LIMIT may still be nil.
2015-07-01add release notes, bump version2.1.0Jonas Bernoulli
2015-06-29remove obsolete face definitionsJonas Bernoulli
To many faces were renamed for these few backward-compatibility definitions to make much of difference. Rip off the bandage.
2015-06-29Add autoload cookie for lazy loadingSyohei YOSHIDA
2015-06-28fix and extend package metadataJonas Bernoulli
2015-06-23improve package summaries and commentaryJonas Bernoulli
Improve the library summaries of the libraries that are distributed as separate packages, as well as the summary and commentary of `magit.el'.
2015-06-23update elpa package dependenciesJonas Bernoulli
Note that emacs-24.4 implies cl-lib.
2015-06-23clarify copyright lines in library headersJonas Bernoulli
At the beginning of library headers use ;; Copyright (C) YEARS The Magit Project Contributors instead of ;; Copyright (C) YEARS The Magit Project Developers "Developers" might be read as to imply that only the core team hold the copyright. But that is not the case, since nobody assigned their rights to us. Everyone who ever contributed holds the copyright for their contribution(s).
2015-06-23move all libraries to new lisp/ subdirectoryJonas Bernoulli
and move AUTHORS.md to the Documentation/ subdirectory. This also requires extensive changes to the Makefiles and some libraries.