From: Erik <esigra@gmail.com>
To: Juanma Barranquero <lekktu@gmail.com>
Cc: 1912@emacsbugs.donarmstrong.com
Subject: bug#1912: Reserved word "goto" not highlighted in Ada-mode
Date: Thu, 15 Jan 2009 14:10:28 +0100 [thread overview]
Message-ID: <496F35C4.8050705@gmail.com> (raw)
In-Reply-To: <f7ccd24b0901150058i755c0c4ao905332f74bab63b1@mail.gmail.com>
Juanma Barranquero skrev:
> On Thu, Jan 15, 2009 at 08:51, Erik <esigra@gmail.com> wrote:
>
>> The reserved word "goto" not highlighted in Ada-mode.
>>
>
> Which version of Emacs and ada-mode are you using? I see "goto"
> highlighted with font-lock-keyword-face, as expected.
>
>
GNU Emacs 22.3.1 (i686-pc-linux-gnu, X toolkit, Xaw3d scroll bars)
of 2008-11-15 on localhost
(Gentoo package app-editors/emacs-22.3)
> Can you send a fragment of Ada code showing the problem?
>
Execute "emacs prov.adb" (in a directory without such a file). Then
write these lines:
procedure Prov
is
begin
goto done
The reserved words "procedure" "is" and "begin" get highlighted as soon
as they are written. But "goto" is only highlighted if
1. the file is saved at this point,
2. a ';' is written, or
3. a newline is written
Compare this with the similar example
procedure Prov
is
begin
raise done
Here the reserved word "raise" is highlighted immediately (unlike
"goto"). (But the identifier "done" is not highlighted immediately,
which looks like another bug.)
next prev parent reply other threads:[~2009-01-15 13:10 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <uk4vmo5cf.fsf@stephe-leake.org>
2009-01-15 7:51 ` bug#1912: Reserved word "goto" not highlighted in Ada-mode Erik
2009-01-15 8:58 ` Juanma Barranquero
2009-01-15 13:10 ` Erik [this message]
2009-01-15 14:30 ` Juanma Barranquero
2010-01-13 7:30 ` bug#1912: marked as done (Reserved word "goto" not highlighted in Ada-mode) Emacs bug Tracking System
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=496F35C4.8050705@gmail.com \
--to=esigra@gmail.com \
--cc=1912@emacsbugs.donarmstrong.com \
--cc=lekktu@gmail.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.
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.