unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Anselm Helbig <anselm@chemie.fu-berlin.de>
To: help-gnu-emacs@gnu.org
Subject: Re: predictive mode and 'ã'
Date: Sat, 14 Jul 2007 12:14:07 +0200	[thread overview]
Message-ID: <87r6nb5m34.wl@nospam.anselm.chemie.fu-berlin.de> (raw)
In-Reply-To: <1184333068.581937.161990@r34g2000hsd.googlegroups.com>

> I'm trying to start using predictive and have this annoying problem.
> It looks like predictive considers portuguese characters like ã or ó
> as end-of-word characters (I have to type them pressing ~ then a,
> maybe that's a problem?)
> 
> Here's the situation: when I type 'n', predictive suggests '(0) nil'.
> If I continue typing 'não' , I end up getting 'nilão'. The nil is
> inserted...

I haven't used predictive mode yet, so I can't comment on that. But
the usual way emacs determines if some character belongs to a word or
not is by syntax tables; these tables are mode-specific. When I put
point on the letter `ã', `C-u C-x =' gives me some information about
the character (I'm using GNU Emacs 22), and it says that it's syntax
is "w which means: word".

What emacs are you using, and what mode are you in? Does M-f
(forward-word) and M-b (backward-word) stop at accented characters?
Maybe you can do something about it by fiddling with the syntax
table (look them up in the elisp manual). 

HTH, 

Anselm

  reply	other threads:[~2007-07-14 10:14 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-07-13 13:24 predictive mode and 'ã' weber
2007-07-14 10:14 ` Anselm Helbig [this message]
2007-07-15  0:42   ` Rupert
2007-07-16 16:16 ` Mathias Dahl

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=87r6nb5m34.wl@nospam.anselm.chemie.fu-berlin.de \
    --to=anselm@chemie.fu-berlin.de \
    --cc=help-gnu-emacs@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.
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).