From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: minor option conflict Date: Sun, 22 Feb 2009 18:39:22 +0100 Message-ID: <8002BC46-908B-4B42-8A32-26298A83DC59@uva.nl> References: <20524da70902052144q62ac1ee2mbff7ed3666067acd@mail.gmail.com> <87zlgzw71e.fsf@gollum.intra.norang.ca> <20524da70902102232h6587435etc03bad3226401ffc@mail.gmail.com> Mime-Version: 1.0 (Apple Message framework v930.3) Content-Type: multipart/mixed; boundary="===============1862796733==" Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LbIIc-0007aN-5R for emacs-orgmode@gnu.org; Sun, 22 Feb 2009 12:39:30 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LbIIa-0007Zy-Tg for emacs-orgmode@gnu.org; Sun, 22 Feb 2009 12:39:29 -0500 Received: from [199.232.76.173] (port=50247 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LbIIa-0007Zs-IU for emacs-orgmode@gnu.org; Sun, 22 Feb 2009 12:39:28 -0500 Received: from nf-out-0910.google.com ([64.233.182.187]:55119) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LbIIa-0005Gu-59 for emacs-orgmode@gnu.org; Sun, 22 Feb 2009 12:39:28 -0500 Received: by nf-out-0910.google.com with SMTP id d3so370171nfc.26 for ; Sun, 22 Feb 2009 09:39:27 -0800 (PST) In-Reply-To: <20524da70902102232h6587435etc03bad3226401ffc@mail.gmail.com> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Samuel Wales Cc: Bernt Hansen , emacs-orgmode@gnu.org --===============1862796733== Content-Type: multipart/alternative; boundary=Apple-Mail-1--680875249 --Apple-Mail-1--680875249 Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Hi Samuel, I believe I have fixed this bug now, please confirm. Thanks for insisting and staying on it - sometimes I am not quickly seeing the problem, and then I need pushing. - Carsten On Feb 11, 2009, at 7:32 AM, Samuel Wales wrote: > On Fri, Feb 6, 2009 at 15:10, Bernt Hansen wrote: >> I can't reproduce this either. > > I think you can now. > > Do c-c c on a headline to reproduce. > > Fairly minimal org file: > > #+SEQ_TODO: TODO(t) WAIT(w!) | DONE(d!) > > * sss > * sss > > Fairly minimal .emacs: > > (require 'cl) > > (defun alpha-add-path (p) (setq load-path (cons p load-path))) > > (alpha-add-path (concat (getenv "delorgsrc") "/lisp")) > (alpha-add-path (concat (getenv "delpkgbef") "/remember")) > > (add-to-list 'auto-mode-alist '("\\.org$" . org-mode)) > > (defvar alpha-mac-font > "-apple-courier-medium-r-normal--24-240-72-72-m-240-iso10646-1") > '(progn > (progn > (defconst alpha-mac-font-2 > "-apple-courier-medium-r-normal--*-*-*-*-*-240-*") > (set-frame-font alpha-mac-font-2)) > ) > (set-frame-font alpha-mac-font) > > ;;it seems to me that i never want blank lines ending a body > ;;;(setf org-cycle-separator-lines 0) > (setf org-cycle-separator-lines 1) > ;;keep body indentation intact when promoting and demoting > (setf org-adapt-indentation nil) > > ;;very strange. this gets overridden with time? > ;;;(setq org-log-done t) > (setq org-log-done 'time) > > (require 'org-install) > > (defvar alpha-org-map (make-sparse-keymap "alpha org map")) > (define-key global-map [f8] alpha-org-map) > (define-key alpha-org-map [f8] 'org-remember) ;c-c r > (define-key alpha-org-map "o" 'org-open-at-point-global) ;c-c o > > (require 'remember-autoloads) > (org-remember-insinuate) > > ;;http://mail.google.com/mail/x > (setf org-file-apps > '( > ;;(auto-mode . emacs) > ;;("\\.x?html?\\'" . default) > ;;("\\.pdf\\'" . default) > (t . emacs))) > > (define-key org-mode-map "\C-cc" (lambda () (interactive) (org-todo > "WAIT"))) > >> >> -Bernt >> >> >> Carsten Dominik writes: >> >>> Hi Samuel, >>> >>> I cannot reproduce this. >>> >>> - Carsten >>> >>> On Feb 6, 2009, at 6:44 AM, Samuel Wales wrote: >>> >>>> With org-log-done set to t or 'time and >>>> org-cycle-separator-lines set to 0 or 1, on a node with no >>>> body, org-done inserts a time log item with a blank line after >>>> it. This causes the blank line to show in the collapsed >>>> outline. >>>> >>>> Perhaps org-done could check for the presence of a body >>>> before deciding to insert a blank line. >>>> >>>> -- >>>> For personal and corporate gain, myalgic encephalomyelitis >>>> denialists >>>> are knowingly causing massive suffering and 25-years-early death by >>>> grossly corrupting science. >>>> http://www.meactionuk.org.uk/What_Is_ME_What_Is_CFS.htm >>>> >>>> >>>> _______________________________________________ >>>> Emacs-orgmode mailing list >>>> Remember: use `Reply All' to send replies to the list. >>>> Emacs-orgmode@gnu.org >>>> http://lists.gnu.org/mailman/listinfo/emacs-orgmode >>> >>> >>> >>> _______________________________________________ >>> Emacs-orgmode mailing list >>> Remember: use `Reply All' to send replies to the list. >>> Emacs-orgmode@gnu.org >>> http://lists.gnu.org/mailman/listinfo/emacs-orgmode >> > > > > -- > Myalgic encephalomyelitis denialists are causing massive suffering and > 25-years-early death by grossly corrupting science. > http://www.meactionuk.org.uk/What_Is_ME_What_Is_CFS.htm --Apple-Mail-1--680875249 Content-Type: text/html; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Hi Samuel,

I = believe I have fixed this bug now, please = confirm.

Thanks for insisting and staying on it = - sometimes I am
not quickly seeing the problem, and then I = need pushing.

- = Carsten

On Feb 11, 2009, at 7:32 AM, Samuel = Wales wrote:

On Fri, Feb 6, 2009 = at 15:10, Bernt Hansen <bernt@norang.ca> = wrote:
I can't reproduce this = either.

I think you can now.

Do c-c c on a = headline to reproduce.

Fairly minimal org = file:

#+SEQ_TODO: TODO(t) WAIT(w!) | DONE(d!)

* sss
* = sss

Fairly minimal .emacs:

(require 'cl)

(defun = alpha-add-path (p) (setq load-path (cons p = load-path)))

(alpha-add-path (concat (getenv "delorgsrc") = "/lisp"))
(alpha-add-path (concat (getenv "delpkgbef") = "/remember"))

(add-to-list 'auto-mode-alist '("\\.org$" . = org-mode))

(defvar alpha-mac-font
=  "-apple-courier-medium-r-normal--24-240-72-72-m-240-iso10646-1")
= '(progn
 (progn
   (defconst = alpha-mac-font-2
=      "-apple-courier-medium-r-normal--*-*-*-*-*-2= 40-*")
   (set-frame-font alpha-mac-font-2))
=  )
(set-frame-font alpha-mac-font)

;;it seems to me that = i never want blank lines ending a body
;;;(setf = org-cycle-separator-lines 0)
(setf org-cycle-separator-lines = 1)
;;keep body indentation intact when promoting and = demoting
(setf org-adapt-indentation nil)

;;very strange. =  this gets overridden with time?
;;;(setq org-log-done = t)
(setq org-log-done 'time)

(require = 'org-install)

(defvar alpha-org-map (make-sparse-keymap "alpha = org map"))
(define-key global-map [f8] alpha-org-map)
(define-key = alpha-org-map [f8] 'org-remember) =             ;c= -c r
(define-key alpha-org-map "o" 'org-open-at-point-global) ;c-c = o

(require = 'remember-autoloads)
(org-remember-insinuate)

;;http://mail.google.com/mail/x(setf org-file-apps
     '(
= ;;(auto-mode . emacs)
;;("\\.x?html?\\'" . = default)
= ;;("\\.pdf\\'" . default)
(t . emacs)))

(define-key = org-mode-map "\C-cc" (lambda () (interactive) (org-todo = "WAIT")))


-Bernt


Carsten Dominik = <dominik@science.uva.nl> = writes:

Hi Samuel,

I cannot reproduce = this.

- = Carsten

On Feb 6, 2009, at 6:44 AM, = Samuel Wales wrote:

With = org-log-done set to t or 'time = and
org-cycle-separator-lines set to 0 or 1, on a node with = no
body, = org-done inserts a time log item with a blank line = after
it. =  This causes the blank line to show in the = collapsed
outline.

Perhaps = org-done could check for the presence of a = body
before = deciding to insert a blank = line.

--
For = personal and corporate gain, myalgic encephalomyelitis = denialists
are = knowingly causing massive suffering and 25-years-early death = by
grossly = corrupting = science.
http://ww= w.meactionuk.org.uk/What_Is_ME_What_Is_CFS.htm


_______________________________________________
Emacs-orgmode mailing = list
Remember: use `Reply All' to send replies to the = list.
Emacs-orgmode@gnu.org
http://lists.= gnu.org/mailman/listinfo/emacs-orgmode



_______________________________________________
Emacs-orgmode mailing = list
Remember: use `Reply All' to send replies to the = list.
Emacs-orgmode@gnu.org
http://lists.= gnu.org/mailman/listinfo/emacs-orgmode




--
Myalgic = encephalomyelitis denialists are causing massive suffering = and
25-years-early death by grossly corrupting science.
http://ww= w.meactionuk.org.uk/What_Is_ME_What_Is_CFS.htm
<= /div>
= --Apple-Mail-1--680875249-- --===============1862796733== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode --===============1862796733==--