scripts icon indicating copy to clipboard operation
scripts copied to clipboard

New script read_marker.py: draft/read-marker extension support

Open emersion opened this issue 3 years ago • 1 comments

Script info

  • Script name: read_marker
  • Version: 0.1.0
  • Requirements: none
  • Min WeeChat version: none
  • Script tags: irc, buffer

Description

This script adds support for the draft/read-marker IRCv3 extension: https://ircv3.net/specs/extensions/read-marker

Checklist (new script)

  • [x] Single commit, single file added
  • [x] Commit message: New script name.py: short description…
  • [x] No similar script already exists
  • [x] Name: max 32 chars, only lower case letters, digits and underscores
  • [x] Unique name, does not already exist in repository
  • [x] No shebang on the first line
  • [x] Comment in script with name/pseudo, e-mail and license
  • [x] Only English in code/comments
  • [x] Pure WeeChat API used, no extra API
  • [x] Function hook_process is used for any blocking call
  • [x] For Python script: works with Python 3 (Python 2 support is optional)
  • [x] Score 100 / 100 displayed by weechat-script-lint

emersion avatar Sep 12 '22 07:09 emersion

@flashcode gentle ping

emersion avatar Oct 05 '22 06:10 emersion

@emersion: thanks for the script, could you please add a comment in the script, explaining how it works, and what's the benefit for the user to use this read marker?

And I think in future such feature should be in WeeChat itself.

flashcode avatar Oct 21 '22 15:10 flashcode

Done.

And I think in future such feature should be in WeeChat itself.

Nice. https://github.com/weechat/weechat/issues/1791 tracks this.

emersion avatar Oct 23 '22 10:10 emersion

Gentle ping

emersion avatar Nov 10 '22 10:11 emersion

Thanks!

emersion avatar Nov 11 '22 10:11 emersion