From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Morgan Willcock Newsgroups: gmane.emacs.devel Subject: Re: Possible bug: org-capture fails when emacs started as daemon Date: Tue, 15 Aug 2023 17:53:19 +0100 Message-ID: <87jztwdz7k.fsf@ice9.digital> References: <87ttt3dkad.fsf@localhost> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="2118"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: =?utf-8?Q?I=C3=B1igo?= Serna , emacs-devel@gnu.org To: Ihor Radchenko Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Aug 15 18:54:33 2023 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1qVxJR-0000P9-9x for ged-emacs-devel@m.gmane-mx.org; Tue, 15 Aug 2023 18:54:33 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qVxIQ-0005hb-8m; Tue, 15 Aug 2023 12:53:30 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qVxIP-0005hS-53 for emacs-devel@gnu.org; Tue, 15 Aug 2023 12:53:29 -0400 Original-Received: from relay3-d.mail.gandi.net ([217.70.183.195]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qVxIM-000821-3M for emacs-devel@gnu.org; Tue, 15 Aug 2023 12:53:28 -0400 Original-Received: by mail.gandi.net (Postfix) with ESMTPSA id BD19A60004; Tue, 15 Aug 2023 16:53:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ice9.digital; s=gm1; t=1692118401; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=C1p7gLsonNBA0AbQhr8cpM4884FLXbH0tsnf5bOGeEM=; b=RPNynPo0dtnnvVjTRNNBbDlQnBFVy3mwgeaMZTit67ULdlWH5zu1GJjvzOLU2+dVgpuFzX HLz92BfBAp0NUWN0YRrOyl53nQtap1sBsyH7AqblLCbcU0RarkLs4/puLFwv/1w0z5Y1+7 k9+0VkqlGIo1u4OTEPQwKaQbQ6Ezm7oKu5Vz5Pk5MXfB0OGG4Em2lUnoFmAUm01z/Filne JlQSKAD0z/Hq1DhLWOf3SMz90V+HcQoUJvzEpo7MS6+hv2Pa2SwVZsF5aDcWRpLRmN1XbV +Ap/3THGwtVjq4uG90WOBVw89jeTng9mjj5qdf8w6aI7xTJKuCKArQs/ooToHQ== In-Reply-To: <87ttt3dkad.fsf@localhost> (Ihor Radchenko's message of "Sun, 13 Aug 2023 15:38:50 +0000") X-GND-Sasl: morgan@ice9.digital Received-SPF: pass client-ip=217.70.183.195; envelope-from=morgan@ice9.digital; helo=relay3-d.mail.gandi.net X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:308763 Archived-At: Ihor Radchenko writes: > "I=C3=B1igo Serna" writes: > >>> `org-capture-get-indirect-buffer' constructs a name of a new=20 >>> capture >>> buffer as [...] >> >> As Morgan suggested in other email, the problem comes from the use=20 >> of >> face-remap in a hook of `after-make-frame-functions`. > > That's very strange. I am wondering haw remapping faces has anything to > do with buffer objects. Sounds like some kind of arcane Emacs bug to me. >From memory, the problem didn't exist in Emacs 28, but I encountered it in the Emacs 29 pre-releases I was trying out. So it seems like a bug introduced in Emacs 29. --=20 Morgan Willcock