-
Notifications
You must be signed in to change notification settings - Fork 0
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
dot emacs #1
Comments
That is a good plan, I just wonder how to go about it. Should we ask ess-help / the ESS team to "minimize" it? |
Thanks for your interest! As far as this individual tutorial goes, I intend it to be completely self-contained. All the configuration necessary to use every feature I cover is included in the tutorial itself. I test this explicitly, and if you find something doesn't work as advertised, it's a bug and I want to hear about it, so I can fix it. For the record, the necessary configuration is: (add-to-list 'auto-mode-alist '("\\.[rR]md\\'" . poly-gfm+r-mode))
(setq markdown-code-block-braces t) I delayed recording my demo until I was able to submit patches to markdown-mode and poly-R mode that allowed me to eliminate most of the config that was required in the first draft. This assumes the listed prerequisites are met. These are also listed in the tutorial. I don't explain how to install Emacs packages, but do point to the previous tutorial for those details: https://github.com/ess-intro/presentation-ess-base-install/blob/master/ess-installation.Rmd. Ideally we'll have fixed links to these tutorials, but I'm not sure they have a permanent home yet? As for having a more comprehensive config template, I have mixed feelings about it. It would be a great resource, no question. But also difficult to find the sweet spot between simple enough to be easily maintainable, and modified by users without breakage; and thorough enough to not become completely redundant once a user understands the basics. My hope for these tutorials (and I think Dirk's original intent?) is that they provide bite-sized lessons on how to use, and install/configure, a particular feature. They won't (individually) be comprehensive, but they should break down the material into small enough stand-alone chunks that an interested user can learn what they need in about five minutes (plus or minus 10 minutes), and add code they understand to their own configuration. |
@plantarum Thanks for the detailed reply. Your approach and intent makes sense. If there were a comprehensive config template, I would suggest -- support for R (ESS) these could all be turned on for .R, .Rmd, and .Rnw files, which would give a comprehensive out of box experience. In terms of maintenance / workload, if one of your or the ESS gurus has a dot emacs that does much of that, that could just be shared and made a "recommended" example? I'd also be happy to contribute mine and keep it up to date with comments and a video explaining the purpose of each part + how to add a dot emacs / init.el file. I suspect I've done some silly / redundant things in mine, but it seems not to give errors on the few systems I've tried it on. Also, feel free to close this issue. I don't want to stop dialogue if you want to continue it, but also think we are probably off the topic of your Rmarkdown presentation, as this would be a separate one if done. |
This presentation on setting up and using
rmarkdown
is very helpful.It would be wonderful if there could be an example or link to a .emacs file that would automatically install and set everything up.
I have something like this, but it was completely hacked together without a real understanding of what/how I'm doing it and I'm afraid is wrong.
The text was updated successfully, but these errors were encountered: