Skip to content

Patch by Stefan#209

Merged
matsl merged 3 commits intomasterfrom
stefan-patch-20220714
Jul 15, 2022
Merged

Patch by Stefan#209
matsl merged 3 commits intomasterfrom
stefan-patch-20220714

Conversation

@matsl
Copy link
Copy Markdown
Collaborator

@matsl matsl commented Jul 14, 2022

What

Stefans patch.

Removes some code that digs in the guts of functions, replacing it
with cleaner advice-add.

It also adds various FIXMEs about advice which should be
removed/replaced (it's OK as a temporary measure but it should come
together with a better long-term solution).

Removes some code that digs in the guts of functions, replacing it
with cleaner `advice-add`.

It also adds various FIXMEs about advice which should be
removed/replaced (it's OK as a temporary measure but it should come
*together* with a better long-term solution).
@matsl matsl requested a review from rswgnu July 14, 2022 09:01
(if (fboundp 'hproperty:but-create)
(progn (widen) (hproperty:but-create)
(rmail-show-message))))
(if (boundp 'rmail-get-new-mail-post-hook) ;FIXME: Doesn't exist. XEmacs?
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This needs to work.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure I understand. Does it mean that we need to see to that this works or that it must be kept?

Related: I can't find rmail-get-new-mail-post-hook neither in Emacs nor XEmacs in current and historic data I have access to.

Copy link
Copy Markdown
Owner

@rswgnu rswgnu Jul 15, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It may be something I added when I redid rmail and rmailsum years ago but not sure if it was merged to mainline. I guess it doesn't matter at this point.

(hypb:function-symbol-replace
constant sym-to-replace replace-with-sym))))))

(defun hypb:insert-hyperbole-banner ()
Copy link
Copy Markdown
Owner

@rswgnu rswgnu Jul 14, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Check that all the removed fun ctions above are no longer called anywhere.

Add Changelog entries for all major file-level changes.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Verified that all deleted functions are by this PR not use somewhere else.

Noticed while looking at Stefans mail again that ChangeLog entries were provided already by Stefan so I reused those. (Wasted time by providing my own ChangeLog entries. Can be viewed in separate commit. 😄 )

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok, thanks.

@matsl matsl requested a review from rswgnu July 15, 2022 07:48
@@ -71,13 +71,6 @@
(gnus-summary-display-article article))))


Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@rswgnu gnus-inews-article seems to have been removed since long. So this would be a bug for us to still depend on it. As we have spoken about before the gnus/message support should probably get a complete overlook and is probably broken. Not sure what is the best approach here. I guess using functionality that does not exists does not make sense and is misleading so for the short term it might be OK to just remove it!?

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes.

@matsl matsl merged commit 6b7b4ea into master Jul 15, 2022
@matsl matsl deleted the stefan-patch-20220714 branch July 15, 2022 16:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants