Package peppy :: Module dired
[frames] | no frames]

Module dired

Dired Mode

Major mode for displaying a list of files in a directory

Classes
  DiredSTC
Dummy STC just to prevent other modes from being able to change their major mode to this one.
  DiredRefresh
Refresh the current list
  FlagMixin
Mixin to set a flag and move to the next item in the list
  FlagBackwardsMixin
Mixin to set a flag and move to the previous item in the list.
  DiredNext
  DiredPrevious
  DiredDelete
  DiredDeleteBackwards
  DiredMark
  DiredMarkBackwards
  DiredClearFlags
  DiredExecute
  DiredShow
  DiredReplace
  DiredMode
Directory viewing mode
Functions
 
getCompactDate(mtime, recent_months=6)
Get a printable representation of a date in a compact format
Variables
  months = [None, _("Jan"), _("Feb"), _("Mar"), _("Apr"), _("May...
Function Details

getCompactDate(mtime, recent_months=6)

 

Get a printable representation of a date in a compact format

Return a string in unix ls -l style date format, where the date in the most recent number of months shows the time instead of the year. Once the time is older than the recent months, replace the time with the year. E.g. a recent date will be displayed like "Apr 20 12:34" and a date older than the specified number of months will be displayed "Apr 20 1999"


Variables Details

months

Value:
[None, _("Jan"), _("Feb"), _("Mar"), _("Apr"), _("May"), _("Jun"), _("\
Jul"), _("Aug"), _("Sep"), _("Oct"), _("Nov"), _("Dec")]