Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix package #2

Merged
merged 2 commits into from
Mar 11, 2015
Merged

Fix package #2

merged 2 commits into from
Mar 11, 2015

Conversation

syohex
Copy link
Contributor

@syohex syohex commented Mar 11, 2015

  • add autoload cookie for lazy loading
  • use cl-lib macros instead of cl.el because helm loads cl-lib.el

@abo-abo abo-abo merged commit 1099ebf into abo-abo:master Mar 11, 2015
@abo-abo
Copy link
Owner

abo-abo commented Mar 11, 2015

Makes sense, thanks!

@syohex syohex deleted the fix-package branch March 11, 2015 14:07
abo-abo pushed a commit that referenced this pull request Sep 19, 2018
`start-process-shell-command` doesn't seem to wait for
`counsel-locate-action-extern` to finish under Ubuntu. [Gist to
reproduce the
issue](https://gist.github.com/yiufung/38be4c3a6832334f36f2441550cf0b12).

Related
discussion: ([#1](https://askubuntu.com/questions/646631/emacs-doesnot-work-with-xdg-open),
[#2](https://emacs.stackexchange.com/questions/19344/why-does-xdg-open-not-work-in-eshell),
[#3](http://emacs.1067599.n8.nabble.com/emacs-and-xdg-open-td106892.html))
suggests to:

1. Set `process-connection-type` as nil temporarily
2. Called with `setsid -w` to wait for the process to finish.

To avoid interfering with other platforms and applications, I adopted
the latter approach which uses `lsb_release` to check distribution
type with fall back as `xdg-open`. Currently only check for Ubuntu,
and to be extended in the future.

Re #863
Re #1401
Fixes #1759
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants