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

Re: [PATCH] stgit: allow spaces in filenames

From
JSJerry Seutter <jerry.seutter@pason.com>
Date
Jul 13, 2005, 21:09 UTC
Message-ID
<42D58324.6080303@pason.com>
In-Reply-To
<42D55AC9.4000506@gmail.com>
Bryan Larsen wrote:
Show 9 quoted lines
> Catalin Marinas wrote:
> 
>> An additional thing, can you please convert all the tabs to spaces?
>> That's a better convention for a language like Python where you
>> delimit blocks by indentation.
> 
> 
> I would have hoped that emacs py-mode would "do the right thing". 
> Anybody know how to make it do what Catalin wants?

Yeah, the default emacs mode seems to be to Do The Wrong Thing. I have this in my .emacs, YMMV.

(setq-default indent-tabs-mode nil)     ; Don't insert tab characters.
(setq-default tab-width 4)              ; If there are tabs, display
                                         ; as 4 spaces.

You can set the tab-width to something much larger to make existing tabs obvious.

Jerry
Previous: Bryan LarsenNext: Catalin Marinas
Message 5 of 11 in “stgit: allow spaces in filenames”
  1. stgit: allow spaces in filenamesBryan Larsen, Jul 13, 2005
  2. stgit: new --message does not workBryan Larsen, Jul 13, 2005
  3. Catalin MarinasJul 13, 2005
  4. Bryan LarsenJul 13, 2005
  5. Jerry SeutterJul 13, 2005
  6. Catalin MarinasJul 13, 2005
  7. Junio C HamanoJul 13, 2005
  8. Catalin MarinasJul 14, 2005
  9. Bryan LarsenJul 14, 2005
  10. Matthias UrlichsJul 13, 2005
  11. Linus TorvaldsJul 13, 2005

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.