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 ms0.migadu.com with LMTPS id OJKCEgAOs2ADfQAAgWs5BA (envelope-from ) for ; Sun, 30 May 2021 06:01:04 +0200 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 yAK0DQAOs2BvcQAAbx9fmQ (envelope-from ) for ; Sun, 30 May 2021 04:01:04 +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 98B42212BF for ; Sun, 30 May 2021 06:01:03 +0200 (CEST) Received: from localhost ([::1]:57684 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lnCdI-0006Vp-I2 for larch@yhetil.org; Sun, 30 May 2021 00:01:00 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:41054) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lnCcL-0006V5-JB for emacs-orgmode@gnu.org; Sun, 30 May 2021 00:00:01 -0400 Received: from mail-pg1-x52e.google.com ([2607:f8b0:4864:20::52e]:36501) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lnCcJ-0007bD-7O for emacs-orgmode@gnu.org; Sun, 30 May 2021 00:00:01 -0400 Received: by mail-pg1-x52e.google.com with SMTP id 27so5752729pgy.3 for ; Sat, 29 May 2021 20:59:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:in-reply-to:references:cc:date:message-id :mime-version; bh=ECnfcU95Ogp31NZRW6AwkSehX9VzaxOYjroRhnNhdYA=; b=Yk7SNp9kcM5bkbig0U1qMKLnKsZMKdaxjeaIAOods8lb3WXw5gRZ/ixyDfxomWmF0D +iYVHYP44gqvmHCZYDR4oIuGrim8G7zIa6BRCKsrdV70igOGhwBbpvM5ckIwjpfZINq7 qu16YFYEyANpiM9Ef63DLk9rESyoSfM0KB8nR8yjcpJiahnb5nJvRiTzZT4Ztiu2Xd3b idQ4NEiXv2C3EBqgqBm22wQ1vr5XeiYKah7YzPy2ZPazKsLUFYgnD/nhvrrbEt8Vbbnn zoBUSSJlESlY2wvWqvyPP6TSPSkoq+vj6DzwtTGsom/Vt6hiUrRjzzr9NW71DoLU3oSp xpCg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:in-reply-to:references:cc:date :message-id:mime-version; bh=ECnfcU95Ogp31NZRW6AwkSehX9VzaxOYjroRhnNhdYA=; b=cYDmtoJYy7IOJYh9c5H+yOjPh/2I0ltw5isEnVLs6nzu4l0AtEU009vbiw4N911d4D fmnFkNXzEVzpwZPzwrfxguEALbo8bh5atM0iGZI9lth2k9bpKyIkseo8NE5aam+Crh7Q PErRXc7ergQPRu6aftGkkEAtSiTH5Y6narPcW22jv13WYEOC9BYtgQrMsLrv2Xb7mkfR znwTfyIRBSmvR3Wsi97Jfc6JE2tAx/W3nmFbVB2v0k4sFTys6YIHEVWXfczEWywGH/I5 NeZkoSdR1faS/ZFqdU2nIb9wyZDS3B0W1/6VP03gijJjCvmTTRLI+s4yJi0I9xaLes13 v0QQ== X-Gm-Message-State: AOAM531ygSA1ODxVDPNNewaiKViCQojrurIj1ZrZI3kpQrEswCxCU1Ii 6iBwA27gFljindoUhYFKJtc= X-Google-Smtp-Source: ABdhPJym1/mF8+dpbj/0Zmp7rsyW3/dR4pkW/ZStBWgLcmJLHpUFbmypRbpIYWO8H8PSNvbAVaOSUg== X-Received: by 2002:a63:3342:: with SMTP id z63mr16628753pgz.187.1622347197449; Sat, 29 May 2021 20:59:57 -0700 (PDT) Received: from localhost ([104.250.131.79]) by smtp.gmail.com with ESMTPSA id h13sm8047556pfr.216.2021.05.29.20.59.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 29 May 2021 20:59:56 -0700 (PDT) From: Ihor Radchenko To: Ypo Subject: Re: Could habits appear in the correspondent hour in org-agenda? In-Reply-To: <6bca9e62-0629-d823-3df2-1094da8026fe@gmail.com> References: <87a6oeyrw7.fsf@localhost> <6bca9e62-0629-d823-3df2-1094da8026fe@gmail.com> Date: Sun, 30 May 2021 12:04:39 +0800 Message-ID: <87zgwcamug.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::52e; envelope-from=yantar92@gmail.com; helo=mail-pg1-x52e.google.com X-Spam_score_int: -17 X-Spam_score: -1.8 X-Spam_bar: - X-Spam_report: (-1.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, 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 autolearn=ham autolearn_force=no X-Spam_action: no action 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: , Cc: Org-mode Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1622347263; 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=ECnfcU95Ogp31NZRW6AwkSehX9VzaxOYjroRhnNhdYA=; b=ONA0YSukE/UpmCoseGxs817f/g5PbzscSnKvX3ZbH2I7z+09QpWZBHqx//HidqOkvNa3q2 gNUUktuu5z/51797ps1ScKaAuBdGmTcA0kI/Eae2tW+Kqf2dxWQpqWJtSZ+wl+yUEiqoc1 qrFAsIJD5r7a8LV3DoMtF4dtgfxMe1dmIJKsof47CBkA4EOEPz+J3KzVWovhopfEcW+Vh3 wl7g0eqsS2t+w7f3rzUdHBWt2yP99Fgiup9YTnQAWXsqKMKwvq5ulOVIuExeEH428eHQt3 Gv/hbCBAfjUd9BizvCj8kGh7/qCyWPzk3xmf3Y5poKoQxvKPeklYIUZ2kmlUTg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1622347263; a=rsa-sha256; cv=none; b=lFaOyDbsTKRDfnjjW3BZYKNfyZ2ZWWZII1t5RxlZRhMVkdwgux40iQpywtCuQhIEtRa4Fk SGKkDMAQQHwTz4ygc5WAarD99K7VAzivyzftZDvT14OsVc1cnPgLGtTo5TB8+AzhzzkxRT 2gAGXT4avR8VSGFUpBriJd78H5SmBf5chePVZ3EcaRVbJOY9TqYU2CHQZvtNKe4W59idaz rDBxqyZp3Dq7NaUVfFbe+yHXe7+XqUIQneEp+SNyWij1Y86APj8/MxsWgGphc3s422+XI2 NIhC2zXILjrNB7lQOPssmC7XB+56/Lc1Fu7nzPO2ssQfi08MkMVEtEdVMt+CUQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=Yk7SNp9k; 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-Migadu-Spam-Score: -1.63 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=Yk7SNp9k; 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-Migadu-Queue-Id: 98B42212BF X-Spam-Score: -1.63 X-Migadu-Scanner: scn0.migadu.com X-TUID: 0nUxArPIsPRg Ypo writes: > Hi! Thanks for answering. It was just a thought. Habits appear like this > (not sure how images can be attached in the mail list): > > borrar-1 > > I thought it would be interesting to have the option to show them like this: > > borrar-2 > > Thanks for your interest You can do it simply by changing sorting strategy in agenda. By default, org-agenda-sorting-strategy is ((agenda habit-down time-up priority-down category-keep) (todo priority-down category-keep) (tags priority-down category-keep) (search category-keep)) You can see that for agenda `habit-down' is considered first in the sorting order. That makes sense if you want all the habits to be grouped together. If you prefer the habits to honour scheduled time ordering, you simply swap `habit-down' and `time-up' in the sorting strategy: (setq org-agenda-sorting-strategy '((agenda time-up habit-down priority-down category-keep) (todo priority-down category-keep) (tags priority-down category-keep) (search category-keep))) Best, Ihor