Skip to content

New script catchup.py: overview of unread messages, highlights and active buffers - #618

Open
weechatter wants to merge 1 commit into
weechat:mainfrom
weechatter:master
Open

weechatter wants to merge 1 commit into
weechat:mainfrom
weechatter:master

Conversation

@weechatter

Copy link
Copy Markdown
Contributor

Script info

  • Script name: catchup.py
  • Version: 0.1.0
  • Requirements:
  • Min WeeChat version: 4.0.0
  • Script tags: away, buffer, highlight, hotlist

Description

Show an overview of what happened while you were away, in a dedicated buffer:
highlights and private messages with their text, most active buffers (messages,
nicks, highlights) and quiet buffers. Jump to any buffer with the enter key.

The period is the read markers of buffers, a duration (/catchup -since 8h) or
the time you went away (/catchup -since away); the buffer can be opened
automatically when you come back from away. The buffer is refreshed on new
highlights or private messages, and buffers already visited are dimmed.

Checklist (new script)

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

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.

1 participant