Commit Graph

52 Commits

Author SHA1 Message Date
TEC 2770c0cfef
Wayland support 2024-04-01 22:42:40 +08:00
TEC ddb092d88d
Tweak infix definition again
I realised the prompt is really duplicating the docstring.
2023-03-28 23:54:57 +08:00
lunik1 5446e0f5a5 Move metadata setting to hook
This ensures metadata is set after pngquant, which will destroy any
metadata.
2023-03-28 23:54:43 +08:00
lunik1 ac49dff18d Optionally set image's "author" metadata
Adds option to set images "author" metadata to user-full-name
2023-03-28 23:54:43 +08:00
lunik1 2b17c6cf66 Optionally set image's "title" metadata
Adds option to set images "title" metadata to the name of the
screenshotted buffer
2023-03-28 23:54:43 +08:00
lunik1 b52211087d Optionally set image's "description" metadata
Adds option to embed text in screenshot region as the image's
"description" metadata
2023-03-28 23:54:43 +08:00
lunik1 3f8142d815 Set image's "software" metadata field
Record the version of Emacs and screenshot.el used to generate the
image
2023-03-28 23:54:43 +08:00
TEC bfde4578c8
Version 0.2 2023-01-20 19:25:32 +08:00
TEC 5d14360117
Update melpazoid action 2023-01-20 19:25:32 +08:00
TEC 7f24958efd
Add docstring to transient 2023-01-20 19:24:18 +08:00
TEC e08e342fe4
Don't rely on defun returning function symbol
This is undocumented behaviour.
2023-01-20 19:23:33 +08:00
TEC 6df63e7616
Further improve infix variable creation
The major change here is that now modified values are saved with
custom.el.
2023-01-20 19:23:21 +08:00
TEC 3846a772ab
Copy to the kill-ring not just system clipboard 2023-01-20 19:23:21 +08:00
TEC 731ac5a90d
Use call-process with imagemagick instead of shell 2023-01-20 19:23:19 +08:00
TEC 420eae2388
Propertize url in upload message as link 2023-01-20 00:09:36 +08:00
TEC e2a364c1a1
Add support for copying text content of screenshot
This is basically just useful because of the automatic de-indentation.
2023-01-19 23:59:13 +08:00
TEC d84a8581bd
Rework action definition and operation
Now actions can be called by themselves, outside the transient.
2023-01-19 23:59:09 +08:00
TEC d2cb601519
Better support removing common indent in region
With an assortment of related tweaks.
2023-01-19 23:59:07 +08:00
TEC 58c64eec6a
Tweak style of screenshot--define-infix 2023-01-19 01:09:01 +08:00
TEC 177dbd3996
Use make-indirect-buffer to inhibit buffer hooks 2022-10-18 20:05:59 +08:00
TEC 965375426e
Change some of the transient switches 2022-10-18 02:45:30 +08:00
TEC dac727e98e
Calculate lines including wrapping 2022-10-18 02:43:40 +08:00
TEC 36b7c50641
Completion agnostic font prompt 2022-10-18 02:42:52 +08:00
TEC 49490a4a23
Toggle hl-line-mode in original buf when cloning 2022-10-18 02:05:41 +08:00
TEC acfc52d09c
Determine frame width better 2022-10-18 01:50:29 +08:00
TEC 867bebe701
Winner mode is unhelpful 2022-10-18 01:50:15 +08:00
TEC 68ab27c2ab
Make the byte compiler happier 2022-10-18 01:50:07 +08:00
TEC e7a8941d9f
Eval macros at compile time for byte-compiler
This makes the byte-compiler aware of the variables defined by the macro
expansions.
2022-10-18 01:49:12 +08:00
TEC 053c9e856f
Update donation badge 2022-10-13 23:45:11 +08:00
TEC 7621e0cd17
Add stage badge to Readme 2021-11-12 02:34:57 +08:00
TEC 6faa48a988
More compact hl-line / solaire mode check 2021-09-11 15:58:17 +08:00
TEC fdd1692a4c
Ensure default font family is always valid
If the default face's font is unspecified, then just use "monospace".
2021-09-11 15:46:11 +08:00
TEC f8204e82dc
Disable solaire mode when its enabled 2021-09-09 22:08:08 +08:00
TEC b081bdca17
Update readme screenshot 2021-09-09 22:07:56 +08:00
TEC 3b03bdea89
Give people a way to caffeinate me 2021-08-24 18:18:53 +08:00
TEC 41b92a2a88
Use eval-when-compile to define vars for compiled
By using eval-when-compile, the macros defining the variables are
executed, preventing the "undefined variable" warnings.
I've also snuck in a few extra tweaks (three undefined global variables,
and one that needed moving) that should make the byte-compiler happier.
2021-06-04 18:20:37 +08:00
TEC 03335d3821
Add CI: Melpazoid 2021-06-02 22:41:09 +08:00
Sergi Ruiz 61c20c132b Clean byte-compile and checkdoc warnings 2021-06-02 22:35:37 +08:00
TEC c6061dd6b0
Fix incorrectly labelled option
Closes #5
2021-03-30 09:51:21 +08:00
TEC 6825ec53d2
ix.io upload: work with non-file buffers 2021-03-12 19:12:13 +08:00
TEC d8c2b4751d
Replace obsolete transient command 2021-03-09 16:18:48 +08:00
TEC e8191b4a99
Remove pointless newlines in func 2021-03-09 16:17:37 +08:00
TEC 76c53c11d9
More default tweaking 2021-03-09 16:16:51 +08:00
TEC c3103f66cc
Tweak defaults, add maintainer email. 2021-02-07 21:49:01 +08:00
TEC 7a4d77e600
Version 0.1 2021-01-01 23:13:48 +08:00
TEC f53fdf0b72
Add missing docstrings 2021-01-01 20:40:44 +08:00
TEC 657820f096
Add feature: upload text with universal argument 2021-01-01 17:41:07 +08:00
TEC 21697e40d1
Add font customisation options 2021-01-01 17:39:06 +08:00
TEC f2c7b978ce
Correct screenshot line count
should be: max - min + 1
2021-01-01 17:38:12 +08:00
TEC 0fcbe4c50e
Add autoload 2020-12-25 02:31:06 +08:00