Age | Commit message (Collapse) | Author | |
---|---|---|---|
2023-01-13 | fix(emacs): make `alternate-editor` work for emacs >28 | Carlo Sala | |
Closes #11441 | |||
2022-06-19 | fix(emacs): fix check for open frames w/ extra output (#10992) | Marcus Müller | |
2021-12-28 | chore: fix comment bulk replace | Marc Cornellà | |
2021-12-28 | refactor: handle `$0` according to the Zsh plugin standard (#10518) | Curtis Rueden | |
For details and rationale, see: https://zdharma-continuum.github.io/Zsh-100-Commits-Club/Zsh-Plugin-Standard.html Closes #10518 | |||
2021-09-29 | fix(emacs): correctly pass arguments to emacsclient when $2 is stdin | Marc Cornellà | |
2021-09-29 | fix(emacs): assess if there are open frames of the expected type | Marc Cornellà | |
This change looks at the frame type of the open frames ('framep) and looks if they're of the type requested based on the arguments passed to emacsclient (-nw/-t/--tty require tty frames, otherwise we need graphical frames). NOTE: this code considers anything different than t as graphical terminals, including MS-DOS types (pc). I don't have such a setup to test if this is correct. | |||
2021-09-29 | refactor(emacs): simplify emacsclient wrapper code | Marc Cornellà | |
2021-09-29 | refactor(emacs): remove dependency on `require_tool.sh` and clean up code style | Marc Cornellà | |
2021-03-25 | fix: use `$USERNAME` guaranteed to always be defined in zsh | Marc Cornellà | |
Fixes #9701 | |||
2020-10-11 | emacs: add ansi-term directory tracking (#9218) | Ivan Dario Piernagorda Peña | |
2019-11-06 | emacs: support BSD mktemp in emacsclient.sh (#8351) | Eric Dobbs | |
Piping stdin to emacs alias on MacOS was breaking (--tmpdir is not supported in BSD flavored mktemp). Tested in MacOS 10.14 and debian:buster to confirm it still works in linux. | |||
2019-04-14 | emacs: revert cab1ac6e682038b2ceca9d16f8c458c0e79149ca (#7765) | akinnane | |
Revert cab1ac6e682038b2ceca9d16f8c458c0e79149ca The change from the above commit breaks opening a new emacs frame if there isn't a existing frame open. When emacs is running in daemon mode, there will always be a frame associated with the daemon, even if there are no visible frames. The lisp function `frame-list`, will always return 1 frame. ``` emacsclient --eval '(frame-list)' (#<frame F1 0xa3c680>) ``` When an real frame is open, two frames are reported by the `frame-list` function. ``` emacsclient --eval '(frame-list)' (#<frame F1 0xa3c680> #<frame emacs Prelude - ~/oh-my-zsh/plugins/emacs/emacsclient.sh 0xf50e10>) ``` See: https://emacs.stackexchange.com/questions/44537/extra-frame-in-visible-frame-list-when-started-in-daemon-mode-is-causing-prob https://emacs.stackexchange.com/questions/18859/dont-let-the-daemon-frame-make-a-file-visible | |||
2019-04-09 | emacs: use open frame if there is one present | Marc Cornellà | |
Fixes #5779 Fixes #5405 | |||
2019-02-25 | Revert "Fix emacs client terminal" (#7597) | akinnane | |
Reverts robbyrussell/oh-my-zsh#5714 | |||
2019-02-13 | Merge pull request #5714 from dluksza/master | Robby Russell | |
Fix emacs client terminal | |||
2018-10-05 | emacs: add README (#7235) | Martin Nestorov | |
2018-05-20 | Fix 6840 Check emacsclient version instead of emacs's (#6841) | Lorenzo Bolla | |
This is much faster. | |||
2016-12-15 | Fix emacs client terminal | Dariusz Luksza | |
Fixes #3305 Signed-off-by: Dariusz Luksza <dariusz@luksza.org> | |||
2016-07-19 | Update emacs plugin. (#5201) | soredake | |
- Updated minimal version from 23 to 24. - Added new aliases that fix unexpected close with -nw option. - Removed some old aliases. - Fixed line that detects open frames. | |||
2016-06-20 | Fix issue with `dash` as the default `/bin/sh` script executing program. (#5177) | hjpotter92 | |
* `function` keyword removed * Fixup the `if` statement and operators | |||
2016-06-17 | emacs plugin tweak to open buffer from stdin (#5126) | Jordan Gwyn | |
2014-03-24 | Add check for display list equals nil | Jan Ehrhardt | |
Emacs returns either a sequence of availbale displays or nil. Checking nil fixes this script to work as expected. | |||
2011-10-10 | Do not overwrite EDITOR environment variable if already defined. | Tristan Carel | |
2011-10-10 | Comment | Tristan Carel | |
2011-10-10 | Fix builtin `ecd' when file path contains space characters. | Tristan Carel | |
2011-09-06 | New function `efile` | Tristan Carel | |
2011-04-15 | Fix indentation | Tristan Carel | |
2011-04-15 | Fix alias `eeval' | Tristan Carel | |
2011-04-15 | - Fix pass of parameters | Tristan Carel | |
- Add new function `ecd'. | |||
2011-04-14 | More comments | Tristan Carel | |
2011-04-13 | Add new plugin emacs, to take benefit of daemon capabilities of emacs >=23 | Tristan Carel | |