From mboxrd@z Thu Jan 1 00:00:00 1970 From: Diego Zamboni Subject: Re: Tab-completion no longer works? Date: Wed, 10 Jan 2018 09:00:48 +0100 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="001a114d7042f26bfb0562676df8" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:51794) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eZBJf-0000Rv-DO for emacs-orgmode@gnu.org; Wed, 10 Jan 2018 03:00:58 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eZBJa-0006bj-Tv for emacs-orgmode@gnu.org; Wed, 10 Jan 2018 03:00:55 -0500 Received: from mail-yw0-x22c.google.com ([2607:f8b0:4002:c05::22c]:44905) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eZBJa-0006aQ-NV for emacs-orgmode@gnu.org; Wed, 10 Jan 2018 03:00:50 -0500 Received: by mail-yw0-x22c.google.com with SMTP id x62so2850067ywg.11 for ; Wed, 10 Jan 2018 00:00:49 -0800 (PST) In-Reply-To: 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: Martin Steffen Cc: emacs-orgmode@gnu.org --001a114d7042f26bfb0562676df8 Content-Type: text/plain; charset="UTF-8" Hi Martin, I discovered this only yesterday, when I started using org-mode from a git checkout and the shortcuts stopped working. Turns out this functionality now has to be enabled by loading the org-tempo library: https://code.orgmode.org/bzg/org-mode/src/master/lisp/org-tempo.el. In principle, you can reenable them just by adding (require 'org-tempo) in your Emacs config. The first time I did this, I was getting an error which seemed to be caused by the value of the org-structure-template-alist variable. I hadn't modified it myself, but I went into its customize screen and reset it to the default, and that fixed the problem. Hope this helps, --Diego On Wed, Jan 10, 2018 at 8:26 AM, Martin Steffen wrote: > > > Hi, Since recently ---I can't remember exactly since when--- some > completion-feature I liked does not work any more. > > By completion, I mean the expansion of > > > to > > +BEGIN_QUOTE > blabla > #+END_QUOTE > > or similar for including SRC or LATEX etc. > > This expansion no longer works. I tried to ``narrow down'' under which > circumstances it breaks.. > > Now it turns out, that already the very first lines break it. Following > the manual I start the org-section in my .emacs as > > ------------------------------------------------------------ > ----------------- > (setq load-path (cons "~/gnu/emacs/24/lisp/org-mode/lisp" load-path)) ;;; > destroys tab completion???? > (setq load-path (cons "~/gnu/emacs/24/lisp/org-mode/contrib/lisp" > load-path)) > --------------------------------------------------- > > If I comment-out the first line, the completion still works, if I > include the line and extend the path properly, the completion does not > work (of course, other problems arise then) > > > > > Any suggestions? > > Martin > > > ------------------------- Versions > Emacs version: GNU Emacs 24.3.1 > Org mode version 9.1.4 > --------------------------------- > > I have though the same problem for > > > ------------------------- Versions > Emacs version: GNU Emacs 25.3.1 > Org mode version 9.1.3 > --------------------------------- > > > > --001a114d7042f26bfb0562676df8 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi Martin,

I discovered this only yeste= rday, when I started using org-mode from a git checkout and the shortcuts s= topped working. Turns out this functionality now has to be enabled by loadi= ng the org-tempo library:=C2=A0https://code.orgmode.org/bzg/org-mode/sr= c/master/lisp/org-tempo.el. In principle, you can reenable them just by= adding (require 'org-tempo) in your Emacs config. The first time I did= this, I was getting an error which seemed to be caused by the value of the= =C2=A0org-structure-template-alist variable. I hadn't modified it mysel= f, but I went into its customize screen and reset it to the default, and th= at fixed the problem.

Hope this helps,
-= -Diego


On Wed, Jan 10, 2018 at 8:26 AM, Martin Steffen <mstef= fen@ifi.uio.no> wrote:


Hi, Since recently ---I can't remember exactly since when--- some
completion-feature I liked does not work any more.

By completion, I mean the expansion of

=C2=A0 =C2=A0<Q TAB

to

+BEGIN_QUOTE
=C2=A0 blabla
#+END_QUOTE

or similar for including SRC or LATEX etc.

This expansion no longer works. I tried to ``narrow down'' under wh= ich
circumstances it breaks..

Now it turns out, that already the very first lines break it. Following
the manual I start the org-section in my .emacs as

-----------------------------------------------------------------= ------------
(setq load-path (cons "~/gnu/emacs/24/lisp/org-mode/lisp" lo= ad-path)) ;;; destroys tab completion????
(setq load-path (cons "~/gnu/emacs/24/lisp/org-mode/contrib/lisp&= quot; load-path))
---------------------------------------------------

If I comment-out the first line, the completion still works, if I
include the line and extend the path properly, the completion does not
work (of course, other problems arise then)




Any suggestions?

Martin


------------------------- Versions
Emacs version: GNU Emacs 24.3.1
Org mode version 9.1.4
---------------------------------

I have though the same problem for


------------------------- Versions
Emacs version: GNU Emacs 25.3.1
Org mode version 9.1.3
---------------------------------




--001a114d7042f26bfb0562676df8--