From mboxrd@z Thu Jan 1 00:00:00 1970 From: Daniel P Gomez Subject: Re: Emacs freeze after selecting a capture template Date: Thu, 26 Nov 2015 17:32:09 +0100 Message-ID: References: <87two92k1o.fsf@ucl.ac.uk> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a11346b48cec0730525741dba Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:49358) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a1zSt-0006nl-P6 for emacs-orgmode@gnu.org; Thu, 26 Nov 2015 11:32:12 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1a1zSs-00043H-Iq for emacs-orgmode@gnu.org; Thu, 26 Nov 2015 11:32:11 -0500 Received: from mail-ig0-x22b.google.com ([2607:f8b0:4001:c05::22b]:36118) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a1zSs-00043B-Es for emacs-orgmode@gnu.org; Thu, 26 Nov 2015 11:32:10 -0500 Received: by igcph11 with SMTP id ph11so13600886igc.1 for ; Thu, 26 Nov 2015 08:32:10 -0800 (PST) In-Reply-To: <87two92k1o.fsf@ucl.ac.uk> 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-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Daniel P Gomez , emacs-orgmode@gnu.org --001a11346b48cec0730525741dba Content-Type: text/plain; charset=UTF-8 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 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 > --001a11346b48cec0730525741dba Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
That solved the problem...=C2=A0
I had (global-linum-m= ode 1) on my init.el, and that conflicts with org-capture somehow.
I've changed it to=C2=A0(add-hook 'prog-mode-hook 'linum-mode= ) and the issue was gone.

Thanks for the feedback<= /div>

Daniel

<= div class=3D"gmail_quote">On Thu, Nov 26, 2015 at 10:21 AM, Eric S Fraga <= e.fraga@ucl.ac.uk> wrote:
<= span class=3D"">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 T= ODO 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.=C2=A0 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=

--001a11346b48cec0730525741dba--