[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Duplicity-tracker] [patch #6675] Add modelines
From: |
Michael Terry |
Subject: |
[Duplicity-tracker] [patch #6675] Add modelines |
Date: |
Sun, 16 Nov 2008 17:16:54 +0000 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.3) Gecko/2008101315 Ubuntu/8.10 (intrepid) Firefox/3.0.3 |
URL:
<http://savannah.nongnu.org/patch/?6675>
Summary: Add modelines
Project: duplicity
Submitted by: mikix
Submitted on: Sun 16 Nov 2008 12:16:52 PM EST
Category: None
Priority: 5 - Normal
Status: None
Privacy: Public
Assigned to: None
Originator Email:
Open/Closed: Open
Discussion Lock: Any
_______________________________________________________
Details:
An emacs modeline is a line that sets some common text editing settings
per-file. They are recognized by many text editors and are useful when you
edit files from different projects, each with their own standards for tab
widths, etc. It should be on the first or second line.
For example:
# -*- Mode:Python; indent-tabs-mode:nil; tab-width:4 -*-
That line tells the editor that it's looking at Python code, to use spaces
not tabs, and to use four spaces per tab. This overrides the editor's default
settings.
I've attached a patch that adds modelines to all python files in duplicity.
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: Sun 16 Nov 2008 12:16:52 PM EST Name: mode.diff Size: 30kB By:
mikix
<http://savannah.nongnu.org/patch/download.php?file_id=16851>
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/patch/?6675>
_______________________________________________
Message sent via/by Savannah
http://savannah.nongnu.org/
- [Duplicity-tracker] [patch #6675] Add modelines,
Michael Terry <=