summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2022-11-06mail + init + gnus: get rid of mailsJSDurand
Now I don't use mu4e anymore, so this just removes all those related settings.
2022-11-06view: require auth-source automaticallyJSDurand
* view-conf.el (durand-view-timers-or-temps): This fixes an error encountered when I call this function before auth-source is loaded.
2022-11-06mail + gnus: Update mails without mu4eJSDurand
This is the first and maybe the last step to remove the dependency on mu4e. I can now update mails without calling a mu4e function. That is virtually the only functionality I use of mu4e since a long time. I shall have done this a long time ago, but I was too lazy to do so. ;D
2022-11-06elfeed: add a feedJSDurand
* elfeed-conf.el (elfeed-feeds): Add this week in rust feed.
2022-10-10tex: account for \right constructsJSDurand
* tex-conf.el (end-exit-paren, (open-back-paren): Modify the commands so that they treat \right as part of the parentheses.
2022-10-10keycast: Add a space after the modeline lighter.JSDurand
2022-10-01ibuffer: silence ibufferJSDurand
* ibuffer.el (durand-ibuffer): Silence the function `ibuffer'.
2022-09-22refine rust setupJSDurand
* rumu.el (rumu-mode): Don't use syntax table to determine comments. That does not work here. * rust-conf.el (rustic-lsp-setup-p): Don't use lsp.
2022-09-07bookmark and vcJSDurand
* bookmark-conf.el: Delete a `message' call that I forgot to delete after debugging. * vc-conf.el (vc-prefix-map): Bind "C-x v -" to `vc-revision-other-window', a very handy feature.
2022-09-03elfeed: cleanup and add some feedsJSDurand
* elfeed-conf.el (elfeed-feeds): Add some feeds of Rust blogs. (elfeed-search-mode-map, durand-elfeed-show-hook, elfeed-show-refresh): Enable olivetti-mode when reading elfeed entries, and tell shr to use the appropriate body width when rendering HTML content. (elfeed-display-buffer, durand-elfeed-kill-buffer): Clean something up.
2022-09-03org: exclude "11bus-en" from the sitemap.JSDurand
* org-conf.el (durand-org-publish-sitemap, durand-org-publish-sitemap-format): The article 11bus-en is an English version of the article 11bus, so the sitemap should not list the conceptually equivalent article more than once. This requires the sitemap generation to skip that article, and to delete some redundant separation markers left behind. The latter is necessary since the sitemap generator still genetates separtors for empty entries, and would mess up the format otherwise.
2022-09-03bookmark refine the automatic groupingJSDurand
* bookmark-conf.el: Refine the automatic grouping so that the file name extension "GPG" will not be picked as an automatic group name, and the last extension before GPG will be used instead. If there are no extensions before "GPG", no automatic grouping will be applied. I think this is more intuitive, as "GPG" only specifies that the file is encrytped, but does not say what the type of the file's true contents are.
2022-08-31dired: define the key for wdired after it is loaded.JSDurand
* dired-conf.el (wdired-mode-map): For some reason I was trying to define a key for wdired-mode-map before I loaded wdired.
2022-08-30mail: try to make mu4e workJSDurand
2022-08-30gnus: accomodate the loss of gmailJSDurand
* gnus-conf.el (durand-gnus-file-name-to-article-number) (durand-gnus-notmuch-query): I used to store gmail mails on my computer, but I don't do that anymore, as I cannot figure out how to send mails using gmail and Emacs. So I just use the web interface if I really need to use the gmail account. I have to reflect this change in the gnus set up, otherwise gnus will try to view some non-existent mails.
2022-08-30org: modify mathjax templateJSDurand
* org-conf.el (org-html-mathjax-template): The original template does not conform to XHTML strict 1.0, so I modify it to fit in the specification. Specifically, I added the type attribute to a script element.
2022-08-30org: fix dateJSDurand
* org-conf.el (durand-org-postamble): Previously I always use the date and time at the moment of exporting the document as the document's creation time. While technically correct, this is not what the reader wants to know. So I figured out how to obtain the correct date and time information in the postamble function.
2022-08-30org: Modify the published html againJSDurand
* org-conf.el (durand-org-postamble, durand-org-publish-html-advice): Previously I used a new postamble, which caused one previous function to fail to find a certain date information. Now the new postamble uses the expected words to serve as an anchor. In addition, Org adds an attribute "role=\"doc-toc\"" to the table of contents, but this attribute is not allowed for div elements in XHTML 1.0 strict. So I remove that attribute now.
2022-08-30org: add a custom postambleJSDurand
* org-conf.el (durand-org-postamble, org-publish-project-alist): Use a custom function to generate the postamble. This enables me to insert a copyleft claim, and to customize the date / time format a little.
2022-08-30org: my blogs are now XHTML 1.0 Strict!JSDurand
* org-conf.el (durand-org-post-process, durand-org-publish-html-advice): After replacing each "<style>" with "<style type=\"text/css\">" I can finally say that my blogs all conform to XHTML 1.0 Strict now, as can be seen by following the "validate" buttons on the blogs. Quite happy. :D
2022-08-29eww: integrate with elpherJSDurand
* eww-conf.el: ("elpher", eww-open-elpher, #'eww-browse-url, #'eww): Add integration with Elpher. So far it seems nice.
2022-08-28basic: delete associated timers to pdf-view-modeJSDurand
* basic.el (durand-kill-current-buffer): Modify this funcion so that the associated timers to PDF files are also killed at the time of deletion.
2022-08-24Add RUMU supportJSDurand
2022-08-16wdired: use return to finish editingJSDurand
I keep pressing return to finish editing, so I just add this functionality instead of trying to hit C-c twice. I am lazy. ;P
2022-07-23mail: delete gmail and add fix-quptation functionJSDurand
* gnus-conf.el (gnus-secondary-select-methods): Delete gmail. * mail.el: Delete gmail. (durand-fix-quotation): Fix the quotation style.
2022-07-16bookmark: using print instead of pp is quickerJSDurand
* bookmark-conf.el (durand-bookmark-write-file, bookmark-write-file): Just as the title says.
2022-07-16adding more wifi portsJSDurand
* wifi-bluetooth-conf.el (durand-wifi-ssid-machine-alist): More configurations to remember.
2022-06-30Add primitive ABNF supportJSDurand
2022-06-26csharp and v in view-mode-mapJSDurand
* csharp.el: ("csharp-mode"): Syntax-highlighting for C-sharp files. * view-conf.el: Bind 'v' to `View-scroll-page-forward' in `view-mode-map'.
2022-06-07dired-conf: modify dired-garbage-files-regexpJSDurand
* dired-conf.el (dired-garbage-files-regexp): Match some file extensions which represent files that I do not need to keep around.
2022-06-02bongo: add the ability to search and insertJSDurand
* bongo.el ("durand-bongo-search-insert"): Search and insert a song in the playlist buffer. I might try to make a multiple-choices version in the future.
2022-05-26rust-conf: don't use C-c oJSDurand
* rust-conf.el (eglot-mode-map): Bind eglot-code-action-organize-imports to C-c C-o instead of C-c o.
2022-05-13bongo: bind volume to V in durand-view-mapJSDurand
* bongo.el (durand-view-map): Bind volume to V in durand-view-map. Now I can press C-c v V to tweak the volume.
2022-05-12tex-conf: don't always fill environment.JSDurand
2022-05-12tex-conf: add a command to do everything.JSDurand
* tex-conf.el (durand-tex-do-all): Do everything I want. (LaTeX-mode-map): Bind to 'C-c t'.
2022-05-07bongo: add bonmark packageJSDurand
Add a package which comes from one of my little experiments.
2022-05-02tex-conf: add parenthesis insertionJSDurand
2022-04-18rcirc-conf: I might want this in the future.JSDurand
I do not use IRC for now, but it might come in handy in the future. Who knows?
2022-04-18bookmark-conf: refine bookmark handler handlingJSDurand
* bookmark-conf.el: Remove bookmark(-handler)? from the name of the group heading.
2022-04-18bongo: call bongo-dired-library-modeJSDurand
Call the function instead of setting the variable. This is safer in my opinion now.
2022-04-12elfeed: clean up the feeds a littleJSDurand
* elfeed-conf.el (elfeed-feeds): Re-organize the feeds. (elfeed-search-filter): Set the default filter to include those read entries as well. I now like this way of viewing feeds.
2022-04-12tab: set tab-bar-format to nilJSDurand
I do not use the tab-bar line. I tried to use it, but I prefer the top of the Emacs stay clean.
2022-04-11misc: eshell, common and trampJSDurand
* eshell-conf.el: Load eshell-tramp. I am not sure if this is necessary, though. * tramp-conf.el (vc-ignore-dir-regexp): Ignore version control on remote hosts. Maybe I will change my mind in the future. * common.el (Info-mode-map): Evaluate this only after info is loaded.
2022-04-10bookmark-conf: use `file-remote-p' to get host and userJSDurand
* bookmark-conf.el ("ilist-automatic-group-durand"): Instead of using a hand-made regular expression for determining the user and the host of the remote file name, use the function `file-remote-p'. This is quite necessary since the Tramp syntax might vary according to the style used. It is best to use an official function.
2022-04-10recentf-conf: don't check if a remote file existsJSDurand
* recentf-conf.el (file-exists-or-remote-p): If a file name specifies a remote file, treat it as an existing file. (choose-recent-file): Don't check if a remote file exists. Otherwise it will take a sizeable amout of time whenever I want to open a recent file, which is kind of unacceptable to me.
2022-04-10Move the tramp configuration to tramp-conf.JSDurand
* common.el: Tramp configurations should be put in a separate file. * tramp-conf.el (tramp-methods): Fix the copy arg. (backup-directory-alist): Disable backups for Tramp. (tramp-allow-unsafe-temporary-files): Don't ask this every time.
2022-04-10bookmark-conf: handle multi-hops tramp file namesJSDurand
The previous regular expression cannot handle remote file names with multiple hops. This is now fixed.
2022-04-10common: key-binding in Info and fix a tramp problemJSDurand
* common.el (Info-mode-map): Add a key-binding of Info-forward-node to the closing parenthesis. The motivation is that the closing square bracket is hard to press on my keyboard layout. (tramp): The "rsync" external method seems to pass the option "-s" to rsync, while the rsync program on my computer does not accept this option. So I remove that option.
2022-04-09bookmark-conf: automatic grouping of Tramp bookmarksJSDurand
* bookmark-conf.el ("ilist-automatic-group-durand"): Now this automatic grouping function understands the syntax of Tramp buffers (for ssh only, though) and will group Tramp bookmarks according to the remote server name, like root@jsdurand.xyz, or git@jsdurand.xyz. I start to think that Tramp is the best invention since the slice of bread now.
2022-03-31dashboard: wording of the alerting messageJSDurand
"Don't kill" => "Please don't kill"