-
Notifications
You must be signed in to change notification settings - Fork 43
Allow user to customise reaction function #37
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
base: master
Are you sure you want to change the base?
Conversation
As discussed in the chat room, please try to get the FSF copyright assignment done. If you're unable to, I'll rewrite this (very minor) patch myself. Thanks. |
Update: I mailed the assign@gnu.org for the FSF CA for Emacs (not GNU ELPA) last month, and I am waiting for their reply now. I will update once again when they get back to me. |
ea29504
to
2c5bf38
Compare
12c2abf
to
2e072ef
Compare
Finally got it done. I finished the copyright assignment for Emacs. |
@alphapapa Please check if everything is okay! P.S. I merged manually so I might have messed something up. |
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.
Thanks. I left a few comments. Please also rebase the patch on current master so it can just be applied as a fast-forward. :)
89a2c7f
to
579b817
Compare
Ugh, those pesky indentation changes made it in! I forgot to check the diff before committing :( |
There was a pr 8000 oblem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks. I left one more change request comment. Also:
Ugh, those pesky indentation changes made it in! I forgot to check the diff before committing :(
Yes, please remove any whitespace-only hunks from the commit (Magit makes it easy to kill/revert individual hunks).
Now done. I also reverted the whitespace only chanegs that sneaked in last time (this probably clutters the git history tho :/). |
Just squash the commits and force push the branch and it should be fine.
…On Fri, Apr 22, 2022, 22:57 viz ***@***.***> wrote:
Now done. I also reverted the whitespace only chanegs that sneaked in last
time (this probably clutters the git history tho :/).
—
Reply to this email directly, view it on GitHub
<#37 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAES2FJNF67QCLZ4JY3QZZDVGNYKNANCNFSM5ELJB5TA>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
9b473a2
to
289979c
Compare
Now done |
Thanks. Unfortunately this branch seems to have unbalanced parens. Please lint the file you changed. As well, I'll mention a couple of final nitpicks as comments... |
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.
Thanks.
ement.el
Outdated
"Function that prompts the user for reaction string. | ||
The function is called with no arguments and should return a | ||
8000 | string to be used as the reaction." | |
:type '(choice |
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.
The following lists are short enough that this line break can be removed. :)
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.
This still needs to be fixed.
ement.el
Outdated
The function is called with no arguments and should return a | ||
string to be used as the reaction." | ||
:type '(choice | ||
(const :tag "React character" #'ement-read-reaction) |
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.
Please use the tag "Default function" for this.
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.
This too.
289979c
to
d0b163a
Compare
Looks like blindly trusting smerge turned out to be a mistake? Anyway, this should be fixed now, I hope. |
ement.el
Outdated
"Function that prompts the user for reaction string. | ||
The function is called with no arguments and should return a | ||
string to be used as the reaction." | ||
:type '(choice |
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.
This still needs to be fixed.
ement.el
Outdated
The function is called with no arguments and should return a | ||
string to be used as the reaction." | ||
:type '(choice | ||
(const :tag "React character" #'ement-read-reaction) |
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.
This too.
d0b163a
to
43648ca
Compare
Ah, my bad, I forgot to push the changes! |
Thanks. It's almost ready to merge, but there are two small issues that need to be fixed, which I found using
Since |
43648ca
to
bf707b0
Compare
bf707b0
to
31c52d9
Compare
I hope I got the line number right. 1530 led me somewhere else (I did not see a list form there at least). I cannot run makem.sh on my end and I don't really understand how to make it work either (I tried running the indentation checker function in my Emacsen and it reported pretty much every line?). |
Here's how I use makem.sh on this project: |
4a42004
to
481f571
Compare
a6ec9ad
to
fcbf1a5
Compare
@Vizs FYI, now you can use this Transient menu to run |
9 Sept 2022, 23:02 by ***@***.***:
@Vizs <https://github.com/vizs>> FYI, now you can use this Transient menu to run > makem> : > https://github.com/alphapapa/makem.sh#transient-menu-makemel
Thanks, I will have a look sometime later next week (hopefully at least).
|
9845fce
to
338b99b
Compare
7d2e0f2
to
c0b922b
Compare
a68abe0
to
9da7b8e
Compare
IIUC the new |
As discussed, the reaction prompt function is now customisable. Hopefully, I got the conventions right.