aboutsummaryrefslogtreecommitdiff
path: root/emacs/.emacs.d/lisp
Commit message (Collapse)AuthorAgeFilesLines
* [emacs] emms hardcode player preferenceYuchen Pei2024-05-261-2/+2
| | | | otherwise the list passed to the preference function my be reversed...
* [emacs] play video with vlc if possibleYuchen Pei2024-05-261-0/+10
|
* [emacs] minor fix emmsYuchen Pei2024-05-261-1/+1
|
* [emacs] more smooth experience in gudYuchen Pei2024-05-231-6/+10
| | | | | - auto confirm debuginfod - write to history on kill
* [emacs] disable which-function in json mode when buffer is bigYuchen Pei2024-05-091-4/+6
|
* [emacs][urxvt] bunch of small changesYuchen Pei2024-04-054-9/+26
| | | | | | | | - add org clock string to frame title - add ansi color to compilation buffer - look for project source dir from build dir - fix my-kill-sexp-or-comment - more lines in urxvt
* [emacs] improve org backtrace regionYuchen Pei2024-04-052-1/+94
|
* [emacs] fix gitlab parsingYuchen Pei2024-04-052-4/+5
|
* [emacs] add renaming to diredYuchen Pei2024-04-022-4/+48
| | | | | | rename files by mtime also a new command to use ytdl without tor
* [emacs] minor updates to url-rewrite and my-ytdlYuchen Pei2024-01-203-7/+20
| | | | | | - url-rewrite: also redirect from x.com for xitter - luwak: use url-rw for rewrite - ytdl: get rid of silly full-width chars and emojis in file names
* [emacs] Fixing a few thingsYuchen Pei2023-12-263-35/+68
| | | | | | | - link-gopher: some formatting - my-org: extend my-org-attach-copy-attached-orgs to fallback to a staging area - my-libgen: better naming just in case
* [emacs] flymake lint yolo.elYuchen Pei2023-12-031-5/+5
|
* [emacs] Adding yolo.elYuchen Pei2023-12-031-0/+73
|
* [emacs] Use ~ as task id separator for better completion with partial-completionYuchen Pei2023-11-131-1/+9
|
* [emacs] Some minor changesYuchen Pei2023-11-081-1/+1
|
* [emacs] Some further fixes to my-org-task.Yuchen Pei2023-11-051-4/+13
| | | | | | - Read categories from local - Add more documentation - Change my-org-task-relations to defcustom
* [emacs] Remove some commented out codeYuchen Pei2023-11-051-4/+0
|
* [emacs] A utility function for parsing epochYuchen Pei2023-11-051-0/+6
|
* [emacs] Add task management in org.Yuchen Pei2023-11-051-0/+186
| | | | | | - We can add a task ID to a heading, like PRO-231 - We can associate a task with another task - Blocking is marked explicitly now
* [emacs] Reset buffer in mastorg-openYuchen Pei2023-11-051-3/+5
|
* [emacs] Add mastorg.el, which renders a mastodon toot in org modeYuchen Pei2023-11-051-0/+205
| | | | | | | | | | | | | | | | | | | | From Commentary: ;; Read or archive mastodon toot context in org mode. This is a ;; standalone library, and can be used without any other files in this ;; project. ;; Usage: ;; M-x mastorg-open <RET> https://mastodon.instance/@user/12345678901234 <RET> ;; ;; The toot, together with its ancestors and descendants, subject to ;; mastodon API depth limit, are displayed in an org buffer. ;; TODO: ;; ;; To be able to refresh the org buffer at an org entry, which would ;; re-fetch the context of the corresponding toot and upsert them in ;; the buffer.
* [emacs] Install mastodon.el from nongnu elpaYuchen Pei2023-11-021-0/+0
|
* [emacs] Adding bom.elYuchen Pei2023-11-021-0/+0
| | | | Also strip fbclid from urls
* [emacs] Add google-docs-odt and fix my-lem-orgYuchen Pei2023-11-021-4/+5
|
* [emacs] Adding traclicker and url-rewrite, as well as customizationsYuchen Pei2023-10-303-0/+44
|
* [emacs] Some tweaksYuchen Pei2023-10-281-0/+3
| | | | | | | - small fixes - which func headline should apply to js mode too - magit-diff mode no truncate lines - w3m keybindings
* [emacs] Some minor fixesYuchen Pei2023-10-182-3/+4
| | | | | | gnus: prefers plaintext my-buffer: fixes a bug my-org: fixing a local var
* [emacs] Switch shell buffers by prompt tooYuchen Pei2023-10-142-19/+56
|
* [emacs] Fix notes and shell cycle and creation.Yuchen Pei2023-10-144-26/+91
| | | | | One function to switch or cycle default notes indirect buffers. One to switch or cycle shell mode buffers.
* [emacs] [gdb] Some minor changesYuchen Pei2023-10-111-0/+11
| | | | | | | - emacs: my-elide-region that does the same thing as message-elide-region, with the comment-start as the prefix - gdbinit: an alias to a command that displays all backtrace of all threads
* [emacs] [gdb] Some small changesYuchen Pei2023-10-032-0/+35
| | | | | | | | | - my-mark-backward-up-list: like backward-up-list, but also mark the sexp - my-kill-sexp-or-comment: kill the next sexp or comment, replacing kill-sexp - my-mark-sexp-or-comment: mark the next sexp or comment, replacing mark-sexp - my-magit-ignore-other-worktrees: a filter-args advice to add --ignore-other-worktrees to magit-checkout
* [emacs] Forgot to add my-git-email in the previous commitYuchen Pei2023-10-011-0/+38
|
* [emacs] Add git-emailYuchen Pei2023-10-011-0/+0
| | | | A client of git-send-email that integrates with gnus, magit and dired.
* [emacs] fixing scihub functions prefixYuchen Pei2023-09-301-4/+4
|
* [emacs] Some small changes with gnus->org-captureYuchen Pei2023-09-141-0/+7
|
* [emacs] gnus keys and hnreader save page to an archive dirYuchen Pei2023-09-111-6/+19
| | | | | Default hnreader archive dir is ~/.emacs.d/hn-archive/, filename is of the format <hacker-news-id>.org.
* [emacs] Adding submodule fedi.el, required by lem-apiYuchen Pei2023-09-101-0/+0
|
* [emacs] Adding lem-org, a package to read lemmy posts in org mode.Yuchen Pei2023-09-092-0/+171
| | | | Also adding the submodule lem.el it depends on.
* [emacs] Adding a client to forgejo/codebergYuchen Pei2023-09-094-4/+67
|
* [emacs] Update wiki.el versionYuchen Pei2023-09-091-0/+0
|
* [emacs] Fixing my-fetch-url etc.Yuchen Pei2023-09-092-9/+46
|
* [emacs] some convenience editing functions in message modeYuchen Pei2023-09-091-0/+63
|
* [emacs] Fix indenting in org src block invoking org-edit-src-exitYuchen Pei2023-09-081-9/+17
|
* [emacs] Some small enhancementYuchen Pei2023-09-072-6/+25
| | | | | Remove empty blocks automatically. When org-insert-structure-template, with a prefix, auto yank into block and exit
* A few changesYuchen Pei2023-09-054-11/+101
| | | | | | | | | | | | - add dedicate-windows-by-modes as window-configuration-change-hook, but it did not work well when used on gnus-summary-mode - copying gnus article regions also copies links, which are appended at the end of the copy as footnote - overload org-id-store-link so that capturing today's work could include the item priority - org should open a gnus link in other-window - fixing my-org-clean-up-entry so that it deletes trailing empty lines - added a silly utility function to clean a red energy bill pay link
* A few more org utilities, and small fixes in editing / goto placesYuchen Pei2023-09-021-0/+33
| | | | | | | added my-org-swap-referral-with-headline added my-org-clean-up-entry fixed avy binding org capture todo: contain initial content (if any) in an example block
* [emacs] some small changesYuchen Pei2023-08-281-1/+1
|
* typoYuchen Pei2023-08-271-1/+1
|
* Fixing a few thingsYuchen Pei2023-08-263-5/+14
|
* Adding functions for hmm transformers.Yuchen Pei2023-08-213-1/+259
| | | | | my-cgit- functions that outputs url for revision id, branches, and files. Also updating the my-github- functions accordingly