1

Using Doom Emacs 2.0.9 on Emacs 26.3 on Manjaro.

I am writing some devanagari text in a file.

Every time I edit the file, I need to toggle-input-method and select 'devanagari'.

Is there a way to specify the 'default' input method for a file? I will then use toggle-input-method to switch back to normal input method, English.

  • 1
    StackOverflow has a duplicate Q&A: stackoverflow.com/questions/45893232/… – phils Apr 17 at 4:37
  • I’m voting to close this question because it has been asked and answered on Stack Overflow. – phils Apr 17 at 4:40
  • 2
    @phils AFAIK Postings on different sites (including sites from the SE-network) are no duplicates. I think the right way is to write an answer with a reference to the SO posting and a quote of it (in the case the answer is deleted on the other site). – Tobias Apr 17 at 7:15
  • I disagree (pretty strongly) with that approach. To my mind, the S.E. ideal is that there is one definitive answer to a given question. Having multiple Q&As only leads to splintering of the answers across the sites, and consequently reduces their visibility. If I copy the answer here, and someone then posts a better answer here instead of to the original Q&A, then some people won't find that better answer. Better to close this Q&A and direct users to a single place. – phils Apr 17 at 7:31
  • 3
    Hi, @phils. I understand your concerns. There are several ways to deal with cross-site duplicates. I think this question is not primarily about programming. So perhaps the version from SO should be moved to here and then this question could be marked as duplicate on the same site. – Tobias Apr 17 at 11:17

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.