From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bingo Subject: Re: modify/edit a org-time-stamp Date: Wed, 15 Feb 2017 07:13:32 +0530 Message-ID: <987CC19E-9331-46CF-87BE-A52DE097A2BC@gmail.com> References: <87k28scv0i.fsf@mat.ucm.es> <87wpcscsdo.fsf@alphaville.usersys.redhat.com> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="----QJ8RNQLZJ3C87W1SWUOWGCTH1XDJ08" Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:46435) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cdoZ0-0000T1-Ii for emacs-orgmode@gnu.org; Tue, 14 Feb 2017 20:39:24 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cdoYx-0001pA-HD for emacs-orgmode@gnu.org; Tue, 14 Feb 2017 20:39:22 -0500 Received: from mail-pg0-x230.google.com ([2607:f8b0:400e:c05::230]:36708) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cdoYx-0001oe-B4 for emacs-orgmode@gnu.org; Tue, 14 Feb 2017 20:39:19 -0500 Received: by mail-pg0-x230.google.com with SMTP id v184so31936637pgv.3 for ; Tue, 14 Feb 2017 17:39:17 -0800 (PST) Received: from [192.168.1.15] ([122.172.89.248]) by smtp.gmail.com with ESMTPSA id b7sm3450561pfg.53.2017.02.14.17.39.14 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 14 Feb 2017 17:39:15 -0800 (PST) In-Reply-To: <87wpcscsdo.fsf@alphaville.usersys.redhat.com> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: emacs-orgmode@gnu.org ------QJ8RNQLZJ3C87W1SWUOWGCTH1XDJ08 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=UTF-8 On February 15, 2017 4:06:03 AM GMT+05:30, Nick Dokos wrote: >Uwe Brauer writes: > >> Hi >> >> I have an org file which is full of time-stamps from last year stuff >> like <2016-11-14 Sat>. I thought I could easily modify/edit the time >> stamp but I cannot, every time I move the cursor into such a stamp, I >> cannot edit as I wish. It looks as if that entry is somehow blocked. >> >You mean you cannot change it at all? > >> Of course I could switch the mode say to text mode and then edit the >> entry, but what could I do within orgmode? >> >You should be able to change it with ordinary editing commands (it's >just >text, albeit with text properties). Or you could do S- >on >individual fields to change them (that runs org-timestamp-up/down which >knows e.g. to increment the year when the month is incremented from 12 >to >1 and also knows to change the name of the day of the week). > >-- >Nick If custom time format is specified, the time field is not editable in the usual ways like S-up, S-down, or text editing. See if symptoms are like http://orgmode.org/org.html#Custom-time-format. ------QJ8RNQLZJ3C87W1SWUOWGCTH1XDJ08 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 8bit
On February 15, 2017 4:06:03 AM GMT+05:30, Nick Dokos <ndokos@gmail.com> wrote:
Uwe Brauer <oub@mat.ucm.es> writes:

Hi

I have an org file which is full of time-stamps from last year stuff
like <2016-11-14 Sat>. I thought I could easily modify/edit the time
stamp but I cannot, every time I move the cursor into such a stamp, I
cannot edit as I wish. It looks as if that entry is somehow blocked.

You mean you cannot change it at all?

Of course I could switch the mode say to text mode and then edit the
entry, but what could I do wit hin orgmode?

You should be able to change it with ordinary editing commands (it's just
text, albeit with text properties). Or you could do S-<up or S-<down> on
individual fields to change them (that runs org-timestamp-up/down which
knows e.g. to increment the year when the month is incremented from 12 to
1 and also knows to change the name of the day of the week).

If custom time format is specified, the time field is not editable in the usual ways like S-up, S-down, or text editing. See if symptoms are like http://orgmode.org/org.html#Custom-time-format. ------QJ8RNQLZJ3C87W1SWUOWGCTH1XDJ08--