Age | Commit message (Collapse) | Author |
|
* view-conf.el (durand-view-process): Fit the window to buffer with a
maximal height of 0.3 * total height, so that this buffer does not
disturb the main view.
|
|
* view-conf.el (durand-view-timers-or-temps): If this command calls
timer-list, I want to place the cursor on the line showing my timer
for fetching mails, if there is such a line.
|
|
* view-conf.el (durand-view-timers-or-temps): The function was updated
without updating its documentation. Now the documentation is
updated as well.
|
|
|
|
It is quite convenient.
|
|
* view-conf.el (durand-view-timers-or-temps): Make it repeating.
(durand-open-targets): Use lower-case names so that the completion
works better.
(durand-convert-youtube-video-to-url): Return the converted YouTube
address.
|
|
* ibuffer.el (durand-bongo-set-filter): Add filters for Eshell and Org
buffers.
* view-conf.el (durand-view-map): Bind imenu to "i" in the view-map.
|
|
* view-conf.el (durand-view-timers-or-temps): This fixes an error
encountered when I call this function before auth-source is loaded.
|
|
* csharp.el: ("csharp-mode"): Syntax-highlighting for C-sharp files.
* view-conf.el: Bind 'v' to `View-scroll-page-forward' in
`view-mode-map'.
|
|
Eglot-mode binds C-c o for some reason (I thought bindings like C-c X,
where X is a letter are reserved for the users). Instead of asking
the authors of eglot why they did that or fighting eglot by
re-binding, I am too lazy and just add a new binding to my own
function.
|
|
This change is necessary as yt-dlp uses a different format for the
output files than youtube-dl.
|
|
* view-conf.el (durand-scroll-next-paragraph): Fix cursor when moving
paragraphs, so that the cursor stays at the top of the window.
|
|
* bookmark-conf.el: add a bookmark to open NTU cool.
* view-conf.el (durand-open-targets): Add a link to an online Tibetan
dictionary.
|
|
|
|
This combination is more convenient if I want to change the value of
the variable.
|
|
Configuring outline-minor-mode, which provides an easy interface to
navigate around codes. I mainly use this in Emacs Lisp buffers now.
* outline-conf.el (durand-outline-regexp-alist): Each major mode could
have a unique outline heading.
(durand-outline-blocklist, durand-maybe-enable-outline): Don't enable
outline minor mode for derived modes of the major modes in the block
list.
(outline-minor-mode-highlight): I want to highlight the headings.
(outline-minor-mode-cycle): I like the cycling behaviour.
(outline-minor-mode-map): Bind my custom key-bindings.
* view-conf.el (durand-view-map): Bind to my custom map.
|
|
* view-conf.el (view-mode-map): Bind M-n/p to forward/backward-page
commands.
|
|
* view-conf.el (durand-focus): Use a default olivetti body width of 80
instead of 65.
|
|
* view-conf.el (durand-focus-focus): Toggle font-size and/or
variable-pitch-mode, depending on the argument.
(durand-focus): Now focus mode won't increase font-size and
variable-pitch-mode by default. Instead use the following binding to
toggle these settings if desired.
(durand-focus-map): Bind to "M-s-f".
|
|
* view-conf.el (durand-focus-map):
(view-mode-map): Bind paragraph-moving functions to 'view-mode-map'
instead of 'durand-focus-map'.
|
|
* view-conf.el (durand-wifi-on-p):
(durand-bluetooth-on-p):
(durand-wifi-filter):
(durand-bluetooth-filter):
(durand-wifi-or-bluetooth):
(global-map): These are moved to wifi-bluetooth-conf.el now.
* wifi-bluetooth-conf.el (durand-wifi-on-p):
(durand-bluetooth-on-p):
(durand-wifi-filter):
(durand-bluetooth-filter):
(durand-wifi-toggle):
(durand-bluetooth-toggle): These are old functions.
(durand-wifi-executable): The name of an executable to manage wifis.
(durand-wifi-bluetooth-buffer): A shared buffer for wifi-related
commands.
(durand-wifi-list-ports): List all available WIFI ports or the
currently connected one, if the optional argument is non-nil.
(durand-wifi-join-port): Join a port. This is still buggy.
(durand-wifi-list-sentinel): The sentinel for the list-port function.
(durand-wifi-join-filter): The filter to inform the user of the output
of the command. This is important since currently the command will
only error out for some reason.
(global-map): Bind the functions to appropriate key sequences.
|
|
* eww-conf.el (eww):
(eww-search-prefix):
(global-map):
(durand-eww-map):
(eww-link-keymap):
(eww-mode-map):
(dired-mode-map):
(eww-buffers-mode-map):
(eww-bookmark-mode-map):
(shr-use-colors):
(shr-use-fonts):
(shr-max-image-proportion):
(shr-image-animate):
(shr-width):
(shr-discard-aria-hidden):
(shr-cookie-policy):
(eww-name-separator):
(eww-rename-buffer):
(eww-after-render-hook):
(eww-back-url):
(eww-forward-url):
(eww-visited-history):
(eww-record-history):
(eww-dwim):
(eww-visit-bookmark):
(eww-visit-url-on-page):
(eww-jump-to-url-on-page):
(eww-occur-feed-regexp):
(eww-find-feed):
* view-conf.el (durand-view-map):
(durand-open-targets):
|
|
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.
|
|
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.
|
|
Configure TeX and add some skeletons, and bind a key to eww.
|
|
The function list-processes is really useful.
|
|
|
|
Bind elfeed in global-map.
Combine some convenient features to a function that focuses the text.
|
|
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.
|
|
* 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
(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.
|
|
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.
|