Archived entries from file /home/yantar92/Git/emacs-config/config.org
- State “CANCELLED” from “NEXT” [2019-08-15 Thu 17:09]
- State “DONE” from “NEXT” [2019-11-19 Tue 23:12]
- State “NEXT” from “TODO” [2019-04-03 Wed 10:42]
- State “TODO” from [2019-04-03 Wed 10:42]
Trying to debug “Re-entering top level after C stack overflow”, as suggested in reddit
(setq max-lisp-eval-depth 6000
max-specpdl-size 6000)
- State “DONE” from “TODO” [2019-11-19 Tue 11:16]
- State “DONE” from “TODO” [2019-11-25 Mon 11:50]
CANCELLED do not use it. Instead store meta- keys names in constants and bind them later. There will be no overhead in the code anyway. [2019-11-28 Thu 10:59] Hmm.... What about depending on buffer contents
- State “CANCELLED” from “TODO” [2019-12-09 Mon 13:13]
It’s still experimental, but I am trying to use centered cursor mode everywhere.
(use-package centered-cursor-mode
:if init-flag
:straight t
:config
(global-centered-cursor-mode +1))
Avoid trailing white-spaces at the end of the lines
(add-hook 'before-save-hook #'delete-trailing-whitespace)
- State “DONE” from “TODO” [2019-12-17 Tue 06:33]
- State “CANCELLED” from “TODO” [2019-12-18 Wed 16:27]
Threads will always slow down emacs. It often make sense to just run separate process
- State “DONE” from “NEXT” [2019-12-19 Thu 12:52]
- State “DONE” from “DOING” [2019-12-18 Wed 18:16]
- State “DONE” from “NEXT” [2019-12-18 Wed 18:16]
- State “CANCELLED” from [2019-12-21 Sat 16:36]
Do not need it because the problem with scrolling was in scroll-down-line scrolling beyond the end of buffer
Remove trailing newlines in messages
(use-package notmuch
:if init-flag
:config
(add-hook 'notmuch-show-insert-text/plain-hook (lambda (&rest args) (interactive) (delete-trailing-whitespace))))
- State “DONE” from “TODO” [2019-12-21 Sat 20:30]
(use-package git-gutter-fringe+
:if init-flag
:straight t
:diminish git-gutter+-mode
:init
(use-package fringe-helper)
:config
(global-git-gutter+-mode))
- State “DONE” from “NEXT” [2019-12-27 Fri 23:03]
FAILED [#A] this example seems to be wrong |- (alphapapa/org-ql: An Org-mode query language, including search commands and saved views)
- State “FAILED” from “NEXT” [2019-12-27 Fri 16:52]
It’s fine
- Refiled on [2019-12-23 Mon 18:08]
- Refiled on [2019-12-23 Mon 10:57]
- State “DONE” from “NEXT” [2019-12-27 Fri 16:57]
- Refiled on [2019-12-23 Mon 18:08]
- Refiled on [2019-12-23 Mon 10:57]
- State “DONE” from “NEXT” [2019-12-27 Fri 16:59]
- Refiled on [2019-12-23 Mon 18:08]
- Refiled on [2019-12-23 Mon 10:57]
MERGED [#A] helm-org-ql search does not seem to understand outline path by default. It would make sense....
- State “MERGED” from “NEXT” [2019-12-27 Fri 16:59]
- Refiled on [2019-12-23 Mon 18:08]
- Refiled on [2019-12-23 Mon 10:57]
- State “CANCELLED” from “NEXT” [2019-12-27 Fri 17:27]
- Refiled on [2019-12-23 Mon 18:08]
- Refiled on [2019-12-23 Mon 18:05]
- State “MERGED” from “NEXT” [2019-12-27 Fri 17:12]
- State “DONE” from “NEXT” [2019-12-27 Fri 17:06]
- Refiled on [2019-12-26 Thu 13:51]
DOING [#A] try this email |- Adam Porter <[email protected]>: Re: Asynchronous org-agenda-redo 2d ago :COMMON:EMAIL: get_started_org_mode: -0.9x DONE [#A] try to play with options by removing DOUG_LEA_MALLOC conds email |- Eli Zaretskii <[email protected]>: Re: bug#38345: 27.0.50; Permanent increase in memory consumption after opening images (or pdfs) :COMMON::EMAIL: get_started_org_mode: -0.9x DOING [#A] benchmark agenda after 1 day running :COMMON::
- State “DONE” from “NEXT” [2019-12-27 Fri 17:10]
- State “MERGED” from “NEXT” [2019-12-30 Mon 11:52]
- Refiled on [2019-12-23 Mon 18:08]
- Refiled on [2019-12-23 Mon 10:57]
- State “DONE” from “TODO” [2020-03-11 Wed 23:44]
this thing should be smarter and consider that multibyte characters can have different width. I will try to keep 2-byte double width. Then the string should be trimmed to certain number of bytes, but not certain character number
- State “DONE” from “TODO” [2020-03-11 Wed 23:17]
- State “FAILED” from “TODO” [2020-03-30 Mon 22:51]
This does not work with things like =C-c ‘symbol= for now.This does not work with boon =command mode= and =special mode=.- this does not work with key chords (again read-event)
- this does not work with region specifiers on boon (it uses read-event!)
- State “DONE” from “TODO” [2020-03-30 Mon 22:00]
ask mail-list about what “internal link means” in org-agenda-open-link. Condition look strange. Why just non-bracket link?
- State “DONE” from “TODO” [2020-03-30 Mon 22:00]
- State “DONE” from “TODO” [2020-03-30 Mon 22:00]
It slows down large org files though. Not going to use.
(use-package git-gutter-fringe
:if init-flag
:straight t
:init
(setq git-gutter-fr:side 'right-fringe)
:config
(add-hook 'magit-mode-hook #'git-gutter-mode))
- State “CANCELLED” from “TODO” [2020-04-08 Wed 12:39]
I solved the issue with losing fontification of todo keywords when keyword actually does not change, but if it changes, still have problem
- State “DONE” from “TODO” [2020-04-08 Wed 12:39]
- State “CANCELLED” from “TODO” [2020-04-08 Wed 12:39]
(use-package quickrun
:if init-flag
:straight t
:bind (
("<f10>" . quickrun)
("<C-XF86Search>" . quickrun-with-arg)
("<C-M-XF86Search>" . quickrun-shell)
("<C-XF86Explorer>" . quickrun-region)
("<C-M-XF86Explorer>" . quickrun-replace-region)
("<f12>" . helm-quickrun)))
- State “CANCELLED” from “TODO” [2020-04-09 Thu 17:22]
(use-package bm
:if init-flag
:straight t
:demand t
:init
;; restore on load (even before you require bm)
(setq bm-restore-repository-on-load t)
:config
(use-package helm-bm :straight t)
;; Allow cross-buffer 'next'
(setq bm-cycle-all-buffers t)
;; highligh style
(setq bm-highlight-style 'bm-highlight-line-and-fringe)
(custom-set-faces '(bm-persistent-face ((t (:background "Lightyellow")))))
(custom-set-faces '(bm-fringe-persistent-face ((t (:background "Lightyellow")))))
;; where to store persistant files
(setq bm-repository-file "~/.emacs.d/bm-repository")
;; save bookmarks
(setq-default bm-buffer-persistence t)
;; Loading the repository from file when on start up.
(add-hook' after-init-hook 'bm-repository-load)
;; Saving bookmarks
(add-hook 'kill-buffer-hook #'bm-buffer-save)
;; Saving the repository to file when on exit.
;; kill-buffer-hook is not called when Emacs is killed, so we
;; must save all bookmarks first.
(add-hook 'kill-emacs-hook #'(lambda nil
(bm-buffer-save-all)
(bm-repository-save)))
;; The `after-save-hook' is not necessary to use to achieve persistence,
;; but it makes the bookmark data in repository more in sync with the file
;; state.
(add-hook 'after-save-hook #'bm-buffer-save)
;; Restoring bookmarks
(add-hook 'find-file-hooks #'bm-buffer-restore)
(add-hook 'after-revert-hook #'bm-buffer-restore)
;; The `after-revert-hook' is not necessary to use to achieve persistence,
;; but it makes the bookmark data in repository more in sync with the file
;; state. This hook might cause trouble when using packages
;; that automatically reverts the buffer (like vc after a check-in).
;; This can easily be avoided if the package provides a hook that is
;; called before the buffer is reverted (like `vc-before-checkin-hook').
;; Then new bookmarks can be saved before the buffer is reverted.
;; Make sure bookmarks is saved before check-in (and revert-buffer)
(add-hook 'vc-before-checkin-hook #'bm-buffer-save)
(use-package meta-functions
:defer t
:config
(meta-defun meta-down-element :mode bm-show-mode bm-show-next)
(meta-defun meta-up-element :mode bm-show-mode bm-show-prev))
:bind (:map boon-command-map
("N" . bm-toggle)
("M-n" . bm-bookmark-annotate)
:map boon-insert-map
("M-N" . bm-toggle)
("C-M-N" . bm-toggle)
:map boon-goto-map
("n" . bm-show)
("N" . helm-bm)
:map boon-forward-search-map
("n" . bm-next)
:map boon-backward-search-map
("n" . bm-previous)
:map bm-show-mode-map
("<tab>" . bm-show-goto-bookmark)
)
)
(use-package boon
:if init-flag
:config
(bind-keys :map boon-forward-search-map
("j" . windmove-down)
("k" . windmove-up)
("i". windmove-left)
("o" . windmove-right)
("l" . other-window)
:map boon-backward-search-map
("j" . windmove-down)
("k" . windmove-up)
("i". windmove-left)
("o" . windmove-right)
("l" . other-window)))
(use-package dired-du
:if init-flag
:straight t
:diminish dired-du-mode
:custom
;; human readable size
(dired-du-size-format t))
- State “CANCELLED” from “TODO” [2020-04-20 Mon 21:01]
(use-package comment-dwim-2
:if init-flag
:straight t
:bind (:map prog-mode-map
("M-;" . comment-dwim-2)))
(use-package elec-pair
:if init-flag
:hook (emacs-lisp-mode . electric-pair-local-mode))
;; From https://www.reddit.com/r/emacs/comments/7htdzk/show_reddit_prettyprint_debugger_frames/
(use-package debug
:if init-flag
:config
(defun gk-debugger-pp-frame ()
(interactive)
(let ((inhibit-read-only t)
(frame (backtrace-frame (debugger-frame-number))))
(set-buffer (pop-to-buffer "*BT: Frame*"))
(destructuring-bind (special fn &rest args) frame
(erase-buffer)
(progn
(insert "(" (pp-to-string fn))
(dolist (arg args)
(insert "\n" (pp-to-string arg)))
(insert ")"))
(goto-char (point-min))
(indent-pp-sexp))))
(define-key debugger-mode-map "r" 'gk-debugger-pp-frame))