From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lennart Borgman Newsgroups: gmane.emacs.bugs Subject: bug#6871: Please make linum-mode per buffer, not per major mode Date: Fri, 20 Aug 2010 00:21:40 +0200 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: dough.gmane.org 1282257554 27065 80.91.229.12 (19 Aug 2010 22:39:14 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 19 Aug 2010 22:39:14 +0000 (UTC) Cc: 6871@debbugs.gnu.org To: Juanma Barranquero Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Aug 20 00:39:13 2010 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1OmDlO-000819-6Y for geb-bug-gnu-emacs@m.gmane.org; Fri, 20 Aug 2010 00:39:10 +0200 Original-Received: from localhost ([127.0.0.1]:57116 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OmDlN-0004Ns-O6 for geb-bug-gnu-emacs@m.gmane.org; Thu, 19 Aug 2010 18:39:09 -0400 Original-Received: from [140.186.70.92] (port=33009 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OmDlG-0004Nl-AK for bug-gnu-emacs@gnu.org; Thu, 19 Aug 2010 18:39:03 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OmDlE-000763-UO for bug-gnu-emacs@gnu.org; Thu, 19 Aug 2010 18:39:01 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:39849) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OmDlE-00075y-Rg for bug-gnu-emacs@gnu.org; Thu, 19 Aug 2010 18:39:00 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1OmDTq-0002W5-Cn; Thu, 19 Aug 2010 18:21:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Lennart Borgman Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 19 Aug 2010 22:21:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 6871 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 6871-submit@debbugs.gnu.org id=B6871.12822564569666 (code B ref 6871); Thu, 19 Aug 2010 22:21:02 +0000 Original-Received: (at 6871) by debbugs.gnu.org; 19 Aug 2010 22:20:56 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OmDTk-0002Vr-8y for submit@debbugs.gnu.org; Thu, 19 Aug 2010 18:20:56 -0400 Original-Received: from mail-qy0-f179.google.com ([209.85.216.179]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OmDTi-0002Vm-Bd for 6871@debbugs.gnu.org; Thu, 19 Aug 2010 18:20:54 -0400 Original-Received: by qyk9 with SMTP id 9so2424819qyk.3 for <6871@debbugs.gnu.org>; Thu, 19 Aug 2010 15:22:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:in-reply-to :references:from:date:message-id:subject:to:cc:content-type; bh=BNq46mpm/k6G4mdAjtS7hHUa96TlvEpExJN2BuJsCKc=; b=hz/jeoo0XU2KB+DzYRU5Vl5ICdJGJe/6aXkOATpi+0FhCeXft2AyNSZs5lWY77urZV WelWdnDg2CKijVqmJ0y74enUxpHMbd34TqrA15/FGGf1+iQhrhpRPY48DFpu4zwhNDCm /32PFfecVi9m7KTNjTKat56Vi2TpXGPWyWZ1U= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; b=DVjq/t8AxIyhXaMFqmBCn1AWMOJFDlhgoJkG684zQlS764zC3hScDJuKmTAyQLX3Jg U4Hs9lCPxomy5BTiREIoYcCcyBuIzjsFflf+dnQGfrpJZlWnvxxFQGQfHGOmVKOp6mQD wVJIYFj5rwiR48zFIEDWwH2+5nUka/eRj/7Vw= Original-Received: by 10.229.181.210 with SMTP id bz18mr461809qcb.43.1282256522247; Thu, 19 Aug 2010 15:22:02 -0700 (PDT) Original-Received: by 10.229.54.80 with HTTP; Thu, 19 Aug 2010 15:21:40 -0700 (PDT) In-Reply-To: X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Thu, 19 Aug 2010 18:21:02 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:39649 Archived-At: On Thu, Aug 19, 2010 at 11:57 PM, Juanma Barranquero wrote: > On Thu, Aug 19, 2010 at 23:23, Lennart Borgman > wrote: > >> I thought the intent would be obvious in this small amount of code, >> but it looks like I am wrong. > > Usually, changes are much clearer to the writer than to the reader :-) Depends on who is writing and who is reading. I hoped they were clearer to the reader ;-) >> Do you try to keep multiple copies of the code with different patches >> in each? Or what do you do? > > That depends. I don't develop on the trunk, but a branch, so if some > of the changes are trivial fixes or whatever, I move them to the trunk > and commit them right now (so one less thing to think about) and keep > the other changes in the branch while I refine them. Else, I commit > each change to my branch as separate commits, and then, when the time > comes to merge back to the trunk, I decide if they are related or not, > so I push them as a merge or separate commits. Thansk, I think I understand the workflow, but I do not know how to do this practically. Let us say I first in this case write the parts for multi major modes. I guess I then submit this to my local rep? How? And how do I make a diff after that? Can I make the diff later on to in a simple way? After this I want to do the other changes to linum immediately so I will not forget them. So I do that and submit them to my local rep. Or should I do something else at this point? And what if Stefan (or someone else) now says that the first part needs some refinements and I should send a new patch? How can I handle that now after I have submitted my first part to my local rep?