Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make space before header optional or customizable? #108

Closed
xluk9 opened this issue Sep 12, 2019 · 2 comments
Closed

Make space before header optional or customizable? #108

xluk9 opened this issue Sep 12, 2019 · 2 comments
Assignees
Milestone

Comments

@xluk9
Copy link

xluk9 commented Sep 12, 2019

Hello, great package!

I was wondering if it is possible to customize the space before the headers. I know where to modify the line in the source code. In fact, I changed this line (273) (setq s (concat " " s)) to this (setq s (concat "" s)), the line inside org-super-agenda--make-agenda-header function. I don't understand very well elisp, so I don't know if there is a better way to change that line. Anyway, I still have to re-evalute the function everytime I restart emacs.

Is there a better way to achieve the same result?
Thank you!

@alphapapa
Copy link
Owner

The hard-coded space could be changed to a customizable prefix option. I probably won't get to it soon, but I'll put it on the to-do list.

You could put your modified version of the function in your init file. e.g.:

(use-package org-super-agenda
  :config
  (defun org-super-agenda--make-agenda-header ...))

Or you could use something like el-patch to modify it.

@alphapapa alphapapa self-assigned this Sep 17, 2019
casch-at added a commit to casch-at/org-super-agenda that referenced this issue Sep 20, 2019
casch-at added a commit to casch-at/org-super-agenda that referenced this issue Sep 20, 2019
casch-at added a commit to casch-at/org-super-agenda that referenced this issue Sep 20, 2019
@max6166
Copy link

max6166 commented Aug 14, 2020

FYI: Removing the leading space in the group headers fixed origami-mode for me.

@alphapapa alphapapa added this to the 1.2 milestone Nov 13, 2020
alphapapa added a commit that referenced this issue Nov 13, 2020
Closes #108.  Thanks to Christian Schwarzgruber (@cslux).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants