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: clearing bookmark list Date: Thu, 30 Oct 2008 09:43:08 -0700 Message-ID: <00aa01c93aae$9729f680$c2b22382@us.oracle.com> References: <51826064-8851-49d5-98d2-b3bb6c747fa7@d1g2000hsg.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1225385032 8930 80.91.229.12 (30 Oct 2008 16:43:52 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 30 Oct 2008 16:43:52 +0000 (UTC) To: "'tomer'" , Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Oct 30 17:44:54 2008 connect(): Connection refused Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1Kvadb-00005V-9Z for geh-help-gnu-emacs@m.gmane.org; Thu, 30 Oct 2008 17:44:47 +0100 Original-Received: from localhost ([127.0.0.1]:49554 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KvacU-0000lo-T3 for geh-help-gnu-emacs@m.gmane.org; Thu, 30 Oct 2008 12:43:38 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KvacD-0000lT-Gs for help-gnu-emacs@gnu.org; Thu, 30 Oct 2008 12:43:21 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KvacB-0000lC-SR for help-gnu-emacs@gnu.org; Thu, 30 Oct 2008 12:43:21 -0400 Original-Received: from [199.232.76.173] (port=43705 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KvacB-0000l9-MA for help-gnu-emacs@gnu.org; Thu, 30 Oct 2008 12:43:19 -0400 Original-Received: from agminet01.oracle.com ([141.146.126.228]:33849) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KvacB-0004tI-IZ for help-gnu-emacs@gnu.org; Thu, 30 Oct 2008 12:43:19 -0400 Original-Received: from rgmgw1.us.oracle.com (rgmgw1.us.oracle.com [138.1.186.110]) by agminet01.oracle.com (Switch-3.2.4/Switch-3.1.7) with ESMTP id m9UGh6km011430; Thu, 30 Oct 2008 11:43:07 -0500 Original-Received: from acsmt701.oracle.com (acsmt701.oracle.com [141.146.40.71]) by rgmgw1.us.oracle.com (Switch-3.2.4/Switch-3.2.4) with ESMTP id m9UGh4FJ013433; Thu, 30 Oct 2008 10:43:05 -0600 Original-Received: from dradamslap1 (/130.35.178.194) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Thu, 30 Oct 2008 16:43:04 +0000 X-Mailer: Microsoft Office Outlook 11 In-Reply-To: <51826064-8851-49d5-98d2-b3bb6c747fa7@d1g2000hsg.googlegroups.com> Thread-Index: Ack6pffoVNLi0fcLQ2md+dVNvYkaXAAAjM8g X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3350 X-Brightmail-Tracker: AAAAAQAAAAI= X-Brightmail-Tracker: AAAAAQAAAAI= X-Whitelist: TRUE X-Whitelist: TRUE X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.4-2.6 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:59263 Archived-At: > How can I clear bookmark list > i know i can delete item by item with bookmark-detete. > but if i have large number of bookmarks, > Is there any method to clear all the bookmarks and start from fresh > new empty bookmark list ? This is easy if you use Icicles. Multi-command `icicle-bookmark' visits one or more bookmarks, but it also lets you delete one or more. During completion of candidate bookmark names: * Your minibuffer input filters the names of the bookmarks you can visit (or delete). * You can cycle among the bookmark names that match your input, to choose which bookmarks to visit (or to delete). * `S-delete' on the current completion candidate deletes that bookmark. (`C-RET' visits it.) * `C-u S-delete' deletes ALL of the bookmarks that match your current input, that is, all bookmark names in *Completions*. So, for example, if you want to delete all bookmarks, then just hit `C-u S-delete' after invoking `icicle-bookmark'. If you have typed no input, then all bookmarks are matched, so all are deleted. If you want to delete all bookmarks whose names contain `foobar', then type `foobar' and hit `C-u S-delete'. If you want to delete all bookmarks whose names contain both `foo' and `bar', in either order, then type `foo', hit `S-SPC', type `bar', and hit `C-u S-delete'. You can also use regexps as input patterns. And you can change your input at any time to delete (or visit) a different set of bookmarks - all within the same `icicle-bookmark' invocation. By default (customizable), Icicle mode remaps the bindings of standard command `bookmark-set' so they invoke `icicle-bookmark-cmd', which invokes `icicle-bookmark' if you use a negative prefix arg, or `bookmark-set' otherwise: `C-x r m' still invokes `bookmark-set', but `C-- C-x r m' invokes `icicle-bookmark'. So to delete all bookmarks: `C-- C-x r m C-u S-delete'. http://www.emacswiki.org/emacs/Icicles_-_Tripping The same mechanism is available for deleting buffers, files, directories, kill-ring entries, history entries, markers, saved regions,.... When you complete their names (e.g. during a command to visit them), you can use `S-delete' to delete one or more of them selectively.