From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Drew Adams" Newsgroups: gmane.emacs.help Subject: RE: Starting buffer configuration Date: Sat, 31 Dec 2011 13:32:55 -0800 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1325367205 1273 80.91.229.12 (31 Dec 2011 21:33:25 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 31 Dec 2011 21:33:25 +0000 (UTC) To: "'Yotam Avital'" , Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Dec 31 22:33:21 2011 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Rh6YK-0000oJ-CJ for geh-help-gnu-emacs@m.gmane.org; Sat, 31 Dec 2011 22:33:20 +0100 Original-Received: from localhost ([::1]:49568 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rh6YJ-0006OL-Od for geh-help-gnu-emacs@m.gmane.org; Sat, 31 Dec 2011 16:33:19 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:50348) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rh6YC-0006O4-M5 for help-gnu-emacs@gnu.org; Sat, 31 Dec 2011 16:33:16 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Rh6Y8-0001jy-Uf for help-gnu-emacs@gnu.org; Sat, 31 Dec 2011 16:33:12 -0500 Original-Received: from rcsinet15.oracle.com ([148.87.113.117]:42956) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rh6Y8-0001ju-PB for help-gnu-emacs@gnu.org; Sat, 31 Dec 2011 16:33:08 -0500 Original-Received: from ucsinet21.oracle.com (ucsinet21.oracle.com [156.151.31.93]) by rcsinet15.oracle.com (Switch-3.4.4/Switch-3.4.4) with ESMTP id pBVLX4tE019881 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Sat, 31 Dec 2011 21:33:04 GMT Original-Received: from acsmt358.oracle.com (acsmt358.oracle.com [141.146.40.158]) by ucsinet21.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id pBVLX2Ev017069 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 31 Dec 2011 21:33:03 GMT Original-Received: from abhmt108.oracle.com (abhmt108.oracle.com [141.146.116.60]) by acsmt358.oracle.com (8.12.11.20060308/8.12.11) with ESMTP id pBVLX2rg021809; Sat, 31 Dec 2011 15:33:02 -0600 Original-Received: from dradamslap1 (/10.159.55.207) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Sat, 31 Dec 2011 13:33:02 -0800 X-Mailer: Microsoft Office Outlook 11 In-Reply-To: X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6157 Thread-Index: AczIAZi90MQvShz2T6WhouEavzacMAAADopw X-Source-IP: ucsinet21.oracle.com [156.151.31.93] X-CT-RefId: str=0001.0A090207.4EFF7F91.0010,ss=1,re=0.000,fgs=0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 1) X-Received-From: 148.87.113.117 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:83276 Archived-At: > I'm using emacs for several projects. I find the bookmark > feature very useful. How can I set emacs launch in my > bookmark page (or any other page for that matter)? Put this at the end of your init file (~/.emacs): (require 'bookmark) (call-interactively 'bookmark-bmenu-list) Or if you use Bookmark+, change the first line to (require 'bookmark+). (The Bookmark+ files need to be in your `load-path', for that. Bookmark+ is here: http://www.emacswiki.org/cgi-bin/wiki/BookmarkPlus.) The reason you need to use `call-interactively' and not just `(bookmark-bmenu-list)' is that `bookmark-bmenu-list' does not show the buffer unless it is called interactively. It includes this code: (if (called-interactively-p 'interactive) (switch-to-buffer buf) ; Show it (set-buffer buf))) ; Just create it, without showing it. (`bookmark-bmenu-list' is the command you use when you hit `C-x r l' to show the bookmark list.)