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

The quick start procedure is a bit too invasive #212

Closed
dgutov opened this issue May 8, 2020 · 5 comments
Closed

The quick start procedure is a bit too invasive #212

dgutov opened this issue May 8, 2020 · 5 comments

Comments

@dgutov
Copy link

dgutov commented May 8, 2020

I just installed this to try out and see the "enhanced default experience".

The UI is pretty spiffy (I'll take a note to maybe recommend it to people to try out), but the quick start procedure raised an eyebrow. The font installation could use a prompt (all-the-icons-install-fonts does prompt by default, unless called with non-nil argument). The sudo password prompt (by pdf-tools) wasn't great either.

@seagle0128
Copy link
Owner

which OS and version of Emacs?

@dgutov
Copy link
Author

dgutov commented May 16, 2020

GNU/Linux and 27 pretest.

@seagle0128
Copy link
Owner

seagle0128 commented May 17, 2020

  1. Install fonts: calling (all-the-icons-install-fonts t) to install fonts without prompts.
    https://github.com/seagle0128/.emacs.d/blob/master/lisp/init-ui.el#L240

  2. Install pdf-tools: Calling (pdf-tools-install t nil t nil) to avoid prompts. sudo is required by pdf-tools on Linux (https://github.com/politza/pdf-tools#server-prerequisites).
    https://github.com/seagle0128/.emacs.d/blob/master/lisp/init-reader.el#L49

Could you please give me advices or suggestion?

@dgutov
Copy link
Author

dgutov commented May 17, 2020

  1. What about removing the t argument?

  2. What happens if you don't call it? Does trying to use any of its features result in installation instructions? If so, that seems like it should be enough.

@seagle0128
Copy link
Owner

seagle0128 commented May 17, 2020

  1. The default configurations depend on all-the-icons to display icons on UI. I think it's better to install fonts automatically, without any prompts, especially for new users. It's only for GUI mode.
  2. Better solution is building pdfinfo if needed. (while opening pdf files)

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

No branches or pull requests

2 participants