unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Oliver Scholz <alkibiades@gmx.de>
Subject: Re: [newbie] emacs flyspell not understands well accented chars
Date: Tue, 03 Jun 2003 21:57:27 +0200	[thread overview]
Message-ID: <u3cir2au0.fsf@ID-87814.user.dfncis.de> (raw)
In-Reply-To: zG5Da.35547$pR3.755119@news1.tin.it

Mario Giammarco <mgiammarco@nospam.supereva.it> writes:
[...]
> I HAVE NOT MODIFIED ANYTHING, SIMPLE COPY AND PASTE!

O.k., o.k., o.k., sorry ... :-)

> Debugger entered--Lisp error: (void-variable              )
                                               ^^^^^^^^^^^^^

>   (add-to-list (quote ispell-local-dictionary-alist)               (quote
                                                       ^^^^^^^^^^^^
> ("italianx" "[[:alpha:]]" "[^[:alpha:]]" "[']"  t ... "~latin1"
>  iso-8859-15)))
>   eval((add-to-list (quote ispell-local-dictionary-alist)              
> (quote ("italianx" "[[:alpha:]]" "[^[:alpha:]]" "[']"  t ... "~latin1"
>  iso-8859-15))))
>   eval-last-sexp-1(nil)
>   eval-last-sexp(nil)
>   call-interactively(eval-last-sexp)

I am lost here, I'm afraid. :-( I have never seen this before. It
looks as if Emacs treats the whitespace between `(quote
ispell-l-d-a)' and `(quote ("italianx" ...' as a symbol.

Does anybody here have a clue what this could be? Is it even
conceivable that something causes such a bug in the Lisp reader?

Hmm, except ... hmmm. This is just a wild guess: When you copied and
pasted the code from you newsreader into Emacs -- is it possible that
one or more of the spaces and tabs were replaced with
Unicode-whitespace characters from the range U+2000 to U+200F? This is
the only case I know of that whitespace is treated as a symbol by the
Lisp-reader. Could you make sure that everything between
'ispell-local-dictionary-alist and '("italianx" ...) is either a
space (ASCII-codepoint: 32), a tab (9) or a newline (10)? You can
check this with `C-x ='. It is sufficient, if there is just a single
space character in between.

But, as I said: this is just a very wild guess.

[...]
> Thanks for the lisp mini tutorial!
> But anyway I would like to know also emacs-lisp "api" to make my own
> beautiful macros...

In that case you should take my explanation with a grain of salt. It
was meant to enable a programmer used to Algol-like languages to make
some more or less educated guesses when exposed to a Lisp expression,
no more.

> Because a programmer must know how to program is editor...
> Perhaps one day I will have time to learn!

That's the spirit. Beware, it's addicting. 

When you find the time to do it, have a look at the "Introduction to
Emacs Lisp" (elisp-intro) and the "Emacs Lisp Reference Manual", you
can get both as Texinfo from ftp.gnu.org. 

    Oliver
-- 
15 Prairial an 211 de la Révolution
Liberté, Egalité, Fraternité!

  reply	other threads:[~2003-06-03 19:57 UTC|newest]

Thread overview: 41+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-06-01 17:28 [newbie] emacs flyspell not understands well accented chars Mario Giammarco
2003-06-01 18:27 ` Eli Zaretskii
     [not found] ` <mailman.7104.1054492093.21513.help-gnu-emacs@gnu.org>
2003-06-01 18:57   ` Ole Laursen
2003-06-01 19:08   ` Stefan Monnier
2003-06-01 20:27     ` Mario Giammarco
2003-06-01 20:02   ` Mario Giammarco
2003-06-02  8:21   ` Kai Großjohann
2003-06-02 11:14     ` Oliver Scholz
2003-06-02 12:09       ` Mario Giammarco
2003-06-02 13:53         ` Oliver Scholz
2003-06-02 15:30           ` Mario Giammarco
2003-06-02 16:54             ` Oliver Scholz
2003-06-02 17:11               ` Mario Giammarco
2003-06-02 17:39                 ` Oliver Scholz
2003-06-03  8:31                   ` Mario Giammarco
2003-06-03 12:52                     ` Oliver Scholz
2003-06-03 13:39                       ` Mario Giammarco
2003-06-03 14:53                         ` Oliver Scholz
2003-06-03 18:21                           ` Mario Giammarco
2003-06-03 19:57                             ` Oliver Scholz [this message]
2003-06-03 20:32                               ` Mario Giammarco
2003-06-04 17:43                                 ` Mario Giammarco
2003-06-04 21:32                                   ` Oliver Scholz
2003-06-05 12:01                                     ` Mario Giammarco
2003-06-05 12:17                                       ` Mario Giammarco
2003-06-05 22:21                                       ` Oliver Scholz
2003-06-06  8:33                                         ` Mario Giammarco
2003-06-06 11:09                                           ` Oliver Scholz
2003-06-06 12:27                                             ` Mario Giammarco
2003-06-06 12:52                                               ` Oliver Scholz
2003-06-06 13:28                                                 ` Mario Giammarco
2003-06-06 13:40                                                   ` Oliver Scholz
2003-06-06 14:01                                                     ` Mario Giammarco
2003-06-07 10:16                                                       ` Reiner Steib
2003-06-07 12:18                                                         ` Mario Giammarco
2003-06-06 12:42                                             ` Mario Giammarco
2003-06-03 19:20                           ` Stefan Monnier
2003-06-02 17:18               ` Mario Giammarco
2003-06-02 17:40                 ` Oliver Scholz
2003-06-03  8:32               ` Mario Giammarco
2003-06-03 12:36                 ` Oliver Scholz

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.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=u3cir2au0.fsf@ID-87814.user.dfncis.de \
    --to=alkibiades@gmx.de \
    /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.
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).