aboutsummaryrefslogtreecommitdiff
path: root/emacs/.emacs.d/lisp/my
Commit message (Collapse)AuthorAgeFilesLines
* [emacs] initial implementation of my-open-spectator-auHEADmasterYuchen Pei2 days1-0/+18
| | | | requires my-net and luwak
* [emacs] A function to upload current pdf to a digital paper deviceYuchen Pei2 days1-0/+15
| | | | Uses dpt-rp1
* [emacs] [bashrc] Multiple changesYuchen Pei3 days2-4/+72
| | | | | | - use custom mastodon.el - turn off flyspell in org-jira mode because it slows down significantly
* [emacs] Fix my-org-edit-special-afterYuchen Pei2024-12-081-1/+1
| | | | No args passed
* [emacs] Fix gnus navigationYuchen Pei2024-11-171-1/+1
| | | | | | - q to bury buffer, rather than doing special funny things - my-gnus-open-inbox should not auto-open an article - gnus group mode should not go to next group on exit from summary
* [emacs][gdb] minor changesYuchen Pei2024-11-051-0/+6
| | | | | | | * emacs/.emacs.d/init/ycp-org.el: disable read-only in org edit special buffer * emacs/.emacs.d/lisp/my/my-org.el: ^ * misc/.gdbinit: a break-and-continue convenience function
* [emacs] Add org narrow or widen to focus writeYuchen Pei2024-11-031-5/+17
|
* [emacs] continue org-jira customisation from the previous patchYuchen Pei2024-10-111-0/+88
| | | | | | * emacs/.emacs.d/lisp/my/my-org-jira.el: Override `org-jira-sdk-issue' and `org-jira-sdk-from-data' to include fixversions, affectedversions and relatedissues
* [emacs] Some changes from the past monthsYuchen Pei2024-10-116-97/+166
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * emacs/.emacs.d/init/ycp-complete.el: comment why corfu does not work well with gud * emacs/.emacs.d/init/ycp-editing.el: bind my-write-file to C-x C-w; change viper-syntax-preference to 'extended * emacs/.emacs.d/init/ycp-org.el: comment on tab-width * emacs/.emacs.d/lisp/my/my-buffer.el: add a function `my-save-text-and-switch-to-buffer' that Save TEXT to FILE-NAME and switch to the buffer * emacs/.emacs.d/lisp/my/my-editing.el: renamed a function; and override `viper-forward-word-kernel' and `viper-backward-word-kernel' (why?); add function `my-write-file', which is the same as `write-file', but keep the old buffer and remain there. * emacs/.emacs.d/lisp/my/my-mariadb.el: remove sleep in `my-gdb-maria-spider'; add a function to fetch source of a mariadb kb entry * emacs/.emacs.d/lisp/my/my-net.el: extract out local I/O and buffer logic from `my-fetch-url-save-and-switch' to `my-save-text-and-switch-to-buffer'. * emacs/.emacs.d/lisp/my/my-org-jira.el: fix formatting of `my-org-jira--render-issue', and add affected-versions, fix-versions and related-issues for rendering * emacs/.emacs.d/lisp/my/my-prog.el: ensure indent-tabs-mode is by default nil in prog-modes, to protect from c-style-alist overriding * mariadb-server/.dir-locals.el: Moved from sql/.dir-locals.el
* [emacs] [bash] Several improvementsYuchen Pei2024-10-113-3/+10
| | | | | | | | | | * emacs/.emacs.d/lisp/my/my-media-segment.el: Add index to filename formatting in `my-segment-media-file-1' * emacs/.emacs.d/lisp/my/my-utils.el: Add .spc to audio extensions * emacs/.emacs.d/lisp/my/my-ytdl.el: add command to download audio without tor * misc/.bashrc: pacman and systemd aliases; automate some arch aur make process; add pdf merge / extract functions using ghostscript
* [emacs] json-mode required too early in my-progYuchen Pei2024-06-131-1/+1
|
* [emacs] bison-mode required too earlyYuchen Pei2024-06-131-1/+1
|
* [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-202-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] 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-301-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] 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 lem-org, a package to read lemmy posts in org mode.Yuchen Pei2023-09-091-0/+171
| | | | Also adding the submodule lem.el it depends on.
* [emacs] Adding a client to forgejo/codebergYuchen Pei2023-09-094-4/+67
|
* [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
|