New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
indentation broken on emacs-24.0.50 #6
Comments
Hey, Peter What you encounter is the intended (indented, sic!) behavior: multiline (ML) literals arent' recognized automatically right now, so nothing special happens when you 've just typed the literal in. When you do AFAIR, there's no special way whitespace is treated inside multiline literals, so, basically, all the indentation spaces would become part of the Now what's interesting, that you say there's no problem with emacs-23.x. Does this mean that emacs-23 still indents ML-strings ? |
On Fri, Jun 24 2011, immerrr wrote:
Hello, Right, there are 2 points of view: Some defcustom would be good.
That must be an error, I cannot reproduce it...
|
2011/6/26 pmrb <
That's agreeable terms and that's easy :). Will do in nearest future.
Well, if you have the opportunity to test at least for the exact version of Cheers |
On Mon, Jun 27 2011, immerrr wrote:
Thanks!
Now I see my error: I use 2 different systems with 2 different emacs But anyway: 23.X versions are no issue for me, I'm using 24.X. Cheers,
|
On 06/27/2011 02:03 PM, pmrb wrote:
Cheers, |
…able indenting multiline strings if necessary (issue #6)
I've finally done what I had promised: here goes your defcustom to enable string contents indention. See if it works for you. |
On Sat, Sep 10 2011, immerrr wrote:
It works, but the indentation is always 0... This is what I get: --8<---------------cut here---------------start------------->8--- This is what I would expect: --8<---------------cut here---------------start------------->8--- or --8<---------------cut here---------------start------------->8--- Thanks for your efforts,
|
…ative to indentation of the line where string/comment literal starts (issue #6)
Hey, try now. Mostly it should work fine: local foo = [[
sdafsdf
sadfsadf
asdfasdf ]]
function bar(a,b)
local baz = [[
qux qux qux
quz quz quz
]]
end Though it will fail in peculiar situations, like if bar([[
foo
bar
]],
[[
foo
bar
]]) then
dosmth
end Right now, I don't think it's worth investing more effort since the indentation engine overhaul is underway. |
On Thu, Sep 29 2011, immerrr wrote:
Yes, thanks!
|
Alright, closing |
Hello,
When creating this file:
local test = [[bla bla bla
bla bla bla]]
there is no problem.
But after reopening this same file, it's no more possible to indent the second line (TAB-key).
No problem with emacs-23.x.
Peter
The text was updated successfully, but these errors were encountered: