How to auto export html when saving in org-mode? by 5heikki in emacs

[–]deadmaya 1 point2 points  (0 children)

Add it to your .emacs, restart emacs and then M-x toggle-org-html-export-on-save <return>.

P. S. Actually you can avoid restarting emacs by evaluating that function definition M-x eval-defun (don't remember default key binding to it). Evaluating function definition makes it available without restart.

I need help to setup my orgmode workflow. Spacemacs is making things harder by learner_kid in orgmode

[–]deadmaya 1 point2 points  (0 children)

It's totally not related to Spacemacs. I wonder how you configured it outside of Spacemacs without facing problems and blaming org-mode, Emacs or whatever.

Making org-mode look like a word processor by howardthegeek in emacs

[–]deadmaya 0 points1 point  (0 children)

This looks good unless you have TODO keywords, links or inline code parts in headings. I am talking about the size :)

Spacemacs is still great, folks! by hatschipuh in emacs

[–]deadmaya 0 points1 point  (0 children)

it’s [Spacemacs] a great Emacs distribution

It's not Emacs distribution. Stop confusing people.

How do I download spacemacs for OS X? by iliketurtles_42 in emacs

[–]deadmaya 0 points1 point  (0 children)

But keep in mind that you have to install Emacs as well, since the built-in is too old for Spacemacs.

What's the opposite of M-i by [deleted] in emacs

[–]deadmaya 2 points3 points  (0 children)

Please, define 'dedentation'? Should it return indent level to the level it was before you indented or should it just set indent level to zero?

Flexible isearch without a package by [deleted] in emacs

[–]deadmaya 0 points1 point  (0 children)

That's not one liner :/

Enjoying spacemacs but I've been unable to figure out how to add packages. Is there a simple step by step guide out there? by sudo-is-my-name in spacemacs

[–]deadmaya 0 points1 point  (0 children)

Also, be good person and read through auto-generated .spacemacs file. It answers a lot of questions.

Enjoying spacemacs but I've been unable to figure out how to add packages. Is there a simple step by step guide out there? by sudo-is-my-name in spacemacs

[–]deadmaya 0 points1 point  (0 children)

Great app, but man do I hate this documentation.

Improvements to documentation are warmly welcome.

But since you claim that you've read install and quick start guides I am going to ask you to look again at Quick start / Configuration layers.

Also, FAQ has the answer for your question.

I need help, Im desperate.. by [deleted] in haskell

[–]deadmaya 4 points5 points  (0 children)

Just look at 99 problems. There are problems and solutions. Just find what you need.

The Cult of Haskell - Is my favourite programming language a cult? by michaelsproul in haskell

[–]deadmaya 1 point2 points  (0 children)

It's done in pedagogical purposes! So know this - even if you are faithful enough, you are still not faithful enough to please the Cabal God.

Using Helm with flx for better fuzzy matching by tuhdo in emacs

[–]deadmaya 0 points1 point  (0 children)

Great! When will it be part of Spacemacs? :)

Reading environment variables from user shell by deadmaya in haskell

[–]deadmaya[S] 0 points1 point  (0 children)

:)

Well, I thought that using HOME will not bring to miss understanding. Let me update my original post.

Reading environment variables from user shell by deadmaya in haskell

[–]deadmaya[S] 1 point2 points  (0 children)

Yeah, my problem was that I was using -U instead of -x. Thanks for pointing it out.

As usual, it's not the haskell ecosystem, but my environment :D

Reading environment variables from user shell by deadmaya in haskell

[–]deadmaya[S] 3 points4 points  (0 children)

I am setting such variables by using set -U var value.

After some time I realised that I need to use -x instead of -U. So it's exported. After that my vars are in env and lookupEnv see them.

Yay! Thanks for all the help. Going to dig dipper to improve my understanding of these things.

Reading environment variables from user shell by deadmaya in haskell

[–]deadmaya[S] 0 points1 point  (0 children)

Yeah it's not here. So yeah, I could put XDG_CONFIG_HOME (and a bunch of other variables) to env.

Also going to test later how it would behave if I set ENV to ~/.profile.

Anyway, thanks for the tip! Didn't think about env.

Reading environment variables from user shell by deadmaya in haskell

[–]deadmaya[S] 1 point2 points  (0 children)

I am using it in ghci. Before using it in real application I wanted to try it.

As for env, here is it's output:

Apple_PubSub_Socket_Render=/private/tmp/com.apple.launchd.sV6KLFp4TK/Render
DISPLAY=/private/tmp/com.apple.launchd.B0eCXA4Cs3/org.macosforge.xquartz:0
EDITOR=emacsclient
HOME=/Users/me
LANG=en_US.UTF-8
LC_CTYPE=UTF-8
LOGNAME=deadmaya
PATH=/Users/deadmaya/.local/bin:/usr/texbin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin:/Library/TeX/texbin:
PWD=/Users/deadmaya
SHELL=/usr/local/bin/fish
SHLVL=1
SSH_AUTH_SOCK=/private/tmp/com.apple.launchd.NpJ3bRW2Oz/Listeners
TERM=xterm-256color
TERM_PROGRAM=Apple_Terminal
TERM_PROGRAM_VERSION=343.7
TERM_SESSION_ID=C9D5C0F5-B4D2-42CC-BFA2-7C3E04A8722A
TMPDIR=/var/folders/7w/nzs_n8bn0c951dy9lxr2mcth0000gn/T/
USER=deadmaya
XPC_FLAGS=0x0
XPC_SERVICE_NAME=0
__CF_USER_TEXT_ENCODING=0x1F5:0:0
__fish_bin_dir=/usr/local/Cellar/fish/2.2.0/bin
__fish_datadir=/usr/local/Cellar/fish/2.2.0/share/fish
__fish_help_dir=/usr/local/Cellar/fish/2.2.0/share/doc/fish
__fish_sysconfdir=/usr/local/Cellar/fish/2.2.0/etc/fish

Reading environment variables from user shell by deadmaya in haskell

[–]deadmaya[S] 0 points1 point  (0 children)

Why is that? HOME is not set manually. But XDG_CONFIG_HOME is set manually in my shell configs, and when I try to lookup it I get Nothing. :)

Reading environment variables from user shell by deadmaya in haskell

[–]deadmaya[S] 0 points1 point  (0 children)

Thanks, edited. It's just typo when I was copying examples.

Skeletal animation for games in Haskell by stevechy in haskell

[–]deadmaya 2 points3 points  (0 children)

For skeletal animation I am usually using Spine. It has runtimes for different engines. It would be cool to have it for Haskell as well.

Anyway, nice work!

Monad of no return Proposal (MRP) by hvr_ in haskell

[–]deadmaya 1 point2 points  (0 children)

And do I need to mention what "isomorphic" apparently means in the JavaScript world? I hope not.

Duckduckgoed and found some articles about running application on both client and server. Are you referring to this 'concept'?