{"comment":{"url":"https://api.github.com/repos/kaushalmodi/deft/comments/11490845","html_url":"https://github.com/kaushalmodi/deft/commit/ad6a27eee90fbd3345beac9db44cb879ba3e6cb5#commitcomment-11490845","id":11490845,"user":{"login":"kaushalmodi","id":3578197,"avatar_url":"https://avatars.githubusercontent.com/u/3578197?v=3","gravatar_id":"","url":"https://api.github.com/users/kaushalmodi","html_url":"https://github.com/kaushalmodi","followers_url":"https://api.github.com/users/kaushalmodi/followers","following_url":"https://api.github.com/users/kaushalmodi/following{/other_user}","gists_url":"https://api.github.com/users/kaushalmodi/gists{/gist_id}","starred_url":"https://api.github.com/users/kaushalmodi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kaushalmodi/subscriptions","organizations_url":"https://api.github.com/users/kaushalmodi/orgs","repos_url":"https://api.github.com/users/kaushalmodi/repos","events_url":"https://api.github.com/users/kaushalmodi/events{/privacy}","received_events_url":"https://api.github.com/users/kaushalmodi/received_events","type":"User","site_admin":false},"position":null,"line":null,"path":"","commit_id":"ad6a27eee90fbd3345beac9db44cb879ba3e6cb5","created_at":"2015-06-03T03:58:06Z","updated_at":"2015-06-03T03:58:06Z","body":"My use case is to type out the title of a to-be-created file in the filter and hit `RET`.\r\n\r\nThat will do two things in one go:\r\n- Create the file name as per the rules set by the user ( https://github.com/kaushalmodi/deft/commit/d23137d41e7c1414f30a5e84ced98b7e7b344fac#diff-18e5f61ef0ce9adc8f0c74ba673f1d45 )\r\n- Use that filter text verbatim as title in the file. I add an option to prefix that with `#+TITLE: ` for org-mode\r\n\r\n\r\nBefore this commit, the following 2 things were coupled: If user set `deft-use-filename-as-title` to `t`, s\\he would get auto title population in new deft files but the \\*Deft\\* buffer then showed the file name.\r\n\r\nI also like to see titles instead of file names in the \\*Deft\\* buffer.\r\n\r\nSo I decoupled these options and now I set:\r\n\r\n```el\r\n(setq deft-use-filter-string-for-filename t) ; auto title population\r\n(setq deft-use-filename-as-title nil) ; show title in *Deft* buf too\r\n```\r\n\r\nBelow gif demostrates the result of the commits in the PR:\r\n\r\n![deft_kmodi](https://cloud.githubusercontent.com/assets/3578197/7952380/8e06e2f2-0982-11e5-9d47-a57941d865e2.gif)"}}