Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • 02:49
    m183408722851632008 starred syl20bnr/spacemacs
  • May 22 23:24
    github-actions[bot] closed #14331
  • May 22 22:21
    rnkn commented #15539
  • May 22 19:53
    mavenor starred syl20bnr/spacemacs
  • May 22 18:19
    smile13241324 unassigned #15378
  • May 22 18:17
    smile13241324 commented #15378
  • May 22 13:02
    smile13241324 closed #15418
  • May 22 13:02
    smile13241324 commented #15418
  • May 22 13:02

    smile13241324 on develop

    Refactor core-load-paths to an … (compare)

  • May 22 11:17
  • May 22 11:03
    PiOverFour opened #15539
  • May 22 10:28
  • May 22 04:36
    Gzhifei starred syl20bnr/spacemacs
  • May 22 03:56
    billwood09 starred syl20bnr/spacemacs
  • May 22 02:19
    tidux opened #15538
  • May 22 02:16
  • May 21 19:44
    lebensterben commented #14232
  • May 21 19:44
    lebensterben unlabeled #14232
  • May 21 17:56
    BenedictHW commented #15497
  • May 21 17:54
    BenedictHW commented #15497
88-percent
@88-percent

I wanted to add the battery readout to my spaceline by default, so I didn't always have to use space t m b. The readme was pretty difficult to understand, but I think it suggested I add this line to my user-config:

(spaceline-toggle-mode-line-battery-on)

This didn't work for me. I eventually got it working with:

(spacemacs/toggle-mode-line-battery-on)

I don't understand why. Can anyone tell me what I'm I missing here?

88-percent
@88-percent

@dalanicolai: I was about to ask another question here, but instead I can just say: thank you so much for https://github.com/dalanicolai/pdf-continuous-scroll-mode.el ! I just upgraded to emacs27 and enabled this, and it works splendidly.

wow - this is really cool

bernalex
@bernalex:matrix.org
[m]
Reading the manual, adding (setq-default dotspacemacs-configuration-layers '((latex :variables latex-enable-auto-fill nil))) was supposed to work, but that didn't do the trick either.
I have it added to dotspacemacs/user-config ()
bernalex
@bernalex:matrix.org
[m]
syl20bnr/spacemacs#7851 (setq latex-enable-auto-fill nil) doesn't work for me either.
bernalex
@bernalex:matrix.org
[m]
Also I can't really figure out pdf view. Half of the time no keybinds work. Then I restart emacs and they work again, seemingly at random. Tedious.
bernalex
@bernalex:matrix.org
[m]
Seems emacsclient starting in the background isn't a spacemacs problem, but an emacs problem. https://askubuntu.com/questions/283711/application-focus-of-emacsclient-frame fixed it for me, in case anyone is interested.
bernalex
@bernalex:matrix.org
[m]
OK the PDF layer is seriously annoying. About one third of the time everything works. About another third of the time I need to activate the "transient state", whatever that means. The last third of the time, I can't even get space to work, so I have to quit. Is there some sort of fundamental thing I'm not understanding here?
bernalex
@bernalex:matrix.org
[m]
Oh and then every now and again, just for kicks, it also makes emacs straight up freeze.
bernalex
@bernalex:matrix.org
[m]
Aha. I think/hope it was because of an error in my config file. Which would be typical. Here's hoping.
bernalex
@bernalex:matrix.org
[m]
OK no it happens even without my custom stuff in the config file.
bernalex
@bernalex:matrix.org
[m]
OK I've established that sometimes when input stops working, it's because continuous mode has somehow broken. Typically when I j/k to a full page change. Then I have to hit 'c c' to restart continuous mode, and so at least that works. But it might be a bug worth looking into.
bernalex
@bernalex:matrix.org
[m]
More specifically: If you have a |- layout, where the lhs is your text, and your rhs is the pdf viewer split into two frames by continuous mode, and you're browsing your pdf, and then change to your text and make some changes, hit ^w^w to get to frame 2, i.e. the upper PDF frame, then scroll down to the end of it, what will happen is the text frame (1) will be selected, and you will suddenly find yourself scrolling in the text. When you then ^w^w back to what used to be frame 3, now frame 2, it does not accept input properly. Restarting continuous scrolling ('c c') will fix it.
test
@shominick-hp
Is there a way to expand the minibuffer? I do a lot of programming in TS and sometimes the types are too big for the minibuffer so it hides stuff. :confused: or some other way of showing the full types?
Will Simpson
@simpsonw_gitlab
I'm having a problem where the modeline is blank. The Messages buffer says Error during redisplay: (eval (spaceline-ml-main)) signaled (wrong-type-argument symbolp (fci-mode " ⓕ" " f")) [10 times]. Any idea what could be happening?
Will Simpson
@simpsonw_gitlab
nvm it had been a minute since I pulled (I'm on master) and doing that seemed to fix it
test
@shominick-hp
figured it out, thta truncation is tsserver itself. By editing the source I was able to increase the default. https://github.com/microsoft/TypeScript/issues/26238#issuecomment-672086446
Lucius Hu
@lebensterben
anyone using exwm layer?
1 reply
Daniel Nicolai
@dalanicolai
@bernalex:matrix.org Haha great! Thanks

@dalanicolai: I was about to ask another question here, but instead I can just say: thank you so much for https://github.com/dalanicolai/pdf-continuous-scroll-mode.el ! I just upgraded to emacs27 and enabled this, and it works splendidly.

wow - this is really cool

:thumbsup:

Daniel Nicolai
@dalanicolai
@bernalex:matrix.org You can search in pdf-tools with , s s
1 reply
Daniel Nicolai
@dalanicolai
About the "broken" pdf-continuous-scroll-mode, it is hard to make it work right. The mode is just a hack and I know it is far from ideal. But to repair these 'bugs' would take a lot of work, for little gain. Generally, I got used to sometimes 're-activate' it with c c. It is annoying but not so easy to fix (if you study the code you will find it is a quite delicate hack). Anyway, this is also the reason why I did not publish it on Melpa... it is too hacky, far from an ideal solution. There is better continuous scroll in the EAF layer its pdf viewer. But unfortunately that reader is buggy, while pdf-tools is very stable (without pdf-continuous-scroll-mode) and awesome
1 reply
Also often when Spacemacs 'freezes' it can be 'melted' with C-g.
Lucius Hu
@lebensterben
FYI, if you're using ewxm layer, be aware I'll keep trimming down unnecessary stuff, which is most of the current contents
agentofuser
@agentofuser:matrix.org
[m]
How do I use C-a as the tmux prefix when running it inside an ansi-term buffer? I'm getting back to emacs and spacemacs after a while and I forgot how to (or not sure if I used to) do this. When I try it I get a message in the minibuffer saying "Buffer is read-only"
Lucius Hu
@lebensterben
use vterm
C-c C-a
Daniel Nicolai
@dalanicolai

More specifically: If you have a |- layout, where the lhs is your text, and your rhs is the pdf viewer split into two frames by continuous mode, and you're browsing your pdf, and then change to your text and make some changes, hit ^w^w to get to frame 2, i.e. the upper PDF frame, then scroll down to the end of it, what will happen is the text frame (1) will be selected, and you will suddenly find yourself scrolling in the text. When you then ^w^w back to what used to be frame 3, now frame 2, it does not accept input properly. Restarting continuous scrolling ('c c') will fix it.

@bernalex:matrix.org I have fixed this bug. So it should be gone after you update your packages...

2 replies
Daniel Nicolai
@dalanicolai
I realized that I had actually never looked into this bug (and that I was just assuming it was hard to fix), so I had a look at it and luckily it turned out not to be that hard to fix
fleimgruber
@fleimgruber
Using the ranger layer, how to get the number of files in the directory currently visiting?
Apart from some quick shell-command I mean, say displayed in the mode line instead.
TheyareLying2Us
@TheyareLying2Us
is gnu package archive down?
my spacemacs is stuck at refreshing package archive gnu
August Feng
@augustfengd
Yeah, I think it's down. I configured Spacemacs temporarily to use mirrors and it got through. https://github.com/d12frosted/elpa-mirror
TheyareLying2Us
@TheyareLying2Us
ok. The problem is that emacs doesn't start because i was just installing a new layer, so every time i launch it tries to download new packages but fail...
guess I'll have to use vim to modify my .spacemacs 🤮
August Feng
@augustfengd
I've been doing emacs -nw -q .... I'm experiencing some trouble with my vim setup, coincidentally at the same time lol.
bernalex
@bernalex:matrix.org
[m]
There. Now I probably have that fix. :)
bernalex
@bernalex:matrix.org
[m]
Oh that's a button, and is meant to actualy do something?
The only thing that ever happens if I click it is that the bar glitches a bit
Daniel Nicolai
@dalanicolai
I think they are called buttons yes
You pressed o
?
bernalex
@bernalex:matrix.org
[m]
On the bar? Yes
Daniel Nicolai
@dalanicolai
And subsequently the right label
Which bar?
You can also place the cursor on it and press RET
Then you have to restart Spacemacs to actually perform the update
bernalex
@bernalex:matrix.org
[m]
Oh. What do you mean by 'o'? I thought you were talking about that circle between "Spacemacs buffer" and "general".
Daniel Nicolai
@dalanicolai
Ah no... the key o