g06lin

joined 1 year ago
[–] [email protected] 1 points 11 months ago (1 children)

Could you please share your config?

[–] [email protected] 1 points 11 months ago
 

Is it possible to never list org agenda files from being shown in buffer lists? I have a few buffer open and I open agenda to check something. Now when (while still being in agenda) I do switch buffer among the options I see are the org agenda files. I don’t want that.

If I ever want to see them I will open them explicitly (not want to see them when they were opened automatically by agenda)

 

Suppose that I have a frame with two windows (split vertically). If I now open org-agenda, it takes over the entire frame rather than appearing in one of the windows. Once I close org-agenda I lose the split window configuration. I have figured out how to restore it using winner package, but is it possible to restrict org-agenda to not take the entire frame?

[–] [email protected] 1 points 1 year ago

Ah.... made a mistake! It does not work.

:config only fires after the package is loaded, but this key binding in :config is the one loading the package. Bad! For now, moved these bindings to :config of general.

It would be nice if I can figure out why :general does not work with use-package.

[–] [email protected] 1 points 1 year ago (1 children)

I found an old post from you (https://www.reddit.com/r/emacs/comments/ogiiyp/in_2021_what_is_the_state_of_the_art_in_emacs/), and I tried the following, and it worked! Thanks a ton!!!

(use-package elfeed :config (leader-key "w" #'elfeed))

where leader-key is a key definer created using general-create-definer

But I don't know why :general does not work in my config.

[–] [email protected] 1 points 1 year ago (2 children)

hmmm... without it I assumed I would get an error about unrecognized keyword. In any case, I tried this configuration again and I am getting the same error.

```Error (use-package): Failed to parse package elfeed: use-package: Unrecognized keyword: :general```

(Regardless of whether I use `:after general`)

 

(use-package elfeed)

(leader-key "w" elfeed)

Is it possible to combine the two in a simple way? I tried using :general keyword in use-package ensuring that it loads after general, but it still does not work...