* bug#13878: Emacs autoindent indenting way too deep
@ 2013-03-05 17:10 Andrew Pennebaker
2013-03-05 19:12 ` Andrew Pennebaker
2013-03-05 20:09 ` Glenn Morris
0 siblings, 2 replies; 3+ messages in thread
From: Andrew Pennebaker @ 2013-03-05 17:10 UTC (permalink / raw)
To: 13878
[-- Attachment #1: Type: text/plain, Size: 328 bytes --]
I've a before-save hook for autoindenting files. Emacs is inserting TONS of
extra indentation, how can I fix this? This problem is particularly
offensive for filetypes with significant whitespace (Python, Mardown,
Stylus).
https://github.com/mcandre/dotfiles/blob/master/emacs
--
Cheers,
Andrew Pennebaker
www.yellosoft.us
[-- Attachment #2: Type: text/html, Size: 913 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* bug#13878: Emacs autoindent indenting way too deep
2013-03-05 17:10 bug#13878: Emacs autoindent indenting way too deep Andrew Pennebaker
@ 2013-03-05 19:12 ` Andrew Pennebaker
2013-03-05 20:09 ` Glenn Morris
1 sibling, 0 replies; 3+ messages in thread
From: Andrew Pennebaker @ 2013-03-05 19:12 UTC (permalink / raw)
To: 13878
[-- Attachment #1: Type: text/plain, Size: 666 bytes --]
*Update*: Specifically, (indent-region (point-min) (point-max)) is
improperly indenting my code, verified by manually applying M-:
(indent-region (point-min) (point-max)).
On Tue, Mar 5, 2013 at 12:10 PM, Andrew Pennebaker <
andrew.pennebaker@gmail.com> wrote:
> I've a before-save hook for autoindenting files. Emacs is inserting TONS
> of extra indentation, how can I fix this? This problem is particularly
> offensive for filetypes with significant whitespace (Python, Mardown,
> Stylus).
>
>
> https://github.com/mcandre/dotfiles/blob/master/emacs
>
> --
> Cheers,
>
> Andrew Pennebaker
> www.yellosoft.us
>
--
Cheers,
Andrew Pennebaker
www.yellosoft.us
[-- Attachment #2: Type: text/html, Size: 3047 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* bug#13878: Emacs autoindent indenting way too deep
2013-03-05 17:10 bug#13878: Emacs autoindent indenting way too deep Andrew Pennebaker
2013-03-05 19:12 ` Andrew Pennebaker
@ 2013-03-05 20:09 ` Glenn Morris
1 sibling, 0 replies; 3+ messages in thread
From: Glenn Morris @ 2013-03-05 20:09 UTC (permalink / raw)
To: 13878-done
This isn't a bug report.
https://lists.gnu.org/mailman/listinfo/help-gnu-emacs
is a better place for questions like these.
You still need to provide *actual details* wherever you post.
I see this is slowly happening at
http://www.reddit.com/r/emacs/comments/19prl2/emacs_autoindent_indenting_way_too_deep/
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2013-03-05 20:09 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-03-05 17:10 bug#13878: Emacs autoindent indenting way too deep Andrew Pennebaker
2013-03-05 19:12 ` Andrew Pennebaker
2013-03-05 20:09 ` Glenn Morris
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.