Jun 9, 2020

Emacs keybindings for Adobe Brackets (C-d / C-h)

I've started to use Adobe Brackets for Thunderbird add-ons development.
Brackets is suitable for writing WebExtensions/MailExtensions.
Especially live preview and inline css editing are killer functionalities for me.
This is a reason I chose Brackets even though it is less active rather than Atom and Visual Studio Code.

Another important thing for a editor is emacs keybindings.
And, same as other editors, Brackets has the brackets-emacs extension thanks to Ahmad N. Raja.

It is almost perfect for me except for character deleting: C-d (delete after cursor) and C-h (delete before cursor) are missing!
So, I did a few hacks.

brackets-emacs extension with C-d and C-h

Please feel free to use it if you are in the same situation as me :)

NOTE:
Remove the original brackets-emacs extension if you've already installed it.

Jun 7, 2020

Thread coloring and tagging in message header view (Tag Popup 2.0.2)

Tag Popup 2.0.2 is available.
The followings are newly implemented in this version:
  • Coloring of thread pane
  • Tagging in message header view
Download:

NOTE:
From v2.0.2, add-on ID is changed to the same one as Tag Toolbar.
So, Thunderbird will recognize v2.0.2 and older version are different add-ons.
And v2.0.2 only supports Thunderbird 77.0b3 and up.
It cannot be installed into Thunderbird 68.x.


Coloring of thread pane
This functionality is the same as Tag Toolbar's one.
It changes background color of unselected message by attached tag color.



Tagging in header view
Tag Popup does not have an additional toolbar, which is the main functionality of Tag Toolbar, due to the limitation of MailExtensions framework. Against the fallback, Tag Popup implements similar functionality in the message header.

As a Thunderbird's original functionality, attached tags are displayed in the header view. In addition to that, other tags are also enumerated with its background is colored by white. By clicking the labels, you can toggle tags.

In the following example, "Important" and "Work" tags are attached to the message; "Personal", "To Do" and "Later" are not.
If you click Important or Work, the clicked tag will be detached from the message.
If you click Personal, To Do or Later, the clicked tag will be attached to the message.


If you try it on IMAP, the display change will delay and may look like wrongly tagged.
In this case, select another message and then back to the message.
It seems problem of Thunderbird.
Please note.

If you have a lot of tags, your header become larger.
For that case, you can disable it by option.


Options
The two functionalities are enabled by default.
If you do not need them, you can disable.
And the thread pane coloring can be adjusted, same as Tag Toolbar.

Please note the coloring will apply after restart of Thunderbird.
The preview is changed if you modify the Lightness or Text color setting.
Intended usage is that you configure as you like by checking the preview and then restart.



Others
Due to the background color of Tag Popup, some tags like yellowed one were difficult to read.
So, such tags are displayed as black characters. You can identify color of the tags by the colored underline.

The "TEST" tag in the following is an example.



I think Tag Popup becomes similar to Tag Toolbar now.
So, Tag Toolbar will not be maintained for Thunderbird 78 and be replaced by Tag Popup.




Popular Posts