From: Mario Giammarco <mgiammarco@nospam.supereva.it>
Subject: Re: [newbie] emacs flyspell not understands well accented chars
Date: Tue, 03 Jun 2003 18:21:19 GMT [thread overview]
Message-ID: <zG5Da.35547$pR3.755119@news1.tin.it> (raw)
In-Reply-To: uof1fb4ai.fsf@ID-87814.user.dfncis.de
Oliver Scholz wrote:
> Mario Giammarco <mgiammarco@nospam.supereva.it> writes:
>
>> Oliver Scholz wrote:
>>
>>
>>>> I obtain at the start of emacs this error: Symbol value as variable is
>>>> void
>>>
>>> This error message is about the symbol
>>> `ispell-local-dictionary-alist', I presume?
>>>
>>> Very, very strange, it seems to be preloaded on my Emacs. Does it
>>> work, if you put a
>>>
>>> (require 'ispell)
>>>
>>> immediately before the `(add-to-list ... )'?
>>>
>>
>> I have put (require 'ispell) as you said but the error persists, this is
>> the backtrace:
>>
>> Debugger entered--Lisp error: (void-variable )
>> (add-to-list (quote ispell-local-dictionary-alist)
>> (quote
> [...]
>
> Huh? This looks very, very wrong. Did you modify this backtrace
> somehow?
NO, cut and paste
> ... alright let's go about this methodically:
>
> 1) Please remove the `add-to-list' expression from your .emacs and
> start it as usual. Then type `M-x locate-library RET ispell RET'
> and post what you see in the echo area (messages are collected in a
> special buffer *Messages*, you can copy&paste the line from there).
>
> One possible reason why you Emacs behaves in a different way than
> mine could be that you have a second ispell.el library in your
> load-path which shadows the ispell.el that comes with Emacs. If
> that's the case, we'll find it out with `M-x locate-library'.
>
I have done it and it seems that it is in the right place where debian puts
it.
This evening I will do a apt-get --purge remove emacs bla bla and reinstall
it
>
> 2) Please start Emacs from a command line like this:
>
> emacs -q --no-site-file
>
> This makes sure that Emacs does not load your configuration file,
> which makes sure that there is no other, unrelated problem that
> could interfere here.
>
> Then insert the `(add-to-list ... )' expression into the buffer
> named *scratch*. Move the cursor behind the last parenthesis and
> type `C-x C-e'. Do you get a similar error? If so, please post the
> whole backtrace (per copy&past)
I HAVE NOT MODIFIED ANYTHING, SIMPLE COPY AND PASTE!
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)
> `ispell-local-dictionary-alist' with `ispell-dictionary-alist':
>
> (add-to-list 'ispell-dictionary-alist
> '("italianx"
> "[[:alpha:]]"
> "[^[:alpha:]]"
> "[']" t
> ("-C" "-d" "italian")
> "~latin1" iso-8859-15))
>
> Again, put point behind the last parenthesis and hit `C-x C-e'. Do
> you get an error then, too?
Debugger entered--Lisp error: (void-variable )
(add-to-list (quote ispell-dictionary-alist) (quote
("italianx" "[[:alpha:]]" "[^[:alpha:]]" "[']" t ... "~latin1"
iso-8859-15)))
eval((add-to-list (quote ispell-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)
recursive-edit()
byte-code("Æ !Ç È !\n?
HERE CUT AND PASTE DOES NOT WORK CAUSE COMPILED LISP
>
>>> Aah, I suspected something like that.
>>>
>>> This expression is wrong. It doesn't give an error, of course, but in
>>> fact it does absolutely nothing.
>>>
>> Sigh I newer will be a lisp programmer :-(
>
> If everything is alright, you normally shouldn't have to expose
> yourself to Lisp in order to use Emacs. Unfortunately sometimes things
> go wrong as in your case.
>
> Personally I found Lisp very easy as my first programming language. I
> think, if you already know other programming languages, you could
> have slightly more problems with it, because it is so very different,
> constituting a whole family of its own.
>
Thanks for the lisp mini tutorial!
But anyway I would like to know also emacs-lisp "api" to make my own
beautiful macros...
Because a programmer must know how to program is editor...
Perhaps one day I will have time to learn!
next prev parent reply other threads:[~2003-06-03 18:21 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 [this message]
2003-06-03 19:57 ` Oliver Scholz
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='zG5Da.35547$pR3.755119@news1.tin.it' \
--to=mgiammarco@nospam.supereva.it \
/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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.