From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id CltTAZPJ0F5dQwAA0tVLHw (envelope-from ) for ; Fri, 29 May 2020 08:36:35 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id kF8oOJLJ0F4gLgAAbx9fmQ (envelope-from ) for ; Fri, 29 May 2020 08:36:34 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 8402A9404C5 for ; Fri, 29 May 2020 08:36:34 +0000 (UTC) Received: from localhost ([::1]:52288 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jeaVF-0002kE-Do for larch@yhetil.org; Fri, 29 May 2020 04:36:33 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:58126) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jeaCU-00005Q-9Z for emacs-orgmode@gnu.org; Fri, 29 May 2020 04:17:10 -0400 Received: from mail-wm1-x341.google.com ([2a00:1450:4864:20::341]:36876) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jeaCS-0000Mm-UF for emacs-orgmode@gnu.org; Fri, 29 May 2020 04:17:09 -0400 Received: by mail-wm1-x341.google.com with SMTP id f5so2313438wmh.2 for ; Fri, 29 May 2020 01:17:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=Rd1Pi3F7UjVbsO+7KGDY+uImdp7pY29AqzbaDzxTy/E=; b=uNW/Okl4d8kzX+Ynoy64s/eYT6t8kUuMtEkwewoxPuABESY+xFjBoSkvcOZYWtvmla LsHS+PUoSMgrMKJQ7wYrZEZzRQuoCw3g0zD7Kmfw5nZXmlU0joq+8MlyYNY9T9q0lQHT vRU/hHiXaWe543gmC13AzhI5EY9Q5pWxEZvM2wtPHQNp5Gctra55GwG92ofQOXBcvlZb 4b/o06BIS74Kp+n7ymZ8NdVdB9+dzh879Jy2OPNSuDQkftW/LehP3UF+38HS3cFHA7ub IlJaRBVBjbejdBSpYXBpBmK5+vaD6lDG9Fs+EPo59SoOKLNwjgp3oo9dW1xKpKvqpB0A M8cg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=Rd1Pi3F7UjVbsO+7KGDY+uImdp7pY29AqzbaDzxTy/E=; b=ClkFK18x3vB/f8GKizjgUYOlaaxGM9iIJ8x1gh4mDvUh3gStyFdDgwmVuJicfyt7EU 6We7r91n5co72lXNWStODZDz+62yd6b8By8rg1pbjiDdlaWU6tWLtfUEtjszg/8FP0Jt mfKbhJu7Cmu2Q0iYlSHznoSXKn8bnZbtmYcIEDW4lbEvL1/FXWV4nY7RPwXVn859eEGO rwGKhY+aM0n2zd+cLGZD5KhC2c6xVsISYWNd4DEEVRnt9iEJ9CKyWa10uQZuZGwYSGZb 3eNrwlE7ov+ou6P8q4fK3al8w3hHaUANh9yRWgP54gJkJv/ba94N+NWdBRcaV1D9uLT/ WmXQ== X-Gm-Message-State: AOAM533a2gTgP4PKV7SC0vcf6Upy+9HVO61Xr4y1iMdYCM2FLAo9tFKw zWwFrihrAE/g6pmH5NPUkF+TJCyfv0rzHz85fN78jXD3jyw= X-Google-Smtp-Source: ABdhPJzLZaRrDCWw0zvhqk5xoJUp3t8mQcPeoGj5h5tH6+R1Nf/0E+bI0lAHSZkQhqyoQNnAbe+MW1n+SGvtspsABuk= X-Received: by 2002:a1c:4b0f:: with SMTP id y15mr2132076wma.83.1590740226321; Fri, 29 May 2020 01:17:06 -0700 (PDT) MIME-Version: 1.0 From: Friedrich Delgado Date: Fri, 29 May 2020 10:16:55 +0200 Message-ID: Subject: Emacs brings itself to the foreground when preparing agenda with org-agenda-include-diary t To: emacs-orgmode@gnu.org Content-Type: multipart/alternative; boundary="0000000000001eb20305a6c5129e" Received-SPF: pass client-ip=2a00:1450:4864:20::341; envelope-from=taupan@gmail.com; helo=mail-wm1-x341.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-Mailman-Approved-At: Fri, 29 May 2020 04:35:55 -0400 X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=uNW/Okl4; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Spam-Score: 0.79 X-TUID: 3oEQCnXC6Gqu --0000000000001eb20305a6c5129e Content-Type: text/plain; charset="UTF-8" Hi! I've set up my emacs to prepare the org-agenda whenever I start it up. While emacs starts up, I'm doing other things and it's frequently annoying me that emacs brings itself to the foreground (with qtile, if that's relevant). I've come up with the following minimal configuration that reproduces the issue for me (via emacs -Q -l ~/minimal-org.el): ,----[ minimal-org.el ] (require 'package) (add-to-list 'package-archives '("org" . "https://orgmode.org/elpa/") t) (package-initialize) (add-to-list 'load-path "~/lib/emacs/use-package/") (require 'use-package) (use-package org :ensure org-plus-contrib) (define-key global-map "\C-ca" 'org-agenda) (custom-set-variables '(org-agenda-files (quote ("~/Org/Collect.org" "~/Org/Common.org" "~/Org/Rechner.org" "~/Org/home/Familie.org" "~/Org/home/Haus.org" "~/Org/home/Gesundheit.org" "~/Org/home/Musik.org" "~/Org/home/Rechner.org" "~/Org/home/Sonstiges.org" "~/Org/home/Weiterentwicklung.org" "~/Org/work/Cert.org"))) '(org-agenda-include-diary t)) `---- When I comment out org-agenda-include-diary or set it to nil, the behaviour disappears. When I comment out my extensive set of large org-mode files, the behaviour disappears as well, but maybe just because I'm not fast enough to switch away from emacs before it happens. I'd like to be able to use org-agenda-include-diary but disable the behaviour that emacs raises itself. Please CC me in replies, as I'm not subscribed to this list. For completeness, I've been asked to file an issue against qtile, because they want to be able to prevent such behaviour from clients on the window manager side, and they're also dealing with focus problems recently. https://github.com/qtile/qtile/issues/1756 Best regards Friedel --0000000000001eb20305a6c5129e Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi!

I've=C2=A0set up my emacs to pr= epare the org-agenda whenever I start it up.

While emacs star= ts up, I'm doing other things and it's frequently annoying me that = emacs brings itself to the foreground (with qtile, if that's relevant).=

I've come up with the following minimal configuration th= at reproduces the issue for me (via=C2=A0emacs -Q -l ~/minimal-org.el):

,----[ minimal-org.el ]
(require 'package)
(add-to-list 'package-archives '("org" . "= ;https://orgmode.org/elpa/")= t)
(package-initialize)
(add-to-list 'load-pat= h "~/lib/emacs/use-package/")
(require 'use-packa= ge)

(use-package org
:ensure org-plus-contrib= )

(define-key global-map "\C-ca" 'org-agenda)=
(custom-set-variables
'(org-agenda-files (quo= te ("~/Org/Collect.org" "~/Org/Common.org" "~/Org/= Rechner.org" "~/Org/home/Familie.org" "~/Org/home/Haus.= org" "~/Org/home/Gesundheit.org" "~/Org/home/Musik.org&= quot; "~/Org/home/Rechner.org" "~/Org/home/Sonstiges.org&quo= t; "~/Org/home/Weiterentwicklung.org" "~/Org/work/Cert.org&q= uot;)))
'(org-agenda-include-diary t))
`----
When I comment out org-agenda-include-diary or set it to nil, th= e behaviour disappears.

When I comment out my exte= nsive set of large org-mode files, the behaviour disappears as well, but ma= ybe just because I'm not fast enough to switch away from emacs before i= t happens.

I'd like to be able to use org-agen= da-include-diary but disable the behaviour that emacs raises itself.
<= div>
Please CC me in replies, as I'm not subscribed to th= is list.

For completeness, I've been asked to = file an issue against qtile, because they want to be able to prevent such b= ehaviour from clients on the window manager side, and they're also deal= ing with focus problems recently.=C2=A0https://github.com/qtile/qtile/issues/1756

Best regards
Friedel
--0000000000001eb20305a6c5129e--