From: "B. T. Raven" <ecinmn@alcisp.com>
Subject: Re: Why do I need to eval this?
Date: Fri, 19 Jan 2007 08:22:49 -0600 [thread overview]
Message-ID: <81d66$45b0d43d$49f209a$19347@DIALUPUSA.NET> (raw)
In-Reply-To: mailman.3308.1169210776.2155.help-gnu-emacs@gnu.org
"Arnaldo Mandel" <am@ime.usp.br> wrote in message
news:mailman.3308.1169210776.2155.help-gnu-emacs@gnu.org...
> B. T. Raven wrote (on Jan 17, 2007):
> >
> > I think is has to be a coding system problem.
>
> I cannot understand how that would come to be. Can you (or somebody
> else) give me a hint of why it goes wrong?
>
> > I copy pasted your lisp
code
> > into a buffer and then saved the buffer with an .el extension. After
M-x
> > load-file and M-x crases it worked for changing all the grave accents
to
> > tildes in the lisp source. I would recommend that you change your
default
> > encoding to utf-8.
>
> I have always uses emacs --unibyte, and everything here is iso8859-1
> encoded. I suppose it would be a real PITA moving to utf-8.
It is a PITA but that seems to be the way the world is going.
>
> Anyway, I solved my problem reimplementing the function in a less
> elegant way (used substring searches instead of the assoc list). So,
> what remains is just to get a real understanding of what went wrong.
> I do not like to see (apparent) bugs going away by simple finesse, I
> want to be able to really avoid them.
>
It seems that your function "can't" be wrong if you're using unibyte but,
just out of curiosity, check the representation of all the glyphs in
question in both your lisp source and the target file using something like
C-x =, just to be sure.
> am
>
> --
> Arnaldo Mandel
> am@ime.usp.br
>
>
next prev parent reply other threads:[~2007-01-19 14:22 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-01-15 19:15 Why do I need to eval this? Arnaldo Mandel
2007-01-15 22:10 ` Reiner Steib
2007-01-16 12:00 ` Arnaldo Mandel
[not found] ` <mailman.3142.1168948826.2155.help-gnu-emacs@gnu.org>
2007-01-18 4:55 ` B. T. Raven
2007-01-19 12:46 ` Arnaldo Mandel
[not found] ` <mailman.3308.1169210776.2155.help-gnu-emacs@gnu.org>
2007-01-19 14:22 ` B. T. Raven [this message]
[not found] <mailman.3105.1168892132.2155.help-gnu-emacs@gnu.org>
2007-01-16 2:44 ` HS
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='81d66$45b0d43d$49f209a$19347@DIALUPUSA.NET' \
--to=ecinmn@alcisp.com \
/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).