From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: "=?utf-8?Q?I=C3=B1igo?= Serna" Newsgroups: gmane.emacs.devel Subject: Re: Possible bug: org-capture fails when emacs started as daemon Date: Sun, 13 Aug 2023 17:29:00 +0200 Message-ID: <87wmxzdkpj.fsf@gmail.com> References: <87350opi0t.fsf@gmx.com> <87fs4nl4mm.fsf@localhost> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="8636"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: mu4e 1.11.6; emacs 30.0.50 Cc: emacs-devel@gnu.org To: Ihor Radchenko Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Aug 13 17:31:53 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 1qVD4L-00027d-FY for ged-emacs-devel@m.gmane-mx.org; Sun, 13 Aug 2023 17:31:53 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qVD3W-0001L6-PW; Sun, 13 Aug 2023 11:31:02 -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 1qVD3V-0001Kr-2W for emacs-devel@gnu.org; Sun, 13 Aug 2023 11:31:01 -0400 Original-Received: from mail-lf1-x12c.google.com ([2a00:1450:4864:20::12c]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qVD3T-000751-HU for emacs-devel@gnu.org; Sun, 13 Aug 2023 11:31:00 -0400 Original-Received: by mail-lf1-x12c.google.com with SMTP id 2adb3069b0e04-4fe1489ced6so5585178e87.0 for ; Sun, 13 Aug 2023 08:30:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1691940656; x=1692545456; h=content-transfer-encoding:mime-version:message-id:in-reply-to:date :subject:cc:to:user-agent:references:from:from:to:cc:subject:date :message-id:reply-to; bh=Xc0zXG3kD1BC6bvy2h0XDcVEEh+zZxqZ+wQyueCN0EA=; b=IYQo8gBQBnr877S41XpBXecr9PlkdTaciIxFxe9WgFC0+uX4dSzFqFfAqVq8l3a7kd TAo4BOAOogKqH4H3ythddgLudYiqs627XFFOEaF0YiqIUN8nW/4eKWCwjPqh6k4k35lJ 0lCmtPVueDL27UX8bdyvz2CGikpW6XxGAINf0uHqpJhksaVkLYW7OnK8W/uDB6H4iX2O x7DM5s77jEULAWrb6rReZX+ITL8AiC4rJZLlfAj4ybx9nnVZJhSk/mq8t+vVxMtKpTz8 yTNF7AY73FebFRGVKynPn71cLQHPu2m7DDgLF5MSIKn4OVLPSfJLoIUZOcT9inE3maLv tu0Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1691940656; x=1692545456; h=content-transfer-encoding:mime-version:message-id:in-reply-to:date :subject:cc:to:user-agent:references:from:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=Xc0zXG3kD1BC6bvy2h0XDcVEEh+zZxqZ+wQyueCN0EA=; b=CWmna7WdXzRaorp4md/YWSrnBFRazaNEONrLUf84uR2cMLRLusq9xKem/lg164FJTc mHCj/N2jur2+d1ZlQx/sMyhldyq4HBsw7bjFlkBAQINJ9cwChf7rVnPjcSIO//4R4r80 4fn6YiwjTOWTNWntQEXR3xp3DMZaor1xBR+i2QSFHa8OfJfpnUwRT3TlIzi+98tNmZXM af9+9XM4yh4ituECozvYaQuldPw3JwRJBWdkIoWU7zXAid6ETdc8uEjvG3oi+PrHSq6S i5yvhnbkUAn+/srIRjjVnlL9WC+zJXrHxCb353TbsDJzylIfd2zW6XTswVj4qHxHrKT5 zpAQ== X-Gm-Message-State: AOJu0YzytuS060yoEc/RLO+Mk0DR/srUPbUWs1ValW+1Vyb0Up0EMhhJ rHo7ALg46H0BmL16fBhjbgDQg/I= X-Google-Smtp-Source: AGHT+IH7u4ohV6L+Ow9No78xkbalbizhLP05dOQwOcniBsyooxGFpBxcTMF4uGjNFh1OMD+KjmeKkw== X-Received: by 2002:a05:6512:2110:b0:4fb:89ad:6651 with SMTP id q16-20020a056512211000b004fb89ad6651mr4157820lfr.28.1691940656262; Sun, 13 Aug 2023 08:30:56 -0700 (PDT) Original-Received: from zeus.gmail.com ([93.176.181.42]) by smtp.gmail.com with ESMTPSA id m8-20020a7bca48000000b003fa96fe2bd9sm14718839wml.22.2023.08.13.08.30.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 13 Aug 2023 08:30:55 -0700 (PDT) X-Google-Original-From: =?utf-8?Q?I=C3=B1igo?= Serna In-reply-to: <87fs4nl4mm.fsf@localhost> Received-SPF: pass client-ip=2a00:1450:4864:20::12c; envelope-from=inigoserna@gmail.com; helo=mail-lf1-x12c.google.com 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, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=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:308682 Archived-At: Hi Ihor, On 13 August 2023 at 10:37 +02, Ihor Radchenko=20 wrote: > I=C3=B1igo Serna writes: > >> As I see the error message is defined in either=20 >> `make-indirect-buffer' or `rename-buffer' functions, and the=20 >> first=20 >> one is called from `org-capture-make-indirect-buffer'. >> How could I investigate further the issue? Any hints? > > `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`. Thanks for your help, I=C3=B1igo