MeowKing

@MeowKing@emacs.ch

A Linux and Emacs enthusiast who loves anime and cats.

My Chinese gossip account: https://wxw.moe/ (talking nonsense
BG Image: https://wallhaven.cc/w/p93dx3

This profile is from a federated server and may be incomplete. Browse more on the original instance.

louis, (edited ) to random
@louis@emacs.ch avatar

What do you manage your Todos?

MeowKing,

@louis I use sourcehut todo list

MeowKing, to vscode

Finally I switch to #vscode for developing front end work. It's super useful to see the converted class for #tailwindcss (I'm a beginner). I know there is lsp-tailwind, but I use eglot, and it cannot have multiple lsp server in one major mode yet.

MeowKing,

@louis From the tailwind website I have learned that we can create our own css classes which can includes tailwind css? So 20 classes can be avoided I think? However, it may go against the purpose of using tailwind(use class directly without manually write down our owns). Though, I just use it for my small/middle group project, so I think it should be fine and the development time can be saved.

I'm quite stressful because of my decidophobia. I waste a lot of time back and forth the process of deciding to use for developing web front end.

I gonna give -mode and -bridge a try...

MeowKing,

@louis I used to hate -bridge. However, after trying it this time(the second time), but I find I quite like it now. The completion experience and inlay hint are really good.

MeowKing, to emacs

I just upgrade to 30, since only in this version can handle (java lsp) code actions. Besides, I also find some newly added options looking attractive.

  1. completion-preview-mode: inline compilation preview (preview the first completion candidate) just like corfu-candidate-overlay, but it seems more smooth and efficient and works with any completion methods.
  2. flymake-show-diagnostics-at-end-of-line (see the picture)
  3. :vc configuration option, which means you can directly use use-package to get packages from version control repos without using elpaca or straight, etc. ( Though I haven't use this option yet.)

flymake-show-diagnostics-at-end-of-line

MeowKing, to random

Emacs lisp

How to quick implement a read-file-name function which behaves like project-find-file?

After reading the source code of project-find-file function, I find it is fairly simple to achieve this goal by adding advice to find-file function.

(defun mk/project-read-file-name ()  
 (let ((find-file-advice (lambda (file-name) file-name))  
 res)  
 (advice-add 'find-file :override find-file-advice)  
 (setq res (project-find-file t))  
 (advice-remove 'find-file find-file-advice)  
 res))  
MeowKing, to random

I don't use Magit for Emacs for a long time and I always want to find a good alternative for it. However, it seems the whole Emacs community recommend Magit :blobcat3c:​. Now I find the built-in vc mode helpful, I can use vc-root-diff to show the diff and in the diff view, I can use vc-next-action to commit. Super!!!:blobcatmeltlove:​

MeowKing, to random

My new emacs plugin: Peek
Please give it a try! Thank you. :gnu:

https://git.sr.ht/~meow_king/peek

image/jpeg

MeowKing, to opensource

I'm on SourceHut, and my new projects will be hosted on this site! Take a look here if you like. Currently empty, but full of potential ✨

https://sr.ht/~meow_king/

MeowKing,

@louis That's a pity. Maybe I should contribute to sourcehut to support org file rendering, so that Emacsers can have more choices :D

thor, to ADHD
@thor@berserker.town avatar

a disorder that occurs in 4% of the general population sounds too common to be a disorder, right? therefore, is fake, right?

but myopia is a disorder of the eye and that occurs in 30% of all people. it was probably diagnosed a lot less often before reading and driving became important.

dyslexia affects 20% of the population. this is an interesting one, because before we invented writing, it was a disorder that couldn't exist.

some argue that the reason we're seeing ADHD getting diagnosed more is that society has changed, and there is far more knowledge about it now than there was 30-40 years ago.

MeowKing,

@thor
Agreed. Nation College Entrance Examination is extremely important for Students in China, such that some high school uses a 'military' teaching method to improve student's exam score. Though there are some options for students to choose like passing a language exam other than English or art/sport student, the majority of students are formatted by the exam-oriented education, which is rigid and lacks innovation.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • megavids
  • thenastyranch
  • magazineikmin
  • InstantRegret
  • Durango
  • osvaldo12
  • rosin
  • Youngstown
  • slotface
  • khanakhh
  • tacticalgear
  • kavyap
  • ethstaker
  • DreamBathrooms
  • Leos
  • ngwrru68w68
  • everett
  • cubers
  • GTA5RPClips
  • love
  • modclub
  • cisconetworking
  • mdbf
  • tester
  • normalnudes
  • anitta
  • provamag3
  • JUstTest
  • All magazines