unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: jdavidboyd@adboyd.com (J. David Boyd)
To: emacs-devel@gnu.org
Subject: Re: bookmarks
Date: Tue, 27 May 2014 08:57:24 -0400	[thread overview]
Message-ID: <e0tc8upnv0p7.fsf@www1.g9.pair.com> (raw)
In-Reply-To: 87lhtrkk6n.fsf@floss.red-bean.com

[-- Attachment #1: Type: text/plain, Size: 2817 bytes --]

Karl Fogel <kfogel@red-bean.com> writes:

> jdavidboyd@adboyd.com (J. David Boyd) writes:
>>Did something change in the bookmark code?
>>When I load up 24.4.50, my bookmarks are all screwy.
>>Go back to 24.3.1, they look perfect.
>
> Hmm, nothing should have changed to cause that.  Can you post some more
> details?  Also, please save a copy of your ~/.emacs.bmk file (if it
> doesn't have anything private in it) and post that if you could.
>
> I assume you're talking about the bookmarks buffer created from
> `list-bookmarks'.  In 24.4.50.2 built today, my bookmarks look fine, so
> I'll need your help to reproduce this.
>
> Best,
> -Karl


Ok, I've attached my bookmark file at the end of this message, if I did it
correctly.

What is happening is that the left side, the titles of the bookmarks, looks
the same in either version of emacs, whether 24.3.1, or 24.4.50.1.

But the right hand side, the pointers to the actual file locations, is wrong.


In 24.3.1, buffer looks like

% Bookmark
- --------
  (bash) Bash Conditional Expr   /usr/share/info/bash
  (org) Clocking work time       /usr/local/share/info/org
  (org) Javascript support       /usr/local/share/info/org
  Emacs                          ~/org/reference.org
  custom.el                      ~/.emacs.d/custom.el
  emacs-init.org                 ~/.emacs.d/emacs-init.org
  init.el                        ~/.emacs.d/init.el
  org git source                 ~/.vendors/org
  org home dir                   ~/org/
  org-capture-last-stored-mark   ~/org/todo.org
  org-crypt.el                   ~/.vendors/org/lisp/org-crypt.el
  org-mobile.el                  ~/.vendors/org/lisp/org-mobile.el
  org-mode.org                   ~/.vendors/samples/org-mode.org


When I look at it in 24.4.50, it looks like

% Bookmark
- --------
  (bash) Bash Conditional Expr   /usr/share/info/bash
  (org) Clocking work time       /usr/share/info/bash
  (org) Javascript support       /usr/share/info/bash
  Emacs                          /usr/local/share/info/org
  custom.el                      /usr/local/share/info/org
  emacs-init.org                 ~/org/reference.org
  init.el                        ~/.emacs.d/custom.el
  org git source                 ~/.emacs.d/emacs-init.org
  org home dir                   ~/.emacs.d/init.el
  org-capture-last-stored-mark   ~/.vendors/org 
  org-crypt.el                   ~/org/
  org-mobile.el                  ~/org/todo.org
  org-mode.org                   ~/.vendors/org/lisp/org-crypt.el



It's like it gets confused somewhere, and loops around a few entries...


This happens to me on emacs 24.3 and 24.4.50 running under Cygwin, and running
under Ubuntu 12.04.2 LTS.  At first I just thought it was a Cygwin bug, but
then was able to replicate it on Ubuntu.

Thanks,

Dave in New Port Richey, FL




[-- Attachment #2: My bookmark file --]
[-- Type: application/octet-stream, Size: 2547 bytes --]

;;;; Emacs Bookmark Format Version 1 ;;;;
;;; This format is meant to be slightly human-readable;
;;; nevertheless, you probably don't want to edit it.
;;; -*- End Of Bookmark File Format Version Stamp -*-
(("org-mode.org"
 (filename . "~/.vendors/samples/org-mode.org")
 (front-context-string . "\nOrg-mode is a f")
 (rear-context-string . "_TAGS: noexport\n")
 (position . 659))
("Emacs"
 (filename . "~/org/reference.org")
 (front-context-string . "* Emacs\n** add a")
 (rear-context-string . "view:info toc:1\n")
 (position . 620))
("org-capture-last-stored-marker"
 (filename . "~/org/todo.org")
 (front-context-string . "*** TODO Rake th")
 (rear-context-string . "en Maintenance\n\n")
 (position . 838))
("(org) Clocking work time"
 (front-context-string . "\n8.4 Clocking wo")
 (rear-context-string . "Dates and times\n")
 (position . 248045)
 (filename . "/usr/local/share/info/org")
 (info-node . "Clocking work time")
 (handler . Info-bookmark-jump))
("(bash) Bash Conditional Expressions"
 (front-context-string . "f FILE exists an")
 (rear-context-string . "ILE'\n     True i")
 (position . 211358)
 (filename . "/usr/share/info/bash")
 (info-node . "Bash Conditional Expressions")
 (handler . Info-bookmark-jump))
("org git source"
 (filename . "~/.vendors/org/")
 (front-context-string . "contrib\n  -rw-rw")
 (rear-context-string . "96 Apr  5 09:54 ")
 (position . 275)
 (annotation . ""))
("(org) JavaScript support"
 (front-context-string . "\n     toc:     S")
 (rear-context-string . "child headlines.")
 (position . 448057)
 (filename . "/usr/local/share/info/org")
 (info-node . "JavaScript support")
 (handler . Info-bookmark-jump))
("org-crypt.el"
 (filename . "~/.vendors/org/lisp/org-crypt.el")
 (front-context-string . ";; but WITHOUT A")
 (rear-context-string . "will be useful,\n")
 (position . 784))
("init.el"
 (filename . "~/.emacs.d/init.el")
 (front-context-string . "\n(setq load-path")
 (rear-context-string)
 (position . 1))
("custom.el"
 (filename . "~/.emacs.d/custom.el")
 (front-context-string . ";;;\n;;; put ENTR")
 (rear-context-string)
 (position . 1))
("org home dir"
 (filename . "~/org/")
 (front-context-string . "2012-07-16.org\n ")
 (rear-context-string . "30 Jul 16  2012 ")
 (position . 208))
("emacs-init.org"
 (filename . "~/.emacs.d/emacs-init.org")
 (front-context-string . "* !  - startup\n\n")
 (rear-context-string)
 (position . 1))
("org-mobile.el"
 (filename . "~/.vendors/org/lisp/org-mobile.el")
 (front-context-string . ";;; org-mobile.e")
 (rear-context-string)
 (position . 1))
)

  reply	other threads:[~2014-05-27 12:57 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-05-23 18:42 bookmarks J. David Boyd
2014-05-24 17:24 ` bookmarks Stefan Monnier
2014-05-24 19:28   ` bookmarks Stefan Monnier
2014-05-24 20:15 ` bookmarks Karl Fogel
2014-05-27 12:57   ` J. David Boyd [this message]
2014-05-28  2:02     ` bookmarks Karl Fogel
2014-05-28 12:41       ` bookmarks J. David Boyd
2014-06-03 13:29         ` bookmarks J. David Boyd
2014-06-03 16:55           ` bookmarks Karl Fogel
2014-06-03 18:23             ` bookmarks J. David Boyd
2014-07-01 13:18               ` bookmarks J. David Boyd
2014-07-01 13:54                 ` bookmarks J. David Boyd
2014-07-01 20:37                   ` bookmarks Michael Heerdegen
2014-07-01 20:53                   ` bookmarks Karl Fogel
2014-07-02 14:45                     ` bookmarks J. David Boyd
  -- strict thread matches above, loose matches on Subject: below --
2009-09-14 15:11 bookmarks Sean Sieger
2009-09-14 19:54 ` bookmarks Karl Fogel
2009-09-14 21:04   ` bookmarks Sean Sieger
2009-09-15 23:50     ` bookmarks Bastien
2009-09-15 23:59       ` bookmarks Sean Sieger
2010-01-02 19:43     ` bookmarks Karl Fogel
2010-01-02 23:13       ` bookmarks Sean Sieger
2010-01-05 19:18       ` bookmarks Sean Sieger
2010-01-06  3:22         ` bookmarks Karl Fogel

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=e0tc8upnv0p7.fsf@www1.g9.pair.com \
    --to=jdavidboyd@adboyd.com \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).