From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id 0KucGT91YmIpCAEAbAwnHQ (envelope-from ) for ; Fri, 22 Apr 2022 11:28:31 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id 0EyXGT91YmIdMwAAauVa8A (envelope-from ) for ; Fri, 22 Apr 2022 11:28:31 +0200 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 05A3F10DF9 for ; Fri, 22 Apr 2022 11:28:31 +0200 (CEST) Received: from localhost ([::1]:40406 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nhpaX-0001rb-CU for larch@yhetil.org; Fri, 22 Apr 2022 05:28:29 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:50970) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nhpYf-0001oq-OC for emacs-orgmode@gnu.org; Fri, 22 Apr 2022 05:26:33 -0400 Received: from mail-qk1-x733.google.com ([2607:f8b0:4864:20::733]:42622) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nhpYc-0005Q2-Sk for emacs-orgmode@gnu.org; Fri, 22 Apr 2022 05:26:32 -0400 Received: by mail-qk1-x733.google.com with SMTP id j6so5397243qkp.9 for ; Fri, 22 Apr 2022 02:26:30 -0700 (PDT) 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; bh=5gDEEapBGqRCN1bxGk4g3v/16Ckm0gm+XlMoswjFfUQ=; b=iidzXTxJF2Nue0uvS6irMNEtjgy9YPxcPJuW/Gq+o/ylheaDn2cUqqUetpE3icSyvT 2KEM3dnxsF5DNhVcBR6qok7JHc9iNSzJ/m1DXBebOtOfodSPXG9WwBp1WwzMTBcIii4x 55X/VK9uyeo5CgvB2eNOn+aI+Epc/IM7zwNQGQewQ/EOlb6Us6W6Tq+h1NJBjDrtmyDS uFXUbdRAS3lKGA2NEK5cLQ9UfHsVIEttJoJI3N495douVqG+4oUpB2yGUVk6ujb5YRON zD/nK8zW9sG9o2j8c0A/M5SqGj4K6n8zNxlDi181QktCo2GtiBBLaUDfodC8b5vl9I3i jU7A== 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; bh=5gDEEapBGqRCN1bxGk4g3v/16Ckm0gm+XlMoswjFfUQ=; b=0rMWtjuiDTrQdmlOCYAsd6xsn3HmKLTlTIYLsudDDRohdPt7NFRQuukmYGiMicdfbF yztsifCRZ390aP1KOxiIsCNmgOJoVFFICnXb+PaVOdvpTpNZK54jsLe4RLxlkJcwm7Om Ko9F8DqEmZNGy8KwnhlSotM8wunbGlQYUdyMShu5/MrUSjs4R7ttx4behNTO3dTeYOhQ ivoVrjdLbDQH39xXx3WP6lF0Sw1EtZR9tVaLJjWBedzK5hHsEDND8C6wGYOyyF0lakPa iHFWfEYYjSwxaMq3sVmlIMsw27uaW7qNuBQQDJuGnZ7xQYFbcn/A0R5kteMnWsERTRqz zpjg== X-Gm-Message-State: AOAM5324hQqXDNOxZ2pUQM48Ge+WwkTucUTH5zM/c/rld1fu2uO1pQE7 Nzv7m9n4ByvpbFHejjF65LI= X-Google-Smtp-Source: ABdhPJy1xnv+0/7I0eOT7oka9Wcxn1408ySaOjmK2GupDsBNcE2wuG8gW8kD9v+ru4QU+q6xOTkOrQ== X-Received: by 2002:a05:620a:460a:b0:69e:de07:29c4 with SMTP id br10-20020a05620a460a00b0069ede0729c4mr1947466qkb.277.1650619588971; Fri, 22 Apr 2022 02:26:28 -0700 (PDT) Received: from localhost ([66.150.196.58]) by smtp.gmail.com with ESMTPSA id z22-20020a05622a029600b002f344883de2sm918109qtw.47.2022.04.22.02.26.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 Apr 2022 02:26:28 -0700 (PDT) From: Ihor Radchenko To: "N. Jackson" Subject: Re: [PATCH v2] org-agenda: Use `window-max-chars-per-line' to calculate max text width In-Reply-To: <87czh9ecfl.fsf@moondust.localdomain> References: <874k2qwn92.fsf@moondust.localdomain> <87ee1ubje8.fsf@localhost> <87o80yqkhi.fsf@moondust.localdomain> <874k2ppxth.fsf@localhost> <87czhdqi9p.fsf_-_@moondust.localdomain> <87o80wz9le.fsf@localhost> <87ee1sjcf9.fsf@moondust.localdomain> <87wnfj3t4x.fsf@localhost> <87a6cekitg.fsf@moondust.localdomain> <875yn2vphr.fsf@moondust.localdomain> <875yn1u0at.fsf@localhost> <87czh9ecfl.fsf@moondust.localdomain> Date: Fri, 22 Apr 2022 17:27:20 +0800 Message-ID: <87y1zxsc1z.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::733; envelope-from=yantar92@gmail.com; helo=mail-qk1-x733.google.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 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, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham 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: emacs-orgmode@gnu.org Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1650619711; 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:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=5gDEEapBGqRCN1bxGk4g3v/16Ckm0gm+XlMoswjFfUQ=; b=CvMHvkTXlUBFxSo6Q6yC9EkQdWf9Nc8a+rwg8ZAovIEQXZa6zn0Gquk0jC2mPJYlK8Vx7T /RAPp1oG9Sul8aCpfbAfrVgwynC5OmNHLylVtqviZrtb/hIHrt0wMp89lYGSwTJWjB4eTp AvIZVUU3E3F2sxTETZ0Qs9b8cCFSKHGMArRvPD22ZTJB0qLdAGcpQA1KD0CbjC3ParXY+8 OWn/dtAtY7PkZGyfNB7yCdwwtJEWuylRMcGCeIFRgsIfNbKr0yaX3PMkHNDrYQxss5DJLY f9nZMxpV7UdR6gQGxmbAt92ylgXRqj7AJWBMNwlpG3Lvk2tHK6VMdyZQ+5en1w== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1650619711; a=rsa-sha256; cv=none; b=ToELPzxIpUSl5o9u6uT0+F27iRsP31ET0uyfyV2bnthXGnlaz/ucGeUTNZGn1I8g6lg7Zm sPDnLNB4zoL6Y2G25fYDt1BoNqRE2mpkikHv62BRuiXfP6iQpaQnY4jIxPDLnxYGKBvB4q pwPcfQzX0ZmfDvHkCNn83KyOUXOBeslI3XHxxMHElTBkcWxax0YzndC7+4u61S30f9vtlR qo0l2Qtdjrl6LITlDpclf8a6w9ocTK6n+nmyqYAIdM5MnOJjK9rb/Uwp3TziNS4XOMqWgh eCyKHCBFt9aTUW/r4+LA+dz/qdlx7Ik1AqbeS88A0xIuVoURlZetFxJtyFuPLQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=iidzXTxJ; 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: -8.53 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=iidzXTxJ; 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: 05A3F10DF9 X-Spam-Score: -8.53 X-Migadu-Scanner: scn0.migadu.com X-TUID: tm5846Z5wvbm "N. Jackson" writes: >> + (- (window-max-chars-per-line) > > If Org needs to support versions of Emacs before 25.1 then I assume > you need the same guard on every instance of > window-max-chars-per-line -- because window-max-chars-per-line was > added to Emacs at the same time as window-font-width: We do not need to worry about this. Org supports the latest released Emacs version + 2 previous [1]. Now, it means Emacs >=26. [1] https://orgmode.org/worg/org-maintenance.html#emacs-compatibility Best, Ihor