Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • 07:59
    nixmaniack commented #13197
  • 04:34
    hamadmarri commented #11733
  • 04:30
    hamadmarri commented #11733
  • Jan 23 23:56
    brunosmmm commented #12462
  • Jan 23 23:34
    EdgarOrtegaRamirez starred syl20bnr/spacemacs
  • Jan 23 23:00
    emacspace synchronize #13204
  • Jan 23 22:55

    smile13241324 on develop

    Fix missing implicit dependency… (compare)

  • Jan 23 22:53
    krautgit starred syl20bnr/spacemacs
  • Jan 23 22:35
    vibrys commented #9631
  • Jan 23 22:21
    emacspace opened #13204
  • Jan 23 22:17

    smile13241324 on develop

    Revert "Revise python layer" R… (compare)

  • Jan 23 21:35
    kleicht starred syl20bnr/spacemacs
  • Jan 23 21:17
    duianto commented #13197
  • Jan 23 21:06
    SinaKhalili starred syl20bnr/spacemacs
  • Jan 23 20:49
    thvnx starred syl20bnr/spacemacs
  • Jan 23 20:37
    Kazark commented #12462
  • Jan 23 20:23
    hyiltiz commented #13097
  • Jan 23 20:23
    hyiltiz commented #13097
  • Jan 23 19:06
    brunosmmm commented #12462
  • Jan 23 19:02
    Matelasse commented #13197
Grant Shangreaux
@gcentauri
apparently this isn't a super hot feature for emacsers?
Mike Rodriguez
@mrrodriguez
ah it does seem to work for cases I just checked
and I didn't read that page beforehand - should have - I was looking for something more spacemacs specific
since the spacemacs-ui-visual layer seems to provide the toggles for this etc
I guess it isn't popular though. but it does appear that emacs 27 has this indicator as a built-in
but I'm not that cutting edge to try that either way
Daniel Nicolai
@dalanicolai_gitlab
@mrrodriguez @gcentauri Btw. the page I sent you explains how to define a global minor mode for fci-mode
But I actually don't know exactly what a global minor mode is... just it sounds to me like that could be the solution
Mike Rodriguez
@mrrodriguez
@dalanicolai_gitlab thanks, I’ll take a look. interesting either way.
Daniel Nicolai
@dalanicolai_gitlab
Hope it works
or helps
Grant Shangreaux
@gcentauri
a global minor mode is something that will turn on for every buffer generally. things like tool-bar-mode and scroll-bar-mode
fci-mode is not something you really want globally, you'll probably want to add exceptions for certain modes like on that wiki page
spacemacs-ui-visual takes a bunch of togglable things and adds spacemacsy commands to toggle them... but it doesn't define global toggles if they don't exist, like in this case
Mike Rodriguez
@mrrodriguez
thanks for clarification
Daniel Nicolai
@dalanicolai_gitlab
Yes interesting
Yinlin Zhang
@yinlinzh
Hi all, the indent width for my spacemacs is always 2 spaces. I use c-c++ layer and no tips from google to take effect.
Yinlin Zhang
@yinlinzh
solved.
(setq-default c-basic-offset 4
tab-width 4
indent-tabs-mode t)
(setq c-default-style "linux")
Yinlin Zhang
@yinlinzh
One more wondering: is there a layer for spacemacs similar to tagbar for vim? show symbol and support jumping
Evan
@emesterhazy
Hey guys, once you pull up the buffer menu with SPC b b is there a way to kill a buffer in the list without entering it and hitting SPC b d ?
Grant Shangreaux
@gcentauri
@emesterhazy - well you'll either be in helm or ivy at that point, i'm not aware of a way to kill buffers from that list, but it doesn't mean it can't be done
Evan
@emesterhazy
Ah I figured it out
M-D
Once you've selected the buffer from the list
Grant Shangreaux
@gcentauri
i assume that's helm mode?
Evan
@emesterhazy
I think so, yes
Grant Shangreaux
@gcentauri
yeah i can't do that in ivy
Evan
@emesterhazy
ah
Grant Shangreaux
@gcentauri
i usually use ibuffer to go through and clean up
i did just realize there's a buffer transient state which is kinda nice SPC b .
n and p to cycle through and d to kill
Evan
@emesterhazy
oh interesting
duianto
@duianto
@gcentauri The SPC b b ivy-switch-buffers also has the option to kill k a buffer from the actions list: M-o
And I just found that it's possible to call an ivy action without closing the prompt. By opening the actions list with: C-M-o
source: https://www.reddit.com/r/emacs/comments/70bwdd/ivyswitchbuffer_kill_buffer_and_remain_open/
Martin Šošić
@Martinsos
Hi All! I am new to spacemacs (used vanilla emacs for many years). I just did fresh install, and I see that in modline, the "which-key" icon is messed up. I checked and I have Source Code Pro font installed (which is the one used by spacemacs currently). Is there anything else I can do to try to fix this? Here is a photo.
which-key-error.png
You can see the box [24c0] which I believe means that something is wrong with the font?
duianto
@duianto

Yeah that probably happens because of a font issue, what font does Emacs say that your using when you call: M-x describe-font
and press RET at the prompt:

Font name (default current choice for ASCII chars):

Martin Šošić
@Martinsos
Ah, it seems it has to do something with Archlinux! I found this:
If you see 24ba 24c0 symbols instead of ⒺⓀ or they are too ugly, then you have to install a good unicode fallback font for these symbols, or disable them by setting dotspacemacs-mode-line-unicode-symbols to nil.
I have to admit I don't know enough about fonts to understand why is this needed, but I will try to do it anyway
duianto
@duianto
ok, then maybe source code pro doesn't have support for those symbols and they are used from another installed font. I wasn't aware of that.
The symbol has always appeared as expected in Ubuntu and Windows for me.
Martin Šošić
@Martinsos
It says it is using SourceCodePro-Regular.otf
Hm, thanks for helping out -> I will see if just installing some recommended unicode fallback fonts for archlinux will help
duianto
@duianto

Emacs 26.3 in Windows 1903 says that I'm using the font:

name (opened by): -outline-Source Code Pro-normal-normal-normal-mono-13----c--iso8859-1
full name: Source Code Pro-10.0

And the C-h v fallback-font-name variable says:

fallback-font-name’s value is "MS Gothic"

and the fallback-font-name2 variable says:

fallback-font-name2’s value is "Lucida Sans Unicode"

duianto
@duianto

Emacs 26.3 in PopOS 19.10 says:

name (opened by): -ADBO-Source Code Pro-normal-normal-normal--13----m-0-iso10646-1
full name: Source Code Pro:pixelsize=13:foundry=ADBO:weight=normal:slant=normal:width=normal:spacing=100:scalable=true
file name: /home/username/.fonts/SourceCodePro-Medium.ttf

fallback-font-name’s value is "NanumGothic"

fallback-font-name2’s value is "NanumGothic"

Martin Šošić
@Martinsos
Thanks, that is it, nanum!
I found this (How did I skip it first time?): https://github.com/syl20bnr/spacemacs/blob/master/doc/BEGINNERS_TUTORIAL.org#4-install-the-default-font , and it says exactly what to do. I installed ttf-nanum on Archlinux and that is it, it works! Thanks for help :).
duianto
@duianto

Since you just started, I suggest that you switch to the develop branch, it's the recommended branch until the next version is released (I don't know when that is).
It's way ahead of the master branch.
https://github.com/syl20bnr/spacemacs/blob/develop/CHANGELOG.develop

If you've already got a working setup, back it up first. Then make sure that you don't have a .emacs.d directory or a .spacemacs file in your home directory and clone directly to the develop branch with:

git clone -b develop https://github.com/syl20bnr/spacemacs ~/.emacs.d
Per-Karsten Nordhaug
@flaggerkatt

Hey spacemacsers :) could someone point me in the right direction/best practice on how to customize packages that are eiter a. part of spacemacs (bootstrap), or b. part of other layers?

Let's say I wanna customize the hydra package, which according to configuration-layer/describe-package is part of spacemacs-bootstrap, or just build different hydras. Do I add that configuration in .spacemacs in dotspacemacs/user-config, or is it a better practice to move those to private layers if the customizations and code is extensive? If so, how do I correctly refer to built-in/packages in another layer correctly?

I've created a layer to move additional packages (and their configuration) away from .spacemacs, but I guess that can be done for the built ins as well?

Let's say I put "hydra" in the package list of that layer (defconst miscshit-packages ....) (the layer is called miscshit) and then create a (defun miscshit/init-hydra () to start the use-package etc., will that mess up stuff defined in other layers?

(a bit confused as to what goes where, examples or pointers would be great...)

Martin Šošić
@Martinsos
Ok tnx @duianto, I have .spacemacs.d in my home which is linked to my dotfiles repository, so I should have no problems there, I will give it a look.
Just one more question, I see that this beginner tutorial is expected to be observed through the spacemacs, but I have no idea how to start it from spacemacs (I am accessing the tutorial through the github page right now).
Martin Šošić
@Martinsos
Found it with SPC h SPC! Thanks :)