emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* blorg.el
@ 2008-01-30  5:25 Dimitris Kapetanakis
  2008-01-30  6:29 ` blorg.el Bastien Guerry
  0 siblings, 1 reply; 10+ messages in thread
From: Dimitris Kapetanakis @ 2008-01-30  5:25 UTC (permalink / raw)
  To: emacs-orgmode


[-- Attachment #1.1: Type: text/plain, Size: 501 bytes --]

Sadly, I still cannot make it work. Now it compiles ok but when I run the
M-x blorg-publish command on the file

--------------------------------------
#+TITLE: meltemi
#+BLOG_URL: http://localhost/blorg/
#+PUBLISH_DIR: g:/htdocs/BLORG/


* DONE This is my first entry         :misc:
       CLOSED: [2008-01-30 Τετ]

     Hello world!
--------------------------------------

as described in the manual, It just says

 Wrong type argument: stringp, nil

and does nothing

sorry for bathering you again

[-- Attachment #1.2: Type: text/html, Size: 793 bytes --]

[-- Attachment #2: Type: text/plain, Size: 204 bytes --]

_______________________________________________
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] 10+ messages in thread
* Re: blorg.el
@ 2008-01-29 11:44 Dimitris Kapetanakis
  2008-01-29 15:18 ` blorg.el bzg
  0 siblings, 1 reply; 10+ messages in thread
From: Dimitris Kapetanakis @ 2008-01-29 11:44 UTC (permalink / raw)
  To: Bastien Guerry; +Cc: emacs-orgmode


[-- Attachment #1.1: Type: text/plain, Size: 2232 bytes --]

thanks Bastien, but it still says,

Compiling file g:/Emacs/site-lisp/blorg.el at Tue Jan 29 13:23:46 2008
blorg.el:1405:1:Error: Invalid read syntax: "?"

I guess that it is the function (defun blorg-make-post-url
(blorgv-post-title) it looks like this in my system

(defun blorg-make-post-url (blorgv-post-title)
  "Make a permanent url from BLORGV-POST-TITLE."
  (with-temp-buffer
    (insert blorgv-post-title)
    (goto-char (point-min))
    (while (< (point) (point-max))
      (cond ((member (char-after) '(?Γ(c) ?Γ¨ ?Γ� ?Γ  ?Γ΄ ?Γ― ?ΓΉ))
         (progn (delete-char 1) (insert "e")))
        ((member (char-after) '(?  ?\' ?/ ?% ?# ?= ?+))
         (progn (delete-char 1) (insert "-")))
        ((member (char-after)
             '(?\" ?, ?\; ?: ?? ?! ?. ?$ ?\t))
         (progn (delete-char 1)))
        ((not (eq (car (split-char (char-after))) 'ascii))
         (delete-char 1))
        (t (forward-char 1))))
    (concat (replace-regexp-in-string "-+$" "" (buffer-string))
        (plist-get blorg-strings :page-extension))))

what are these strange characters in the 7th line? in another editor
(notepad++) looks like

      (cond ((member (char-after) '(?é ?è ?ê ?à ?ô ?ï ?ù))

Do you do something with the vowels in french? Also I can see page breaks in
the file ^L is that normal?
As I am writing this I think that perhaps this problem is caused because I
have set the mule to be greek (iso-8859-7) and that scrambled the function
definition.
Should I change this to the english vowels or the greek ones (since I am
also writing in greek ...)
Dimitris

2008/1/29, Bastien Guerry <bzg@altern.org>:
>
> Hi Dimitri,
>
> "Dimitris Kapetanakis" <katepano@gmail.com> writes:
>
> > This is really a question for Bastien
> > I tried to use blorg.el but I can't load it
> >
> > it says
> >
> > Compiling file g:/Emacs/site-lisp/blorg.el at Mon Jan 28 13:17:20 2008
> > blorg.el:133:1:Warning: value returned from (fboundp (quote
> >     replace-regexp-in-string)) is unused
> > blorg.el:1405:1:Error: Invalid read syntax: "?"
> >
> > can you help me?
>
> I've uploaded a small fix for this.  Please check blorg.el 0.75b:
>
>   http://www.cogintion.ens.fr/~guerry/u/blorg.el
>
> HTH,
>
> --
> Bastien
>

[-- Attachment #1.2: Type: text/html, Size: 3380 bytes --]

[-- Attachment #2: Type: text/plain, Size: 204 bytes --]

_______________________________________________
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] 10+ messages in thread

end of thread, other threads:[~2008-02-21  0:44 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-01-30  5:25 blorg.el Dimitris Kapetanakis
2008-01-30  6:29 ` blorg.el Bastien Guerry
  -- strict thread matches above, loose matches on Subject: below --
2008-01-29 11:44 blorg.el Dimitris Kapetanakis
2008-01-29 15:18 ` blorg.el bzg
2008-01-29 15:09   ` blorg.el Rick Moynihan
2008-01-29 15:54     ` blorg.el Dimitris Kapetanakis
2008-01-30  6:59     ` blorg.el Bastien Guerry
2008-02-19 10:18       ` blorg.el Rick Moynihan
2008-02-19 13:10         ` blorg.el Bastien Guerry
2008-02-21  0:44           ` blorg.el Steven Lumos

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).