Skip to content

Conversation

@basil-conto
Copy link
Collaborator

Changelog

  • Reuse existing macro logic.
  • Reduce side effects by passing non-nil NORECORD arg to switch-to-buffer.
  • Consistently quote function symbols as such.

Question

The ivy-completion-in-region test which makes use of this macro emits a "Sole match" message amid make test results. Would it be desirable to bind inhibit-message to t around execute-kbd-macro or elsewhere in ivy-with-r to suppress this message, or would that be a bad idea?

- Reuse existing macro logic.
- Minimise side effects by passing non-nil NORECORD arg to
  switch-to-buffer.
- Consistently quote function symbols as such.
@abo-abo abo-abo closed this in 5c559f5 Nov 21, 2017
@abo-abo
Copy link
Owner

abo-abo commented Nov 21, 2017

Would it be desirable to bind inhibit-message to t around execute-kbd-macro or elsewhere in ivy-with-r to suppress this message, or would that be a bad idea?

As I found out recently, if you bind inhibit-message, you lose out on edebug. Let's keep the message.

@basil-conto
Copy link
Collaborator Author

Fair enough, thanks.

@basil-conto basil-conto deleted the ivy-with-r branch November 21, 2017 23:29
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