From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: =?UTF-8?Q?Cl=c3=a9ment_Pit-Claudel?= Newsgroups: gmane.emacs.devel Subject: Re: Advice needed on modeline customization hack... Date: Sun, 16 Apr 2017 11:02:31 -0400 Message-ID: References: <20170415212800.5be89037@jabberwock.cb.piermont.com> <20170416094929.51e94c82@jabberwock.cb.piermont.com> <20170416104633.1768bbb6@jabberwock.cb.piermont.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-Trace: blaine.gmane.org 1492354995 17864 195.159.176.226 (16 Apr 2017 15:03:15 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 16 Apr 2017 15:03:15 +0000 (UTC) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 Cc: emacs-devel@gnu.org To: "Perry E. Metzger" , Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Apr 16 17:03:11 2017 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1czlhm-0004Un-Ls for ged-emacs-devel@m.gmane.org; Sun, 16 Apr 2017 17:03:10 +0200 Original-Received: from localhost ([::1]:60836 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1czlhq-0002mF-Sy for ged-emacs-devel@m.gmane.org; Sun, 16 Apr 2017 11:03:14 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:45788) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1czlhF-0002m7-4r for emacs-devel@gnu.org; Sun, 16 Apr 2017 11:02:37 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1czlhC-0004Cx-3R for emacs-devel@gnu.org; Sun, 16 Apr 2017 11:02:37 -0400 Original-Received: from mail-qt0-x235.google.com ([2607:f8b0:400d:c0d::235]:32791) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1czlhB-0004C9-Ua for emacs-devel@gnu.org; Sun, 16 Apr 2017 11:02:34 -0400 Original-Received: by mail-qt0-x235.google.com with SMTP id m36so87975972qtb.0 for ; Sun, 16 Apr 2017 08:02:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:cc:from:message-id:date:user-agent :mime-version:in-reply-to:content-transfer-encoding; bh=17Yc9of3X5MPefidfyRDfHE5U4lUV1Cb3a28jmg7bpM=; b=DrOtqLJ83hLU+UH/Fk5+ejTcaYuRlmn8x9fDdhsZQilOPGKc6GsqnFEuhT4u2lXI/C STd2NBAKBCpwhYQhUe8bandGtEOdUtBx7+zq8hDqkL/ig4AT3ahJYBgG6jAHhMqwSEPu wuBTFvP2kPUCPKxgQjZa8G3D3Xbv7kckmumu5wXnCNqPDYER5V5DNornJEjUNp54clpC Zh5iteIEbF1xnAi6FavxA22G9xt2LulT2pqMhrmQ+Bi4rGMSIJT6V2P6Yw/3QLzjlIiQ HjBbZynxYlULf/94Hx+VsCmrlBrwKAE+0HKm0GCtxX9+fqvQWSBbfbFLfOeauYhqh0gE YabQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:cc:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding; bh=17Yc9of3X5MPefidfyRDfHE5U4lUV1Cb3a28jmg7bpM=; b=n66KL1+mqssKT7LUw380F/oG5WymM6ykJcc5A1WTjE+9OnmPfSXlOKDoyHR0WM7Dtj 9SZzPka4yCpklIkMNyNRKQra+PUMtTG9pdq7wyisDWhPTdjQEv9rPGfoLDBYeBsy5Ol7 YbtBJilfXBfsui8QmjCOKWOr6Vi54FH9OV+SWJ+JZ2v/jHla8jyC+2y8CIImR78mYEgm uSshHlmYxeXNUDimYxmMj3KAU5PjI9frwYJKa9yjY0+fUq2lIo4lF5vMxZQJWGLH+6oT fg71coUvWWkjyfCUDXemwUV5QdNELljFsobL4OebCiXYTzR0g/rlKh6RqFg2P5ZoTVU6 WYRw== X-Gm-Message-State: AN3rC/4sP29+7cWGBSRQdan86XZsn1WPFjB5oDR7h1qZmU8t2DC8bgMZ b4DHGlDHi67LwA== X-Received: by 10.200.40.246 with SMTP id j51mr1228436qtj.58.1492354953084; Sun, 16 Apr 2017 08:02:33 -0700 (PDT) Original-Received: from [192.168.1.4] (c-65-96-175-17.hsd1.ma.comcast.net. [65.96.175.17]) by smtp.gmail.com with ESMTPSA id w35sm5241129qtc.20.2017.04.16.08.02.32 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 16 Apr 2017 08:02:32 -0700 (PDT) In-Reply-To: <20170416104633.1768bbb6@jabberwock.cb.piermont.com> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:400d:c0d::235 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:214004 Archived-At: This looks good, thanks! One minor nitpick: On 2017-04-16 10:46, Perry E. Metzger wrote: > +(defvar column-number-mode-starts-from-zero t > + "When set to true, Column Number mode displays columns starting from zero. > +Otherwise, column numbers start from one.") Maybe "displayed column numbers" instead of "column numbers"? IIUC this patch doesn't (thankfully ^^) change the values returned by e.g. current-column.