From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:203:b4db::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id iAnAA7VxyGFxuQAAgWs5BA (envelope-from ) for ; Sun, 26 Dec 2021 14:44:21 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id AKscAbVxyGGdgwAA9RJhRA (envelope-from ) for ; Sun, 26 Dec 2021 14:44:21 +0100 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 B49091EA5C for ; Sun, 26 Dec 2021 14:44:20 +0100 (CET) Received: from localhost ([::1]:59528 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n1Tox-0006K7-AK for larch@yhetil.org; Sun, 26 Dec 2021 08:44:19 -0500 Received: from eggs.gnu.org ([209.51.188.92]:41580) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n1Tnb-0006Jx-9n for emacs-orgmode@gnu.org; Sun, 26 Dec 2021 08:42:55 -0500 Received: from [2607:f8b0:4864:20::431] (port=46755 helo=mail-pf1-x431.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1n1TnZ-0001AW-Pd for emacs-orgmode@gnu.org; Sun, 26 Dec 2021 08:42:54 -0500 Received: by mail-pf1-x431.google.com with SMTP id t123so11505219pfc.13 for ; Sun, 26 Dec 2021 05:42:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:in-reply-to:references:date:message-id :mime-version:content-transfer-encoding; bh=gwfsifQGimK56tO4WCfWyusJQdzPXgXlvM97BNmJg/g=; b=W38m0ed/hltTMKIUPG0/7sT4L8CIqSwpBjHEeGYAkJr4evBmuOOeVReOrRhCR5MAWv c5/N08gW4kw9qC10pHSRtaykPmfLpoQRklBsh7bZO+9tl51NodS1iOoEztj+xgDkyA9f Luc8jXEn8LmjpcbyJcWMCkzyWRqKwuOiIDFkvz5pRshZYtg0Ox0DdwljdX6mPXmmx63V ZgMvXpzouabaXMRp+8BnMwjNAZ/e1Xf3eX2r7ritSJeC3bNOnhuhj6QmmVvuUSsLD+jN jiCsDX+FR4+LY98oQ9c5IUDqraq1Dq4M3bfUY5yYP6LIUWodGiWLFdPoYiacwbnPD7IY c9pw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:in-reply-to:references:date :message-id:mime-version:content-transfer-encoding; bh=gwfsifQGimK56tO4WCfWyusJQdzPXgXlvM97BNmJg/g=; b=ep2VDKg+KpllvQcGRlhOOjzKj/GWMt/IPCG4wnsydGBLCkdKzUm4we6BfqJzA2Sqsg r1I2Fa4r6olKoA8Kh/LK+nW5chwQHHJqPQ0pIOeIB3KzIMNARek/Um42LuI93PSYU4vK FqmjHlKRQEyGoejXP/hcm1Mq8yqOQoPuG+tiVX9Tgjycdbxkt/NmQaK5oIX4YPm3DWED 1Gjz5fWdFftA/KNnYOUKb34wJzwXUmU6nx1CbpiQbnjzfH+1+8Reg4LcJzxS+uLLzaFF UlNTxpHhsqlXP6FPjBwWtHmRVWVr320imewVUdakKFrrcfIhYtCho81ZFJrxg/qhSSVS 3EUQ== X-Gm-Message-State: AOAM530sT+ggL+EOH/E5xM0CtR8VkQOL9rnB7/yT8wZoKtXD5sSMxbt8 uRnOJyAtGVGfesSGYoJLOuk= X-Google-Smtp-Source: ABdhPJzBkPR8JXJ7PcE4ngQCXJ77Clbesz+ToEOqClOv+4Lb8Ke0LVgN/hN7RscIuZKdFcesek/hfg== X-Received: by 2002:a63:9049:: with SMTP id a70mr12385317pge.544.1640526172502; Sun, 26 Dec 2021 05:42:52 -0800 (PST) Received: from localhost ([210.3.160.226]) by smtp.gmail.com with ESMTPSA id h8sm1310727pfi.205.2021.12.26.05.42.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 26 Dec 2021 05:42:52 -0800 (PST) From: Ihor Radchenko To: Mikhail Skorzhinskii Subject: Re: [PATCH] org-agenda.el: customise outline path in echo area In-Reply-To: <645e9e94235057a7b8f4b541fe11677d6f74ccf8.camel@eml.cc> References: <645e9e94235057a7b8f4b541fe11677d6f74ccf8.camel@eml.cc> Date: Sun, 26 Dec 2021 21:44:13 +0800 Message-ID: <87k0frscpe.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Host-Lookup-Failed: Reverse DNS lookup failed for 2607:f8b0:4864:20::431 (failed) Received-SPF: pass client-ip=2607:f8b0:4864:20::431; envelope-from=yantar92@gmail.com; helo=mail-pf1-x431.google.com X-Spam_score_int: -10 X-Spam_score: -1.1 X-Spam_bar: - X-Spam_report: (-1.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_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Org Mode Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1640526260; h=from:from:sender:sender: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:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=gwfsifQGimK56tO4WCfWyusJQdzPXgXlvM97BNmJg/g=; b=LjBl+hMbkE4yOVuoRqB/n8OpThS2ma5AWzto/FrVaFsv7FHNclaFp7VQT0FbnqVGUVBbcJ DQjhepKtE/MdkCU0Lj1HVwQMCpJmjEgF902/SboIXnp7g7exhQZxvrBK8VXwFtJH8tvNBI zzHepKr1+TbSbJ+mcPTBya7lIX651amvjWzy1DmVfqSUOhojLD4Pm0haIP7mOnh7S5DLIQ NGUsUKPQUFPgKuVerioSFMX6BxoeEv53ml09TjaEwip9FbY1bnQLXeOkCnX4l9EQ8BYcXT N5Te7GR+dVGPE33coLj1zUDwkanm6YtLISDGVGk5OB/NQnMFNrbwjuMUdKHxJQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1640526260; a=rsa-sha256; cv=none; b=ZnZAGO8C4Yr8odxhRBHnaWmPMJR9MZE1y6497yJVoGX60dhNEBbyRopWnr2TfKaUa+rEEH fyfmk7VDvZAgtrEOhc3bgVbhFfMu8y65e8dAExJ/ZC4hErb2H0S3gJrm+P3eLOhjjqSLQv 09c5q0jBuw1PyJxTRIsEv8Xolu8Zv3Wo3LT3EKvB12TS9gDV9dAE3lmaciEX7+Khps+Zhs KjH2G2cu7smYF0g/0XKWmU8xZTljW8UW0BmvgTH2d4BWXBtWWMEUtxtC/qSePsLxqE3llB 3twIkLPguDYusx9pnTPBa+lHnA7qpUnJo3jQlEoeDbSyD4SCFilay7JlapIKTA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b="W38m0ed/"; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -3.77 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b="W38m0ed/"; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: B49091EA5C X-Spam-Score: -3.77 X-Migadu-Scanner: scn1.migadu.com X-TUID: Ud5C03GC6Y5f Mikhail Skorzhinskii writes: Thanks for the patch! The addition looks reasonable to me. > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (title (when (and file-or-tit= le (string=3D file-or-title > 'title)) > ... > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (and file-or-titl= e bfn (concat (if (and (string=3D file-or- > title 'title) title) (string=3D file-or-title 'title) will match FILE-OR-TITLE values "title" and 'title. I am not sure if it is what you intended to achieve. Probably, a simple (eq file-or-title 'title) would be sufficient. Best, Ihor