How can I get Emacs to put padding spaces around opening brackets and operators on indentation ()?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
As stated in other answers there are solutions to solve your problem. But, code beautifying is not always available as an option as you may be working on another project with another coding standard. The last thing you want to be doing when contributing to a project is messing with the style of the code before you submit your patch for these reasons:
Luckily, there is a half-way-house which will keep you and maintainers sane,
glasses-mode:Not only will it make identifiers more readable, it will also place a space before your function brackets.
glasses-modejust ‘pretends’ that the code is beautiful, for your eyes only. Note-worthy at the very least.