New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
emacs inserting tabs for autos and verilog-pretty-declarations. How to disable? #1138
Comments
Original Redmine Comment In typical fashion, as soon as I ask the question, I find the answer: (setq-default indent-tabs-mode nil). Please close this. Thanks. |
Original Redmine Comment Hi. I use batch: Any idea? |
Original Redmine Comment Wilson will be along shortly... |
Original Redmine Comment
indent-tabs-mode nil means that any new indentation will use spaces. If the reindentation inserts new whitespace it will use spaces, if there's already a tab it won't change it. If you want to remove existing tabs, untabify is the way to do that (outside verilog-mode). I can't explain why that would ever hang, it's a pretty simple function, sorry but you'll need to debug it. |
Author Name: Shareef Jalloq
Original Redmine Issue: 1138 from https://www.veripool.org
Hi there,
I've just switched to Emacs 24.5 from an old XEmacs version I've been using since the dawn of time. The one issue I can't figure out is how to prevent Emacs using tabs to indent when using some of the Verilog-Mode functionality. So far I've seen this when using (C-c C-i) for lining up declarations and also for AUTOINST when lining up the port list.
I also updated the Verilog-Mode version to the latest when I moved so I've just gone back to an old version and tried XEmacs to make sure the problem lies with Emacs.
Any idea what switch I need to throw to prevent tabs being used? I thought I could get round it using (untabify (point-min) (point-max)) but this seems to hang in some of my files.
The text was updated successfully, but these errors were encountered: