all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: David Maus <maus.david@gmail.com>
To: Carsten Dominik <dominik@uva.nl>
Cc: emacs-orgmode@gnu.org, Carsten Dominik <carsten.dominik@gmail.com>
Subject: Re: Bug: Store link to Wanderlust message fails when subject contains encoded characters [6.33trans (release_6.33f.173.g8f17)]
Date: Sun, 03 Jan 2010 22:25:46 +0100	[thread overview]
Message-ID: <87fx6m519h.wl%maus.david@gmail.com> (raw)
In-Reply-To: <A705B8B7-FFD7-4C73-9A81-414E645539A3@uva.nl>


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

Hi Carsten,


At Sun, 3 Jan 2010 19:47:18 +0100,
Carsten Dominik wrote:
>
>
> Can I ask you to submit this as a bug report to Emacs?

I'll certainly do that.

I also attached a patch for org-wl.el that removes all text properties
of the subject string.

Regards

 -- David

--
OpenPGP... 0x99ADB83B5A4478E6
Jabber.... dmjena@jabber.org
Email..... maus.david@gmail.com
ICQ....... 241051416


[-- Attachment #1.1.2: 0001-Remove-text-properties-of-subject-string-to-avoid-po.patch --]
[-- Type: application/octet-stream, Size: 1021 bytes --]

From 947e341ae33ed31b0f6aeb5b87f0cb28bbc87d90 Mon Sep 17 00:00:00 2001
From: David Maus <maus.david@gmail.com>
Date: Sun, 3 Jan 2010 22:19:12 +0100
Subject: [PATCH] Remove text properties of subject string to avoid possible bug when
 formatting the subject.

Reference:
http://www.mail-archive.com/emacs-orgmode@gnu.org/msg20913.html
---
 lisp/org-wl.el |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/lisp/org-wl.el b/lisp/org-wl.el
index 8270584..8f8f399 100644
--- a/lisp/org-wl.el
+++ b/lisp/org-wl.el
@@ -104,6 +104,9 @@
 	   (subject (let (wl-thr-indent-string wl-parent-message-entity)
 		      (wl-summary-line-subject)))
 	   desc link)
+     ;; remove text properties of subject string to avoid possible bug
+     ;; when formatting the subject
+     (set-text-properties 0 (length subject) nil subject)
      (org-store-link-props :type "wl" :from from :to to
 			    :subject subject :message-id message-id)
      (setq message-id (org-remove-angle-brackets message-id))
-- 
1.6.5


[-- 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-01-03 21:25 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-01-01 20:54 Bug: Store link to Wanderlust message fails when subject contains encoded characters [6.33trans (release_6.33f.173.g8f17)] David Maus
2010-01-03 13:40 ` Carsten Dominik
2010-01-03 18:11   ` David Maus
2010-01-03 18:42     ` Carsten Dominik
2010-01-03 18:47       ` Carsten Dominik
2010-01-03 21:25         ` David Maus [this message]
2010-01-04  9:05           ` Carsten Dominik

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

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

  git send-email \
    --in-reply-to=87fx6m519h.wl%maus.david@gmail.com \
    --to=maus.david@gmail.com \
    --cc=carsten.dominik@gmail.com \
    --cc=dominik@uva.nl \
    --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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.