smarttabs icon indicating copy to clipboard operation
smarttabs copied to clipboard

Emacs smart tabs - indent with tabs, align with spaces!

Results 19 smarttabs issues
Sort by recently updated
recently updated
newest added

Given the following unindented code: ``` js function foo() { readableStream.pipe(throughStream) .pipe(writableStream); } ``` the correct indentation with smart-tabs-mode enabled is: ``` js function foo() { readableStream.pipe(throughStream) .pipe(writableStream); } ```...

Bug
Language

Smart Tabs should support JSON.

Feature
Language

os: mac os 10.10.4 emacs: 24.4 (9.0) smart-tabs-mode: 20140331.1629 In regular python.el (not python-mode.el) typing a colon ( : ) moves the point to the beginning of the indented line....

Bug
Language

Either of the follow config setting in my .emacs silently disable smart-tab. That is when I press ``` ``` it behaves like regular indentation ``` (defun my-company-hook () (company-mode t)...

Bug
Compatibility

I get the following error in GNU Emacs 29.0.50 on macOS 12.5.1. ```emacs-lisp Debugger entered--Lisp error: (error "Eager macro-expansion failure: (error \"Eager macro...") error("Eager macro-expansion failure: %S" (error "Eager macro-expansion...

As of now, `smart-tabs-add-language-support` doesn't support indent functions that rely on multiple offsets. An example is `svelte-indent-line` from `svelte-mode` ([GitHub](https://github.com/leafOfTree/svelte-mode)), which would require setting `svelte-basic-offset`, `sgml-basic-offset` and `js-indent-level` all to...

smart-tabs-mode.el:143:9: Error: Eager macro-expansion failure: (error "Eager macro-expansion skipped due to cycle: … => (load \"smart-tabs-mode.el\") => (macroexpand-all …) => (macroexpand (smart-tabs-create-advice-list …)) => (load \"smart-tabs-mode.el\")")

I had the error described in #53 This seems to solve it.

Silences the following warning in Emacs 29 and newer: ``` ⛔ Warning (comp): smart-tabs-mode.el:265:2: Warning: docstring has wrong usage of unescaped single quotes (use \= or different quoting) ```