emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Diego Zamboni <diego@zzamboni.org>
To: Martin Steffen <msteffen@ifi.uio.no>
Cc: emacs-orgmode@gnu.org
Subject: Re: Tab-completion no longer works?
Date: Wed, 10 Jan 2018 09:00:48 +0100	[thread overview]
Message-ID: <CAGY83Eep27erj7RwODujkqi2TdtHTAKsmVnK+iAXjhCBEgc87Q@mail.gmail.com> (raw)
In-Reply-To: <xk92tvvuw4wk.fsf@rijkaard.ifi.uio.no>

[-- Attachment #1: Type: text/plain, Size: 2125 bytes --]

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 <msteffen@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
>
>    <Q TAB
>
> 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
> ---------------------------------
>
>
>
>

[-- Attachment #2: Type: text/html, Size: 2835 bytes --]

  reply	other threads:[~2018-01-10  8:00 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-01-10  7:26 Tab-completion no longer works? Martin Steffen
2018-01-10  8:00 ` Diego Zamboni [this message]
2018-01-10  8:03   ` Diego Zamboni
2018-01-10  8:12   ` Martin Steffen
2018-01-10  8:12   ` Rasmus

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAGY83Eep27erj7RwODujkqi2TdtHTAKsmVnK+iAXjhCBEgc87Q@mail.gmail.com \
    --to=diego@zzamboni.org \
    --cc=emacs-orgmode@gnu.org \
    --cc=msteffen@ifi.uio.no \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).