spacemacs

Drew Verlee 2022-07-20T03:59:08.751079Z

emacs will open firefox, which i want, but it doesn't seem to be the same one that i open from my desktop. e.g i'm not logged in, no extensions, etc... any idea how i configure this? I see there is a "search" package, but that seems like overkill.

Drew Verlee 2022-07-20T04:00:17.297479Z

i must have two versions of firefox installed. lovely.

Drew Verlee 2022-07-20T04:37:45.714749Z

I used the search layer and set it to chrome. Better then what i had.

Martynas Maciulevičius 2022-07-26T09:27:58.042449Z

It's also possible that you have your own firefox profile. I use profiles on chrome to have completely different "user sessions" but only one system installation.

Drew Verlee 2022-07-20T15:02:16.179579Z

How would i go about integrating https://www.emacswiki.org/emacs/CfnLint with spacemacs? I droped those expressions (e.g (defin-dervied-mode cfn-yaml... ) in my dotfile's dotspacemacs/user-config and restarted and i didn't get any linting in my yaml file that had the text AWSTemplateFormatVersion: "2010-09-09" at the top. So it doesn't seem to be working as i would expect.

🙌 1
Cora (she/her) 2022-07-20T18:14:05.167069Z

could you use this? https://github.com/emacsmirror/cfn-mode

Cora (she/her) 2022-07-20T18:17:01.318519Z

otherwise it looks like this spacemacs config from a while back sets up cfn-mode using the method you linked to https://gist.github.com/bleggett/89d288e370284ec083d7eb324253a4ef

👀 1
Cora (she/her) 2022-07-20T18:18:39.680989Z

personally I prefer using packages that already have that set up

Cora (she/her) 2022-07-20T18:21:00.726889Z

it looks like this supports quite a bit https://github.com/emacsmirror/cfn-mode/blob/master/cfn-mode/cfn-mode.el

Drew Verlee 2022-07-21T02:19:29.218669Z

Thanks cora. Do you understand the configuration in cfn-mode? it just says this (flycheck-cfn-setup) . I think the author assumes i know something i don't.

Cora (she/her) 2022-07-21T02:21:28.431639Z

I think you'd need to (require 'flycheck-cfn) and then run that

Cora (she/her) 2022-07-21T02:22:04.413199Z

i don't remember how spacemacs does custom packages, and how it handles running code after the package loads, but that's where to look

Drew Verlee 2022-07-21T02:23:04.894799Z

gotcha. thanks again.

Cora (she/her) 2022-07-21T02:24:13.858169Z

maybe you just need to run that function and auto loads handles the rest?

👀 1