* ascii export of links to notes broken? @ 2009-05-17 5:56 Samuel Wales 2009-05-17 21:24 ` Carsten Dominik 0 siblings, 1 reply; 9+ messages in thread From: Samuel Wales @ 2009-05-17 5:56 UTC (permalink / raw) To: emacs-orgmode I just tried exporting to ascii using latest git. Links showed as just the labels. Thanks. -- 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 ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: ascii export of links to notes broken? 2009-05-17 5:56 ascii export of links to notes broken? Samuel Wales @ 2009-05-17 21:24 ` Carsten Dominik 2009-05-17 21:43 ` Samuel Wales 0 siblings, 1 reply; 9+ messages in thread From: Carsten Dominik @ 2009-05-17 21:24 UTC (permalink / raw) To: Samuel Wales; +Cc: emacs-orgmode On May 17, 2009, at 7:56 AM, Samuel Wales wrote: > I just tried exporting to ascii using latest git. Links showed as > just the labels. What is the value of `org-export-ascii-links-to-notes' ? Also, please pull again, there was a minor bug. - Carsten > > Thanks. > > -- > 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 > > > _______________________________________________ > 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 ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: ascii export of links to notes broken? 2009-05-17 21:24 ` Carsten Dominik @ 2009-05-17 21:43 ` Samuel Wales 2009-05-17 22:03 ` Carsten Dominik 0 siblings, 1 reply; 9+ messages in thread From: Samuel Wales @ 2009-05-17 21:43 UTC (permalink / raw) To: Carsten Dominik; +Cc: emacs-orgmode Hi Carsten, On Sun, May 17, 2009 at 14:24, Carsten Dominik <carsten.dominik@gmail.com> wrote: > What is the value of `org-export-ascii-links-to-notes' ? t > > Also, please pull again, there was a minor bug. Didn't fix it. Thanks. -- 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 ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: ascii export of links to notes broken? 2009-05-17 21:43 ` Samuel Wales @ 2009-05-17 22:03 ` Carsten Dominik 2009-05-17 22:33 ` Samuel Wales 0 siblings, 1 reply; 9+ messages in thread From: Carsten Dominik @ 2009-05-17 22:03 UTC (permalink / raw) To: Samuel Wales; +Cc: emacs-orgmode Please make an example file.... - Carsten On May 17, 2009, at 11:43 PM, Samuel Wales wrote: > Hi Carsten, > > On Sun, May 17, 2009 at 14:24, Carsten Dominik > <carsten.dominik@gmail.com> wrote: >> What is the value of `org-export-ascii-links-to-notes' ? > > t > >> >> Also, please pull again, there was a minor bug. > > Didn't fix it. > > Thanks. > > -- > 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 ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: ascii export of links to notes broken? 2009-05-17 22:03 ` Carsten Dominik @ 2009-05-17 22:33 ` Samuel Wales 2009-05-18 5:30 ` Carsten Dominik 0 siblings, 1 reply; 9+ messages in thread From: Samuel Wales @ 2009-05-17 22:33 UTC (permalink / raw) To: Carsten Dominik; +Cc: emacs-orgmode 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"))) ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: ascii export of links to notes broken? 2009-05-17 22:33 ` Samuel Wales @ 2009-05-18 5:30 ` Carsten Dominik 2009-05-18 17:05 ` Samuel Wales 0 siblings, 1 reply; 9+ messages in thread From: Carsten Dominik @ 2009-05-18 5:30 UTC (permalink / raw) To: Samuel Wales; +Cc: emacs-orgmode 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"))) ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: ascii export of links to notes broken? 2009-05-18 5:30 ` Carsten Dominik @ 2009-05-18 17:05 ` Samuel Wales 2009-05-19 6:24 ` Carsten Dominik 0 siblings, 1 reply; 9+ messages in thread From: Samuel Wales @ 2009-05-18 17:05 UTC (permalink / raw) To: Carsten Dominik; +Cc: emacs-orgmode === #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 <carsten.dominik@gmail.com> 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 ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: ascii export of links to notes broken? 2009-05-18 17:05 ` Samuel Wales @ 2009-05-19 6:24 ` Carsten Dominik 2009-05-19 15:01 ` Samuel Wales 0 siblings, 1 reply; 9+ messages in thread From: Carsten Dominik @ 2009-05-19 6:24 UTC (permalink / raw) To: Samuel Wales; +Cc: emacs-orgmode 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 > <carsten.dominik@gmail.com> 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 ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: ascii export of links to notes broken? 2009-05-19 6:24 ` Carsten Dominik @ 2009-05-19 15:01 ` Samuel Wales 0 siblings, 0 replies; 9+ messages in thread From: Samuel Wales @ 2009-05-19 15:01 UTC (permalink / raw) To: Carsten Dominik; +Cc: emacs-orgmode Confirmed. Thank you. On 2009-05-18, Carsten Dominik <carsten.dominik@gmail.com> wrote: > 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 >> <carsten.dominik@gmail.com> 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 > > -- 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 ^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2009-05-19 15:01 UTC | newest] Thread overview: 9+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2009-05-17 5:56 ascii export of links to notes broken? Samuel Wales 2009-05-17 21:24 ` Carsten Dominik 2009-05-17 21:43 ` Samuel Wales 2009-05-17 22:03 ` Carsten Dominik 2009-05-17 22:33 ` Samuel Wales 2009-05-18 5:30 ` Carsten Dominik 2009-05-18 17:05 ` Samuel Wales 2009-05-19 6:24 ` Carsten Dominik 2009-05-19 15:01 ` Samuel Wales
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).