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:03:17 +0100 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="f403043d9e48cbc69a05626776ea" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:52272) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eZBM1-0001QQ-VL for emacs-orgmode@gnu.org; Wed, 10 Jan 2018 03:03:23 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eZBLy-0000XU-LP for emacs-orgmode@gnu.org; Wed, 10 Jan 2018 03:03:21 -0500 Received: from mail-yb0-x229.google.com ([2607:f8b0:4002:c09::229]:45853) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eZBLy-0000WH-F2 for emacs-orgmode@gnu.org; Wed, 10 Jan 2018 03:03:18 -0500 Received: by mail-yb0-x229.google.com with SMTP id k189so7050115ybc.12 for ; Wed, 10 Jan 2018 00:03:18 -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 --f403043d9e48cbc69a05626776ea Content-Type: text/plain; charset="UTF-8" One more note: the published manual at https://orgmode.org/org.html#Easy-templates is still not updated, but the org-version of the manual mentions this at https://code.orgmode.org/bzg/org-mode/src/master/contrib/manual.org#structure-templates On Wed, Jan 10, 2018 at 9:00 AM, Diego Zamboni wrote: > 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 >> --------------------------------- >> >> >> >> > --f403043d9e48cbc69a05626776ea Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
One more note: the published manual at=C2=A0https://orgmode.org/org.html#Easy= -templates is still not updated, but the org-version of the manual ment= ions this at=C2=A0https://code.orgmode.org/bzg/org= -mode/src/master/contrib/manual.org#structure-templates

<= /div>

On Wed, Jan = 10, 2018 at 9:00 AM, Diego Zamboni <diego@zzamboni.org> wro= te:
Hi Martin,

<= /div>
I discovered this only yesterday, when I started using org-mode f= rom a git checkout and the shortcuts stopped working. Turns out this functi= onality now has to be enabled by loading the org-tempo library:=C2=A0https://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=C2=A0org= -structure-template-alist variable. I hadn't modified it myself, b= ut I went into its customize screen and reset it to the default, and that f= ixed the problem.

Hope this helps,
--Die= go


On Wed, Jan 10, 2018 at= 8:26 AM, Martin Steffen <msteffen@ifi.uio.no> wrote:
<= blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px= #ccc solid;padding-left:1ex">

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
---------------------------------





--f403043d9e48cbc69a05626776ea--