1
0
Fork 0

- added new command: 'thread-open-parent-post';

- updated documentation and NEWS file.
This commit is contained in:
cage 2024-04-08 20:45:44 +02:00
parent c94c754441
commit 5a779da29e
6 changed files with 34 additions and 19 deletions

View File

@ -1,17 +1,20 @@
* 2024-xx-xx version 0.9.9.1414213562 * 2024-xx-xx version 0.9.9.1414213562
- new features - New features
- [fediverse] Multi account supported. Users can specify the account to use on the command line or switching at runtime. - [fediverse] Multiple accounts supported. Users can specify the account to use on the command line or switching at runtime.
- [TUI] added new commands: - [TUI] added new commands:
- thread-go-to-parent-post * thread-go-to-parent-post;
- thread-delete-subtree * thread-delete-subtree.
- added a bash completion script - added a bash completion script;
- prevented the poll's results to be printed before expiration - prevented the poll's results to be printed before expiration;
- [script] added the option to submit the feed to and antenna instance, when generating a gemlog; - [script] added the option to submit the feed to an antenna instance, when generating a gemlog.
- Bugfix - Bugfix
- [TUI] fixed checks of configuration file - [TUI] fixed checks of configuration file;
- updated README to mention that also libjpegturbo and TK must be installed; - updated README to mention that also libjpegturbo and TK must be installed;
- [GUI] fixed managing of gemini responses when a titan request was performed (TOFU errors, TLS certificate password etc.) - [GUI] fixed managing of gemini responses when a titan request was performed (TOFU errors, TLS certificate password etc.);
- [TUI] fixed line wrapping of announcements window. - [TUI] fixed line wrapping of announcements window;
- [TUI] prevented crash when looking for links contained ina a empty message.
Thanks to people who run [[https://mastodon.uno/][mastodon.uno]] (and, needless to say, [[https://emacs.ch][emacs.ch]]) for their support and help to test this new release.
* 2024-03-02 version 0.9.9.141421356 * 2024-03-02 version 0.9.9.141421356
- new features - new features

View File

@ -81,7 +81,7 @@ Start as gemini gui server only
\fB-v, --version \fP \fB-v, --version \fP
Print program version and exit Print program version and exit
.TP .TP
\fB--fediverse-account \fP \fB-F, --fediverse-account \fP
Specify a fediverse user account (format: user-name@server-name) Specify a fediverse user account (format: user-name@server-name)
.SH "Usage" .SH "Usage"
@ -570,16 +570,19 @@ change-visibility
.SS "Thread window" .SS "Thread window"
.TP .TP
\fB^ \fP \fB[ \fP
thread-go-to-parent-post thread-go-to-parent-post
.TP .TP
\fB^ \fP
thread-open-parent-post
.TP
\fB/ b \fP \fB/ b \fP
thread-search-next-message-body thread-search-next-message-body
.TP .TP
\fB/ m \fP \fB/ m \fP
thread-search-next-message-meta thread-search-next-message-meta
.TP .TP
\fBC-J (key \fIenter\fP) \fP \fBC-J (key \fIenter\fP)\fP
thread-open-selected-message thread-open-selected-message
.TP .TP
\fBC-X m b \fP \fBC-X m b \fP

View File

@ -346,10 +346,11 @@
** Thread window ** Thread window
- ^ :: thread-go-to-parent-post - [ :: thread-go-to-parent-post
- ^ :: thread-open-parent-post
- / b :: thread-search-next-message-body - / b :: thread-search-next-message-body
- / m :: thread-search-next-message-meta - / m :: thread-search-next-message-meta
- C-J (key /enter/) :: thread-open-selected-message - C-J (key /enter/) :: thread-open-selected-message
- C-X m b :: boost-selected-status - C-X m b :: boost-selected-status
- C-X m f :: favourite-selected-status - C-X m f :: favourite-selected-status
- C-X m r b :: unboost-selected-status - C-X m r b :: unboost-selected-status

View File

@ -270,7 +270,9 @@
(status-id (db:row-message-status-id selected-row))) (status-id (db:row-message-status-id selected-row)))
(ui:info-message (format nil "ID: ~a" status-id)))) (ui:info-message (format nil "ID: ~a" status-id))))
(define-key "^" #'thread-go-to-parent-post *thread-keymap*) (define-key "[" #'thread-go-to-parent-post *thread-keymap*)
(define-key "^" #'thread-open-parent-post *thread-keymap*)
(define-key "/ b" #'thread-search-next-message-body *thread-keymap*) (define-key "/ b" #'thread-search-next-message-body *thread-keymap*)

View File

@ -3204,7 +3204,8 @@
:show-announcements :show-announcements
:show-parent-post :show-parent-post
:switch-fediverse-account :switch-fediverse-account
:thread-go-to-parent-post)) :thread-go-to-parent-post
:thread-open-parent-post))
(defpackage :scheduled-events (defpackage :scheduled-events
(:use (:use

View File

@ -3655,6 +3655,11 @@ gemini client certificates!)."
(status-parent-row (db::find-status-id-folder-timeline generic-parent-id folder timeline)) (status-parent-row (db::find-status-id-folder-timeline generic-parent-id folder timeline))
;; ...and get the correct message index ;; ...and get the correct message index
(index (db:row-message-index status-parent-row)) (index (db:row-message-index status-parent-row))
(event (make-instance 'thread-goto-message (goto-event (make-instance 'thread-goto-message
:payload index))) :payload index)))
(push-event event))) (push-event goto-event)))
(defun thread-open-parent-post ()
"Move to, select and open parent post"
(thread-go-to-parent-post)
(thread-open-selected-message))