From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: henry atting Newsgroups: gmane.emacs.bugs Subject: bug#3391: Bug#3391: 23.0.93; bookmarks-jump only works on second try Date: Sat, 20 Jun 2009 13:52:21 +0200 Organization: LiteraturLateNight Message-ID: <874oubdswa.fsf@online.de> References: <87zlcz7j64.fsf@online.de> Reply-To: henry atting , 3391@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Trace: ger.gmane.org 1245524265 21160 80.91.229.12 (20 Jun 2009 18:57:45 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 20 Jun 2009 18:57:45 +0000 (UTC) To: Glenn Morris Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Jun 20 20:57:42 2009 Return-path: Envelope-to: geb-bug-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 1MI5kx-0001s1-HV for geb-bug-gnu-emacs@m.gmane.org; Sat, 20 Jun 2009 20:57:40 +0200 Original-Received: from localhost ([127.0.0.1]:44737 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MI5kw-0004A4-K5 for geb-bug-gnu-emacs@m.gmane.org; Sat, 20 Jun 2009 14:57:38 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MI5kn-000455-U0 for bug-gnu-emacs@gnu.org; Sat, 20 Jun 2009 14:57:30 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MI5ki-0003zx-W4 for bug-gnu-emacs@gnu.org; Sat, 20 Jun 2009 14:57:29 -0400 Original-Received: from [199.232.76.173] (port=56631 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MI5ki-0003zh-Qh for bug-gnu-emacs@gnu.org; Sat, 20 Jun 2009 14:57:24 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:39045) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MI5ki-00080g-8e for bug-gnu-emacs@gnu.org; Sat, 20 Jun 2009 14:57:24 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n5KIvLrp010182; Sat, 20 Jun 2009 11:57:22 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.14.3/8.14.3/Submit) id n5KIj4UA007744; Sat, 20 Jun 2009 11:45:04 -0700 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: henry atting Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Sat, 20 Jun 2009 18:45:03 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: followup 3391 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by 3391-submit@emacsbugs.donarmstrong.com id=B3391.12455230466688 (code B ref 3391); Sat, 20 Jun 2009 18:45:03 +0000 Original-Received: (at 3391) by emacsbugs.donarmstrong.com; 20 Jun 2009 18:37:26 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n5KIbLAf006671 for <3391@emacsbugs.donarmstrong.com>; Sat, 20 Jun 2009 11:37:22 -0700 Original-Received: from rgm by fencepost.gnu.org with local (Exim 4.67) (envelope-from ) id 1MI5RJ-0002Q3-0d for 3391@emacsbugs.donarmstrong.com; Sat, 20 Jun 2009 14:37:21 -0400 Resent-Message-ID: <19005.11360.969263.735060@fencepost.gnu.org> Resent-Date: Sat, 20 Jun 2009 14:37:20 -0400 Resent-From: Glenn Morris Resent-To: 3391@emacsbugs.donarmstrong.com In-Reply-To: (Glenn Morris's message of "Fri, 19 Jun 2009 15:36:40 -0400") X-Provags-ID: V01U2FsdGVkX1/BZ0yuwGGtP0JI0/m40x1dkqZWt0H75KkX+Ua smCIrbS6tD+wKu4KdSdR88QXE+NqlEuh0/grAnpfVunJDvlBo+ MQUrhF1flj4xpR7XJU4zw== X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.94 (gnu/linux) Resent-Date: Sat, 20 Jun 2009 14:37:21 -0400 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:28868 Archived-At: --=-=-= On Fr, Jun 19 2009, Glenn Morris wrote: > henry atting wrote: > >> When trying to open a file with bookmark-jump the first try results in >> an error message like this: >> >> Loading bookmark...done >> Fontifying .emacs.bmk... (regexps...) >> string-match: Wrong type argument: symbolp, >> ("org-remember-last-stored" (filename . "~/notes.org") >> (front-context-string . "** [2009-05-26 D") (rear-context-string . " >> Di 14:52] test ") (position . 2403)) > > > Please give a complete recipe showing how to reproduce the problem, > starting from emacs -Q with no .emacs.bmk file. Also, do M-x > toggle-debug-on-error and include the resulting backtrace. > > I could not reproduce this in normal use of bookmarks, but it seems > org is involved somehow. Emacs started with `-Q' and a non-existing .emacs.bmk leads to no problems. I can set bookmarks and jump to it. Emacs started as usual and no .emacs.bmk present causes no problems either. But if I set a bookmark and start it again the above mentioned behaviour reoccures. (As I don't use bookmarks this would be no problem, but org-mode sets a bookmark when using org-remember) henry --=-=-= Content-Disposition: attachment; filename=debug.txt Content-Transfer-Encoding: quoted-printable X-MIME-Autoconverted: from 8bit to quoted-printable by rzlab.ucr.edu id n5KIvLrp010182 Debugger entered--Lisp error: (wrong-type-argument symbolp ("org-remember= -last-stored" (filename . "~/notes.org") (front-context-string . "** [200= 9-06-19 F") (rear-context-string . "file:~/.emacs]] ") (position . 2181))) symbol-name(("org-remember-last-stored" (filename . "~/notes.org") (fro= nt-context-string . "** [2009-06-19 F") (rear-context-string . "file:~/.e= macs]]\n") (position . 2181))) (string-match "@.*" (symbol-name (car-safe sexp))) (if (string-match "@.*" (symbol-name ...)) (progn (let ... ... ... ...)= t)) (when (string-match "@.*" (symbol-name ...)) (let (... ...) (set-marker= begin-marker begin-point) (set-marker end-marker ...) (set-match-data ..= .)) t) (let ((begin-point ...)) (condition-case nil (setq sexp ...) (...)) (wh= en (string-match "@.*" ...) (let ... ... ... ...) t)) (let ((sexp nil)) (when (search-forward ... limit t) (backward-char 2))= (let (...) (condition-case nil ... ...) (when ... ... t))) linkd-match(379) funcall(linkd-match 379) (if (stringp matcher) (re-search-forward matcher end t) (funcall matche= r end)) (and (< (point) end) (if (stringp matcher) (re-search-forward matcher e= nd t) (funcall matcher end)) (or (> ... ...) (progn ... t))) (while (and (< ... end) (if ... ... ...) (or ... ...)) (when (and font-= lock-multiline ...) (put-text-property-unless-ignore ... ... ... t)) (set= q highlights (cdr keyword)) (while highlights (if ... ... ... ... ...) (s= etq highlights ...))) (while keywords (if loudly (message "Fontifying %s... (regexps..%s)" bu= fname ...)) (setq keyword (car keywords) matcher (car keyword)) (goto-cha= r start) (while (and ... ... ...) (when ... ...) (setq highlights ...) (w= hile highlights ... ...)) (setq keywords (cdr keywords))) (let ((case-fold-search font-lock-keywords-case-fold-search) (keywords = ...) (bufname ...) (count 0) (pos ...) keyword matcher highlights) (while= keywords (if loudly ...) (setq keyword ... matcher ...) (goto-char start= ) (while ... ... ... ...) (setq keywords ...)) (set-marker pos nil)) font-lock-fontify-keywords-region(1 379 t) font-lock-default-fontify-region(1 379 t) font-lock-fontify-region(1 379 t) byte-code("=8A=C3 =18=C4=8E=C5ed #=88=C6 =88=C7=89=12+=87" [save-match-= data-internal verbose font-lock-fontified match-data ((byte-code "=C1=08=C2= \"=87" [save-match-data-internal set-match-data evaporate] 3)) font-lock-= fontify-region font-lock-after-fontify-buffer t] 4) font-lock-default-fontify-buffer() font-lock-fontify-buffer() (let ((modified-p ...)) (add-hook (quote before-save-hook) (quote linkd= -deactivate-all-datablocks) :append :local) (add-hook (quote after-save-h= ook) (quote linkd-activate-all-datablocks) :append :local) (linkd-do-font= -lock (quote font-lock-add-keywords)) (font-lock-fontify-buffer) (set-buf= fer-modified-p modified-p)) linkd-enable() (if linkd-mode (linkd-enable) (linkd-disable)) (let ((last-message ...)) (setq linkd-mode (cond ... ... ...)) (if link= d-mode (linkd-enable) (linkd-disable)) (run-hooks (quote linkd-mode-hook)= (if linkd-mode ... ...)) (if (called-interactively-p) (progn nil ...))) linkd-mode() run-hooks(text-mode-hook mytext-mode-hook) apply(run-hooks (text-mode-hook mytext-mode-hook)) run-mode-hooks(mytext-mode-hook) (if (fboundp (quote run-mode-hooks)) (run-mode-hooks (quote mytext-mode= -hook)) (run-hooks (quote mytext-mode-hook))) mytext-mode() normal-mode(t) after-find-file(nil t) find-file-noselect-1(# "~/.emacs.bmk" nil nil "~/.em= acs.bmk" (2532641 64513)) find-file-noselect("/home/atting/.emacs.bmk") bookmark-load("~/.emacs.bmk" t t) bookmark-maybe-load-default-file() bookmark-completing-read("Jump to bookmark" nil) (list (bookmark-completing-read "Jump to bookmark" bookmark-current-boo= kmark)) call-interactively(bookmark-jump t nil) execute-extended-command(nil) call-interactively(execute-extended-command nil nil) --=-=-=--