From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Eric Schulte" Subject: Re: New development organization - DRAFT, please comment Date: Fri, 28 May 2010 07:26:02 -0600 Message-ID: <87ocg09mz9.fsf@gmail.com> References: <61362307-18F8-4102-9936-3A543D0E5D58@uva.nl> <87d3whebdt.fsf@gmail.com> <87eigw5wxd.wl%dmaus@ictsoc.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from [140.186.70.92] (port=38342 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OHzZg-0006Y4-Mv for emacs-orgmode@gnu.org; Fri, 28 May 2010 09:26:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OHzZf-0007PF-6X for emacs-orgmode@gnu.org; Fri, 28 May 2010 09:26:08 -0400 Received: from mail-pv0-f169.google.com ([74.125.83.169]:58391) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OHzZe-0007P3-VY for emacs-orgmode@gnu.org; Fri, 28 May 2010 09:26:07 -0400 Received: by pvc21 with SMTP id 21so1155081pvc.0 for ; Fri, 28 May 2010 06:26:06 -0700 (PDT) In-Reply-To: <87eigw5wxd.wl%dmaus@ictsoc.de> (David Maus's message of "Fri, 28 May 2010 09:04:46 +0200") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: David Maus Cc: Carsten Dominik , emacs-org-mode-help gnu Hi David, David Maus 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= > > 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