summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2019-05-11Release version 2.8.3v2.8.3Jonas Bernoulli
2019-05-11Fix previous commitJonas Bernoulli
2019-05-08with-editor-kill-buffer-noop: When killing Emacs silently cancelJonas Bernoulli
Closes #64.
2019-05-05Release version 2.8.2v2.8.2Jonas Bernoulli
2019-02-24manual: Prevent evaluation of code blocksJonas Bernoulli
2019-02-24manual: Call ox-texinfo+-update-copyright-years while exportingJonas Bernoulli
2018-11-13manual: Clarify with-editor-shell-command's descriptionv2.8.1Jonas Bernoulli
The old description wasn't exactly wrong but misleading non-the-less. Closes #60.
2018-11-03with-editor-finish: Preserve local git-commit-post-finish-hookJonas Bernoulli
2018-11-03with-editor-{finish,cancel}-hook: No longer ignore global valueJonas Bernoulli
2018-10-31Release version 2.8.0v2.8.0Jonas Bernoulli
2018-10-31make: Remove leftover debug statementJonas Bernoulli
2018-10-29with-editor*: Correct debug declarationJonas Bernoulli
2018-10-26Update documentationJonas Bernoulli
2018-10-26with-editor*: New macroJonas Bernoulli
2018-10-09with-editor-{finish,cancel}: Run post hooks in correct directoryJonas Bernoulli
Run `with-editor-post-{finish,cancel}-hook' in the same directory as was current in the buffer from which `with-editor-{finish,cancel}' was invoked. This is necessary because running `with-editor-return' likely changes the value of `default-directory', since it changes the current directory.
2018-10-08Update documentationJonas Bernoulli
2018-10-08with-editor-shell-command-use-emacsclient: Fix last modified infoJonas Bernoulli
The default value was modified between 2.7.0 and 2.7.1.
2018-10-03with-editor-sleeping-editor: Also print the working directoryJonas Bernoulli
When `git-commit' is invoked from a sub-directory, then it changes the working directory to the root of the working tree before invoking the editor. Additionally it ask the editor to edit a relative path in most cases. That path is relative to the top-level, so we need the sleeping editor to also print the name of that directory; or we would end up trying to edit e.g. "/path/to/repo/subdir/.git/COMMIT_EDITMSG" instead of "/path/to/repo/.git/COMMIT_EDITMSG". Actually, as of 2.19.0, `git-commit' no longer does this, it uses an absolute file-name now. But programs might still do it and that is legitimate. `$EDITOR' inherits the working directory from its parent process, so it normally isn't a problem if the file-name is relative. It only a problem here because `$EDITOR' in hour case forwards the edit request to a running `emacs' instance, which is not a child process and therefore does not inherit the working directory. Fixes #55.
2018-07-26Release version 2.7.4v2.7.4Jonas Bernoulli
2018-06-18manual: Use a preamble to make initial text collapsibleJonas Bernoulli
2018-04-14Improve detection of remacs client in macOSv2.7.3Christian Johansson
2018-03-22make: Refactor manual publishingv2.7.2Jonas Bernoulli
2018-03-22make: Remove deleted pages when publishing manualJonas Bernoulli
2018-03-18Changing heading of library footer sectionJonas Bernoulli
The old heading was a bit silly.
2018-03-18Update .gitignoreJonas Bernoulli
Make it consistent with other such files in my other packages.
2018-03-18Rename COPYING file to LICENSEJonas Bernoulli
2018-02-17Use process-live-p to check whether process is aliveMario Rodas
When `server-process` dies, it still keeps the reference to the died process with status `closed` and is evaluated as non-nil, therefore does not restart correctly in such cases.
2018-02-13Add some autoloadRémi Vanicat
The selected function are the function describe as entry point in README.md plus with-editor-export-hg-editor that has the same role than with-editor-export-git-editor, but for another VCS.
2018-01-11Release version 2.7.1v2.7.1Jonas Bernoulli
2017-12-17make: inject style switcher into generated html manualJonas Bernoulli
2017-12-17manual: use @noindent before version sentenceJonas Bernoulli
Putting the version sentence inside the same QUOTE block as the license looked weird.
2017-12-03Ignore additional generated filesMark Shroyer
2017-11-27Use the emacsclient again when running shell commandsJonas Bernoulli
This fixes the issues described in #40 and reintroduces the issue described in #23. Users who do not care about #40 but don't like #23 can set the new option `with-editor-shell-command-use-emacsclient' to nil.
2017-10-06make: generate CDN invalidation after uploadJonas Bernoulli
2017-10-06make: remove clean-texi and clean-all targetsJonas Bernoulli
2017-10-06make: use ox-texinfo+-update-version-stringsJonas Bernoulli
2017-10-06make: use same export settings as for manual Org exportsJonas Bernoulli
2017-10-06make: rename and sanitize some variablesJonas Bernoulli
2017-10-06manual: put local-variables into an ignored sectionJonas Bernoulli
2017-10-06manual: enforce preservation of indentationJonas Bernoulli
2017-10-02shell-command: enable with-editor-mode when appropriatev2.7.0Jonas Bernoulli
Because `emacsclient' only passed the environment along when its `--create-frame' argument is used, we cannot tell whether `with-editor' is involved, and therefore should not enable `with-editor-mode'. If we use the sleeping editor, then we know that `with-editor' is involved, so always use that in our advice to `shell-command'. Fixes #23.
2017-09-27.travis.yml: fail on byte compilation warningsNoam Postavsky
Require pcase at compile time only.
2017-09-27Build on TravisJonas Bernoulli
2017-09-25Require pcaseJonas Bernoulli
2017-09-24with-editor-output-filter: don't assume default-directory is validJonas Bernoulli
... because `with-editor-process-filter' may bind it to nil. When we still used `file-remote-p' instead of `tramp-tramp-file-p' in `with-editor-output-filter' (i.e. before 9fc047751b53), then that did not matter because the latter simply returns nil when its argument is nil, while the former raises an error.
2017-09-24Cosmetics and typo fixesJonas Bernoulli
2017-09-24with-editor-export-editor: remove unnecessary leftoversJonas Bernoulli
Previously we just reinstated to already set filter. This completes fab38c451da40db17d021009ffbc53199b5e2237.
2017-08-17Guard against nonexistent default directoryv2.6.0Philipp Stephani
Fixes #34. Modified-by: Jonas Bernoulli <jonas@bernoul.li>
2017-08-16with-editor-locate-emacsclient: don't assume version string lengthJonas Bernoulli
Emacs usually identifies itself as "N.M.1" or "N.0.[59][0-9]" but at least one users Emacs identifies itself as just "N.M", so stop assuming that the version string always consist of at least three elements. Fixes #33.
2017-08-03with-editor--setup: create from code previously in with-editorJonas Bernoulli
This makes it easier to make changes without having to recompile all packages that use the `with-editor' macro, and the result of macro-expansion gets smaller too.