[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Insert appropriate line-end character (like ';' for C*)
From: |
Josh |
Subject: |
Re: Insert appropriate line-end character (like ';' for C*) |
Date: |
Thu, 12 Jun 2008 11:30:05 -0700 (PDT) |
User-agent: |
G2/1.0 |
So the various modes don' t include that information? It seems like
they must, otherwise how would Emacs be able to indent things
appropriately? In python-mode it's aware that a line ending in ':' is
special, and so it automatically indents the following line(s),
similarly it un-indents the lines following a 'return' statement. It's
not doing this solely based on the presence of key terms such as 'if'
and 'def' either (I tested); it's aware of ':' as an important
character in python-mode at least.
All I'm trying to figure out is if there's an easy way to determine,
even if it's just for python-mode, what that special character is.
- Insert appropriate line-end character (like ';' for C*), Josh, 2008/06/10
- Re: Insert appropriate line-end character (like ';' for C*), David Hansen, 2008/06/11
- Message not available
- Re: Insert appropriate line-end character (like ';' for C*), Josh, 2008/06/11
- Re: Insert appropriate line-end character (like ';' for C*), Thien-Thi Nguyen, 2008/06/11
- Re: Insert appropriate line-end character (like ';' for C*), David Hansen, 2008/06/11
- Re: Insert appropriate line-end character (like ';' for C*), Jason Rumney, 2008/06/11
- Re: Insert appropriate line-end character (like ';' for C*),
Josh <=
- Re: Insert appropriate line-end character (like ';' for C*), David Hansen, 2008/06/12
- Message not available
- Re: Insert appropriate line-end character (like ';' for C*), Josh, 2008/06/13