From mboxrd@z Thu Jan 1 00:00:00 1970 From: Adam Porter Subject: Re: how to disable smart-tab only on org headline? Date: Sat, 9 Apr 2016 18:22:43 +0000 (UTC) Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:41998) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aoxX6-0005U6-9k for emacs-orgmode@gnu.org; Sat, 09 Apr 2016 14:22:57 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aoxX3-0002Mc-27 for emacs-orgmode@gnu.org; Sat, 09 Apr 2016 14:22:56 -0400 Received: from plane.gmane.org ([80.91.229.3]:54279) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aoxX2-0002MI-Rl for emacs-orgmode@gnu.org; Sat, 09 Apr 2016 14:22:52 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1aoxX0-0001zL-Mr for emacs-orgmode@gnu.org; Sat, 09 Apr 2016 20:22:51 +0200 Received: from 172-0-42-27.lightspeed.ltrkar.sbcglobal.net ([172.0.42.27]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 09 Apr 2016 20:22:50 +0200 Received: from adam by 172-0-42-27.lightspeed.ltrkar.sbcglobal.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 09 Apr 2016 20:22:50 +0200 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: emacs-orgmode@gnu.org Xebar Saram gmail.com> writes: > im pretty sure smart tab activates when im in org, when i issue C-h k i get this > > > It is bound to TAB, , . > > (yas-expand &optional FIELD) > > Expand a snippet before point. If no snippet > expansion is possible, call command `smart-tab'. > > > and i also see smart tab in the mod line/ > > any clue? Hi Z, Well, here's what I see in =smart-tab.el=: #+BEGIN_SRC elisp (defcustom smart-tab-disabled-major-modes '(org-mode term-mode eshell-mode w3m-mode magit-mode) ...) ... (define-minor-mode smart-tab-mode ... (when (or (minibufferp) buffer-read-only (member major-mode smart-tab-disabled-major-modes)) (smart-tab-mode-off))) #+END_SRC And when I try to use it in an Org buffer, it says "Smart-Tab mode disabled." Maybe you have an old version that doesn't do this?