The Attic

Your wiki has ten years of pages and you only live in the last few months? Old pages crowd the list, show up on the Map and turn up in Ask's answers, yet you would never delete them. Let Rest puts a page in the Attic: out of your way, never out of reach. Nothing is deleted, and one click brings a page back.

The Attic is entirely optional. Nothing changes in your wiki unless you choose Let Rest (or Fresh start, nothing lost on a big import). Until then there is no Attic row in the page list and no In the Attic group in search. If you would rather never see it, you can turn it off: see Turning the Attic off, below.

What people use it for

  • After a big import. Bringing in a whole vault or a Mem library puts thousands of old notes in the list. Let the old ones rest and keep the recent ones in front of you. The import itself offers this: see A fresh start for a big import, in Importing.
  • A finished project. Twenty pages you are done with, but may need for reference next year.
  • A quieter Ask. Old pages stay out of Ask's reading, and out of an assistant's, until you say otherwise.

Letting pages rest

  • One page. Right-click it in the page list and choose Let Rest. It is one quiet item on that menu, there whenever you want it. A tab's right-click menu has it too, and so does Find anything (⌘K): type Let Page Rest in the Attic.
  • Several pages. Choose the pages in the list, then Let Rest (the right-click menu offers Let 5 Pages Rest, with the number you chose).
  • A whole folder. Right-click the folder and choose Let This Folder’s Pages Rest. Every page in it, and in the folders inside it, rests. The folder itself stays, and so does each page’s place in it.

A note appears at once, with Undo and then Redo. Later, Edit ▸ Undo and Edit ▸ Redo take back the last Let Rest or Bring Back for ten minutes, as long as you are not typing in a page. Undo puts each page back exactly as it was: the same place in its folder and the same last-touched date. Undo works while MojoPad stays open; after you quit and open it again there is nothing to undo, but you can always bring a resting page back from the Attic. A page with its own password stays in the list until you unlock it, and the note says so. A page in Recently Deleted is not resting: it is deleted, and that always wins.

Where a resting page goes

It leaves the page list and the folder counts. At the foot of the page list an Attic row shows how many pages are resting; click it to open the Attic. The row is hidden while nothing rests: it appears only when at least one page in that wiki is resting, and it goes again when the last one comes back. You can always reach resting pages two ways: the row, and a search, where they show in the In the Attic group. Open it from Find anything too: Open the Attic. The first time you open it, one line under the heading says that nothing resting here is deleted; it goes when you let a page rest, bring one back or use a switch, or when you press its ×, and does not come back.

  • Boxes by year. The Attic sorts the pages into one box for each year you last touched them, newest year first and newest page first inside a box. Open a box to see its pages, with their folders and dates.
  • Find in the Attic. The search box at the top matches words in the names and in the pages themselves.
  • Bring back. Every row has a Bring back button. To bring back several, check the box beside each one, then press the button above the list. It reads Select pages to bring back until you check a box, then Bring back 3 selected, with the number of pages you checked.
  • Opening one. Click a page’s name and it opens. A ribbon above it says Resting in the Attic and Not in your page list, with a Bring back button. The page keeps resting until you press it.

You can also bring a page back from its right-click menu (Bring Back from the Attic) or from Find anything (Bring Page Back from the Attic).

Finding a resting page

A resting page is never lost. Search finds it: its matches come after the others, in a group called In the Attic, each with its own Bring back. A link to it still works and opens it, and the link is marked quietly so you can see where it goes. Bring it back and the mark goes away.

The three switches

At the top of the Attic are three switches, kept for that wiki alone.

  • Page list is always left out. It is a fact, not a choice, so it has no button.
  • Show on the Map is off. Turn it on and resting pages appear on the Map, drawn faintly so the pages you use stand out. The Map’s status line then counts them apart, as in 17 pages · 13 resting shown faintly. With it on, typing resting in the Map’s Find box lights just those pages, so you can see where they sit; with it off, Find tells you the Attic is not shown on the Map.
  • Let Ask read it is off. Turn it on and Ask, and the assistants you have connected, can read resting pages.

With Let Ask read it off, Ask tells you, under its Sources row, The Attic is left out. With it on, it says The Attic is included. An assistant that asks for a resting page is told there is no such page, exactly as for a page that does not exist; page lists, searches and counts leave resting pages out for it too. A wiki that has never used the Attic has both switches off.

An assistant can never write to a resting page. Even with Let Ask read it on, that switch is for reading only: it does not append to, revise, move or withdraw a page that is resting. Bring the page back first.

Two pages with one name

A resting page keeps its name. If a page with the same name is made while it rests (an assistant can do that), then Bring back makes both live and says so: there is now another page with that name, so rename one and links know which you mean. Nothing is renamed for you.

Turning the Attic off

Never want the Attic? Open Settings ▸ Links & Pages and, under The Attic, turn off Use the Attic. It is on from the first launch, and it is one setting for every wiki on this Mac. (Which pages are resting is still kept in each wiki, on each page.) With it off:

  • Let Rest and Bring Back leave every menu and command: the page and folder right-click menus, a tab’s menu, the bar of chosen pages, and Find anything, which no longer offers Open the Attic either.
  • The Attic row and the group in search go away. There is no In the Attic group, and the Map’s Find box treats resting as an ordinary word.
  • A big import is never asked how it should come in. It brings in every note, as imports did before the Attic.
  • Resting pages come back. Every page that was resting returns to your page list exactly as it was: the same folder, place, tags, links, dates and file. MojoPad asks first, in words like Turning off the Attic brings your 12 resting pages back into your page list. The question appears in the Settings window with Cancel ready: press Return or Esc, or click Cancel, and nothing changes. Only choosing Turn Off the Attic itself, with a click or with Space once you have tabbed to it, turns it off. A note with Undo is not offered, because Undo could put them away again.
  • Turning it back on puts nothing away. Pages come back to rest only when you choose Let Rest.

A page with a password must be unlocked first. If any resting page cannot be brought back right now, because a page has its own password and is not unlocked, or a wiki is waiting on its changed on another device bar, Use the Attic stays on and MojoPad says so. Unlock the page, then turn it off again. A wiki that is closed when you turn the Attic off gives its resting pages back the next time you open it.

What resting does not do

  • It never deletes. The page keeps its file, its folder, its place in the folder, its tags and its links. A page that follows a file on your Mac is not touched, and neither is the file.
  • Backups, sync and followed folders keep resting pages exactly as they are.
  • The web share leaves them out, and so do Make a website, the blog and its feed. Anything that puts pages where other people read them skips a resting page: it is not listed, has no page of its own, is not counted, is not in the site’s search, contents, archive or feed, a link to it reads as plain words, and an embed of it does not paste its words into another page. Bring the page back and it is published again the next time you share or publish. See The Web Server, Exporting and Static Publishing.
  • Plain exports include them, and say so. A Markdown, Word, PDF, ePub or text export is your own copy. A Markdown file carries the line resting: true in its frontmatter, and importing that file again brings the page in resting. Every other format shows Attic: Resting among the page’s properties. See Markdown frontmatter, in Details.