* Tab-completion no longer works? @ 2018-01-10 7:26 Martin Steffen 2018-01-10 8:00 ` Diego Zamboni 0 siblings, 1 reply; 5+ messages in thread From: Martin Steffen @ 2018-01-10 7:26 UTC (permalink / raw) To: emacs-orgmode 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 --------------------------------- ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Tab-completion no longer works? 2018-01-10 7:26 Tab-completion no longer works? Martin Steffen @ 2018-01-10 8:00 ` Diego Zamboni 2018-01-10 8:03 ` Diego Zamboni ` (2 more replies) 0 siblings, 3 replies; 5+ messages in thread From: Diego Zamboni @ 2018-01-10 8:00 UTC (permalink / raw) To: Martin Steffen; +Cc: emacs-orgmode [-- 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 --] ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Tab-completion no longer works? 2018-01-10 8:00 ` Diego Zamboni @ 2018-01-10 8:03 ` Diego Zamboni 2018-01-10 8:12 ` Martin Steffen 2018-01-10 8:12 ` Rasmus 2 siblings, 0 replies; 5+ messages in thread From: Diego Zamboni @ 2018-01-10 8:03 UTC (permalink / raw) To: Martin Steffen; +Cc: emacs-orgmode [-- Attachment #1: Type: text/plain, Size: 2541 bytes --] 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 <diego@zzamboni.org> 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 <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: 3705 bytes --] ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Tab-completion no longer works? 2018-01-10 8:00 ` Diego Zamboni 2018-01-10 8:03 ` Diego Zamboni @ 2018-01-10 8:12 ` Martin Steffen 2018-01-10 8:12 ` Rasmus 2 siblings, 0 replies; 5+ messages in thread From: Martin Steffen @ 2018-01-10 8:12 UTC (permalink / raw) To: Diego Zamboni; +Cc: emacs-orgmode >>>>> "Diego" == Diego Zamboni <diego@zzamboni.org> writes: Diego> Hi Martin, Diego> I discovered this only yesterday, when I started using Diego> org-mode from a git checkout and the shortcuts stopped Diego> working. Turns out this functionality now has to be enabled Diego> by loading the org-tempo library: Diego> https://code.orgmode.org/bzg/org-mode/src/master/lisp/org-tempo.el. In great. That did it. Thanks. Martin ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Tab-completion no longer works? 2018-01-10 8:00 ` Diego Zamboni 2018-01-10 8:03 ` Diego Zamboni 2018-01-10 8:12 ` Martin Steffen @ 2018-01-10 8:12 ` Rasmus 2 siblings, 0 replies; 5+ messages in thread From: Rasmus @ 2018-01-10 8:12 UTC (permalink / raw) To: emacs-orgmode Diego Zamboni <diego@zzamboni.org> writes: > 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. Note that ‘org-structure-template-alist’ will change again. There’s a patch posted on December 21 that I have got to finish. Rasmus -- The Kids call him Billy the Saint ^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2018-01-10 8:12 UTC | newest] Thread overview: 5+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2018-01-10 7:26 Tab-completion no longer works? Martin Steffen 2018-01-10 8:00 ` Diego Zamboni 2018-01-10 8:03 ` Diego Zamboni 2018-01-10 8:12 ` Martin Steffen 2018-01-10 8:12 ` Rasmus
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).