From: Chong Yidong Date: Mon, 21 Sep 2009 02:26:07 +0000 (+0000) Subject: lisp/cedet/semantic/mru-bookmark.el: New file. X-Git-Tag: emacs-pretest-23.1.90~1091^2~16 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=602a8d7e4fa3616878f9161c4431bdd4b3b0fb04;p=emacs.git lisp/cedet/semantic/mru-bookmark.el: New file. --- diff --git a/lisp/cedet/semantic/mru-bookmark.el b/lisp/cedet/semantic/mru-bookmark.el new file mode 100644 index 00000000000..e1307c68a06 --- /dev/null +++ b/lisp/cedet/semantic/mru-bookmark.el @@ -0,0 +1,458 @@ +;;; semantic/mru-bookmark.el --- Automatic bookmark tracking + +;; Copyright (C) 2007, 2008, 2009 Free Software Foundation, Inc. + +;; Author: Eric M. Ludlam + +;; This file is part of GNU Emacs. + +;; GNU Emacs is free software: you can redistribute it and/or modify +;; it under the terms of the GNU General Public License as published by +;; the Free Software Foundation, either version 3 of the License, or +;; (at your option) any later version. + +;; GNU Emacs is distributed in the hope that it will be useful, +;; but WITHOUT ANY WARRANTY; without even the implied warranty of +;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +;; GNU General Public License for more details. + +;; You should have received a copy of the GNU General Public License +;; along with GNU Emacs. If not, see . + +;;; Commentary: +;; +;; Using editing hooks, track the most recently visited or poked tags, +;; and keep a list of them, with the current point in from, and sorted +;; by most recently used. +;; +;; I envision this would be used in place of switch-buffers once +;; someone got the hang of it. +;; +;; I'd also like to see this used to provide some nice defaults for +;; other programs where logical destinations or targets are the tags +;; that have been recently edited. +;; +;; Quick Start: +;; +;; M-x global-semantic-mru-bookmark-mode RET +;; +;; < edit some code > +;; +;; C-x B