1. 15 Feb, 2018 1 commit
  2. 07 Jan, 2018 1 commit
  3. 13 Feb, 2017 1 commit
  4. 12 Jan, 2017 1 commit
  5. 04 Jan, 2017 1 commit
  6. 27 Dec, 2016 2 commits
    • Jonas Bernoulli's avatar
    • Jonas Bernoulli's avatar
      Only set coding system for libraries that need it · 1c6205d8
      Jonas Bernoulli authored
      Most libraries contain only ASCII characters but a few contain Unicode
      characters.  Emacs should automatically use Unicode for all libraries,
      but, according to 7307c5ba, this is not the case for some language
      environments.  These are the lines with non-ASCII characters:
      $ find -name '*.el' -exec grep -P -H -n '[^\x00-\x7f]' {} \;
      ./magit-utils.el:245:(defcustom magit-ellipsis ?…
      ./magit.el:16:;;        Rémi Vanicat      <vanicat@debian.org>
  7. 22 Dec, 2016 2 commits
    • Jonas Bernoulli's avatar
    • Jonas Bernoulli's avatar
      Place magit-{*}-arguments in new magit-git-arguments group · 33c5c1ca
      Jonas Bernoulli authored
      Most options named `magit-TOPIC-arguments' specify the arguments
      that are enabled by default in the respective `magit-TOPIC-popup'.
      Previously most of these options were placed in the `magit-commands'
      Custom group, which made that group rather noisy.  A few were placed
      in others group, which was inconsistent and in most cases an oversight.
      To avoid having to specify the group for each and every popup defined
      in Magit and in third-party extensions that share the "magit-" prefix,
      teach `magit-define-popup' to use `magit-git-arguments' if GROUP isn't
      specified and NAME does begin with "magit-".
      Also place `magit-git-global-arguments' into this group.  Remove it
      from `magit', but keep it in `magit-process' as before.
  8. 05 Dec, 2016 4 commits
    • Jonas Bernoulli's avatar
      magit-cycle-margin-style: new command · e2c7302b
      Jonas Bernoulli authored
    • Jonas Bernoulli's avatar
      magit-toggle-margin-details: new command · a772a120
      Jonas Bernoulli authored
      Bind it in `magit-log-refresh-popup' and for modes where that popup
      isn't used replace `magit-toggle-margin's binding with a new popup
    • Jonas Bernoulli's avatar
      Generalize margin support · b209bd1f
      Jonas Bernoulli authored
      Currently we only use the margin to display additional information
      about commits, but that will likely change, not least to avoid wasting
      space.  Since the format of the margin-format options changes in the
      upcoming release anyway, we should take this opportunity to make the
      format forward compatible and thereby avoid a similar breaking change
      in the future.
      The old format
      isn't suitable, we now use
        (AUTHOR and AUTHOR-WIDTH replace NAME.  It is now possible to
        specify how much space should be used for the name, provided
        it is shown at all, without also showing it initially.  WIDTH
        is an addition.)
      or at least that's what's being displayed in doc-strings, conceptually
      the format is
      The same format is used for a buffer-local variable
      `magit-buffer-margin'.  Here the meaning of INIT changes to ENABLED.
      This variable replaces `magit-show-margin', which said whether the
      margin was enabled and several other variables, which were used to
      cache values.  `magit-buffer-margin' on the other hand also caches
      other information, which may be changed on a per-buffer basis.
      `magit-set-buffer-margin' no longer calculates the width of the margin
      itself, instead it uses WIDTH.  The option's WIDTH can be a function
      whose value is then stored in `magit-buffer-margin's WIDTH.  For logs
      this is always the new `magit-log-margin-width' function.  Due to the
      mentioned forward compatibility this has to be exposed in the user
      interface even though users should never change that for now.
      There's still one hardcoded part: `magit-margin-option' returns the
      option suitable for the current buffer based on a constant list.  But
      that can easily be addressed when the need arises.
    • Jonas Bernoulli's avatar
      magit-margin.el: new library · 9203360a
      Jonas Bernoulli authored