emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* sitemap seems to cache old #+TITLE
@ 2011-03-18  4:58 lbmlist
  2011-03-18  6:38 ` iemacs
  2011-03-19 23:42 ` Bastien
  0 siblings, 2 replies; 10+ messages in thread
From: lbmlist @ 2011-03-18  4:58 UTC (permalink / raw)
  To: emacs-orgmode


At one point in the recent past I had a file org.org with
#+TITLE: LBM TCH KB Org

Eventually I changed it to be
#+TITLE: KBorg

no matter what I do, the generated sitemap pick up the old title.

Is this cached somewhere? and how do I get it to change?

Thanks in advance,

Louis

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: sitemap seems to cache old #+TITLE
  2011-03-18  4:58 sitemap seems to cache old #+TITLE lbmlist
@ 2011-03-18  6:38 ` iemacs
  2011-03-18 19:34   ` lbmlist
  2011-03-19 23:42 ` Bastien
  1 sibling, 1 reply; 10+ messages in thread
From: iemacs @ 2011-03-18  6:38 UTC (permalink / raw)
  To: lbmlist; +Cc: emacs-orgmode

Hi Louis,

After modifying #+TITLE, you should press C-c C-c to tell orgmode the
title part has been changed.

On Fri, Mar 18, 2011 at 12:58 PM,  <lbmlist@hethcote.com> wrote:
>
> At one point in the recent past I had a file org.org with
> #+TITLE: LBM TCH KB Org
>
> Eventually I changed it to be
> #+TITLE: KBorg
>
> no matter what I do, the generated sitemap pick up the old title.
>
> Is this cached somewhere? and how do I get it to change?
>
> Thanks in advance,
>
> Louis
>
>



-- 
Kind regards,

Tian Qiu

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: sitemap seems to cache old #+TITLE
  2011-03-18  6:38 ` iemacs
@ 2011-03-18 19:34   ` lbmlist
  2011-03-18 19:50     ` Nick Dokos
  0 siblings, 1 reply; 10+ messages in thread
From: lbmlist @ 2011-03-18 19:34 UTC (permalink / raw)
  To: emacs-orgmode


That didn't seem to do it.

This is GNU Emacs 23.2.1 on a debian squeeze system. Org-mode is 7.4.

I created a short file newb.org which reads in total:
--------------------------------------------------
#+TITLE: A Newb Title

* and that's it
--------------------------------------------------

I publish the project to html and my sitemap has

  + [[file:newb.org][A Newb Title]]

in it. Next I change newb.org to read
--------------------------------------------------
#+TITLE: Just A Newb

* and that's it
--------------------------------------------------
Then C-x C-s C-c C-c C-c C-e P

and sitemap the same

  + [[file:newb.org][A Newb Title]]

in it.

I can rm the sitemap.org and sitemap.html and C-c C-e P again and still
get the old information.

I'm sure I'm missing something simple but I'll be darned if I can find it.


TIA and Help!

Louis



On Fri, 18 Mar 2011, iemacs@gmail.com wrote:

> Hi Louis,
>
> After modifying #+TITLE, you should press C-c C-c to tell orgmode the
> title part has been changed.
>
> On Fri, Mar 18, 2011 at 12:58 PM,  <lbmlist@hethcote.com> wrote:
>>
>> At one point in the recent past I had a file org.org with
>> #+TITLE: LBM TCH KB Org
>>
>> Eventually I changed it to be
>> #+TITLE: KBorg
>>
>> no matter what I do, the generated sitemap pick up the old title.
>>
>> Is this cached somewhere? and how do I get it to change?
>>
>> Thanks in advance,
>>
>> Louis
>>
>>
>
>
>
> -- 
> Kind regards,
>
> Tian Qiu
>
>

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: sitemap seems to cache old #+TITLE
  2011-03-18 19:34   ` lbmlist
@ 2011-03-18 19:50     ` Nick Dokos
  2011-03-19  3:13       ` lbmlist
  0 siblings, 1 reply; 10+ messages in thread
From: Nick Dokos @ 2011-03-18 19:50 UTC (permalink / raw)
  To: lbmlist; +Cc: nicholas.dokos, emacs-orgmode

lbmlist@hethcote.com wrote:

> 
> That didn't seem to do it.
> 
> This is GNU Emacs 23.2.1 on a debian squeeze system. Org-mode is 7.4.
> 
> I created a short file newb.org which reads in total:
> --------------------------------------------------
> #+TITLE: A Newb Title
> 
> * and that's it
> --------------------------------------------------
> 
> I publish the project to html and my sitemap has
> 
>   + [[file:newb.org][A Newb Title]]
> 
> in it. Next I change newb.org to read
> --------------------------------------------------
> #+TITLE: Just A Newb
> 
> * and that's it
> --------------------------------------------------
> Then C-x C-s C-c C-c C-c C-e P
> 
> and sitemap the same
> 
>   + [[file:newb.org][A Newb Title]]
> 
> in it.
> 
> I can rm the sitemap.org and sitemap.html and C-c C-e P again and still
> get the old information.
> 
> I'm sure I'm missing something simple but I'll be darned if I can find it.
> 

Do you have a :sitemap-title entry in your config? Better yet, if there
are no privacy concernts, why don't you post your publishing
configuration?

Nick

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: sitemap seems to cache old #+TITLE
  2011-03-18 19:50     ` Nick Dokos
@ 2011-03-19  3:13       ` lbmlist
  2011-03-19  6:32         ` Carsten Dominik
  0 siblings, 1 reply; 10+ messages in thread
From: lbmlist @ 2011-03-19  3:13 UTC (permalink / raw)
  To: emacs-orgmode; +Cc: Nick Dokos



On Fri, 18 Mar 2011, Nick Dokos wrote:

>
> Do you have a :sitemap-title entry in your config? Better yet, if there
> are no privacy concernts, why don't you post your publishing
> configuration?
>
> Nick
>

From my .emacs:

(setq org-publish-project-alist
'(("org-notes"
    :base-directory "/home/lbmoore/notebook/org/"
    :publishing-directory "/home/lbmoore/public_html/org/"
    :base-extension "org"
    :recursive t
    :style "<link rel=\"stylesheet\" href=\"css/org-a.css\" 
type=\"text/css\"/>"
    :link-home "http://caritas/"
    :makeindex t
)
("tchkb"
    :base-directory "/home/lbmoore/notebook/tchkb/"
    :publishing-directory "/home/lbmoore/public_html/tchkb/"
    :base-extension "org"
    :recursive t
    :auto-sitemap t
    :style "<link rel=\"stylesheet\" href=\"css/org-a.css\" 
type=\"text/css\"/>"
    :link-home "http://caritas/"
    :makeindex t
)
("org-static"
  :base-directory "/home/lbmoore/notebook/org/"
  :base-extension "css\\|js\\|png\\|jpg\\|gif\\|pdf\\|mp3\\|ogg\\|swf"
  :publishing-directory "/home/lbmoore/public_html/org/"
  :recursive t
  :publishing-function org-publish-attachment
  )
("org-static-kb"
  :base-directory "/home/lbmoore/notebook/tchkb/"
  :base-extension "css\\|js\\|png\\|jpg\\|gif\\|pdf\\|mp3\\|ogg\\|swf"
  :publishing-directory "/home/lbmoore/public_html/tchkb/"
  :recursive t
  :publishing-function org-publish-attachment
  )
("org" :components ("org-notes" "org-static" "tchkb" "org-static-kb"))
))


when I cp the .org files and the .emacs to another machine it generates 
fine which make me think that there is a cache or tmp file somewhere that 
holds the original title.

L

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: sitemap seems to cache old #+TITLE
  2011-03-19  3:13       ` lbmlist
@ 2011-03-19  6:32         ` Carsten Dominik
  2011-03-19 21:42           ` lbmlist
  0 siblings, 1 reply; 10+ messages in thread
From: Carsten Dominik @ 2011-03-19  6:32 UTC (permalink / raw)
  To: lbmlist; +Cc: Nick Dokos, emacs-orgmode


On 19.3.2011, at 04:13, lbmlist@hethcote.com wrote:

> 
> 
> On Fri, 18 Mar 2011, Nick Dokos wrote:
> 
>> 
>> Do you have a :sitemap-title entry in your config? Better yet, if there
>> are no privacy concernts, why don't you post your publishing
>> configuration?
>> 
>> Nick
>> 
> 
> From my .emacs:
> 
> (setq org-publish-project-alist
> '(("org-notes"
>   :base-directory "/home/lbmoore/notebook/org/"
>   :publishing-directory "/home/lbmoore/public_html/org/"
>   :base-extension "org"
>   :recursive t
>   :style "<link rel=\"stylesheet\" href=\"css/org-a.css\" type=\"text/css\"/>"
>   :link-home "http://caritas/"
>   :makeindex t
> )
> ("tchkb"
>   :base-directory "/home/lbmoore/notebook/tchkb/"
>   :publishing-directory "/home/lbmoore/public_html/tchkb/"
>   :base-extension "org"
>   :recursive t
>   :auto-sitemap t
>   :style "<link rel=\"stylesheet\" href=\"css/org-a.css\" type=\"text/css\"/>"
>   :link-home "http://caritas/"
>   :makeindex t
> )
> ("org-static"
> :base-directory "/home/lbmoore/notebook/org/"
> :base-extension "css\\|js\\|png\\|jpg\\|gif\\|pdf\\|mp3\\|ogg\\|swf"
> :publishing-directory "/home/lbmoore/public_html/org/"
> :recursive t
> :publishing-function org-publish-attachment
> )
> ("org-static-kb"
> :base-directory "/home/lbmoore/notebook/tchkb/"
> :base-extension "css\\|js\\|png\\|jpg\\|gif\\|pdf\\|mp3\\|ogg\\|swf"
> :publishing-directory "/home/lbmoore/public_html/tchkb/"
> :recursive t
> :publishing-function org-publish-attachment
> )
> ("org" :components ("org-notes" "org-static" "tchkb" "org-static-kb"))
> ))
> 
> 
> when I cp the .org files and the .emacs to another machine it generates fine which make me think that there is a cache or tmp file somewhere that holds the original title.

Have you tried forcing republishing of all files by using
a C-u prefix to your publishing command?


- Carsten

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: sitemap seems to cache old #+TITLE
  2011-03-19  6:32         ` Carsten Dominik
@ 2011-03-19 21:42           ` lbmlist
  2011-03-19 23:33             ` lbmlist
  0 siblings, 1 reply; 10+ messages in thread
From: lbmlist @ 2011-03-19 21:42 UTC (permalink / raw)
  To: Carsten Dominik; +Cc: lbmlist, Nick Dokos, emacs-orgmode



On Sat, 19 Mar 2011, Carsten Dominik wrote:

>
> On 19.3.2011, at 04:13, lbmlist@hethcote.com wrote:
>
>>
>
> Have you tried forcing republishing of all files by using
> a C-u prefix to your publishing command?
>

I have now, and there is no change in result.

C-u C-c C-e P does cause a longer export/publish time but result appears 
the same.


>
> - Carsten

Louis

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: sitemap seems to cache old #+TITLE
  2011-03-19 21:42           ` lbmlist
@ 2011-03-19 23:33             ` lbmlist
  0 siblings, 0 replies; 10+ messages in thread
From: lbmlist @ 2011-03-19 23:33 UTC (permalink / raw)
  To: emacs-orgmode; +Cc: Carsten Dominik


I see that the old title is cached in ~/.org-timestamps, I'll try clearing 
that and see what happens.

L



On Sat, 19 Mar 2011, lbmlist@hethcote.com wrote:

>
>
> On Sat, 19 Mar 2011, Carsten Dominik wrote:
>
>> 
>> On 19.3.2011, at 04:13, lbmlist@hethcote.com wrote:
>> 
>>> 
>> 
>> Have you tried forcing republishing of all files by using
>> a C-u prefix to your publishing command?
>> 
>
> I have now, and there is no change in result.
>
> C-u C-c C-e P does cause a longer export/publish time but result appears the 
> same.
>
>
>> 
>> - Carsten
>
> Louis
>
>

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: sitemap seems to cache old #+TITLE
  2011-03-18  4:58 sitemap seems to cache old #+TITLE lbmlist
  2011-03-18  6:38 ` iemacs
@ 2011-03-19 23:42 ` Bastien
  2011-03-19 23:52   ` Bastien
  1 sibling, 1 reply; 10+ messages in thread
From: Bastien @ 2011-03-19 23:42 UTC (permalink / raw)
  To: lbmlist; +Cc: emacs-orgmode

Hi,

lbmlist@hethcote.com writes:

> At one point in the recent past I had a file org.org with
> #+TITLE: LBM TCH KB Org
>
> Eventually I changed it to be
> #+TITLE: KBorg
>
> no matter what I do, the generated sitemap pick up the old title.

This was a bug in Org 7.5 which has been fixed in Org 7.5 -- upgrading
to the latest release should fix your problem.

HTH,

-- 
 Bastien

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: sitemap seems to cache old #+TITLE
  2011-03-19 23:42 ` Bastien
@ 2011-03-19 23:52   ` Bastien
  0 siblings, 0 replies; 10+ messages in thread
From: Bastien @ 2011-03-19 23:52 UTC (permalink / raw)
  To: lbmlist; +Cc: emacs-orgmode

Bastien <bzg@altern.org> writes:

> This was a bug in Org 7.5 which has been fixed in Org 7.5 -- 

Ahem -- I mean it was a bug in Org 7.4, of course.

-- 
 Bastien

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2011-03-19 23:53 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-03-18  4:58 sitemap seems to cache old #+TITLE lbmlist
2011-03-18  6:38 ` iemacs
2011-03-18 19:34   ` lbmlist
2011-03-18 19:50     ` Nick Dokos
2011-03-19  3:13       ` lbmlist
2011-03-19  6:32         ` Carsten Dominik
2011-03-19 21:42           ` lbmlist
2011-03-19 23:33             ` lbmlist
2011-03-19 23:42 ` Bastien
2011-03-19 23:52   ` Bastien

Code repositories for project(s) associated with this 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).