From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Silvio Levy Newsgroups: gmane.emacs.help Subject: Re: Starting buffer configuration Date: Sat, 31 Dec 2011 14:01:27 -0800 Message-ID: <20111231220127.8440D181071@neo.msri.org> NNTP-Posting-Host: lo.gmane.org X-Trace: dough.gmane.org 1325368902 9593 80.91.229.12 (31 Dec 2011 22:01:42 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 31 Dec 2011 22:01:42 +0000 (UTC) Cc: help-gnu-emacs@gnu.org, 'Yotam Avital' To: "Drew Adams" Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Dec 31 23:01:38 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 1Rh6zh-00046T-Hn for geh-help-gnu-emacs@m.gmane.org; Sat, 31 Dec 2011 23:01:37 +0100 Original-Received: from localhost ([::1]:35045 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rh6zg-00004u-TO for geh-help-gnu-emacs@m.gmane.org; Sat, 31 Dec 2011 17:01:36 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:46997) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rh6zc-0008WA-CC for help-gnu-emacs@gnu.org; Sat, 31 Dec 2011 17:01:33 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Rh6za-0004bb-Jl for help-gnu-emacs@gnu.org; Sat, 31 Dec 2011 17:01:32 -0500 Original-Received: from spike.lmi.net ([66.117.140.17]:55851) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rh6za-0004bO-7z for help-gnu-emacs@gnu.org; Sat, 31 Dec 2011 17:01:30 -0500 Original-Received: from neo.msri.org (75-101-50-210.dsl.static.sonic.net [75.101.50.210]) by spike.lmi.net (Postfix) with ESMTP id D1760154087; Sat, 31 Dec 2011 14:01:27 -0800 (PST) Original-Received: by neo.msri.org (Postfix, from userid 1000) id 8440D181071; Sat, 31 Dec 2011 14:01:27 -0800 (PST) Original-Received: from neo.msri.org (localhost [127.0.0.1]) by neo.msri.org (Postfix) with ESMTP id 76FA6180B4C; Sat, 31 Dec 2011 14:01:27 -0800 (PST) In-reply-to: Your message of Sat, 31 Dec 2011 13:32:55 -0800 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 66.117.140.17 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:83277 Archived-At: Dear Drew, Thanks for this very informative answer to Yotam's question. I just checked out Bookmark+ and it looks good: thanks for writing it! I get an error when doing exactly as you said (having placed the 8 bookmark+* files on my emacs path). The whole debug output is copied after my signature; the gist (which appears when I type C-x r l) is Symbol's function definition is void: with-buffer-modified-unmodified I'm using GNU Emacs 23.1.50.1. Silvio Levy Debugger entered--Lisp error: (void-function with-buffer-modified-unmodified) (with-buffer-modified-unmodified (save-excursion (save-window-excursion ... ... ... ...))) (progn (unless no-msg-p (message "Showing file names...")) (with-buffer-modified-unmodified (save-excursion ...)) (unless no-msg-p (message "Showing file names...done")) (when (and ... ...) (fit-frame-if-one-window))) (if (or force bookmark-bmenu-toggle-filenames) (progn (unless no-msg-p ...) (with-buffer-modified-unmodified ...) (unless no-msg-p ...) (when ... ...))) (when (or force bookmark-bmenu-toggle-filenames) (unless no-msg-p (message "Showing file names...")) (with-buffer-modified-unmodified (save-excursion ...)) (unless no-msg-p (message "Showing file names...done")) (when (and ... ...) (fit-frame-if-one-window))) bookmark-bmenu-show-filenames(nil) (if bookmark-bmenu-toggle-filenames (bookmark-bmenu-show-filenames no-msg-p) (bookmark-bmenu-hide-filenames no-msg-p)) (let ((bookmark-bmenu-toggle-filenames ...)) (if bookmark-bmenu-toggle-filenames (bookmark-bmenu-show-filenames no-msg-p) (bookmark-bmenu-hide-filenames no-msg-p))) bookmark-bmenu-toggle-filenames(t) (progn (bookmark-bmenu-toggle-filenames t)) (if bookmark-bmenu-toggle-filenames (progn (bookmark-bmenu-toggle-filenames t))) (when bookmark-bmenu-toggle-filenames (bookmark-bmenu-toggle-filenames t)) (let* ((inhibit-read-only t) (title ...) (show-image-file-icon-p ...)) (erase-buffer) (when (fboundp ...) (remove-images ... ...)) (insert (format "%s\n%s\n" title ...)) (add-text-properties (point-min) (point) (bmkp-face-prop ...)) (goto-char (point-min)) (insert (format "Bookmark file:\n%s\n\n" bmkp-current-bookmark-file)) (forward-line bmkp-bmenu-header-lines) (let (... name markedp tags annotation temporaryp start) (setq bmkp-sorted-alist ...) (dolist ... ...) (setq max-width ...) (dolist ... ... ... ... ... ... ... ... ... ... ... ...)) (goto-char (point-min)) (forward-line bmkp-bmenu-header-lines) (bookmark-bmenu-mode) (when bookmark-bmenu-toggle-filenames (bookmark-bmenu-toggle-filenames t)) (when (and ... ...) (fit-frame-if-one-window))) bmkp-bmenu-list-1(filteredp nil 1) (let ((bookmark-alist ...)) (bmkp-bmenu-list-1 (quote filteredp) nil msgp)) (cond ((and bmkp-bmenu-first-time-p bmkp-bmenu-state-file ...) (let ... ... ...) (setq bmkp-bmenu-first-time-p nil) (let ... ...) (when ... ...) (when ... ...) (when bmkp-last-bmenu-bookmark ...)) (t (setq bmkp-bmenu-first-time-p nil) (bmkp-bmenu-list-1 filteredp ... msgp))) bookmark-bmenu-list(nil 1) call-interactively(bookmark-bmenu-list) eval-buffer(# nil "/home/levy/.emacs" nil t) ; Reading at buffer position 328 load-with-code-conversion("/home/levy/.emacs" "/home/levy/.emacs" t t) load("~/.emacs" t t) #[nil "\205\264emacs" windows-nt directory-files nil "^\\.emacs\\(\\.elc?\\)?$" "~/.emacs" "^_emacs\\(\\.elc?\\)?$" "~/_emacs" "/.emacs" t load expand-file-name "init" file-name-as-directory "/.emacs.d" file-name-extension "elc" file-name-sans-extension ".el" file-exists-p file-newer-than-file-p message "Warning: %s is newer than %s" sit-for 1 "default" alt inhibit-default-init inhibit-startup-screen] 7]() command-line() normal-top-level()