emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "Eric Schulte" <schulte.eric@gmail.com>
To: David Maus <dmaus@ictsoc.de>
Cc: Carsten Dominik <dominik@uva.nl>,
	emacs-org-mode-help gnu <emacs-orgmode@gnu.org>
Subject: Re: New development organization - DRAFT, please comment
Date: Fri, 28 May 2010 07:26:02 -0600	[thread overview]
Message-ID: <87ocg09mz9.fsf@gmail.com> (raw)
In-Reply-To: <87eigw5wxd.wl%dmaus@ictsoc.de> (David Maus's message of "Fri, 28 May 2010 09:04:46 +0200")

Hi David,

David Maus <dmaus@ictsoc.de> writes:

> Hi Eric,
>>I just used this file to record a babel change, and I really like the
>>overall idea and the layout.  A couple of things that occurred to me.
>
>>- would it be desirable to have a headline property (e.g. ASSIGNEE or
>>  somesuch) so that users can take responsibility of issues, and search
>>  for issues to which they've been assigned.
>
> Sounds reasonable.
>

Great,

I will start using this if there are cases when I want to sign up for an
issue, but won't fix it immediately.

>
>>- would it be difficult to tag babel files, i.e. messages with the
>>  "[babel]" marker in the headline, possibly in some automatic way,
>>  again to facilitate searching and sorting.
>
> This should be quite easy and I'll look into this.
>

Thanks.

>
>>- regarding the links to gmane articles?
>>  - this is really minor, but I personally prefer thread.gmane.org
>>    based links as they show the entire thread
>>  - how do we find the gmane id of a message?
>>  - is there an easy way to discover/generate gmane links say from
>>    information contained in an email?
>
> I've just found out that it is indeed possible to link to
> thread.gmane.org using the resolver:
>
> http://news.gmane.org/find-root.php?message_id=<MESSAGE-ID>
>
> Where MESSAGE-ID is the content of the message id header field.  I've
> changed this here so new issues will link to thread.gmane.org.
>
> This might answer the other two questions: It's the message id of an
> email that can (and should) be used to generate a gmane link.
>
> Simply use the URL mentioned above for thread display, or
> http://mid.gmane.org/MESSAGE-ID to link to a single message.  In both
> cases the message id should be hex-encoded (i.e. turning special chars
> into escape sequence, @ -> %40 etc.) using `url-hexify-string'.
>
> This function could work for Gnus to push the message id of a message
> to kill-ring and clipboard:
>

Thanks David, indeed the function your posted does work, and I was able
to use it with the url you posted above to quickly access the gmane
thread of this email.

Your function below raises the idea that it may be nice to have a single
place to host a small collection of functions related to use of
org-issues.org.  Maybe some form of the following simple functions could
be useful.

--8<---------------cut here---------------start------------->8---
(defun org-issues/gmane-browse-message (id)
  "Browse the message specified by ID in gmane."
  (org-open-link-from-string
   (format "http://news.gmane.org/find-root.php?message_id=%s"
           id)))

(defun org-issue/gmane-browse ()
  "Browse the message related to the current org-issues.org
  headline in gmane."
  (interactive)
  (org-issues/gmane-browse-message
   (substring (org-entry-get (point) "ID" t) 4)))
--8<---------------cut here---------------end--------------->8---

Much Appreciated -- Eric

>
> ,----
> | (defun dmj/gnus-get-message-id ()
> |   "Push message id of current message to killring and clipboard."
> |   (interactive)
> |   (when (memq major-mode '(gnus-summary-mode gnus-article-mode))
> |     (let* ((header (with-current-buffer gnus-summary-buffer
> | 		     (gnus-summary-article-header)))
> | 	   (message-id (url-hexify-string
> | 			(org-remove-angle-brackets (mail-header-id header)))))
> |       (org-kill-new message-id)
> |       (when (fboundp 'x-set-selection)
> | 	(ignore-errors (x-set-selection 'PRIMARY message-id))
> | 	(ignore-errors (x-set-selection 'CLIPBOARD message-id))))))
> `----
>
> HTH
>   -- David
> --
> OpenPGP... 0x99ADB83B5A4478E6
> Jabber.... dmjena@jabber.org
> Email..... dmaus@ictsoc.de

  reply	other threads:[~2010-05-28 13:26 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-05-26 11:54 New development organization - DRAFT, please comment Carsten Dominik
2010-05-27 13:13 ` Eric Schulte
2010-05-27 13:16   ` Eric Schulte
2010-05-28  7:04   ` David Maus
2010-05-28 13:26     ` Eric Schulte [this message]
2010-06-01 14:37       ` David Maus
2010-06-01 16:28         ` Carsten Dominik
2010-05-28 13:56     ` Tassilo Horn

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=87ocg09mz9.fsf@gmail.com \
    --to=schulte.eric@gmail.com \
    --cc=dmaus@ictsoc.de \
    --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 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).