-
Notifications
You must be signed in to change notification settings - Fork 40
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
Display buffer function #88
Display buffer function #88
Conversation
Hi, A few comments:
|
@@ -1395,7 +1414,7 @@ The old service process is transfered to the new service." | |||
(interactive) | |||
(let ((buffer-p (prodigy-buffer)) | |||
(buffer (get-buffer-create prodigy-buffer-name))) | |||
(pop-to-buffer buffer) | |||
(funcall prodigy-display-buffer-function buffer) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What changed here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't know myself. It could be whitespace but it looks too identical.
Maybe I was a bit unclear before. Am I right when I say that you want to be able to set one variable and affect both the prodigy and the process buffer, but still be able to configure them separately? In my head, I would prefer to have one variable for the prodigy buffer and one for the process buffer. That means if you want the same buffer function in both cases, you would have to set two variables. How does that sound? |
So I separated the prodigy and process display functions to I hope I got it right. |
I think it looks good now, but the diff is weird, which I think is because master has changed. Can you please rebase to master? Also, I would prefer if you would squash your commits into a single one. Thanks! |
5c054c9
to
7664cca
Compare
Still doesn't looks rebased? |
First time rebasing and squashing.
Sorry for the inconvenience. |
I think the problem is that your master is behind mine. The easiest would be to reset your master on mine. $ git checkout master
$ git reset --hard rejeep/master And then rebase your branch on your master again. You could also rebase your branch on my master directly. |
7664cca
to
0fef98c
Compare
The correct approach here is to customize Many packages try to accomodate this with their own customize variables but in fact that just leads to duplication of effort and unclear semantics. You can set up rules for this with shackle easily for example. |
@Fuco1 The current way is not usable. I split windows, go to the new created one, call I have my straight local git repo patched to use |
I'm closing all old PRs. If you still care, please rebase your branch and reopen the PR. |
This adds an option on how to display the prodigy and process buffer with
prodigy-display-buffer-function
andprodigy-process-display-buffer-function
respectively. The process buffer function defaults to the main display function if not set. This also may resolve #73