emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: David Maus <dmaus@ictsoc.de>
To: Kane Dou <douqilong@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: Re: Call org-remember on a "RE:" post raises error in gnus
Date: Thu, 01 Jul 2010 14:16:12 +0200	[thread overview]
Message-ID: <877hlf8kj7.wl%dmaus@ictsoc.de> (raw)
In-Reply-To: <87lj9vsbgm.fsf@gmail.com>


[-- Attachment #1.1.1: Type: text/plain, Size: 1288 bytes --]

Kane Dou wrote:
>David Maus <dmaus@ictsoc.de> writes:

>> Kane Dou wrote:
>>>When I call "org-remember" on a post like this: "O [ 40: Istvan ADAM ]
>>>Erroneous display when working on remote Unix machine".
>>
>>>The backtrace("debug-on-entry" on "org-replace-escapes", no
>>>backtrace will occur if "org-remember" works normally):
>>
>> Can you provide the backtrace for the error?
>>
>> M-x toggle-debug-on-error RET
>>
>> To get a backtrace without byte-code, just reload Org before provoking
>> the error (M-x org-reload RET).
>>
>> HTH
>>   -- David

This bug was fixed in the development tree by

,----
| commit 19aec9ed9a53a18deaa58b69714bae724aec7111
| Author: Carsten Dominik <carsten.dominik@gmail.com>
| Date:   Mon May 10 08:46:03 2010 +0200
|
|     Fix minor bug
|
|     Patch by Gregory J. Grubbs
|
`----

after 6.36c was released.  If you got 6.36c from the Orgmode web page
you could apply the attached patch to fix this issue.

It's the commit w/o the change to ChangeLog.  Simply move to Org
mode installation directory and use the patch util

patch < /path/to/patch

or, to see if patching will work before applying the patch

patch --dry-run < /path/to/patch


HTH,
  -- David


--
OpenPGP... 0x99ADB83B5A4478E6
Jabber.... dmjena@jabber.org
Email..... dmaus@ictsoc.de

[-- Attachment #1.1.2: fix-org-replace-escapes.patch --]
[-- Type: application/octet-stream, Size: 792 bytes --]

commit 19aec9ed9a53a18deaa58b69714bae724aec7111
Author: Carsten Dominik <carsten.dominik@gmail.com>
Date:   Mon May 10 08:46:03 2010 +0200

    Fix minor bug
    
    Patch by Gregory J. Grubbs

	Modified lisp/org.el
diff --git a/lisp/org.el b/lisp/org.el
index 8f9e16c..85c79ee 100644
--- a/lisp/org.el
+++ b/lisp/org.el
@@ -17700,7 +17700,7 @@ so values can contain further %-escapes if they are define later in TABLE."
         e re rpl)
     (while (setq e (pop tbl))
       (setq re (concat "%-?[0-9.]*" (substring (car e) 1)))
-      (when (string-match re (cdr e))
+      (when (and (cdr e) (string-match re (cdr e)))
         (let ((sref (substring (cdr e) (match-beginning 0) (match-end 0)))
               (safe "SREF"))
           (add-text-properties 0 3 (list 'sref sref) safe)


[-- Attachment #1.2: Type: application/pgp-signature, Size: 230 bytes --]

[-- Attachment #2: Type: text/plain, Size: 201 bytes --]

_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

  reply	other threads:[~2010-07-01 12:16 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-06-30  6:50 Call org-remember on a "RE:" post raises error in gnus Kane Dou
2010-06-30 11:11 ` Bernt Hansen
2010-06-30 13:13   ` Kane Dou
2010-07-01  7:04     ` David Maus
2010-07-01 11:11       ` Kane Dou
2010-07-01 12:16         ` David Maus [this message]
2010-07-01 13:00           ` Kane Dou
2010-06-30 13:21   ` Kane Dou

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.orgmode.org/

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

  git send-email \
    --in-reply-to=877hlf8kj7.wl%dmaus@ictsoc.de \
    --to=dmaus@ictsoc.de \
    --cc=douqilong@gmail.com \
    --cc=emacs-orgmode@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/org-mode.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).