From 4d1f869f9d93cf524d9a08de82986e767191a6f5 Mon Sep 17 00:00:00 2001 From: Howard Abrams Date: Thu, 18 Nov 2021 12:14:10 -0800 Subject: [PATCH] Add Twitter back into Emacs Shame that I can't get Telega working at the moment. --- README.org | 1 + bootstrap.org | 1 + ha-aux-apps.org | 64 +++++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 66 insertions(+) create mode 100644 ha-aux-apps.org diff --git a/README.org b/README.org index 75eca58..e0be2ec 100644 --- a/README.org +++ b/README.org @@ -23,6 +23,7 @@ This creates [[file:~/.emacs.d/init.el][~/.emacs.d/init.el]] that starts the pro - [[file:ha-remoting.org][ha-remoting.org]] :: my interface to systems using SSH and Vterm. - [[file:ha-email.org][ha-email.org]] :: reading email using =notmuch= in a *Hey* fashion. - [[file:ha-feed-reader.org][ha-feed-reader.org]] :: configuration of elfeed as well as my RSS feeds. + - [[file:ha-aux-apps.org][ha-aux-apps.org]] :: optional applications, like Twitter and Telegram. - [[file:ha-capturing-notes.org][ha-capturing-notes.org]] :: my engineering notebook. - [[file:ha-agendas.org][ha-agendas.org]] :: attempts to "supe-up" my task list. - [[file:ha-irc.org][ha-irc.org]] :: connection to IRC servers using rcirc and bitlbee. diff --git a/bootstrap.org b/bootstrap.org index 958c3c6..36d7187 100644 --- a/bootstrap.org +++ b/bootstrap.org @@ -126,6 +126,7 @@ The following loads the rest of my org-mode literate files. I add them as they a "ha-org-journaling.org" "ha-org-publishing.org" "ha-email.org" + "ha-aux-apps.org" "ha-feed-reader.org") ,(when (ha-emacs-for-work?) "ha-org-sprint.org" diff --git a/ha-aux-apps.org b/ha-aux-apps.org new file mode 100644 index 0000000..c283a86 --- /dev/null +++ b/ha-aux-apps.org @@ -0,0 +1,64 @@ +#+TITLE: Auxillary and Optional Applications +#+AUTHOR: Howard X. Abrams +#+DATE: 2021-11-18 +#+FILETAGS: :emacs: + +A literate programming file for helper apps in Emacs. + +#+BEGIN_SRC emacs-lisp :exports none + ;;; ha-aux-apps.el --- A literate programming file for helper apps in Emacs. -*- lexical-binding: t; -*- + ;; + ;; Copyright (C) 2021 Howard X. Abrams + ;; + ;; Author: Howard X. Abrams + ;; Maintainer: Howard X. Abrams + ;; Created: November 18, 2021 + ;; + ;; This file is not part of GNU Emacs. + ;; + ;; *NB:* Do not edit this file. Instead, edit the original literate file at: + ;; ~/other/hamacs/ha-aux-apps.org + ;; And tangle the file to recreate this one. + ;; + ;;; Code: + #+END_SRC +* Introduction +The following applications are not really needed. I alternate between trying to /stay in Emacs/ taking advantage of the consistent interface, and simply using a stand-alone app on my Workday computer. +** Twitter +The venerable [[https://github.com/hayamiz/twittering-mode/tree/master][twittering-mode]] allows me to follow all the twits. +#+BEGIN_SRC emacs-lisp + (use-package twittering-mode + :init + (setq twittering-use-master-password t + epa-pinentry-mode 'loopback) + :config + (defalias 'epa--decode-coding-string 'decode-coding-string)) +#+END_SRC +** Telega +I'm thinking the [[https://zevlg.github.io/telega.el/][Telega package]] would be better than Bitlbee for Telegram communication. + +#+BEGIN_SRC emacs-lisp :tangle no +(use-package telega + :commands (telega) + :defer t) +#+END_SRC +For some reason, you need [[https://github.com/Fanael/rainbow-identifiers][rainbow-identifiers]] to work, oh, I guess the docs state this. + +*Note:* Turning this off as it needs version 1.7.7 of =tdlib=, and that isn't easily available on my Mac. Maybe I may enable this on my Linux system. +* Technical Artifacts :noexport: +Let's =provide= a name so we can =require= this file: + +#+BEGIN_SRC emacs-lisp :exports none + (provide 'ha-aux-apps) + ;;; ha-aux-apps.el ends here + #+END_SRC + +#+DESCRIPTION: A literate programming file for helper apps in Emacs. + +#+PROPERTY: header-args:sh :tangle no +#+PROPERTY: header-args:emacs-lisp :tangle yes +#+PROPERTY: header-args :results none :eval no-export :comments no mkdirp yes + +#+OPTIONS: num:nil toc:nil todo:nil tasks:nil tags:nil date:nil +#+OPTIONS: skip:nil author:nil email:nil creator:nil timestamp:nil +#+INFOJS_OPT: view:nil toc:nil ltoc:t mouse:underline buttons:0 path:http://orgmode.org/org-info.js