Age | Commit message (Collapse) | Author |
|
|
|
* eww-conf.el (mailcap-prefer-mailcap-viewers):
(mailcap-user-mime-data): Set the user-data since otherwise this
should be set via a dedicated mailcap file, which is cumbersome to
specify pdf-view-mode in Emacs, as far as I know.
|
|
* modeline.el (modeline-format-main): Now use the following function
to calculate the correct widths.
(modeline-length): Use the name and the decomposition of a character
to determine if a character should take 1.7 columns instead of 1
column.
|
|
* modeline.el (modeline-format-dashboard): We need a right part to
display time and battery.
(modeline-dashboard-format-right): The original part
(modeline-dashboard-format-left): The time and the battery are
displayed here.
|
|
Now I can use Emacs in the full-screen mode.
* battery-conf.el (battery-pmset):
(durand-battery-pmset): Override the default so that
it also offers temperature information.
(battery-mode-line-format):
(battery-mode-line-limit):
(battery-update-interval):
(battery-load-low):
(battery-load-critical):
Some sane defaults.
* init.el (durand-battery):
(durand-time): Advice to load the configurations and
display at the same time.
* time-conf.el (display-time-format):
(display-time-interval):
(display-time-default-load-average):
(display-time-mail-directory):
(display-time-mail-function):
(display-time-use-mail-icon):
(display-time-mail-string):
(display-time-mail-face):
Sane defaults.
|
|
* c-conf.el (c-macro-preprocessor): Set it to a sane default.
* init.el (prepare-c): Lazy load c-conf.el
|
|
* 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):
|
|
* bongo.el : I was appending a list with a non-list, essentially.
|
|
* eww-conf.el : It is faster to download pages using wget. But
emacs-28 is still unusable for me at this moment.
|
|
* basic.el (global-map): Bind repeat to s-z.
It is wonderful to be able to repeat a command occasionally.
|
|
This comes in handy when one enlarges the PDF image.
* pdf.el (pdf-view-mode-map):
|
|
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.
|