emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "Dimitris Kapetanakis" <katepano@gmail.com>
To: Bastien Guerry <bzg@altern.org>
Cc: emacs-orgmode@gnu.org
Subject: Re: blorg.el
Date: Tue, 29 Jan 2008 13:44:29 +0200	[thread overview]
Message-ID: <2a6300ea0801290344h57803348x3664654574f33b9e@mail.gmail.com> (raw)


[-- 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

             reply	other threads:[~2008-01-29 11:44 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-01-29 11:44 Dimitris Kapetanakis [this message]
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
  -- strict thread matches above, loose matches on Subject: below --
2008-01-30  5:25 blorg.el Dimitris Kapetanakis
2008-01-30  6:29 ` blorg.el Bastien Guerry

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=2a6300ea0801290344h57803348x3664654574f33b9e@mail.gmail.com \
    --to=katepano@gmail.com \
    --cc=bzg@altern.org \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).