Skip to content

Ersi

Category: Uncategorized

Posted on January 20, 2025January 20, 2025

Mpv for podcast

Start with something like mpv --force-window=no --ytdl-format=bestaudio.

Posted on December 6, 2024May 24, 2025

Elfeed: Nitpick RSS feed item title

When Elfeed, an RSS-reading extension for Emacs, is set up and functional, it is easy to browse the items. The two main views are the list of items from all feeds (named “elfeed-search”) and a single item (named “elfeed-entry”). In both views, the y key is bound to copy the link of the current item. But how to copy the headline?

Continue reading “Elfeed: Nitpick RSS feed item title”

Posted on August 4, 2024August 4, 2024

Emacs: Return bookmark name based on current buffer filename

Sometimes questions arise: Is the current buffer bookmarked? If yes, what is the name of the bookmark? This is useful to know when bookmarking the same file again at a new cursor position with the same bookmark name.

Continue reading “Emacs: Return bookmark name based on current buffer filename”

Posted on July 19, 2024July 19, 2024

Emacs: Fix M-. without a hassle

M-. (i.e. the Alt dot key combination in Emacs) does xref-find-definitions which only works if you have set up something called a tags table which is incomprehensible and a hassle and therefore unacceptable. It is much easier to use describe-function or describe-symbol, which open up *Help* pages in Emacs.

Continue reading “Emacs: Fix M-. without a hassle”
Posted on July 17, 2024December 6, 2024

Emacs Dired: View (and edit) file contents without opening a file

Some files open fast, others slower. It may depend on the file viewer too. But in Emacs Dired it is possible to extract file contents without opening the file. The inbuilt function for it is insert-file-contents.

Continue reading “Emacs Dired: View (and edit) file contents without opening a file”

Posted on January 24, 2024February 18, 2024

Emacs: Build a keychain with repeatable keys

A keychain includes a prefix key (or prefix keybind) and then more keys to launch a command. This is different from a keybind to launch a command. In a keychain, the keys are pressed in sequence, prefix first and then something else to complete the keychain, whereas in a keybind they are pressed at once.

Continue reading “Emacs: Build a keychain with repeatable keys”

Posted on January 7, 2024

Emacs: Collect keyboard macros

Keyboard macros in Emacs are ephemeral, but if you use them often, it makes sense to collect them. Here’s how.

Continue reading “Emacs: Collect keyboard macros”
Posted on November 17, 2023November 17, 2023

Emacs: A bufferp exercise

Inside Emacs at (info "(eintr)Buffer Exercises") there is the following exercise:

Continue reading “Emacs: A bufferp exercise”
Posted on November 5, 2023November 5, 2023

Unwanted numbering of headings, Unwanted TOC, and Wanton Listifying when exporting Emacs Org with Pandoc

Pandoc handles most text format conversions effortlessly, but there are some major glitches when the source is Emacs Org.

Continue reading “Unwanted numbering of headings, Unwanted TOC, and Wanton Listifying when exporting Emacs Org with Pandoc”
Posted on August 25, 2023August 25, 2023

Emacs: A better version to automatically rename buffer with region plus asterisks

The previous post shows the following command to automatically take the selected region, add asterisks around it and rename the buffer accordingly:

Continue reading “Emacs: A better version to automatically rename buffer with region plus asterisks”

Posts navigation

Page 1 Page 2 … Page 7 Next page

Recent Posts

  • Kaprekar calculator in Emacs Lisp

    May 4, 2025

  • Mpv for podcast

    January 20, 2025

  • Elfeed: Nitpick RSS feed item title

    December 6, 2024

  • Emacs: Return bookmark name based on current buffer filename

    August 4, 2024

  • Emacs: Fix M-. without a hassle

    July 19, 2024

Recent Comments

  • ersi on Mouse follows focus in Windows, an AutoHotkey script
  • ersi on Tiling window managers suck less
  • dayfuaim on Tiling window managers suck less
  • greybeard on Info: Less-known manual format in Linux
  • マウスポインター移動補助アプリ – INOUE Katsumi at Tokyo on Mouse follows focus in Windows, an AutoHotkey script

Archives

  • May 2025
  • January 2025
  • December 2024
  • August 2024
  • July 2024
  • March 2024
  • February 2024
  • January 2024
  • November 2023
  • August 2023
  • October 2022
  • March 2022
  • May 2021
  • April 2020
  • March 2020
  • February 2020
  • October 2019
  • September 2019
  • June 2019
  • May 2019
  • April 2019
  • March 2019
  • November 2018
  • August 2018
  • July 2018
  • March 2018
  • October 2016
  • November 2015
  • October 2015
  • August 2015
  • July 2015
  • June 2015
  • May 2015
  • April 2015
  • December 2014
  • November 2014
  • July 2014
  • May 2014
  • April 2014
  • March 2014
  • February 2014

Categories

  • Emacs
  • Linux
  • Productivity
  • Software
  • Uncategorized
Proudly powered by WordPress