Hi,

I am not sure if many people are using alerts for the appointments, I do, I like the behavior where it brings Emacs to the front and shows a message in the mini buffer. However, when I am quickly writing in another application I sometimes end up writing in the active buffer. I am contemplating creating a function which puts the buffer in read only mode before showing switching to Emacs, if it was not already Read Only, and restores it when the reminder disappears. That should be enough to avoid accidental writing.

Before I embark in that task I would like to know if anybody has done anything like that, or any other creative ideas to avoid contaminating the current buffer.

Thanks!

You are viewing a single thread.
View all comments
1 point

https://git.sr.ht/~sebasmonia/dotfiles/tree/master/item/.emacs/init.el#L116

In my case I use OS-level notifications. For my work computer (Windows) I changed the function to w32-notification-notify instead.

permalink
report
reply
1 point

Thanks that looks nice and will certainly solve my problem.

permalink
report
parent
reply

Emacs

!emacs@communick.news

Create post

A community for the timeless and infinitely powerful editor. Want to see what Emacs is capable of?!

Get Emacs

  • Windows
  • Mac OS X
  • GNU/Linux and BSD (Just get it from your distribution’s package manager)

Rules

  1. Posts should be emacs related
  2. Be kind please
  3. Yes, we already know: Google results for “emacs” and “vi” link to each other. We good.

Emacs Resources

Emacs Tutorials

Useful Emacs configuration files and distributions

Quick pain-saver tip

Community stats

  • 18

    Monthly active users

  • 562

    Posts

  • 2.4K

    Comments