{"action":"created","issue":{"url":"https://api.github.com/repos/purcell/emacs.d/issues/264","labels_url":"https://api.github.com/repos/purcell/emacs.d/issues/264/labels{/name}","comments_url":"https://api.github.com/repos/purcell/emacs.d/issues/264/comments","events_url":"https://api.github.com/repos/purcell/emacs.d/issues/264/events","html_url":"https://github.com/purcell/emacs.d/issues/264","id":70293150,"number":264,"title":"annoying backup files","user":{"login":"liyichao","id":2576762,"avatar_url":"https://avatars.githubusercontent.com/u/2576762?v=3","gravatar_id":"","url":"https://api.github.com/users/liyichao","html_url":"https://github.com/liyichao","followers_url":"https://api.github.com/users/liyichao/followers","following_url":"https://api.github.com/users/liyichao/following{/other_user}","gists_url":"https://api.github.com/users/liyichao/gists{/gist_id}","starred_url":"https://api.github.com/users/liyichao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/liyichao/subscriptions","organizations_url":"https://api.github.com/users/liyichao/orgs","repos_url":"https://api.github.com/users/liyichao/repos","events_url":"https://api.github.com/users/liyichao/events{/privacy}","received_events_url":"https://api.github.com/users/liyichao/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-04-23T03:14:01Z","updated_at":"2015-04-23T07:17:13Z","closed_at":"2015-04-23T07:17:13Z","body":"I have set these in my init-local.el\r\n\r\n```\r\n(setq backup-directory-alist\r\n      `((\".\" . ,(expand-file-name\r\n                 (concat user-emacs-directory \"backups\")))))\r\n(setq auto-save-file-name-transforms\r\n      `((\".*\" ,(expand-file-name\r\n                (concat user-emacs-directory \"backups\")) t)))\r\n```\r\n\r\nbut when I edit files, backup file stays in current directory, for example when I edit `test.less`, there will be a file named `.#test.less` which is linked to `username@host.emacs_pid`, how to set it produced in `~/.emacs.d/backups` ?"},"comment":{"url":"https://api.github.com/repos/purcell/emacs.d/issues/comments/95471971","html_url":"https://github.com/purcell/emacs.d/issues/264#issuecomment-95471971","issue_url":"https://api.github.com/repos/purcell/emacs.d/issues/264","id":95471971,"user":{"login":"purcell","id":5636,"avatar_url":"https://avatars.githubusercontent.com/u/5636?v=3","gravatar_id":"","url":"https://api.github.com/users/purcell","html_url":"https://github.com/purcell","followers_url":"https://api.github.com/users/purcell/followers","following_url":"https://api.github.com/users/purcell/following{/other_user}","gists_url":"https://api.github.com/users/purcell/gists{/gist_id}","starred_url":"https://api.github.com/users/purcell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/purcell/subscriptions","organizations_url":"https://api.github.com/users/purcell/orgs","repos_url":"https://api.github.com/users/purcell/repos","events_url":"https://api.github.com/users/purcell/events{/privacy}","received_events_url":"https://api.github.com/users/purcell/received_events","type":"User","site_admin":false},"created_at":"2015-04-23T07:17:13Z","updated_at":"2015-04-23T07:17:13Z","body":"I think \".\" should be \".*\" there."}}