git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: emacs buffer names

From
SLStephen Leake <stephen_leake@stephe-leake.org>
Date
Apr 2, 2014, 23:22 UTC
Message-ID
<8538hvwc3e.fsf_-_@stephe-leake.org>
In-Reply-To
<CACsJy8BVXk248VDBi-pAMDY4QpDSbFuAf5qxRxCCq71yGNzpqA@mail.gmail.com>
Duy Nguyen <pclouds@gmail.com> writes:
Show 5 quoted lines
> 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
Previous: Duy NguyenNext: Junio C Hamano
Message 5 of 10 in “What's cooking in git.git (Mar 2014, #08; Mon, 31)”
  1. Junio C HamanoApr 1, 2014
  2. Duy NguyenApr 1, 2014
  3. Junio C HamanoApr 1, 2014
  4. Duy NguyenApr 1, 2014
  5. Stephen LeakeApr 2, 2014
  6. Junio C HamanoApr 1, 2014
  7. David KastrupApr 2, 2014
  8. Junio C HamanoApr 2, 2014
  9. Heiko VoigtApr 2, 2014
  10. Junio C HamanoApr 3, 2014

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.