emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* modify/edit a org-time-stamp
@ 2017-02-14 21:39 Uwe Brauer
  2017-02-14 22:36 ` Nick Dokos
  0 siblings, 1 reply; 9+ messages in thread
From: Uwe Brauer @ 2017-02-14 21:39 UTC (permalink / raw)
  To: emacs-orgmode

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.

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

Thanks

Uwe Brauer 

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: modify/edit a org-time-stamp
  2017-02-14 21:39 modify/edit a org-time-stamp Uwe Brauer
@ 2017-02-14 22:36 ` Nick Dokos
  2017-02-15  1:43   ` Bingo
  0 siblings, 1 reply; 9+ messages in thread
From: Nick Dokos @ 2017-02-14 22:36 UTC (permalink / raw)
  To: emacs-orgmode

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 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-<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).

-- 
Nick

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: modify/edit a org-time-stamp
  2017-02-14 22:36 ` Nick Dokos
@ 2017-02-15  1:43   ` Bingo
  2017-02-16 11:18     ` Uwe Brauer
       [not found]     ` <a4c4a772e52a43aa8a2f056641be6a05@HE1PR01MB1898.eurprd01.prod.exchangelabs.com>
  0 siblings, 2 replies; 9+ messages in thread
From: Bingo @ 2017-02-15  1:43 UTC (permalink / raw)
  To: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 1152 bytes --]

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 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-<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).
>
>-- 
>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.

[-- Attachment #2: Type: text/html, Size: 1796 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: modify/edit a org-time-stamp
  2017-02-15  1:43   ` Bingo
@ 2017-02-16 11:18     ` Uwe Brauer
  2017-02-16 14:53       ` Nick Dokos
       [not found]     ` <a4c4a772e52a43aa8a2f056641be6a05@HE1PR01MB1898.eurprd01.prod.exchangelabs.com>
  1 sibling, 1 reply; 9+ messages in thread
From: Uwe Brauer @ 2017-02-16 11:18 UTC (permalink / raw)
  To: emacs-orgmode


   > On February 15, 2017 4:06:03 AM GMT+05:30, Nick Dokos <ndokos@gmail.com> wrote:

   > 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.

Thanks very much for pointing this out to me.  This is precisely my
situation. I see what I can do, maybe I turn customization off.

Uwe 

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: modify/edit a org-time-stamp
       [not found]     ` <a4c4a772e52a43aa8a2f056641be6a05@HE1PR01MB1898.eurprd01.prod.exchangelabs.com>
@ 2017-02-16 13:49       ` Eric S Fraga
  2017-02-16 15:42         ` Uwe Brauer
       [not found]         ` <646649b2a80b4d189e367330fdb33868@HE1PR01MB1898.eurprd01.prod.exchangelabs.com>
  0 siblings, 2 replies; 9+ messages in thread
From: Eric S Fraga @ 2017-02-16 13:49 UTC (permalink / raw)
  To: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 532 bytes --]

On Thursday, 16 Feb 2017 at 11:18, Uwe Brauer wrote:
> Thanks very much for pointing this out to me.  This is precisely my
> situation. I see what I can do, maybe I turn customization off.

I ended up turning customisation of timestamp presentation off as it was
just too annoying for just this reason.  Pity but understandable as the
customisations allowed are too general to provide a consistent interface
for adjustments, I would guess.

-- 
: Eric S Fraga (0xFFFCF67D), Emacs 26.0.50.1, Org release_9.0.4-242-g2c27b8

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 194 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: modify/edit a org-time-stamp
  2017-02-16 11:18     ` Uwe Brauer
@ 2017-02-16 14:53       ` Nick Dokos
  2017-02-16 16:23         ` Uwe Brauer
  0 siblings, 1 reply; 9+ messages in thread
From: Nick Dokos @ 2017-02-16 14:53 UTC (permalink / raw)
  To: emacs-orgmode

Uwe Brauer <oub@mat.ucm.es> writes:

>    > On February 15, 2017 4:06:03 AM GMT+05:30, Nick Dokos <ndokos@gmail.com> wrote:
>
>    > 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.
>
> Thanks very much for pointing this out to me.  This is precisely my
> situation. I see what I can do, maybe I turn customization off.
>

If I had known about custom time formats, maybe I *would* have pointed
that out to you ;-), but I didn't (I've never used them): it was Bingo
<right.ho@gmail.com> who divined the cause of your problem.

-- 
Nick

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: modify/edit a org-time-stamp
  2017-02-16 13:49       ` Eric S Fraga
@ 2017-02-16 15:42         ` Uwe Brauer
       [not found]         ` <646649b2a80b4d189e367330fdb33868@HE1PR01MB1898.eurprd01.prod.exchangelabs.com>
  1 sibling, 0 replies; 9+ messages in thread
From: Uwe Brauer @ 2017-02-16 15:42 UTC (permalink / raw)
  To: emacs-orgmode

>>> "Eric" == Eric S Fraga <e.fraga@ucl.ac.uk> writes:

   > On Thursday, 16 Feb 2017 at 11:18, Uwe Brauer wrote:
   >> Thanks very much for pointing this out to me.  This is precisely my
   >> situation. I see what I can do, maybe I turn customization off.

   > I ended up turning customisation of timestamp presentation off as it was
   > just too annoying for just this reason.  Pity but understandable as the
   > customisations allowed are too general to provide a consistent interface
   > for adjustments, I would guess.

I found out that  org-toggle-time-stamp-overlays is a very good
solution, I toggle the overlay off, edit and toggle it on.

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: modify/edit a org-time-stamp
  2017-02-16 14:53       ` Nick Dokos
@ 2017-02-16 16:23         ` Uwe Brauer
  0 siblings, 0 replies; 9+ messages in thread
From: Uwe Brauer @ 2017-02-16 16:23 UTC (permalink / raw)
  To: emacs-orgmode


   > Uwe Brauer <oub@mat.ucm.es> writes:

   > If I had known about custom time formats, maybe I *would* have pointed
   > that out to you ;-), but I didn't (I've never used them): it was Bingo
   > <right.ho@gmail.com> who divined the cause of your problem.

Right. I hit the reply message on the wrong message, sorry Bingo and
thanks again.

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: modify/edit a org-time-stamp
       [not found]         ` <646649b2a80b4d189e367330fdb33868@HE1PR01MB1898.eurprd01.prod.exchangelabs.com>
@ 2017-02-16 17:15           ` Eric S Fraga
  0 siblings, 0 replies; 9+ messages in thread
From: Eric S Fraga @ 2017-02-16 17:15 UTC (permalink / raw)
  To: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 386 bytes --]

On Thursday, 16 Feb 2017 at 15:42, Uwe Brauer wrote:
> I found out that  org-toggle-time-stamp-overlays is a very good
> solution, I toggle the overlay off, edit and toggle it on.

Ah, of course org would have such a solution.  I didn't even think that
would be possible.  Sigh.

Thanks,
eric

-- 
: Eric S Fraga (0xFFFCF67D), Emacs 26.0.50.1, Org release_9.0.4-242-g2c27b8

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 194 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2017-02-16 21:51 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-02-14 21:39 modify/edit a org-time-stamp Uwe Brauer
2017-02-14 22:36 ` Nick Dokos
2017-02-15  1:43   ` Bingo
2017-02-16 11:18     ` Uwe Brauer
2017-02-16 14:53       ` Nick Dokos
2017-02-16 16:23         ` Uwe Brauer
     [not found]     ` <a4c4a772e52a43aa8a2f056641be6a05@HE1PR01MB1898.eurprd01.prod.exchangelabs.com>
2017-02-16 13:49       ` Eric S Fraga
2017-02-16 15:42         ` Uwe Brauer
     [not found]         ` <646649b2a80b4d189e367330fdb33868@HE1PR01MB1898.eurprd01.prod.exchangelabs.com>
2017-02-16 17:15           ` Eric S Fraga

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).