unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Glenn Morris <rgm@gnu.org>
To: Scott Jaderholm <jaderholm@gmail.com>
Cc: emacs-devel@gnu.org
Subject: Re: appt-disp-window raising frame toggle patch
Date: Mon, 07 Nov 2011 14:44:20 -0500	[thread overview]
Message-ID: <15aa87soob.fsf@fencepost.gnu.org> (raw)
In-Reply-To: <CAA9PRe_oyXhFR9+5Q3qrLgqtqKVh6obvJcM6BQUUQgdw34E11Q@mail.gmail.com> (Scott Jaderholm's message of "Fri, 4 Nov 2011 22:25:47 -0400")

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	other threads:[~2011-11-07 19:44 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-11-05  2:25 appt-disp-window raising frame toggle patch Scott Jaderholm
2011-11-07 19:44 ` Glenn Morris [this message]
2011-11-07 21:03   ` Glenn Morris

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=15aa87soob.fsf@fencepost.gnu.org \
    --to=rgm@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=jaderholm@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).