aboutsummaryrefslogtreecommitdiff
path: root/emacs/.emacs.d/init
Commit message (Collapse)AuthorAgeFilesLines
* [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
|
* [emacs] gnus keys and hnreader save page to an archive dirYuchen Pei2023-09-111-3/+7
| | | | | 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/+3
| | | | Also adding the submodule lem.el it depends on.
* [emacs] Fixing my-fetch-url etc.Yuchen Pei2023-09-091-1/+1
|
* [emacs] some convenience editing functions in message modeYuchen Pei2023-09-091-2/+8
|
* [emacs] Some small enhancementYuchen Pei2023-09-071-0/+1
| | | | | Remove empty blocks automatically. When org-insert-structure-template, with a prefix, auto yank into block and exit
* A few changesYuchen Pei2023-09-056-9/+19
| | | | | | | | | | | | - 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-024-5/+16
| | | | | | | 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-282-1/+2
|
* minor fixYuchen Pei2023-08-281-1/+1
|
* Fixing a few thingsYuchen Pei2023-08-261-0/+4
|
* Adding functions for hmm transformers.Yuchen Pei2023-08-211-2/+2
| | | | | my-cgit- functions that outputs url for revision id, branches, and files. Also updating the my-github- functions accordingly
* Fixing a few things in emacs, adding xdgdefYuchen Pei2023-08-214-5/+6
| | | | | Emacs: updating the org clock refile so that it refiles all text in the logbook
* improve delete-pair related functionsYuchen Pei2023-08-191-1/+4
|
* A hook after org-src-edit-exitYuchen Pei2023-08-191-1/+2
|
* some tweaks in orgYuchen Pei2023-08-191-1/+3
|