From mboxrd@z Thu Jan 1 00:00:00 1970 From: Allan Streib Subject: Re: long delay after selecting capture template Date: Thu, 24 Mar 2016 10:36:25 -0400 Message-ID: <87fuvggcye.fsf@viking.dsc.soic.indiana.edu> References: <87h9g5kpf6.fsf@viking.dsc.soic.indiana.edu> <871t78d5ks.fsf@ericabrahamsen.net> <87zitvk6dp.fsf@viking.dsc.soic.indiana.edu> <87lh5eoae0.fsf@ericabrahamsen.net> <87io0cgg5c.fsf@viking.dsc.soic.indiana.edu> <87d1qkt1f7.fsf@ucl.ac.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:52512) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aj6NE-00062S-90 for emacs-orgmode@gnu.org; Thu, 24 Mar 2016 10:36:36 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aj6N8-00011Z-Vh for emacs-orgmode@gnu.org; Thu, 24 Mar 2016 10:36:32 -0400 Received: from hartman.uits.indiana.edu ([129.79.1.194]:35604) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aj6N8-00011M-RQ for emacs-orgmode@gnu.org; Thu, 24 Mar 2016 10:36:26 -0400 In-Reply-To: <87d1qkt1f7.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: Eric S Fraga Cc: emacs-orgmode@gnu.org Eric S Fraga writes: > I've had this problem in the past. I found that setting this variable hel= ps: > > ,----[ C-h v x-selection-timeout RET ] > | x-selection-timeout is a variable defined in =E2=80=98C source code=E2= =80=99. > | Its value is 10 > |=20 > | Documentation: > | Number of milliseconds to wait for a selection reply. > | If the selection owner doesn=E2=80=99t reply in this time, we give up. > | A value of 0 means wait as long as necessary. This is initialized from= the > | "*selectionTimeout" resource. > `---- > > For me, a value of 10 works well in most cases. Sometimes this means > that the selection from another application (e.g. the browser) is not > found but at least it doesn't stall. Thanks, mine was set to 5000. Seems like I've seen it stall for longer than 5 seconds, but perhaps in those cases one of the primary or clipboard selections timed out as well. I'm on OpenBSD by the way. --=20 Allan Streib Indiana University School of Informatics and Computing Digital Science Center :: Community Grids Lab :: FutureSystems Allan