OCaml Forge
SCM

Detail: [#1182] underscore moved in syntax table after pressing Tab

Bugs: Browse | Download .csv | Monitor

[#1182] underscore moved in syntax table after pressing Tab

Date:
2012-07-01 05:44
Priority:
3
State:
Open
Submitted by:
Max Prozorov (mprize)
Assigned to:
Nobody (None)
Hardware:
None
Resolution:
None
Severity:
None
Version:
None
Component:
None
Operating System:
None
Product:
None
 
URL:
Summary:
underscore moved in syntax table after pressing Tab

Detailed description
1) open a buffer with tuareg mode
2) evaluate (modify-syntax-entry ?_ "w") to make underscore a word char.
3) write in the buffer:
do_one_iter
4) move cursor back and forth with M-f and M-b
'_' is regarded as a word char. The excerpt from syntax table:
_ w which means: word

5) press <TAB> (to indent the line. The place where cursor is
placed in the buffer doesn't matter)
6) move cursor back and forth with M-f and M-b
'_' is regarded as a symbol char (not a word char). The excerpt from syntax table:
_ _ which means: symbol


GNU Emacs 23.4.1
Tuareg Version 2.0.6

Followup

No Followups Have Been Posted

Attached Files:

Changes:

No Changes Have Been Made to This Item