emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nick Dokos <nicholas.dokos@hp.com>
To: Sean Lynch <lynchseanm@gmail.com>
Cc: Jude DaShiell <jdashiel@shellworld.net>, emacs-orgmode@gnu.org
Subject: Re: Problem inserting date
Date: Mon, 12 Nov 2012 18:55:42 -0500	[thread overview]
Message-ID: <8573.1352764542@alphaville.americas.hpqcorp.net> (raw)
In-Reply-To: Message from Sean Lynch <lynchseanm@gmail.com> of "Mon, 12 Nov 2012 18:28:13 EST." <50A1860D.8010903@gmail.com>

Sean Lynch <lynchseanm@gmail.com> wrote:

> 
> 
> On 11/12/2012 06:13 PM, Jude DaShiell wrote:
> > On Mon, 12 Nov 2012, Sean Lynch wrote:
> > 
> >> I start with the following orgmode file called org-test.org:
> >>
> >> ---beginning of org-test.org -------
> >>
> >> * test
> >> ** TODO test add date
> >> ** testing
> >>
> >> ---end of org-test.org ------------
> >>
> >> I put the cursor at the end of the first subheading under "test" and hit
> >> C-c C-d to insert a date.
> >>

C-c C-d is bound to org-deadline by default. Do C-h c C-c C-d and make sure that
this is true in your case as well.

> >> The entire file is replaced with the calendar (instead of this coming up
> >> in a new buffer).
> >>
> >> ---beginning of org-test.org -------
> >>          October 2012            November 2012            December 2012
> >>      Su Mo Tu We Th Fr Sa     Su Mo Tu We Th Fr Sa     Su Mo Tu We Th Fr Sa
> >>          1  2  3  4  5  6                  1  2  3                        1
> >>       7  8  9 10 11 12 13      4  5  6  7  8  9 10      2  3  4  5  6  7  8
> >>      14 15 16 17 18 19 20     11 12 13 14 15 16 17      9 10 11 12 13 14 15
> >>      21 22 23 24 25 26 27     18 19 20 21 22 23 24     16 17 18 19 20 21 22
> >>      28 29 30 31 	      25 26 27 28 29 30        23 24 25 26 27 28 29
> >> 						       30 31
> >> ---end of org-test.org ------------
> >>

I cannot reproduce this with

Org-mode version 7.9.2 (release_7.9.2-577-gb0a051 @ /home/nick/elisp/org-mode/lisp/)

and it sounds as if something is really broken in your setup (e.g. C-c C-d is
bound to something strange).

> >> The mini buffer gives me the standard prompt to choose the date but when
> >> I do, the original file doesn't come back and is still replaced with the
> >> calendar.
> >> The following message is produced:
> >> byte-code: Before first headline at position 1 in buffer org-test.org.
> >>

You should be able to get a backtrace then by doing M-x toggle-debug-on-error
and retrying the problematic command.

Nick

> >> I read a post that seemed to suggest that this is related to org-goto
> >> and the value of org-goto-interface but changing that value doesn't help.
> >>
> >> Emacs  : GNU Emacs 24.2.1 (x86_64-pc-linux-gnu, GTK+ Version 2.24.10)
> >>  of 2012-11-05 on litembilla, modified by Debian
> >> Package: Org-mode version 7.9.2 (release_7.9.2-581-gaaf179 @
> >> /home/slynch/.emacs.d/el-get/org-mode/lisp/)
> >>
> >>
> > 
> > ---------------------------------------------------------------------------
> > jude <jdashiel@shellworld.net>
> > Adobe fiend for failing to Flash
> > 
> > Do it again, and notice today is highlighted.  Hit enter or click the 
> > mouse and the highlighted date should appear in your file and the calendar 
> > will disappear.
> > 
> 
> No. As I mentioned, the original file doesn't come back. It is replaced
> by the calendar and after I choose the date the calendar stays there,
> replacing the contents of the original file... And the error message is
> produced.
> 
> Also, even if the original file did come back after choosing the date,
> this is not the correct behaviour. The calendar should open in a new buffer.
> 

  parent reply	other threads:[~2012-11-12 23:55 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-11-12 18:19 Problem inserting date Sean Lynch
2012-11-12 23:13 ` Jude DaShiell
2012-11-12 23:28   ` Sean Lynch
2012-11-12 23:44     ` Jude DaShiell
2012-11-12 23:55     ` Nick Dokos [this message]
2012-11-13  1:15       ` Sean Lynch
2012-11-13  3:10         ` Jude DaShiell
2012-11-13  5:47         ` Nick Dokos

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=8573.1352764542@alphaville.americas.hpqcorp.net \
    --to=nicholas.dokos@hp.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=jdashiel@shellworld.net \
    --cc=lynchseanm@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).