profile
viewpoint
Lulu 404cn cmcm Beijing https://404cn.github.io We will eventually meet in place where there is no fear.

404cn/eatemacs 4

Just my own emacs config, and it is delicious.

404cn/bitwarden_go 3

Third party bitwarden server written in golang.

404cn/dotfiles 2

My dotfiles managed by yadm.

404cn/benchmark-init-el 1

Benchmark your Emacs initialization

404cn/404cn 0

About me.

404cn/awesome-emacs 0

A community driven list of useful Emacs packages, libraries and others.

404cn/configuration 0

Like some files bro

404cn/dactyl-keyboard 0

Parameterized ergonomic keyboard

startedgoogle/wire

started time in 12 hours

push event404cn/eatemacs

404cn

commit sha 35d48ee92f4a37ce22dfe9c3183bd23d457ee86e

defvar modeline-height

view details

push time in 21 hours

push event404cn/eatemacs

404cn

commit sha b1444976cf3aeba169acd8692c2a479bad20c9e5

update turbo-log key bindings

view details

push time in a day

push event404cn/dotfiles

404cn

commit sha f7424cf2a56bac9db76056c67c603995ea7110cc

add iterm2 matrix theme

view details

push time in 2 days

push event404cn/eatemacs

404cn

commit sha be6aa4cb86e89253b22c62eef9b5afe99555e6aa

update

view details

push time in 2 days

push event404cn/dotfiles

404cn

commit sha e7b4de02b0a797f060d1465456dd03459b158218

add goroot, update iterm font size

view details

push time in 2 days

push event404cn/eatemacs

404cn

commit sha ffd0891c64ea9e92e932771cdc83c1bf007e61f9

update marginalia and bug fixed

view details

push time in 2 days

push event404cn/eatemacs

404cn

commit sha 533c9bb842918e6cbe71d091f2ad66128e858835

disable marginalia for now

view details

push time in 2 days

issue openedminad/marginalia

Error on destribe-variable with vertico

Error in post-command-hook (vertico--exhibit): (wrong-type-argument stringp nil)

Here is config:

(defvar bootstrap-version)
(let ((bootstrap-file
       (expand-file-name "straight/repos/straight.el/bootstrap.el" user-emacs-directory))
      (bootstrap-version 5))
  (unless (file-exists-p bootstrap-file)
    (with-current-buffer
        (url-retrieve-synchronously
         "https://raw.githubusercontent.com/raxod502/straight.el/develop/install.el"
         'silent 'inhibit-cookies)
      (goto-char (point-max))
      (eval-print-last-sexp)))
  (load bootstrap-file nil 'nomessage))

(straight-use-package 'vertico)
(straight-use-package 'marginalia)

(vertico-mode)
(marginalia-mode)

Emacs version: GNU Emacs 29.0.50 (build 1, x86_64-apple-darwin19.6.0, NS appkit-1894.60 Version 10.15.7 (Build 19H1615)) of 2022-01-15 OS: macOS 12.1

created time in 2 days

push event404cn/eatemacs

404cn

commit sha 6d34a9bc783c524c3a0fbee3e8eefb67de6ff4d4

defer flymake-flycheck

view details

push time in 2 days

push event404cn/eatemacs

404cn

commit sha 395cbf16c4dbeba1274462ccce9e66e893b3a135

trash doom themes

view details

push time in 2 days

push event404cn/eatemacs

404cn

commit sha 2e7a95ad033085f9d7540d3925fd18ba12aba6e7

add rime segment to telephone-lite

view details

push time in 2 days

startedandreberg/Meslo-Font

started time in 2 days

push event404cn/eatemacs

404cn

commit sha 1144f9d5bd9e1c37c0bf7ff2ab3408c5a73cced5

update

view details

push time in 3 days

push event404cn/eatemacs

404cn

commit sha 17840b15c1fd81c2c19cedcd016b2803b2e68c35

disable some vertico extensions, it seems will cause gc

view details

push time in 3 days

push event404cn/eatemacs

404cn

commit sha 1c3c4dab78595d21f8105cb539505ffc4d684154

add the-matrix-theme, delete unused theme and file

view details

push time in 3 days

push event404cn/dotfiles

404cn

commit sha c2243ef95444624c3bf0d86218a06c7e19d76bbf

add iterm config

view details

push time in 3 days

push event404cn/dotfiles

404cn

commit sha 467392bfda4e34ac63893933d19b9e544bc69c19

add meslo nerd font for iterm

view details

push time in 3 days

issue commentdbordak/telephone-line

Add support for project.el ?

I'm not good at emacs lisp, but this works for me, maybe I should send a PR

(defun +project-name ()
  (file-name-nondirectory (directory-file-name (project-root (project-current)))))

(telephone-line-defsegment my--project-segment ()
  (propertize (+project-name)
              'face 'telephone-line-projectile
              'display '(raise 0.0)
              'help-echo "Switch project"
              'local-map (make-mode-line-mouse-map
                          'mouse-1 (lambda ()
                                     (interactive)
                                     (project-switch-project)))))

(telephone-line-defsegment* my-project-buffer-segment ()
  ""
  (if (and (buffer-file-name)
           (project-current))
      (list ""
            (funcall (my--project-segment) 'telephone-line-unimportant)
            (propertize
             (if-let ((rel-path (file-relative-name (file-truename (buffer-file-name))
                                                    (+project-name))))
                 (telephone-line--truncate-path rel-path -1)) ;; TODO need my own version
             'help-echo (buffer-file-name)))
    (telephone-line-raw mode-line-buffer-identification t)))
404cn

comment created time in 3 days

push event404cn/eatemacs

404cn

commit sha 99cf62d9d00574c2bcc7fe52cfd34b249d39b990

eat auctex

view details

push time in 3 days

push event404cn/eatemacs

404cn

commit sha f0ba151fce88b1b08f8393cf67044f99e46b01f0

config newsticker frontend

view details

push time in 3 days

push event404cn/eatemacs

404cn

commit sha abc5714e66a3a97398ad52dbf46d3f4af4a30ead

disable recentf mode, add file status to modeline

view details

push time in 3 days

push event404cn/eatemacs

404cn

commit sha f74c75a85600cb859b9b8ae15dd094a203a36a49

eat telephone-line

view details

push time in 4 days

push event404cn/eatemacs

404cn

commit sha 5bb61c218d2bbdc5fa9b05af5ce895f6b4ac5848

checkpoint: add my-project-segment to modeline

view details

push time in 4 days

push event404cn/eatemacs

404cn

commit sha 5225d35473e24d0a8c2afb9dee1a62be442621fc

checkpoint: telephone TODO: face on meow others segments like rime, anzu etc

view details

push time in 4 days

issue openeddbordak/telephone-line

Add support for project.el ?

I see there is a projectile segment but didn't have project.el support.

created time in 4 days

startedmickael-kerjean/filestash

started time in 4 days

startedmigueravila/Bento

started time in 5 days

push event404cn/eatemacs

404cn

commit sha 63be1ec827aff8da695a5636553caa9c4e64a062

eat flymake-flycheck

view details

push time in 5 days

startedpurcell/flymake-flycheck

started time in 5 days

more