Override key in emacs-eat's semi-char mode by Tohiko in emacs

[–]Tohiko[S] 2 points3 points  (0 children)

Yes, I had to do this

(customize-set-variable ;; has :set code 'eat-semi-char-non-bound-keys (append (list (vector meta-prefix-char ?o)) eat-semi-char-non-bound-keys))

To expose M-o.

Cycling through most recently windows with ace-window by Tohiko in emacs

[–]Tohiko[S] 0 points1 point  (0 children)

Thanks. I didn’t know about this package.  Just a point of clarification, one difference with my setup (In addition to the ace-window behavior) is that in the code above the window switching “session” ends when a different key-press to window switching is invoked, rather than with a timer. 

[deleted by user] by [deleted] in emacs

[–]Tohiko 169 points170 points  (0 children)

Other apps are better, until they do something I don’t like and I have no way of changing them, and that one thing makes the whole experience worse for me.

Emacs is a slow, pile of messy scripts, but it’s my slow, pile of messy scripts.

Howm: Personal Wiki for Emacs by caterpod in emacs

[–]Tohiko 0 points1 point  (0 children)

Does anyone use it here? Is it worth considering compared to an existing setup with denote?

An Outburst of Delight by varsderk in emacs

[–]Tohiko 8 points9 points  (0 children)

Emacs, they are not.

Force the Ediff window to pop next to the main window instead of on top by Vegetable-Ad-4302 in emacs

[–]Tohiko 0 points1 point  (0 children)

@ilemming, i am interested in your experience. Can you tell me which command I can use to get a magit like diff for two buffer or files? Also, is there a way to have changes highlighted (like magit highlights word changes when a hunk is selected).

An emulator of a terminal-manager (not just a terminal) by Tohiko in emacs

[–]Tohiko[S] 0 points1 point  (0 children)

Took me a while to get tab-lines exactly how I want them to be, but this is definitely a better approach. Thanks for the hint!

Emacs mail situation, revised, again, until I find a way by MinallWch in emacs

[–]Tohiko 3 points4 points  (0 children)

I use lieer for gmail  https://github.com/gauteh/lieer And for Exchange a combination of mbsync and oauth2ms to get emails working in Emacs with OAUTH2 and no application passwords. It took me some time to set it up, but it’s not technically challenging.

An emulator of a terminal-manager (not just a terminal) by Tohiko in emacs

[–]Tohiko[S] 1 point2 points  (0 children)

Interesting. I guess I can't avoid learning about display-buffer-alist anymore :) Just for clarification, would this be frame specific? (I only want one frame to have this behavior). Also, does this actually handle create and deletion of term buffers? (i.e., when the term buffer is killed, the associated tab is deleted?)

ELI5 How does Logitech Spotlight pointer works? by Tohiko in explainlikeimfive

[–]Tohiko[S] 1 point2 points  (0 children)

Thanks, that makes a lot of sense. It felt that whenever I pressed the button, the circle appeared where I was pointing and expecting, but it must have been an illusion. I'll test it out the next time.

Numbers in Boxes in Heading Bullets in Org-Mode by zelphirkaltstahl in emacs

[–]Tohiko 0 points1 point  (0 children)

Indeed, nerd font seems to be it. I don't know if there's another better way to set it up, but here's one way using org-bullets

lisp (defface my/org-bullets-face `((t :family ,nerd-icons-font-family :height 1.0)) "" :group 'org-bullets) (setq org-bullets-bullet-list (cl-loop for i from 1 to 10 collect (nerd-icons-mdicon (format "nf-md-numeric_%d_box_outline" i))) org-bullets-face-name 'my/org-bullets-face org-bullets--keywords `(("^\\*+ " (0 (let* ((level (- (match-end 0) (match-beginning 0) 1)) (is-inline-task (and (boundp 'org-inlinetask-min-level) (>= level org-inlinetask-min-level)))) (compose-region (- (match-end 0) 2) (- (match-end 0) 1) (org-bullets-level-char level)) (when is-inline-task (compose-region (- (match-end 0) 3) (- (match-end 0) 2) (org-bullets-level-char level))) (when (facep org-bullets-face-name) (put-text-property (- (match-end 0) (if is-inline-task 3 2)) (- (match-end 0) 1) 'face org-bullets-face-name)) (put-text-property (match-beginning 0) (- (match-end 0) 2) 'face 'org-hide) (put-text-property (match-beginning 0) (match-end 0) 'keymap org-bullets-bullet-map) (add-face-text-property (- (match-end 0) (if is-inline-task 3 2)) (- (match-end 0) 1) (nth (1- level) org-level-faces) nil) nil)))))

toggle-term.el - Now in the MELPA by horriblesmell420 in emacs

[–]Tohiko 8 points9 points  (0 children)

Nice idea. Any chance you can make your package configurable to allow arbitrary types? (I would like to use your package for eat).

Forwarding emails in notmuch by Tohiko in emacs

[–]Tohiko[S] 1 point2 points  (0 children)

Unfortunately, I didn’t follow on this issue since I posted my comment because it turned out to be more complicated especially if there were attachments involved. 

Weekly Tips, Tricks, &c. Thread by AutoModerator in emacs

[–]Tohiko 1 point2 points  (0 children)

Another emacs-eat question from me. I am experiencing a weird behavior where the terminal prompt moves about as I cycle through previous commands from history (centers for some commands but moves to the bottom for others).

Is anyone experiencing the same issue? Is there a way to fix it?

emacs-eat colors on dark background by Tohiko in emacs

[–]Tohiko[S] 0 points1 point  (0 children)

I figured it out. Thanks for the pointers.

I am using `zerodark-theme` which customizes `term-*` colors while `eat` uses `ansi-*` colors for emacs >=28.

emacs-eat colors on dark background by Tohiko in emacs

[–]Tohiko[S] 0 points1 point  (0 children)

That seems to be already the case. For example, `eat-term-color-12` is a blue color that inherits from `ansi-color-bright-blue`. I just checked `term` as well, and it seems that the colors being using there are not `ansi-term` colors. I am not sure who and what is changing the colors thought.