emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Samuel Wales <samologist@gmail.com>
To: cesar mena <cesar.mena@gmail.com>
Cc: emacs-orgmode <emacs-orgmode@gnu.org>,
	Nicolas Goaziou <mail@nicolasgoaziou.fr>
Subject: Re: [bug] timed repeater shows up in wrong place
Date: Wed, 9 Nov 2016 11:44:45 -0700	[thread overview]
Message-ID: <CAJcAo8vueW1YTE3gDgPonqck0QQO-+jHv+XkQpw1JW9-mDCWuw@mail.gmail.com> (raw)
In-Reply-To: <87inrxo5yt.fsf@cmena.pobox.com>

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

On 11/8/16, cesar mena <cesar.mena@gmail.com> wrote:
> i just tried this on maint, and it does show up in the time grid as
> well.

are you running it with today only in the agenda?  i.e. not weekly.

i am still getting the bug in org maint, with debian jessie emacs 24.4.1.

here is the mce.

i did:

put this in $dorg/computer--a.org (loaded in my testcase)

*********** NEXT xyzzy test (make this be a date that is before today;
it should show up in agenda time grid)
SCHEDULED: <2016-11-07 Mon 17:00>

cd to $delorgsrc
put head on maint
confirm status is clean
make cleanall
make oldorg
run my testcase (attached)
  -Q
  shows today only in agenda

result:

what it shows is the task with 3x (i.e. scheduled section, not time grid)
  this is the bug

interestingly, if i run org-agenda a, which shows a whole week
  then the same, single task shows in TWO places
    time grid
    scheduled section

-- 
The Kafka Pandemic: http://thekafkapandemic.blogspot.com

The disease DOES progress.  MANY people have died from it.  And
ANYBODY can get it.

Denmark: free Karina Hansen NOW.
  UPDATE 2016-10: home, but not fully free

[-- Attachment #2: alpha-org-testcase.el --]
[-- Type: text/x-emacs-lisp, Size: 3663 bytes --]

;;;
;;; alpha-org-testcase.el
;;;
;;; minimal testcase for org
;;;
;;; to run as you, do this:
;;;
;;;   dorg=your-org-data-dir \
;;;       delorgsrc=your-org-src-dir \
;;;       emacs -Q -l alpha-org-testcase.el
;;;
;;; for my use i do something like this for accessibility:
;;;
"
account eot

which is basically:

mep=t eq -l $del/tests-and-publish/alpha-org-testcase.el $dorg/tests--org--xyzzy-big/export-and-id.org

mep=t emacs -Q --geometry 60x30+0+0 -l $del/tests-and-publish/alpha-org-testcase.el $dorg/tests--org--xyzzy-big/export-and-id.org
"
;;;

;;; nyi
;;;       delorgcontrib=your-org-src-contrib-dir \

(require 'cl)

;;my org files use these
(setq org-odd-levels-only t)
;; (setf org-export-initial-scope 'subtree)

;;fix abominations
(blink-cursor-mode 0)
(setf visible-bell 'top-bottom)

;;basics
(defun alpha-add-path (p) (setq load-path (cons p load-path)))
(alpha-add-path (concat (getenv "delorgsrc") "/lisp"))
(add-to-list 'auto-mode-alist '("\\.org$" . org-mode))
(require 'org-install)


;;;
;;;stuff make things easier
;;;

(ido-mode t)
(setf org-outline-path-complete-in-steps nil)

;;;
;;;accessibility fixes
;;;

(defun p ()
  (interactive)
  (message "fixing pop-up-windows")
  ;;i have /pop-up-windows/ set to nil, which works for most of
  ;;emacs.  for org, i do the following.  i need all of this just
  ;;as i need the large font above for accessibility reasons.
  ;;
  ;;(setf (cdr (assoc* 'file org-link-frame-setup)) 'find-file)
  (pushnew '(file . find-file) org-link-frame-setup :test #'equal)
  ;;it might be nice to have a 'dedicated-buffer option
  (setf org-indirect-buffer-display 'current-window)
  ;;could make pop kill the buffer
;;;(setf org-display-internal-link-with-indirect-buffer t)
  (setf org-src-window-setup 'current-window)
  (add-hook 'org-capture-mode-hook 'delete-other-windows)
  (defadvice org-agenda-set-tags (around fix-windows activate compile)
    "Restore windows."
    (save-window-excursion
      ad-do-it))
  (defadvice org-export (after fix-windows activate compile)
    "Delete other windows after every export."
    (delete-other-windows))

  (setf pop-up-windows nil)

  ;;for emacs i do this
  
  (add-to-list 'same-window-regexps "\\*Customize.*") ;notwork?
  (setf Man-notify-method 'pushy)
  (add-to-list 'same-window-regexps "\\*Man .*") ;notwork
  (add-to-list 'same-window-regexps "\\*.*\\*")
  (add-to-list 'same-window-buffer-names "*Remember*")
  (add-to-list 'same-window-buffer-names "*Help*")
  (add-to-list 'same-window-buffer-names "*Apropos*")
  (add-to-list 'same-window-buffer-names "*Summary*")
  (add-to-list 'same-window-buffer-names "*Compile-Log*")
  (add-to-list 'same-window-buffer-names "*Ibuffer*")
  (add-to-list 'same-window-buffer-names " *Ibuffer*")
  (message "done fixing pop-up-windows"))
(when (getenv "mep")
  ;;it is i
  (defconst alpha-alpha-p t)
  (require 'org)
  (p)
  ;;necessary for large fonts
  (scroll-bar-mode -1))

;;;
;;;basic org features likely to affect many bug reports
;;;

(setq org-todo-keywords
      '((type  "NAKA(i)" "TODO(T)" "MAYBE(y)" "DOUBTFUL(l)"
         "|"
         "MOOT(m)")))

(setq org-agenda-files
      (mapcar #'file-truename
          ;;this is like a file-expand-regexp
          (directory-files (getenv "dorg")
                           ;;full pathname
                           t
                           ;;cloned indirect buffers create dot
                           ;;files
                           "^[^.#]+--a\\.org$")))

(setq org-agenda-window-setup 'current-window)

;;;
;;; do the actual thing being tested
;;;

(org-agenda-list nil nil 1)
;; (search-forward "xyzzy test")
(occur "xyzzy test")

  parent reply	other threads:[~2016-11-09 18:44 UTC|newest]

Thread overview: 41+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-11-07 22:44 [bug] timed repeater shows up in wrong place Samuel Wales
2016-11-08 22:41 ` Nicolas Goaziou
2016-11-08 23:13   ` Samuel Wales
2016-11-08 23:33     ` Nicolas Goaziou
2016-11-09  0:43       ` Samuel Wales
     [not found]       ` <87inrxo5yt.fsf@cmena.pobox.com>
2016-11-09 18:44         ` Samuel Wales [this message]
     [not found]           ` <87a8d8o0rv.fsf@cmena.pobox.com>
2016-11-09 21:52             ` Samuel Wales
     [not found]               ` <877f8cnsea.fsf@cmena.pobox.com>
2016-11-09 23:35                 ` Samuel Wales
     [not found]                   ` <87k2cbpito.fsf@cmena.pobox.com>
2016-11-10 18:15                     ` Samuel Wales
2016-11-10 19:48                       ` cesar mena
2016-11-11 10:13               ` Nicolas Goaziou
2016-11-11 19:12                 ` Samuel Wales
2016-11-13 17:21                   ` Nicolas Goaziou
2016-11-13 19:38                     ` Samuel Wales
2016-11-13 23:32                       ` Nicolas Goaziou
2016-11-16 19:26                         ` Samuel Wales
2016-11-25  0:57                           ` Nicolas Goaziou
2016-11-25  1:07                             ` Samuel Wales
2016-11-25  7:40                               ` Nicolas Goaziou
2016-11-25 22:09                                 ` Samuel Wales
2016-11-26 10:38                                   ` Nicolas Goaziou
2016-11-27  2:19                                     ` Samuel Wales
2016-11-27 11:15                                       ` Nicolas Goaziou
2016-11-27 18:59                                         ` Samuel Wales
2016-11-28  0:39                                           ` Nicolas Goaziou
2016-11-28  3:22                                             ` Samuel Wales
2016-11-28  7:34                                               ` Nicolas Goaziou
2016-11-28 22:20                                                 ` Samuel Wales
2016-11-28 22:44                                                   ` Samuel Wales
2016-12-02 21:44                                                   ` cesar mena
2016-12-02 22:26                                                     ` Nicolas Goaziou
2016-12-02 23:08                                                       ` cesar mena
2016-12-02 23:55                                                         ` Samuel Wales
2016-12-03 22:47                                                   ` Nicolas Goaziou
2016-12-04  0:31                                                     ` cesar mena
2016-12-04  8:56                                                       ` Nicolas Goaziou
2016-12-04 12:46                                                         ` cesar mena
2016-12-04 21:27                                                     ` Samuel Wales
2016-12-06 11:46                                                       ` Nicolas Goaziou
  -- strict thread matches above, loose matches on Subject: below --
2016-11-28 13:28 cesar mena
2016-11-28 22:32 ` Samuel Wales

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=CAJcAo8vueW1YTE3gDgPonqck0QQO-+jHv+XkQpw1JW9-mDCWuw@mail.gmail.com \
    --to=samologist@gmail.com \
    --cc=cesar.mena@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=mail@nicolasgoaziou.fr \
    /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).