aboutsummaryrefslogtreecommitdiff
path: root/emacs/.emacs.d/init
Commit message (Collapse)AuthorAgeFilesLines
* [emacs] Add org-protocol-browse-urlYuchen Pei6 days1-1/+5
| | | | | | bookmarklet in firefox: javascript:location.href='org-protocol://browse-url?url='+encodeURIComponent(window.location.href);
* [emacs] Enhance epub readingYuchen Pei8 days2-1/+19
| | | | | | | | | | | | | | | | | | * emacs/.emacs.d/init/ycp-markup.el: set text-width to be a bit less than my-org-focus-write width (76 vs 80); increase next-screen-context-lines in nov mode; set left text margin to 2 in nov mode * emacs/.emacs.d/init/ycp-org.el: Add keybindings to nov-mode when org-remark is available. Unfortunately org-remark-nov-mode is a global minor mode * emacs/.emacs.d/lisp/my/my-buffer.el: update my-toggle-focus-write to use empty buffers on both sides * emacs/.emacs.d/lisp/my/my-nov.el: a function to set left margin in nov mode * emacs/.emacs.d/lisp/my/my-org-remark.el: a convenience function to org-remark to mark or open depending on active mark Also use my custom nov.el repo
* [emacs] various changesYuchen Pei9 days5-6/+12
| | | | | | | | | | | | | | | | | | | | | | * emacs/.emacs.d/init/ycp-basic.el: forgot to read my-copy-file-targets from local config * emacs/.emacs.d/init/ycp-markup.el: Key in nov mode to copy file to devices * emacs/.emacs.d/init/ycp-org.el: Back to use browse-url for http / https org links * emacs/.emacs.d/init/ycp-pdf.el: forgot to read my-pdf-dptrp1-ip from local config * emacs/.emacs.d/init/ycp-web.el: add a handler for mariadb kb links * emacs/.emacs.d/lisp/my/my-emms.el: mp4 can be audio * emacs/.emacs.d/lisp/my/my-mariadb.el: a predicate for browse-url to determine mariadb kb links * emacs/.emacs.d/lisp/my/my-nov.el: add a command to copy current epub to a device * emacs/.emacs.d/lisp/my/my-org.el: ensure leading and trailing empty lines are deleted in org-edit-special; factor out copy file to device with staging to my-utils, fix my-org-edit-special-after argument numbers for one more time (it is 0 with src and 1 with example) * emacs/.emacs.d/lisp/my/my-utils.el: mp4 could be audio; a function to copy files to device with staging, factored from my-org
* [emacs] Add wiki-open-url to browse-url-handlersYuchen Pei14 days1-8/+10
|
* [emacs] web related changes in emacsYuchen Pei14 days1-5/+13
| | | | | | open newscorp au update exitter submodule use reddio for reddit
* [emacs][bashrc] Various web changesYuchen Pei2024-12-252-2/+21
| | | | | | - emacs as web browser - libfic download - fix pdf-merge
* [emacs] A function to upload current pdf to a digital paper deviceYuchen Pei2024-12-221-0/+1
| | | | Uses dpt-rp1
* [emacs] [bashrc] Multiple changesYuchen Pei2024-12-222-4/+8
| | | | | | - use custom mastodon.el - turn off flyspell in org-jira mode because it slows down significantly
* [emacs] bbdb mua popup is getting annoyingYuchen Pei2024-11-171-0/+1
|
* [emacs] Fix gnus navigationYuchen Pei2024-11-171-1/+3
| | | | | | - 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/+1
| | | | | | | * 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] Adding exitterYuchen Pei2024-11-051-0/+9
| | | | A wip emacs x/twitter client
* [emacs] Add org narrow or widen to focus writeYuchen Pei2024-11-031-1/+1
|
* [emacs] Fix company hang and multiple completion dropdowns in message modeYuchen Pei2024-10-121-2/+21
|
* [emacs] Use aspell and en_GB for ispellYuchen Pei2024-10-121-0/+10
|
* [emacs] Some changes from the past monthsYuchen Pei2024-10-113-1/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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] minor fixYuchen Pei2024-06-132-3/+2
|
* [emacs] fix gnus directoriesYuchen Pei2024-06-071-0/+12
|
* [emacs] the comint history write hook should be added to gud onlyYuchen Pei2024-06-041-1/+3
|
* [emacs] play video with vlc if possibleYuchen Pei2024-05-261-1/+2
|
* [emacs] only cancel c-m / c-i in guiYuchen Pei2024-05-261-3/+4
|
* [emacs] use man instead of womanYuchen Pei2024-05-261-1/+1
| | | | woman is unable to render some manuals
* [emacs] corfu renamed a varYuchen Pei2024-05-231-1/+1
|
* [emacs] more smooth experience in gudYuchen Pei2024-05-231-0/+2
| | | | | - auto confirm debuginfod - write to history on kill
* [emacs] disable which-function in json mode when buffer is bigYuchen Pei2024-05-091-1/+1
|
* [emacs] Fix a few small thingsYuchen Pei2024-04-053-3/+5
| | | | - cape: cape-symbol has been replaced by cape-elisp-symbol
* [emacs] osm-ol removed in osm after an upgradeYuchen Pei2024-04-051-1/+0
|
* [emacs][urxvt] bunch of small changesYuchen Pei2024-04-055-4/+17
| | | | | | | | - 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] minor updates to url-rewrite and my-ytdlYuchen Pei2024-01-201-2/+6
| | | | | | - 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] minor changesYuchen Pei2023-11-282-2/+10
| | | | | - google slides to odp url rewrite - fixing emacs-29 lag by setting long-line-threshold to nil
* [emacs] Update org-agenda-prefix-format now that we use the task systemYuchen Pei2023-11-131-4/+4
|
* [emacs] Some minor changesYuchen Pei2023-11-082-3/+11
|
* [emacs] Some further fixes to my-org-task.Yuchen Pei2023-11-051-1/+2
| | | | | | - Read categories from local - Add more documentation - Change my-org-task-relations to defcustom
* [emacs] Add task management in org.Yuchen Pei2023-11-051-1/+12
| | | | | | - 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] Install mastodon.el from nongnu elpaYuchen Pei2023-11-021-1/+1
|
* [emacs] Adding bom.elYuchen Pei2023-11-021-0/+7
| | | | Also strip fbclid from urls
* [emacs] Add google-docs-odt and fix my-lem-orgYuchen Pei2023-11-021-0/+6
|
* [emacs] Adding traclicker and url-rewrite, as well as customizationsYuchen Pei2023-10-302-2/+103
|
* [emacs] Some tweaksYuchen Pei2023-10-284-3/+17
| | | | | | | - 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-181-1/+7
| | | | | | gnus: prefers plaintext my-buffer: fixes a bug my-org: fixing a local var
* [emacs] Fix notes and shell cycle and creation.Yuchen Pei2023-10-144-3/+5
| | | | | 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-112-2/+4
| | | | | | | - 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] Small tweaks to org-agendaYuchen Pei2023-10-081-1/+5
|
* [emacs] [gdb] Some small changesYuchen Pei2023-10-033-1/+10
| | | | | | | | | - 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] some minor changesYuchen Pei2023-10-033-0/+6
|
* [emacs] ange-ftp passive mode onYuchen Pei2023-10-011-0/+4
|
* [emacs] Add git-emailYuchen Pei2023-10-011-0/+17
| | | | A client of git-send-email that integrates with gnus, magit and dired.
* [emacs] Fix lem.el load pathYuchen Pei2023-09-301-0/+1
|
* [emacs] R to wide reply in gnusYuchen Pei2023-09-151-0/+1
|
* [emacs] Some small changes with gnus->org-captureYuchen Pei2023-09-142-1/+7
|