emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Emacs freeze after selecting a capture template
@ 2015-11-25 22:49 Daniel P Gomez
  2015-11-26  9:21 ` Eric S Fraga
  0 siblings, 1 reply; 3+ messages in thread
From: Daniel P Gomez @ 2015-11-25 22:49 UTC (permalink / raw)
  To: emacs-orgmode

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

Hi all,

I'm new to Emacs and org-mode. I've tried to set up a simple TODO list by
calling org-capture and when I select my [t] todo item on *Org Select*,
Emacs freezes and I need to kill its process.

On the mini-buffer I can read the following error message:

Clipboard pasted as level 2 subtree
Error in post-command-hook (linum-update-current): args-out-of-range 1 1)

I've updated all packages to the latest version, and reinstalled the latest
Emacs 25, but the error persisted. Does anyone have an idea where this
might be coming from? Am I overseeing something very simple?

Thanks a lot.

Bests,
Daniel

on init.el:

(setq org-capture-templates
       '(("t" "todo" entry (file+headline "/Users/dgomez/todo.org" "Tasks")
          "* TODO [#A] %?")))


GNU Emacs 25.0.50.1 (x86_64-apple-darwin15.0.0, NS appkit-1404.13 Version
10.11.1 (Build 15B42)) of 2015-11-25

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Emacs freeze after selecting a capture template
  2015-11-25 22:49 Emacs freeze after selecting a capture template Daniel P Gomez
@ 2015-11-26  9:21 ` Eric S Fraga
  2015-11-26 16:32   ` Daniel P Gomez
  0 siblings, 1 reply; 3+ messages in thread
From: Eric S Fraga @ 2015-11-26  9:21 UTC (permalink / raw)
  To: Daniel P Gomez; +Cc: emacs-orgmode

On Wednesday, 25 Nov 2015 at 23:49, Daniel P Gomez wrote:
> Hi all,
>
> I'm new to Emacs and org-mode. I've tried to set up a simple TODO list by
> calling org-capture and when I select my [t] todo item on *Org Select*,
> Emacs freezes and I need to kill its process.
>
> On the mini-buffer I can read the following error message:
>
> Clipboard pasted as level 2 subtree
> Error in post-command-hook (linum-update-current): args-out-of-range 1 1)

Maybe turn off linum-mode and see if things work.  I know that linum
mode does cause problems with some modes...  
-- 
: Eric S Fraga (0xFFFCF67D), Emacs 25.0.50.2, Org release_8.3.2-338-g522ec9

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Emacs freeze after selecting a capture template
  2015-11-26  9:21 ` Eric S Fraga
@ 2015-11-26 16:32   ` Daniel P Gomez
  0 siblings, 0 replies; 3+ messages in thread
From: Daniel P Gomez @ 2015-11-26 16:32 UTC (permalink / raw)
  To: Daniel P Gomez, emacs-orgmode

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

That solved the problem...
I had (global-linum-mode 1) on my init.el, and that conflicts with
org-capture somehow.
I've changed it to (add-hook 'prog-mode-hook 'linum-mode) and the issue was
gone.

Thanks for the feedback

Daniel

On Thu, Nov 26, 2015 at 10:21 AM, Eric S Fraga <e.fraga@ucl.ac.uk> wrote:

> On Wednesday, 25 Nov 2015 at 23:49, Daniel P Gomez wrote:
> > Hi all,
> >
> > I'm new to Emacs and org-mode. I've tried to set up a simple TODO list by
> > calling org-capture and when I select my [t] todo item on *Org Select*,
> > Emacs freezes and I need to kill its process.
> >
> > On the mini-buffer I can read the following error message:
> >
> > Clipboard pasted as level 2 subtree
> > Error in post-command-hook (linum-update-current): args-out-of-range 1 1)
>
> Maybe turn off linum-mode and see if things work.  I know that linum
> mode does cause problems with some modes...
> --
> : Eric S Fraga (0xFFFCF67D), Emacs 25.0.50.2, Org release_8.3.2-338-g522ec9
>

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-11-26 16:32 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-11-25 22:49 Emacs freeze after selecting a capture template Daniel P Gomez
2015-11-26  9:21 ` Eric S Fraga
2015-11-26 16:32   ` Daniel P Gomez

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