Georg Bauhaus <[email protected]> writes:

> Am 28.08.2014 um 20:40 schrieb Stephen Leake <[email protected]>:
>
>>> Why mostly? I had thought that the position of those stop
>>> words in an identifier would be of some importance:
>>> 
>>>  `On_a_String',  but  `A_House'  and  `The_Letter_A'.
>> 
>> Yes, that's a problem. There's a workaround; define each of those as a
>> full-word exception. That has priority over partial word.
>
> This problem seems to have a pleasantly simple solution within the
> current framework; a list of full-word exceptions would not be required.
>
> With the little patch appended, occurrences of partial words at the start
> and end of identifiers will not be adjusted, at the user's request
> (custom variable).

Hmm. I think this needs to be per-exception, not per-user.

For example, suppose I have an acronym ABC, that should always be
uppercase, even at the start? Setting ada-case-partial-exceptions-always
nil overrides that.


On a slightly different topic, I'd like to make all of the current user
options into defaults for project options, so they can be set on a
per-project basis. Currently they are buffer-local, so the default is
per-user, with a per-file override via file-local variables. Project
level override would also be useful.

-- 
-- Stephe

_______________________________________________
Emacs-ada-mode mailing list
[email protected]
http://host114.hostmonster.com/mailman/listinfo/emacs-ada-mode_stephe-leake.org

Reply via email to