Fork me on GitHub
#spacemacs
<
2016-05-04
>
bojan.matic14:05:34

hey guys, i just did a fresh install of emacs on os x

bojan.matic14:05:39

and i can’t change the font size

bojan.matic14:05:27

I changed the default font to this:

dotspacemacs-default-font '("Source Code Pro"
                               :size 16
                               :weight normal
                               :width normal
                               :powerline-scale 1.1)

bojan.matic14:05:35

only increased size to 16

bojan.matic14:05:40

but nothing changes

eggsyntax14:05:55

@bojan.matic: I assume that by emacs you mean spacemacs? But in any case, I'm seeing that same behavior. Try the menu item options/set-default-font.

bojan.matic14:05:15

this is a fresh os x installation, so i installed emacs fresh too

bojan.matic14:05:27

but i used the instructions on spacemacs repo

bojan.matic14:05:45

$ brew tap d12frosted/emacs-plus
$ brew install emacs-plus --with-cocoa --with-gnutls --with-librsvg --with-imagemagick --with-spacemacs-icon
$ brew linkapps

eggsyntax14:05:01

does the menu item do it?

bojan.matic14:05:21

what menu item?

eggsyntax14:05:38

See above. Options/set-default-font.

bojan.matic14:05:11

spacemacs menu?

bojan.matic14:05:15

the one shown on startup?

eggsyntax14:05:25

No, the GUI window at the very top.

eggsyntax14:05:09

Having to turn to the GUI isn't an optimal solution, of course, but it's one that at least works for me.

eggsyntax14:05:30

Huh, that screenshot shows blank for me.

bojan.matic14:05:09

actually i have nothing in the menu

eggsyntax14:05:52

I'd try the spacemacs gitter.

bojan.matic14:05:50

solved it, wasn’t typing the font name correctly

bojan.matic14:05:07

I didn’t have Source Code Pro under that name, it was slightly different

eggsyntax14:05:28

Argh! I hate when that happens 😕

eggsyntax15:05:06

I do wonder why you don't have the GUI menu. Maybe you started emacs from the command line rather than the spacemacs icon?

eggsyntax15:05:54

I only ever start emacsclient from the CLI, so I dunno.

codonnell15:05:04

I'm running Ubuntu, so it could be totally different, but I also don't have a GUI menu FWIW.

bojan.matic16:05:27

no, i started it from the launcher

bojan.matic16:05:41

they mentioned on gitter that there are some menu bar fixes on develop

bojan.matic16:05:53

but i dont care about the menu bar so i’m not poking at it now

bojan.matic16:05:04

don’t touch it if it works 😄

eggsyntax17:05:32

Indeed simple_smile. I don't use it for much of anything. Easy enough to hit SPC-? or SPC-: and find whatever command you want without messing w/ the mouse.

ag18:05:35

does anyone know how to ignore smartparens strict mode when inserting a paren? So if you deliberately want to insert an unbalanced paren (one time only) having to disable strict mode and then re-enabling it seems to be way to much of hand-waving.

mahinshaw18:05:26

@ag: You probably just need to toggle the var, which is buffer local

mahinshaw18:05:16

smartparens-strict-mode

mahinshaw18:05:33

don’t know how that will affect the global set

ag18:05:44

@mahinshaw: I guess you didn’t get the question. I am fine with strict-mode enabled. Sometimes though you want deliberately insert an unbalanced paren (ignoring the enabled strict-mode). The question is: is that achievable without having to disable/enable strict mode?

ag18:05:15

maybe by holding some key while inserting a paren?

mahinshaw18:05:16

That I think was my point. To acheive that you need to toggle the var

ag18:05:39

@mahinshaw: once again, please read the question. I think you don’t get it

ag18:05:27

here… I found it… pressing M-( inserts a couple of parentheses ignoring strict-mode

wamaral19:05:04

@ag in evil-insert-mode you can use C-v<char> to insert char literally, disregarding plugins

wamaral19:05:15

(as in vim, btw)

ag19:05:58

@wamaral: oh. cool… thanks a lot. this is very useful. Didn’t know about this