emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Orgmode] ascii export of links to notes broken?


From: Carsten Dominik
Subject: Re: [Orgmode] ascii export of links to notes broken?
Date: Tue, 19 May 2009 08:24:14 +0200

Hi Samuel,

now I can reproduce the problem.

It happens because you are marking exactly a subtree,
and the headline of the subtree becomes the *title* of
the exported, and indeed, links in titles are not formatted
correctly - the same is true for HTML export.

A worg-around would be to start the region *before* the headline,
then it will not be accepted as exactly one subtree and the
headline will just become a headline, not a title.

HTH

- Carsten

On May 18, 2009, at 7:05 PM, Samuel Wales wrote:

===
#this is a comment because of a vague recollection that the
#first line isn't supposed to be a headline.  has that been
#fixed?

* this is a headline with a link. [[http://google.com][a search engine]]
this is body text.  i put point on the headline at bol, then
do c-spc c-spc down down down down c-c c-e A and it fails by
not including notes.
* this is how i ran it
emacs -Q --load ~/el/tests-and-publish/org-testcase.el
* more notes
transient-mark-mode is nil
===

That is the exact buffer.  The exact range is as described with the
keystrokes.  The exact command is c-c c-e A.

HIH

On Sun, May 17, 2009 at 22:30, Carsten Dominik
<address@hidden> wrote:
Can you please send me the exact buffer you are using, the exact range that
is covered by the active region, and the command you then use?

So far I have not been abe to reproduce what you are saying.

- Carsten

On May 18, 2009, at 12:33 AM, Samuel Wales wrote:

The bug occurs when the region is active.  It does not occur when I
have a file dedicated to the subtree, mark a region, but don't have an active region (transient-mark-mode is off). When I do the latter but
it is part of a larger file there is a wrong type argument error.


*** [[http://google.com][hi]]
text


Here is a 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)
;;;(setf org-cycle-separator-lines 2)
;;keep body indentation intact when promoting and demoting
(setf org-adapt-indentation nil)
;;;(setf org-adapt-indentation t)

;;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")))





--
Myalgic encephalomyelitis denialism is causing death and severe suffering worse than MS. Conflicts of interest are destroying research. / You/ can get the disease at any time permanently. Do science and justice matter to
you?  Posters: 
http://www.mefreeforall.org/fileadmin/PDFs/ME_Awareness_Posters_2009.pdf
Overview: http://www.meactionuk.org.uk/What_Is_ME_What_Is_CFS.htm





reply via email to

[Prev in Thread] Current Thread [Next in Thread]