all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Is c-indent-line-or-region already doing the same thing as smart-tabs?
@ 2016-05-15 21:19 john smith
  2016-05-18 18:13 ` john smith
  0 siblings, 1 reply; 3+ messages in thread
From: john smith @ 2016-05-15 21:19 UTC (permalink / raw
  To: help-gnu-emacs

In Emacs 24.5.1 is c-indent-line-or-region already doing the same
thing as smart-tabs or do I miss something?  As I tried this snippet
from https://www.emacswiki.org/emacs/SmartTabs:

    int f(int x,
    int y) {
    return g(x,
    y);
    }

I got exactly same result when marking the whole function and pressing
Tab key regardless of smart-tabs-mode state.  It seems that
c-indent-line-or-region can add both spaces and tabs on its own.  Is
my thinking correct?  Are smart-tabs needed for other other modes
apart from C?

-- 
<wempwer@gmail.com>



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-05-18 18:13 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <mailman.2860.1463347193.7477.help-gnu-emacs@gnu.org>
2016-05-17 16:09 ` Is c-indent-line-or-region already doing the same thing as smart-tabs? Alan Mackenzie
2016-05-15 21:19 john smith
2016-05-18 18:13 ` john smith

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.