Ivan Dario Piernagorda Peña
fb80eb8e05
emacs: add ansi-term directory tracking ( #9218 )
2020-10-11 18:05:14 +02:00
Eric Dobbs
fc99e6db3e
emacs: support BSD mktemp in emacsclient.sh ( #8351 )
...
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-11-06 20:25:36 +01:00
akinnane
08da19e3fd
emacs: revert cab1ac6e68
( #7765 )
...
Revert cab1ac6e68
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-14 12:31:52 +02:00
Marc Cornellà
cab1ac6e68
emacs: use open frame if there is one present
...
Fixes #5779
Fixes #5405
2019-04-09 19:01:10 +02:00
akinnane
25d0a10cda
Revert "Fix emacs client terminal" ( #7597 )
...
Reverts robbyrussell/oh-my-zsh#5714
2019-02-25 14:37:41 +01:00
Robby Russell
6cec86203a
Merge pull request #5714 from dluksza/master
...
Fix emacs client terminal
2019-02-13 11:21:45 -08:00
Martin Nestorov
e09eb23158
emacs: add README ( #7235 )
2018-10-05 20:43:04 +02:00
Lorenzo Bolla
ee96d0cf96
Fix 6840 Check emacsclient version instead of emacs's ( #6841 )
...
This is much faster.
2018-05-20 16:01:55 -07:00
Dariusz Luksza
6fe2028a12
Fix emacs client terminal
...
Fixes #3305
Signed-off-by: Dariusz Luksza <dariusz@luksza.org>
2016-12-15 12:27:30 +01:00
soredake
eb244d9ec0
Update emacs plugin. ( #5201 )
...
- 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-07-19 00:20:59 +02:00
hjpotter92
909fcef046
Fix issue with dash
as the default /bin/sh
script executing program. ( #5177 )
...
* `function` keyword removed
* Fixup the `if` statement and operators
2016-06-20 21:15:55 +02:00
Jordan Gwyn
d7c06131a2
emacs plugin tweak to open buffer from stdin ( #5126 )
2016-06-17 12:12:59 +02:00
Jan Ehrhardt
c451ff4bf3
Add check for display list equals nil
...
Emacs returns either a sequence of availbale displays or nil. Checking
nil fixes this script to work as expected.
2014-03-24 12:10:18 +01:00
Tristan Carel
a01b1fefe6
Do not overwrite EDITOR environment variable if already defined.
2011-10-10 18:04:24 +02:00
Tristan Carel
3a408f326f
Comment
2011-10-10 18:04:13 +02:00
Tristan Carel
7066bf7c6b
Fix builtin `ecd' when file path contains space characters.
2011-10-10 14:54:20 +02:00
Tristan Carel
574de93efb
New function efile
2011-09-06 10:50:53 +02:00
Tristan Carel
6f1929f822
Fix indentation
2011-04-15 18:22:27 +02:00
Tristan Carel
9b29136ec6
Fix alias `eeval'
2011-04-15 18:21:22 +02:00
Tristan Carel
49c0a1381a
- Fix pass of parameters
...
- Add new function `ecd'.
2011-04-15 18:13:01 +02:00
Tristan Carel
a183bcbc6d
More comments
2011-04-14 07:17:10 +02:00
Tristan Carel
2fba4486bf
Add new plugin emacs, to take benefit of daemon capabilities of emacs >=23
2011-04-13 17:34:51 +02:00