summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--.gitignore3
-rw-r--r--elfeed/feed.org26
-rw-r--r--init.el16
3 files changed, 42 insertions, 3 deletions
diff --git a/.gitignore b/.gitignore
index 35b757d..468f897 100644
--- a/.gitignore
+++ b/.gitignore
@@ -31,4 +31,5 @@ transient/
tree-sitter
url
.mail-accounts
-bookmarks.eld \ No newline at end of file
+bookmarks.eld
+elfeed/db \ No newline at end of file
diff --git a/elfeed/feed.org b/elfeed/feed.org
new file mode 100644
index 0000000..f5b9504
--- /dev/null
+++ b/elfeed/feed.org
@@ -0,0 +1,26 @@
+* Feeds :elfeed:
+** News :news:
+*** https://www.ft.com/hong-kong?format=rss :finance:apac:hongkong:
+*** https://www.scmp.com/rss/2/feed :news:apac:hongkong:
+*** https://www.scmp.com/rss/4/feed :finance:apac:
+*** https://rthk.hk/rthk/news/rss/e_expressnews_ebusiness.xml :finance:apac:hongkong:
+*** https://asia.nikkei.com/rss/feed/nar :finance:apac:
+*** https://www.channelnewsasia.com/api/v1/rss-outbound-feed?_format=xml&category=6936 :finance:apac:
+*** https://www.caixinglobal.com/rss.html :finance:apac:china:
+*** https://www.axios.com/newsletters/axios-china/rss.xml :news:apac:china:
+*** https://www.ft.com/markets?format=rss :finance:global:
+*** https://www.ft.com/global-economy?format=rss :finance:global:
+*** https://feeds.a.dj.com/rss/RSSMarketsMain.xml :finance:us:global:
+*** https://www.axios.com/newsletters/axios-markets/rss.xml :finance:us:
+*** https://www.hkex.com.hk/Services/RSS-Feeds/News-Releases?sc_lang=en :finance:announcements:hkex:
+*** https://www.sfc.hk/en/News-and-announcements/RSS :finance:announcements:hongkong:regulator:
+*** https://www.hkma.gov.hk/eng/rss/press-releases.xml :finance:announcements:hongkong:centralbank:
+*** https://www.hkma.gov.hk/eng/rss/research.xml :finance:hongkong:centralbank:
+*** https://www.fstb.gov.hk/rss/press.xml :finance:announcements:hongkong:policy:
+*** https://english.www.gov.cn/rss/most-recent.xml :finance:announcements:china:policy:
+*** http://www.stats.gov.cn/english/PressRelease/rss.xml :data:china:
+*** https://www.ndrc.gov.cn/rss.xml :finance:announcements:china:policy:
+*** https://www.csrc.gov.cn/csrc_en/rss.xml :finance:announcements:china:regulator:
+*** http://www.ftchinese.com/rss/feed :finance:apac:china:中文:
+*** https://www.hk01.com/rss/finance.xml :finance:apac:hongkong:中文:
+*** https://www.hk01.com/rss/china.xml :news:apac:hongkong:china:中文:
diff --git a/init.el b/init.el
index e52a6bf..89f796f 100644
--- a/init.el
+++ b/init.el
@@ -204,6 +204,17 @@
("W" "Show all windows" dap-ui-show-many-windows)
("w" "Hide all windows" dap-ui-hide-many-windows)]]))
+(use-package elfeed
+ :ensure t
+ :config
+ (setq elfeed-db-directory "~/.emacs.d/elfeed/db"))
+
+(use-package elfeed-org
+ :ensure t
+ :config
+ (setq rmh-elfeed-org-files (list "~/.emacs.d/elfeed/feed.org"))
+ (elfeed-org))
+
(use-package emacs-lisp-mode
:mode "\\.dir-locals\\.el\\'")
@@ -256,7 +267,8 @@
("i" . 'aider-transient-menu)
("s" . 'gptel-menu)
("q" . 'gptel-abort)
- ("RET" . 'gptel-send))
+ ("RET" . 'gptel-send)
+ ("ESC" . 'gptel-abort))
:custom
(gptel-api-key (auth-source-pass-get 'secret "openai.com/api.openai.com/apikey"))
(gptel-default-mode #'org-mode)
@@ -365,7 +377,7 @@
(use-package mu4e
:ensure nil
:bind (("C-c M" . mu4e)
- ("C-x m" . ))
+ ("C-x m" . mu4e-compose-new))
:init
(let ((first-account (car (directory-files "~/.mail" nil "^[^.]"))))
(when first-account