From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stephen Leake Subject: Re: emacs buffer names Date: Wed, 02 Apr 2014 18:22:45 -0500 Message-ID: <8538hvwc3e.fsf_-_@stephe-leake.org> References: Mime-Version: 1.0 Content-Type: text/plain To: git@vger.kernel.org X-From: git-owner@vger.kernel.org Thu Apr 03 12:23:44 2014 Return-path: Envelope-to: gcvg-git-2@plane.gmane.org Received: from vger.kernel.org ([209.132.180.67]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1WVed3-000348-60 for gcvg-git-2@plane.gmane.org; Thu, 03 Apr 2014 12:12:13 +0200 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1161117AbaDBXWx (ORCPT ); Wed, 2 Apr 2014 19:22:53 -0400 Received: from cdptpa-outbound-snat.email.rr.com ([107.14.166.227]:64447 "EHLO cdptpa-oedge-vip.email.rr.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1161080AbaDBXWw (ORCPT ); Wed, 2 Apr 2014 19:22:52 -0400 Received: from [75.87.81.6] ([75.87.81.6:54378] helo=TAKVER) by cdptpa-oedge03 (envelope-from ) (ecelerity 3.5.0.35861 r(Momo-dev:tip)) with ESMTP id 36/53-16704-BCB9C335; Wed, 02 Apr 2014 23:22:51 +0000 In-Reply-To: (Duy Nguyen's message of "Wed, 2 Apr 2014 06:40:59 +0700") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (windows-nt) X-RR-Connecting-IP: 107.14.168.142:25 X-Cloudmark-Score: 0 Sender: git-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: git@vger.kernel.org Archived-At: Duy Nguyen writes: > The --daemon part is probably not worth mentioning because I always > have one emacs window open. The problem is switch-buffer based on file > name can be confusing ("git.c" and "git.c<2>", which belongs to which > checkout?). I ended up modifying files in the wrong checkout all the > time. (setq uniquify-buffer-name-style (quote post-forward-angle-brackets) nil (uniquify)) This puts enough of the directory name in the buffer name to make the buffer names unique; very helpful! -- -- Stephe