From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?UTF-8?Q?Micha=C3=ABl_Cadilhac?= Subject: [Patch] Hide the file column in a clock report. Date: Thu, 31 Aug 2017 19:44:13 +0100 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="94eb2c1245aa55f1560558110a95" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:49920) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dnUSe-0000wk-9H for emacs-orgmode@gnu.org; Thu, 31 Aug 2017 14:45:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dnUSZ-0002J2-AR for emacs-orgmode@gnu.org; Thu, 31 Aug 2017 14:45:04 -0400 Received: from cadilhac.name ([163.172.56.42]:34654) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dnUSZ-0002IA-0Q for emacs-orgmode@gnu.org; Thu, 31 Aug 2017 14:44:59 -0400 Received: from mail-ua0-f174.google.com (mail-ua0-f174.google.com [209.85.217.174]) by cadilhac.name (OpenSMTPD) with ESMTPSA id 582698a5 (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128:NO) for ; Thu, 31 Aug 2017 18:46:59 +0000 (UTC) Received: by mail-ua0-f174.google.com with SMTP id c27so1473942uah.2 for ; Thu, 31 Aug 2017 11:44:55 -0700 (PDT) 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" To: emacs-orgmode@gnu.org --94eb2c1245aa55f1560558110a95 Content-Type: text/plain; charset="UTF-8" Hi there; Not sure it's for everyone, but I really don't need the file column in my clock report, even though I use multiple files. Here's a patch that allows this, if there's any interest. M. --94eb2c1245aa55f1560558110a95 Content-Type: text/x-patch; charset="US-ASCII"; name="0001-Add-the-option-of-hiding-the-file-column-in-a-clock-.patch" Content-Disposition: attachment; filename="0001-Add-the-option-of-hiding-the-file-column-in-a-clock-.patch" Content-Transfer-Encoding: base64 X-Attachment-Id: f_j70su60q0 RnJvbSBmMjUxYmYwZmE3NjRlMjQ1ZWFiZTg4ZTM5NTllODAxYWY1YzhmZDM3IE1vbiBTZXAgMTcg MDA6MDA6MDAgMjAwMQpGcm9tOiA9P1VURi04P3E/TWljaGE9QzM9QUJsPTIwQ2FkaWxoYWM/PSA8 bWljaGFlbEBjYWRpbGhhYy5uYW1lPgpEYXRlOiBUaHUsIDMxIEF1ZyAyMDE3IDE5OjM3OjU1ICsw MTAwClN1YmplY3Q6IFtQQVRDSF0gQWRkIHRoZSBvcHRpb24gb2YgaGlkaW5nIHRoZSBmaWxlIGNv bHVtbiBpbiBhIGNsb2NrIHJlcG9ydAoKKiBjb250cmliL29yZ21hbnVhbC5vcmc6IERvY3VtZW50 IHRoZSBjaGFuZ2UuCiogZG9jL29yZy50ZXhpIChUaGUgY2xvY2sgdGFibGUpOiBEaXR0by4KKiBs aXNwL29yZy1jbG9jay5lbCAob3JnLWNsb2NrdGFibGUtZGVmYXVsdHMpOiBBZGQgZGVmYXVsdCB2 YWx1ZSBmb3IKICA6aGlkZWZpbGVzLgoob3JnLWRibG9jay13cml0ZTpjbG9ja3RhYmxlKTogRG8g bm90IG1ha2UgIm11bHRpbGluZSIgdHJ1ZSBpZgpoaWRlZmlsZXMgaXMuCiogbGlzcC9vcmctcGNv bXBsZXRlLmVsIChwY29tcGxldGUvb3JnLW1vZGUvYmxvY2stb3B0aW9uL2Nsb2NrdGFibGUpOgog IEFkZCA6aGlkZWZpbGVzIHRvIGNvbXBsZXRpb25zLgoKVElOWUNIQU5HRQotLS0KIGNvbnRyaWIv b3JnbWFudWFsLm9yZyB8IDQgKysrKwogZG9jL29yZy50ZXhpICAgICAgICAgIHwgMSArCiBsaXNw L29yZy1jbG9jay5lbCAgICAgfCA1ICsrKystCiBsaXNwL29yZy1w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