From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Robert Thorpe Newsgroups: gmane.emacs.help Subject: Re: Opening a bookmark in the init file Date: Tue, 03 Mar 2015 02:32:50 +0000 Message-ID: <87mw3uerot.fsf@robertthorpeconsulting.com> References: <06be73f7-c6f2-4075-90b8-ec2b4f7314a5@default> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1425350000 4017 80.91.229.3 (3 Mar 2015 02:33:20 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 3 Mar 2015 02:33:20 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Drew Adams Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Mar 03 03:33:10 2015 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1YScdw-00069M-OL for geh-help-gnu-emacs@m.gmane.org; Tue, 03 Mar 2015 03:33:08 +0100 Original-Received: from localhost ([::1]:33032 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YScdw-0001JW-47 for geh-help-gnu-emacs@m.gmane.org; Mon, 02 Mar 2015 21:33:08 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:57624) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YScdk-0001FI-4B for help-gnu-emacs@gnu.org; Mon, 02 Mar 2015 21:32:56 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YScdg-0006d2-Op for help-gnu-emacs@gnu.org; Mon, 02 Mar 2015 21:32:55 -0500 Original-Received: from outbound-smtp03.blacknight.com ([81.17.249.16]:54134) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YScdg-0006cp-Id for help-gnu-emacs@gnu.org; Mon, 02 Mar 2015 21:32:52 -0500 Original-Received: from mail.blacknight.com (pemlinmail04.blacknight.ie [81.17.254.17]) by outbound-smtp03.blacknight.com (Postfix) with ESMTPS id 21609986B3 for ; Tue, 3 Mar 2015 02:32:51 +0000 (UTC) Original-Received: (qmail 7359 invoked from network); 3 Mar 2015 02:32:51 -0000 Original-Received: from unknown (HELO RTLaptop) (rt@robertthorpeconsulting.com@[109.79.166.131]) by 81.17.254.9 with ESMTPSA (DHE-RSA-AES128-SHA encrypted, authenticated); 3 Mar 2015 02:32:50 -0000 In-Reply-To: <06be73f7-c6f2-4075-90b8-ec2b4f7314a5@default> (message from Drew Adams on Mon, 2 Mar 2015 16:56:20 -0800 (PST)) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 81.17.249.16 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:102995 Archived-At: Drew Adams writes: >> For years I've setup Emacs so it presents me with my ToDo list at >> startup. It doesn't put me in the right place in the file though. I >> can bookmark the place in the file, but using bookmark-jump in the init >> file doesn't work and it doesn't work in emacs-startup-hook either. > > Why doesn't it work in your init file? Of course you will need to > load your bookmarks file before trying to jump to the bookmark. That was the problem. When I loaded the file with (bookmark-load "~/.emacs.bmk") it worked. BR, Robert Thorpe