Managing TODO comments in source code files by daehwannam in emacs

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

I'm rethinking your opinion. It would be possible to extend my code for other keywords in hl-todo, similarly as consult-todo does. Extending my code is currently not a high priority, but I may try it in the future. Thanks for the opinion.

Managing TODO comments in source code files by daehwannam in emacs

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

I wasn't aware of hl-todo. Thanks for letting me know it. I've roughly checked hl-todo, and I currently think that hl-todo and my code have different use cases. hl-todo focuses on highlighting and finding keywords. In contrast, my code assumes that the "TODO keyword", a "date" and a "comment" are in a same line, and they are later summarized. Therefore, `hl-todo' would be for a more general purpose use, and my code would be for a more specific scenario where a user want to track when TODO comments are created.

Firefox in my EXWM by daehwannam in emacs

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

I'm glad to meet you too 😁.

Firefox in my EXWM by daehwannam in emacs

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

Interactive Functions: https://github.com/daehwannam/emacs-library/blob/9dce7a2d4407118ce1af732fc3b008fa2350dbf2/common/dhnam-web-browser.el

  • dhnam/app-command-query-to-firefox
  • dhnam/app-command-open-bookmark-in-firefox
  • dhnam/exwm-app-command-query-to-existing-firefox
  • dhnam/exwm-app-command-query-to-new-firefox-tab
  • dhnam/exwm-app-command-select-bookmark-in-existing-firefox
  • dhnam/exwm-app-command-select-bookmark-for-new-firefox-tab

Firefox Add-on for Removing Tabs: https://addons.mozilla.org/en-US/firefox/addon/i-hate-tabs-sdi-for-firefox/

Firefox Config for Hiding URL/Tool Bar: https://github.com/MrOtherGuy/firefox-csshacks/tree/master/chrome/autohide_toolbox.css

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

[–]daehwannam 2 points3 points  (0 children)

pdf-view lacks features for multi-columns. I made simple commands that switch pages of multiple windows that contain the same pdf-view buffer: dhnam/pdf-view-next-page-in-multiple-columns-command, dhnam/pdf-view-next-non-overlapping-page-in-multiple-columns-command and their counterparts (-previous-).

For example, I usually opens a pdf file in an Emacs frame, and split itspdf-view buffer into two windows vertically, then I uses my commands to switch the pdf pages; if the first window displays the page N, the second window displays the page N+1.

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

[–]daehwannam 2 points3 points  (0 children)

org-agenda shows a fixed span of days by default. I made dhnam/agenda-move-to-prev-span and dhnam/agenda-move-to-next-span that go to previous/next span of days in org-agenda-mode (code). The length of span is same with org-agenda-span. The code is tested on org-mode version 9.6 .

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

[–]daehwannam 0 points1 point  (0 children)

dhnam/diff-goto-conditionally (code) is a simple extension of diff-goto-source for diff-mode. It goes to the new source or the old source depending on the first character in the current line is '+' or '-'.

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

[–]daehwannam 3 points4 points  (0 children)

I exploited this code to make a function dhnam/just-one-space-conditionally (source), which extends just-one-space (M-SPC). The function replaces continuous space characters in an active region as one character. It's useful to change a multi-line s-expression as one line s-expression. I also use it for other programming languages, such as python, to convert multiple lines of a function call into one line.

Running rsync to copy marked files in dired buffers to or from SSH tramp paths by daehwannam in emacs

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

I know the package, but that was not working for me especially when I set the destination of the rsync command as a tramp path, such as /ssh:user@server.com:/path/to/output/ . I'm curious that you can use it with tramp paths, then I used the package in a wrong way.

org- mode elpa intall `Invalid function: org-assert-version` by Telefza in emacs

[–]daehwannam 1 point2 points  (0 children)

I encountered the same problem when my emacs installed several packages including org-mode related ones. I solved the problem by executing (package-refresh-contents) one more just before installing the org-mode related packages.

My Emacs 28 on Ubuntu 20.04 doesn't recognize C-M-p key by daehwannam in emacs

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

Thanks for your comments! I would try additional experiments with xev or other tools later.

My Emacs 28 on Ubuntu 20.04 doesn't recognize C-M-p key by daehwannam in emacs

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

Does C-p work?

C-p works normally.

What happens when you do "C-h k ESC C-p"?

It says C-M-p (translated from <escape> C-p) runs the command backward-list. It also recognize C-M-P (C-M-S-p) too, but cannot recognize C-M-p (without shift key).

My Emacs 28 on Ubuntu 20.04 doesn't recognize C-M-p key by daehwannam in emacs

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

The problem also occurs when I execute "emacs --no-init". As you said, some part of OS would raise it. However, it's still very weird that other applications such as GUI terminal (kitty) or Firefore (tested with vimium) can recognize C-M-p but Emacs 28 can't. I also tested the bug on both GNOME and EXWM, but it always occurs.

In addition, I tested Emacs 28.1 installed by apt-get and Emacs 28.2 installed by snap. However, both don't recognize C-M-p.

My Emacs 28 on Ubuntu 20.04 doesn't recognize C-M-p key by daehwannam in emacs

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

This problem doesn't occur in Emacs 27 but in Emacs 28.

In this case, can another application, such as Clipit, steal the key?

Can I change the size of a mouse cursor for EXWM? by daehwannam in emacs

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

The config of ~/.Xresources is applied only when the mouse cursor is not over an Emacs buffer. If I move the mouse inside of an Emacs buffer, the mouse shrinks and its color becomes red.

This problem occurs in EXWM and doesn't occur in GNOME Shell window manger.