From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id KC+kDi/an2eQIwEAqHPOHw:P1 (envelope-from ) for ; Sun, 02 Feb 2025 20:48:47 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id KC+kDi/an2eQIwEAqHPOHw (envelope-from ) for ; Sun, 02 Feb 2025 21:48:47 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=cas.cat header.s=2023 header.b=CLj2KUA1; 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"; dmarc=pass (policy=quarantine) header.from=cas.cat ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1738529325; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to: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=ZWh4dRdQ4uytvWfWzlJafDizogeAP97CvRdM/p0LhsA=; b=O6ddRfN76I2G7LGIh7Beg4QWBDpYD7A9nTs/FksuXNzKxE3bUFFFWSfrot1CWXTxyRujGE CueJv9h2adanq5awthOc3IrK/9s0Sf+63aIBvQtYfmeoVKVPUwf5bcLnOP/VfC9f4xQMUD 1rtqBEGyUaZz6QLvLdB86JbMK/NDMbhBnspDHHdf73kZSE0dOGenkqOXAbg28mIO8YHQzl HePIOT96ocTf4iwpMQIdUp8Qto8R9i+Fc5kS/EqRZTvLZ98Q3fcs4m0NmHS7H/dtC+GvaG 5YAvoE5lvX/Zv+QV88k00SnCJ30XziGvV+wi/1QJLo50mCe3OsFtmPRYnxgeFw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=cas.cat header.s=2023 header.b=CLj2KUA1; 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"; dmarc=pass (policy=quarantine) header.from=cas.cat ARC-Seal: i=1; s=key1; d=yhetil.org; t=1738529325; a=rsa-sha256; cv=none; b=b355wp6RcdQKc7NcJN9vLbHc6zqzPPBh8JFYjc4BeeWguZ19Ou3znBtzNwTqpGUljwb/aH IfXyGOuiFmmbMUXVX30SaE3SMcmdnuaTtC+YcIji1yrPNAxYhLVExVqBGo8e+e8+AxhKId Jqxm8lwvWrvCoKb4TYgCF6CT0LCEzUW+ZR+MWLLz4OEeon+YZS1PF1h3OMKPUbbMVmodU4 3yeQRyozlYHl1EKkyMY59w9IZhsXzMYfdtvgtflsTElNn7l2JSCFGY257pYJiE1v0CNXTO Q1f0YrXn2tZ00YOwLGDlES3m8dTqklggWquXwrRrRNe54M1blrLPw0P6elS/1g== 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 F372A1DBD6 for ; Sun, 02 Feb 2025 21:48:43 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tegsZ-0003zV-Sg; Sun, 02 Feb 2025 15:47:43 -0500 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 1tegsX-0003zN-Of for emacs-orgmode@gnu.org; Sun, 02 Feb 2025 15:47:41 -0500 Received: from cas.cat ([45.150.187.15]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tegsV-0006Sy-2p for emacs-orgmode@gnu.org; Sun, 02 Feb 2025 15:47:40 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cas.cat; s=2023; t=1738529253; bh=5XBlUKgpRzS9Yuf89dQ+Yck//iFXb5fMQeXjEJ2PqJ8=; h=Date:Subject:To:References:From:In-Reply-To:From; b=CLj2KUA1460KQVbvo9OvGHu3RHK4CBpQhluu3v7mtKUbCoZpbnJeAYAhlwTb9uKLl 8MUvsRvpgyznBvBdNRiUsRcVdm8O9jU8/vPEc5UImTopfgIAYV9HbxxN6ohH0rpx4F y0d7qC0SRt+3bTnH1TINP2YtPsNnrUNIjM7nh192ghQYRQ+6kvaNGs4UjZhmsySJjM PZYS8qRG3/wAjDUzzsEPqmrmOW1Eh3FS3MYZn0itwd09HWaS3blIIkl+kZljA3TA1/ nYlpnpcEZN0ESWlGrfj+PfAHS7Co3Jq5beTnUanhjrblRW0O9BLJ6Qo+Y00OoPxGju UtmBMWI5IejqQ== Message-ID: Date: Sun, 2 Feb 2025 21:47:33 +0100 MIME-Version: 1.0 Subject: Re: insert a header and automatically a timestamp with date/time To: emacs-orgmode@gnu.org References: <87seoy3xqg.fsf@mat.ucm.es> <87wme94l3k.fsf@mat.ucm.es> <0ffad4d4-45de-46ad-a95d-66fb20d97c46@cas.cat> <878qqodceb.fsf@mat.ucm.es> <04b5ac66-2184-40ee-9269-68db7fa9309e@cas.cat> <87seoww1ws.fsf@mat.ucm.es> Content-Language: en-US From: pinmacs In-Reply-To: <87seoww1ws.fsf@mat.ucm.es> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Received-SPF: pass client-ip=45.150.187.15; envelope-from=pinmacs@cas.cat; helo=cas.cat 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, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, RCVD_IN_VALIDITY_SAFE_BLOCKED=0.001, SPF_HELO_PASS=-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.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: emacs-orgmode-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Scanner: mx12.migadu.com X-Migadu-Spam-Score: -6.44 X-Spam-Score: -6.44 X-Migadu-Queue-Id: F372A1DBD6 X-TUID: oCIt5arXn9mt On 2025-02-02 21:02, Uwe Brauer via General discussions about Org-mode. wrote: > A last question though. > > Now if I want my headings look like > > * <2025-02-02 08:58> Second entry > > * <2025-02-02 08:53> First > > * <2025-02-02 08:56> third > > > > Is there any way to sort these heading with respect to the timestamps from oldes to newest? I'm glad it works for you :) You need a parent entry (see how I added example). From that parent entry, do M-x org-sort and select alphanumeric (a), and that sorts fine the timestamps; you will see that there are other ways to sort entries, the one I use today is scheduled (s). * example ** <2025-02-02 08:53> First ** <2025-02-02 08:56> third ** <2025-02-02 08:58> Second entry