emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: appt-disp-window raising frame toggle patch


From: Glenn Morris
Subject: Re: appt-disp-window raising frame toggle patch
Date: Mon, 07 Nov 2011 14:44:20 -0500
User-agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/)

Scott Jaderholm wrote:

> Currently if you use the display window method with appt it will also raise
> the frame in your window manager. I didn't like this as my keyboard focus
> kept being taking so I added a custom variable to toggle this. Attached is
> a patch. 

This is too late for Emacs 24.1 It could go in 24.2, but I am not sure
it is generally useful, because it means that if the Emacs window is
iconified, or behind another window, you will go no visible notification.

> If anyone knows a simple way for me to eliminate raising in this
> function on my system until (if) this patch gets applied please share.

Customize appt-disp-window-function, eg

(require 'cl)

(setq appt-disp-window-function 'foo)

(defun foo (min-to-app new-time appt-msg)
  (flet ((raise-frame (&optional frame) (ignore)))
     (appt-disp-window min-to-app new-time appt-msg)))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]