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
7 years ago
Marc Cornellà
cab1ac6e68
emacs: use open frame if there is one present
...
Fixes #5779
Fixes #5405
7 years ago
akinnane
25d0a10cda
Revert "Fix emacs client terminal" ( #7597 )
...
Reverts robbyrussell/oh-my-zsh#5714
7 years ago
Martin Nestorov
e09eb23158
emacs: add README ( #7235 )
8 years ago
Lorenzo Bolla
ee96d0cf96
Fix 6840 Check emacsclient version instead of emacs's ( #6841 )
...
This is much faster.
8 years ago
Dariusz Luksza
6fe2028a12
Fix emacs client terminal
...
Fixes #3305
Signed-off-by: Dariusz Luksza <dariusz@luksza.org>
10 years ago
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.
10 years ago
hjpotter92
909fcef046
Fix issue with `dash` as the default `/bin/sh` script executing program. ( #5177 )
...
* `function` keyword removed
* Fixup the `if` statement and operators
10 years ago
Jordan Gwyn
d7c06131a2
emacs plugin tweak to open buffer from stdin ( #5126 )
10 years ago
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.
12 years ago
Tristan Carel
a01b1fefe6
Do not overwrite EDITOR environment variable if already defined.
15 years ago
Tristan Carel
3a408f326f
Comment
15 years ago
Tristan Carel
7066bf7c6b
Fix builtin `ecd' when file path contains space characters.
15 years ago
Tristan Carel
574de93efb
New function `efile`
15 years ago
Tristan Carel
6f1929f822
Fix indentation
15 years ago
Tristan Carel
9b29136ec6
Fix alias `eeval'
15 years ago
Tristan Carel
49c0a1381a
- Fix pass of parameters
...
- Add new function `ecd'.
15 years ago
Tristan Carel
a183bcbc6d
More comments
15 years ago
Tristan Carel
0c032aaf81
Removing master stuff
15 years ago
Tristan Carel
2fba4486bf
Add new plugin emacs, to take benefit of daemon capabilities of emacs >=23
15 years ago