Age | Commit message (Collapse) | Author |
|
Adding some hyper key-bindings.
* basic.el (ns-right-alternate-modifier):
(ns-function-modifier):
(ns-pop-up-frames):
(ns-use-native-fullscreen):
(ns-use-proxy-icon):
(global-map):
* org-conf.el (global-map):
* view-conf.el (durand-view-map):
|
|
* view-conf.el (durand-scroll-next-paragraph):
(durand-scroll-prev-paragraph): These functions were born while I
wrote my little novel-reading package. And I grew used to this
convenient functionality, so I want to add that here.
(durand-focus-map): Bind in the focus map.
|
|
* bongo.el: I used to set Info-directory-list to the directory of
bongo at startup. This causes Info to not initialize that variable,
and as a consequence, the Info will not be started correctly, before
I fix the value of that variable. Now this problem is fixed.
|
|
Two small edits:
* skeleton-conf.el (autoinsert): Make this useful function available
* by default.
* view-conf.el (durand-view-map): Bind novel to a key.
|
|
In order to avoid some errors while loading Org-mode.
|
|
* completion-conf.el (minibuffer-local-completion-map):
(durand-completion-display-after-change):
(durand-completion-toggle-display): This will toggle between live
updating and not live updating.
|
|
|
|
* common.el (durand-display-in-one-window):
(durand-completion-scroll-up-or-go-to-minibuffer):
(intentionally-disabled-bind): Byte-compiling these functions.
|
|
* tex-conf.el
("/usr/local/share/emacs/site-lisp/auctex/tex.el"):
("/usr/local/share/emacs/site-lisp/auctex/latex.el"): Load the files explicitly.
|
|
Sometimes the dashboard is renderred weirdly, so I want to have a
convenient way to reset the dashboard buffer.
|
|
* skeleton-conf.el (insert-tex): The format of the dates should use
"en-dashes" instead of "hyphens".
|
|
* tex-conf.el (TeX-after-compilation-finished-functions): Revert the
PDF after compilation.
(pdf-sync-forward-display-action):
(pdf-sync-backward-display-action): Display the PDF in the same
window.
(TeX-source-correlate-start-server): Start syncronization between the
TeX buffer and the PDF buffer.
(font-latex-fontify-sectioning): Make sections bigger.
(LaTeX-mode-hook): Add my own preparation function.
(open-paren): Insert a pair of parentheses and put the cursor in
between.
(open-curly): Insert a pair of curly braces and put the cursor in
between.
(open-bracket): Insert a pair of square brackets and put the cursor in
between.
(durand-delete-pair): When the character before point is an open
bracket, delete the corresponding closing bracket as well.
(end-exit-paren): When the character after point is a closing bracket,
exit out of it instead of inserting a closing bracket.
(open-back-paren): If the character before point is a closing bracket,
go back one character into the brackets.
(parens-require-spaces): Don't require spaces around parentheses.
(durand-prepare-latex): Treat the escape character as a symbol, turn
on auto-fill, and don't require spaces around parentheses.
(durand-latex-delete-newline): Delete a newline before point, if any.
(LaTeX-section-hook): Delete the newline between the section and the
label, so that chktex doesn't complain about that space.
|
|
It is annoying to press that key-binding by accident, as that will
minimize Emacs.
|
|
* gnus-conf.el (mml-secure-openpgp-encrypt-to-self): So that I can see
my own encrypted mails.
(gnus-buttonized-mime-types): To see signature verification results.
(mm-decrypt-option): Automatic decryption.
(mm-verify-option): Automatic verification.
(message-mail-alias-type): Use abbreviations for message headers.
|
|
This seems to be both faster and to produce more results.
|
|
* dashboard.el (dashboard): Use a new image of a cute cat.
|
|
This is supposed to be faster.
|
|
Configure TeX and add some skeletons, and bind a key to eww.
|
|
|
|
* org-journal-conf.el: ("org-journal"): This might be an ideal way of
recording diaries which is integrated with Emacs.
(org-journal-dir): Directory.
(org-journal-file-type): Use a monthly journal.
|
|
* gnus-conf.el (gnus-summary-line-format):
Don't show line numbers, and highlight some parts of the summary line
when the mouse is over it.
|
|
* elfeed-conf.el (elfeed-feeds): More feeds.
(durand-eshell-download-filter): Replace the previous string before
inserting new strings.
(durand-elfeed-download-video): Reminds of the start of the download,
and uses the filter.
|
|
* basic.el (global-map): Bind it.
* common.el (yank-complete-rotated-kill-ring): Rotating the kill ring
so that the last kill is at the top.
(yank-complete-history): History variable.
(yank-complete): Use `completing-read' for choosing some text that was
killed before.
|
|
* abbrev_defs: dk => define-key and df => defun
|
|
The function list-processes is really useful.
|
|
* init.el (prepare-skeletons): Lazy load this.
* skeleton-conf.el (skeleton-conf):
(insert-define-key): This is only a primitive skeleton. I will add
more in the future.
|
|
|
|
* init.el (global-map): Bind durand-mu4e.
(eww):
("eww-conf.el"): Lazy load eww.
|
|
* search-conf.el (durand-search-replace-symbol): Now this will also
account for the symbol at point, while previously that will be
skipped.
|
|
* elfeed-conf.el (durand-eshell-download-sentinel):
(durand-elfeed-download-video):
(elfeed-search-mode-map):
(elfeed-show-mode-map): Add the ability to conveniently download videos.
* eshell-conf.el (eshell/mark): Quote the shell argument properly.
|
|
* elfeed-conf.el (elfeed-feeds): Add some more feeds.
* eshell-conf.el (eshell-j):
(eshell-mark-directory): Use a dedicated variable for better maintainability.
(eshell/mark): Conveniently add marks.
(eshell/marks): List the marks.
|
|
* basic.el (global-map): Bind zap-up-to-char.
* elfeed-conf.el (elfeed-search-mode-map):
(elfeed-search-exit): Bind a key to conveniently exit elfeed.
|
|
* basic.el (bidi-paragraph-direction):
(bidi-inhibit-bpa): Setting the direction of the text to speed
redisplay up.
(global-map): Use bitwise or with (ash 1 23) to have the effect of
super.
* init.el ("rlist"): List all the contents of the registers.
|
|
* elfeed-conf.el (elfeed-feeds): Apply more tags automatically.
* init.el (prepare-rime, global-map): Load rime automatically.
* rime-conf.el ("emacs-rime"): Don't send a message when sending
special letters to rime.
|
|
Bind elfeed in global-map.
Combine some convenient features to a function that focuses the text.
|
|
Now TeX and elfeed are roughly configured.
|
|
* elisp.el (emacs-lisp-mode):
(emacs-lisp-highlight-vars-and-faces): Change some highlighting.
|
|
A lot of improvements.
|
|
Now I don't have to use a special command to launch Emacs. And the
configuration files are placed in the normal position now.
|
|
* basic.el (eval-expression-print-length):
(eval-expression-print-level): Now echo are will print without limits.
(winner): Enable winner-mode at start up.
(input-decode-map):
(key-translation-map): Translate ESC to make the following key
modified by control.
(bookmark-completing-read):
(durand-bookmark-completing-read): Now it won't ask me for
confirmation about my choices.
* init.el ("durand-chercher-pdf"): Further enhance the convenience of
viewing PDFs.
("embark-conf.el"): Now I don't use embark anymore.
* view-conf.el (durand-view-map): Add my own way of viewing things.
(durand-open-targets): These are the things I can open.
(durand-open-object): Open things quickly.
|
|
* init.el ("transpose-frame"): Use the package.
|
|
* LICENSE: Add GPLv3.
* basic.el (durand-enlarge-window):
(durand-shrink-window):
(durand-enlarge-window-horizontally):
(durand-shrink-window-horizontally): Now I can easily maximize or
minimize windows.
* comb/orderless-conf.el ("orderless"): Now I try to use my own
completion framework.
* common.el (durand-embark-scroll-down-or-go-to-completions):
(durand-embark-scroll-up-or-go-to-completions):
(durand-completion-scroll-down-or-go-to-minibuffer):
(durand-completion-scroll-up-or-go-to-minibuffer): Move these
functions here since they do not belong to the completion framework in
my opinion.
(register):
(register-val-jump-to): Rewrite this method so that it does not have
to ask me if I want to open a file while jumping.
* completion-conf.el: My intended completion framework, which is still
work in progress.
* init.el ("comb/orderless-conf.el"):
("completion-conf.el"): Adjust things accordingly.
("durand-simple"): My custom functions for viewing and for opening
things.
* modeline.el (modeline-propertize):
(modeline-format-minor-modes):
(modeline-format-major-mode): Now the macro `modeline-propertize'
won't override properties that it does not intend to define. This has
the effect that the properties of the original constructs will go
through and have effect.
(modeline-format-main): Make sure the space has a positive length.
(modeline-format-buffer-name): Make sure the length does not exceed
half the width of the window.
|
|
In the course of configuring Emacs there are numerous changes to make.
This is one regular step.
|
|
* basic.el (auto-fill-function): Hide auto-fill-function from the mode line.
(auto-revert-mode): Hide auto-revert-mode from the mode line.
* common.el (durand-hide-minor-mode): Use a simple macro to facilitate
hiding.
* elisp.el (eldoc-mode): Use a macro to hide instead.
* eww-conf.el (eww-bookmarks-directory): Start Configuring EWW.
* init.el ("durand-simple"): My simple utilities.
("search-conf.el"): Configuring searching.
* search-conf.el (search-whitespace-regexp): White space as wild cards
(isearch-lax-whitespace): as above
(isearch-lazy-count): Count the matches
(isearch-allow-scroll): Scrolling while searching
(durand-search-replace-symbol): For quick refactoring
* text-conf.el (assq): Hide using the macro instead.
|
|
* bongo.el: Use header-line now.
Try to improve the tick.
* dired-conf.el: Require dired-x.
* elisp.el: Hide Eldoc on the mode line.
* text-conf.el (assq): Hide auto-fill-mode on the mode line.
* modeline.el (modeline-format-left): Display minor modes information.
(modeline-minor-modes-name-len-max): Max length of displayed minor modes.
(modeline-format-minor-modes): Display minor modes information.
(durand-mouse-minor-mode-menu): Make the default minor mode menu work
with my custom mode line.
* rime-conf.el ("emacs-rime"): Bind a key to set the input method to
rime in the minibuffer, so that I can use this input method to search
the buffer, for example.
|
|
* basic.el
(recenter-positions): In effect nothing changed.
(prot-pulse-line): Puling the line.
(pulse): Useful built-in library.
(durand-pulse-pulse-line): My own tweak.
(durand-pulse-recenter-top): Recenter and pulse.
* init.el (prepare-in-hook-once): Make it interactive.
(global-map): Add Org-mode bindings.
("durand-chercher-pdf"): Search PDFs quickly.
* modeline.el (modeline-format-left): Remove the vertical bar.
* org-conf.el (org-adapt-indentation)
(org-modules)
(org-hide-emphasis-markers)
(org-hide-macro-markers)
(org-hide-leading-stars): Steal some configurations from Protesilaos.
(global-map)
(org-mode-map): Add Org-mode bindings.
(durand-pulse-pulse-line):
(org-follow-link-hook): Pulse and recenter when following the link.
|
|
* basic.el (set-mark-command-repeat-pop): Repeat poping
* tab-conf.el (durand-switch-tab-dwim): Show the default tab to close
in the prompt.
|
|
I shall try out the yellow comments for a while to see if I like this
warmth in the comments.
|
|
Fixes: Avoid adding suffix-link repeatedly
* embark-conf.el ("embark"): Use view-mode instead of view-file
* init.el (load-after-function): Modify the macro so that it no longer
redefines built-in functions.
(global-map):
("view-conf.el"): Rename view-functions.el to view-conf.el
* suffix tree/generalized-suffix-tree.el (gst-edge-length):
(gst-add-suffix-link):
(gst-canonize):
(gst-extend-tree):
(gst-build-for-strs):
Fixed the bug.
* suffix tree/gst debugging platform.txt (strs): Add a new debugging file
* suffix tree/gst test ground (2).txt (strs): Do more debugging
* tab-conf.el (durand-switch-tab-dwim): Add my own dwim tab function.
(global-map): Bind it to the global map.
* theme.el Update the modus-themes.
* view-conf.el Rename view-functions.el to view-conf.el.
|
|
This can facilitate killing both the buffer and its window, when there
are multiple windows. It is bound to s-k now, which was bound to
`kill-current-buffer' by default.
|