From mboxrd@z Thu Jan 1 00:00:00 1970 From: Samuel Wales Subject: Re: ascii export of links to notes broken? Date: Tue, 19 May 2009 08:01:15 -0700 Message-ID: <20524da70905190801i3461c777i307d8550df90cd0@mail.gmail.com> References: <20524da70905162256r7d87090fv3302d51fd5e8f33e@mail.gmail.com> <5271393A-FC47-412B-A1AB-DF6B4A533379@gmail.com> <20524da70905171443w434f9261o136d4e73ebeb180e@mail.gmail.com> <3D9BFCC2-74FE-44AE-A492-ABAA373BF199@gmail.com> <20524da70905171533t3dd5453et97346485e5e57d79@mail.gmail.com> <20524da70905181005o3d9b205h5749449a91a09d7f@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1M6Qoo-0006yX-Gy for emacs-orgmode@gnu.org; Tue, 19 May 2009 11:01:26 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1M6Qoi-0006ru-MZ for emacs-orgmode@gnu.org; Tue, 19 May 2009 11:01:25 -0400 Received: from [199.232.76.173] (port=56917 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1M6Qoi-0006rl-HX for emacs-orgmode@gnu.org; Tue, 19 May 2009 11:01:20 -0400 Received: from wa-out-1112.google.com ([209.85.146.177]:48776) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1M6Qoh-00065B-SH for emacs-orgmode@gnu.org; Tue, 19 May 2009 11:01:20 -0400 Received: by wa-out-1112.google.com with SMTP id m34so1105750wag.26 for ; Tue, 19 May 2009 08:01:18 -0700 (PDT) In-Reply-To: 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: Carsten Dominik Cc: emacs-orgmode@gnu.org Confirmed. Thank you. On 2009-05-18, Carsten Dominik 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 >> 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