diff --git a/js/random-quote.js b/js/random-quote.js index fd6b597..76897a2 100644 --- a/js/random-quote.js +++ b/js/random-quote.js @@ -36,6 +36,7 @@ var data = [ "他很善于表达, 可惜没什么可表达的", "It's confidential", "你说得对,但是《长安汽车》是由艺画开天自主研发的一款全新开放世界冒险游戏。", + "Emacs has Evil, but Vim doesn't have Magit", ]; var index = Math.floor((Math.random() * data.length)); diff --git a/org/emacs29_2023.org b/org/emacs29_2023.org new file mode 100644 index 0000000..2477eaf --- /dev/null +++ b/org/emacs29_2023.org @@ -0,0 +1,48 @@ +#+TITLE: 2023 了, 试试 emacs 29 +#+DATE: <2023-01-02 一> +#+OPTIONS: toc:1 + +2023 了, 元旦假期, 想体验一下新版本的 emacs, 我已经眼馋好久了 +发行版还没提供? 自己编译, 而且自己编译可以自定义一些选项, 比如 pgtk +#+BEGIN_SRC sh +./configure CFLAGS="-march=native -O3 -pipe -finline-functions -floop-nest-optimize -ftree-loop-distribution" \ + --with-x=no \ + --with-gpm=no \ + --with-pgtk \ + --with-native-compilation \ + --with-json \ + --with-sqlite3 \ + --with-tree-sitter +#+END_SRC + +完整的去看 =etc/NEWS= (btw, =emacs-news-mode= 也是新加的) + +* 我 有切身体会/还没体验但是认为很不错 的新特性 +** [[https://emacs-china.org/t/emacs/19806]["真" 背景透明]] +这是我提前了解到的第一个 emacs29 特性, [[https://www.bilibili.com/video/BV1ca41127KY][evan 的视频]] +但是有透明通道的图片不会跟着透明 + +** [[https://www.emacswiki.org/emacs/SmoothScrolling][平滑滚动]] +搜索 emacs29 蹦出来的 + +** emoji 😀 + +** package-vc-install +但是 =package-report-bug= 有点迷惑 + +* 我认为早就该加了但是现在才加入 +** erc-sasl +我编译的时候偶然发现的 =erc-sasl.el= +我去! 终于有 sasl 了! 不用第三方的 [[https://github.com/emacs-circe/circe][circe]] 了! +*只需要 customize =erc-modules= 加入 sasl, 然后用 =erc-tls= 就成了* +这个最早 12 年就有人提出了 ([[https://lists.gnu.org/archive/html/erc-discuss/2012-02/msg00001.html][注释里给的链接]]) + +** restart-emacs + +** package-update(-all) + +* 29.1 +- =use-package= +- =*-ts-mode= + + diff --git a/org/internet_collections.org b/org/internet_collections.org index 91b4f9e..43963d7 100644 --- a/org/internet_collections.org +++ b/org/internet_collections.org @@ -331,7 +331,6 @@ but fasm don't support debug information (dwarf2) *** [[https://www.youtube.com/playlist?list=PLknodeJt-I5H_zK-udgi5XhhYrnDoLHkP][Gavin Freeborn: Commandline tools and tips]] *** [[https://youtu.be/CFRhGnuXG-4][Why You Shouldn't Nest Your Code]] - ** [[https://www.youtube.com/@Computerphile][]] *** [[https://youtu.be/BAo5C2qbLq8][Network Time Protocol (NTP)]] *** [[https://youtu.be/d7KHAVaX_Rs][Just In Time (JIT) Compilers]] @@ -388,6 +387,7 @@ to filing patently fraudulent DMCA counter-notifications to avoid the terminatio *** [[https://youtube.com/playlist?list=PLgE-9Sxs2IBVgJkY-1ZMj0tIFxsJ-vOkv][BBS The Documentary(8)]] *** [[https://youtu.be/k35uDHs7Z9E][DT: A Disturbing Descent Into The Mind Of A Mad Man]] *** [[https://youtu.be/GlovVvBAIGk][DT: Keeping A Positive Attitude Even After Storm Destroys My Backyard]] +*** [[https://www.youtube.com/@lecturesbywalterlewin.they9259][Lectures by Walter Lewin. They will make you ♥ Physics]] :wow: * r :PROPERTIES: diff --git a/org/recover_udisk.org b/org/recover_udisk.org index c8bd821..b56e9c7 100644 --- a/org/recover_udisk.org +++ b/org/recover_udisk.org @@ -34,16 +34,6 @@ 一节课之后, 文件(和曾经被删除的)都回来了 开心! -* 接活? -:PROPERTIES: -:CUSTOM_ID: ad -:END: -我可以比较廉价的进行数据恢复 -联系我后将磁盘镜像传到 FTP 服务器, *不接百度网盘* -暂定价如下: -** 16GiB 以下 0.1 XMR -** 16~64GiB 0.2 XMR - * 后续 恢复完之后我想瞅瞅那些教学视频, 正常来讲 f34 应该有解码器的, 但是没有 是不是我连着网给我删了? @@ -60,3 +50,4 @@ emm...硬件问题还是没办法 #+END_COMMENT +看到一个视频, 介绍了一些别的数据恢复工具: [[https://www.bilibili.com/video/BV1gg411F7rp][BV1gg411F7rp by 有限的未知]] diff --git a/org/wayland.org b/org/wayland.org index 8c8cfc6..f02aefd 100644 --- a/org/wayland.org +++ b/org/wayland.org @@ -47,7 +47,7 @@ use libinput-gestures ** TODO [[https://github.com/WayfireWM/wayfire/issues/1329][Wayfire crashes when closing foot terminal]] ** emacs tool-bar not working(cannot toggle and icon theme missing) *** cannot toggle: disable custon =default-frame-alist=, or just use floating mode -*** TODO icon theme missing: ? +*** icon theme missing: pgtk ** [[https://www.reddit.com/r/swaywm/comments/scz5k6/option_create_on_workspace_prev_on_outputnext_on/][Option --create on workspace prev_on_output|next_on_output?]] this feature is not compatible with i3, so sway didn't accept the pr *** [[https://www.reddit.com/r/swaywm/comments/mmfwnu/sway_command_workspace_next/][shell script solution]]