From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jonathan BISSON Subject: Re: [PATCH] Adding features to contrib/lisp/org-collector.el (propview) Date: Fri, 28 Oct 2011 16:41:32 +0200 Message-ID: <4EAABF1C.1040202@gmail.com> References: <4EAA76DA.6070304@gmail.com> <87obx19og2.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------enig44A95ECDD6E67A0CF0D8AEBC" Return-path: Received: from eggs.gnu.org ([140.186.70.92]:53754) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RJnby-0003MP-6x for emacs-orgmode@gnu.org; Fri, 28 Oct 2011 10:40:48 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RJnbv-00075o-JZ for emacs-orgmode@gnu.org; Fri, 28 Oct 2011 10:40:46 -0400 Received: from mail-wy0-f169.google.com ([74.125.82.169]:61965) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RJnbv-00075T-DU for emacs-orgmode@gnu.org; Fri, 28 Oct 2011 10:40:43 -0400 Received: by wyg34 with SMTP id 34so4832362wyg.0 for ; Fri, 28 Oct 2011 07:40:42 -0700 (PDT) In-Reply-To: <87obx19og2.fsf@gnu.org> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Bastien Cc: emacs-orgmode@gnu.org This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig44A95ECDD6E67A0CF0D8AEBC Content-Type: multipart/mixed; boundary="------------080200060202080505080402" This is a multi-part message in MIME format. --------------080200060202080505080402 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 10/28/2011 04:32 PM, Bastien wrote: > Hi Jonathan, >=20 > Jonathan BISSON writes: >=20 >> I did a small patch for org-collector. >=20 > Thanks for this -- can you resend the patch by attaching=20 > it, instead of inserting it in the body of the email? It=20 > is not readable here. >=20 > Thanks! >=20 Here it is, --------------080200060202080505080402 Content-Type: text/x-patch; name="bjonnh.patch" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="bjonnh.patch" 121a122,123 > (noquote (plist-get params :noquote)) > (colnames (plist-get params :colnames)) 132a135 > (setq stringformat (if noquote "%s" "%S")) 134c137,138 < (org-propview-collect cols conds match scope inherit))) --- > (org-propview-collect cols stringformat conds match scope inhe= rit=20 > (if colnames colnames cols)) stringformat)) 170c174 < (defun org-propview-collect (cols &optional conds match scope inherit) --- > (defun org-propview-collect (cols stringformat &optional conds match sc= ope inherit colnames) 194,195c198,199 < (mapcar (lambda (el) (format "%S" el)) cols) ;; output headers < 'hline) ;; ------------------------------------------------ --- > (if colnames colnames (mapcar (lambda (el) (format stringformat e= l)) cols)) > 'hline) ;; ------------------------------------------------ 214c218 < (defun org-propview-to-table (results) --- > (defun org-propview-to-table (results stringformat) 221c225 < (mapcar (lambda (el) (format "%S" el)) row))) --- > (mapcar (lambda (el) (format stringformat el)) row))) --------------080200060202080505080402-- --------------enig44A95ECDD6E67A0CF0D8AEBC Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) iF4EAREIAAYFAk6qvxwACgkQC2YP/JcnKf2TrAD9EJPPjvbzAwhJgCim426YrIgZ o9sTpDhr0Ow8Ge3ZZCkA/iwjIq1WnC49wZ3uqSLSkk0/AzHaGeW4j/f/ReBwGgpQ =vUn1 -----END PGP SIGNATURE----- --------------enig44A95ECDD6E67A0CF0D8AEBC--