The writer lived in the Borders and excelled in historical novels which merged the personal and political.