[Emacs-ada-mode] (for info) ada-mode bug sent via emacs bug report
WAROQUIERS Philippe
philippe.waroquiers at eurocontrol.int
Mon Aug 13 02:55:24 PDT 2007
>I can't reproduce this, with plain released emacs 22.1 on Windows. On
>opening a file that is read-only on the disk, I get only the message
>"Note: file is write protected".
>
...
>
>I confirmed with `debug-on-entry' that ada-initialize-properties is
>being called, and that buffer-read-only is t at that point.
>
>So it appears that `add-text-property' on my system doesn't throw an
>error if buffer-read-only is t.
Note that the problem is triggered only if ada-initialize-properties
has really to do something.
If hello.adb does not contain any single character constant (such as
'a')
or gnatprep comments, then the error will not be triggered.
>
>Can you confirm that you get this problem with emacs -Q?
Yes, I obtain the same problem with emacs -Q.
>That's a very recent build; is that from Emacs 22 release, or from
>Emacs CVS HEAD?
This is emacs 22 release.
____
This message and any files transmitted with it are legally privileged and intended for the sole use of the individual(s) or entity to whom they are addressed. If you are not the intended recipient, please notify the sender by reply and delete the message and any attachments from your system. Any unauthorised use or disclosure of the content of this message is strictly prohibited and may be unlawful.
Nothing in this e-mail message amounts to a contractual or legal commitment on the part of EUROCONTROL, unless it is confirmed by appropriately signed hard copy.
Any views expressed in this message are those of the sender.
More information about the Emacs-ada-mode
mailing list