Re: How can I delete all editing bookmarks at once in Xemacs?

Adrian Aichner <[email protected]> Tue, 10 Feb 2004 23:29:43 +0100
Newsgroups gmane.emacs.xemacs.general
Organization The XEmacs Project
Message-ID <[email protected]>
>>>>> "Alexander" == Alexander Beck-Ratzka <[email protected]> writes:

    Alexander> Hello list,

    Alexander> once again I like to ask, wether anyone knows how I can
    Alexander> delete bookmarks in Xemacs all at once? I would like to
    Alexander> combine this automatically with leaving Xemacs. Of
    Alexander> course it is also possoble, ot delete all bookmarks
    Alexander> during the startup by a command in init.el for
    Alexander> example. Unfortunately, I don't know th command:-(

    Alexander> My first email at 4.2.04 hasn't been answered, I hope
    Alexander> to get an answer now
    Alexander> ;-)

(bookmark-all-names)
will give you a list of all defined bookmarks.

Iterate over that and delete each one with

(bookmark-delete name)

The testing is left as an exercise to the reader.

Make sure to backup any files involved.

Good Luck,

Adrian

    Alexander> Best wishes

    Alexander> Alexander

-- 
Adrian Aichner
 mailto:[email protected]
 http://www.xemacs.org/