Auto-complete mode on Emacs For Mac OS X - macos

I use the same emacs config in my windows 7 and osx.
By default, I don't blink the cursor by setting (blink-cursor-mode 0).
In osx, when I type a non-candicate of auto-complete(for example, typing a new function name or some fdsafdsafdsa), at this moment, auto-complete matches nothing but each time I type a char, the cursor will blink once as if it's trying to do completion. This just works fine in my windows 7.
Is there anything wrong with my osx or Emacs For Mac OS X? What should I do to fix this since the cursor blinking too much is really upsetting me ?
Any help will be greatly appreciated ~ :)

On my test OS X system, I turned the blinking cursor off by setting its 'off' character to be equal to its 'on' character. This can be done with the Emacs setting 'blink-cursor-alist'. The format is '(ON-TYPE . OFF-TYPE)'. For me, the help was in section '14.20 Displaying the Cursor', in the on-line manual. See: https://www.gnu.org/software/emacs/manual/html_node/emacs/Cursor-Display.html

Related

mac magic keyboard on windows in intellij key binding

I have been using intellij on mac for the last 4 years, now using windows temporarily, and expect to return to mac soon.
I bought a magic keyboard for my windows machine so I wouldnt have to (re)learn 2 sets of keyboard shortcuts, and i switched intellij layout to mac default, but this does not work as I expected. The mac keyboard is pretending to be a windows keyboard rather than just being a mac keyboard.
Is there a simple way to tell the magic keyboard to just be a mac keyboard? I want all keyboard shortcuts to be exactly the same.
Ive googled this for a bit but found nothing helpful.
I looked into microsoft keyboard layout creator, but it appears the windows key will always be a windows key, and windows will never see a command or option key. This may be a viable solution, but looks like a time suck, and I'd like to know if anybody has suggestions before I go down this route any further.
Thanks for your help
Try making Windows key to act as Meta:
Press Help | Edit Custom Properties... (if a dialog appears, press "Create")
"idea.properties" file will open. Add keymap.windows.as.meta=true to a new line
Restart IDE

iterm2 stopped showing cyrillic in Mojave (Terminal.app works fine)

iTerm2 stopped showed cyrillic letters (it shows ? instead of them). Terminal.app worked fine. System localization was setup to Russian.
Everything were working in High Sierra
Clarification: iTerm2 is usually used not as 'ssh' client but as regular terminal app on client macOS machine instead.
I would like to not that changing LC_ALL to russian is not good option here since it will change entire locale variable which will change the behaviour of other applications, I don't want to have russian in terminal output on the servers for example. So I would suggest to change it to en_US.UTF-8 instead.
Solution is simple - just add export LC_ALL=ru_RU.UTF-8 to ~/.bashrc

How to add custom keyboard shortcut for terminal in apple macbook pro

I don't think there is any pre-defined keyboard shortcut for opening terminal in macbook pro. I am about to start bash so really need to call up terminal fast. Can't use spotlight every time & then write Terminal their and call it. I just bought mac so i am getting familiar with all the custom keyboard shortcuts. I searched a lot on google but i couldn't find a way to add shortcut. I was using Linux Distro's before. Adding terminal shortcut is pretty easy in linux. In some distro's its predefined with ctrl+T key. Please let me know the easy way. Thanks in advance.
I recommend using iterm2 or total terminal.
You can use control + ' to bring down a terminal whenever you need it.

QGIS 2.2 on OSX Mavericks stuck in full screen mode

I toggled into full screen mode on QGIS 2.2 on my Mac, and now the menu bar won't show and I can't toggle out of it. From the documentation, it looks like it should toggle with F11, but it's not working. I've seen people having similar trouble on Ubuntu and Windows 7, but nothing for OSX. Any ideas? I appreciate it.
Just spent close to an hour with this problem- QGIS 2.2 on mavericks. Really vexing! I tried reinstalling (after trashing the previous version as instructed in the install notes), tried removing the hidden .qgis2 folder in the home directory, tried disabling all spaces on the machine (I started with 8 desktops), tried all permutations of Apple-F, ctrl-F, apple-shift-F, etc...
Finally, and simply, the answer was this:
F11 is documented as the toggle key, but in my mostly stock setup this was bound in MissionControl to 'display the desktop'. I rebound that function to F1, and then with QGIS up, hit F11 (on my MBP I need to also hold the fn key otherwise it's 'volume down') and I was out of Full screen mode.
Hope it works for you!

Keyboard layout sticks to french on emacs over ssh

I have a mac, on which I routinely use two keyboard layouts, French and UK english.
Locally I have an installation of Aquamacs I believe, which is running fine. However my work involves connecting to a ssh server running on a Linux x64 architecture, and this is where the problem lies.
When running emacs over ssh with X forwarding, the keyboard layout/input method remains French, no matter what I do. I have tried toggling input method, forcing it to British, I even tried other input methods that seemed to work fine. The French mac keyboard layout is very unpractical for programming, so I would really like to use the regular british layout.
I have tried recompiling the latest version of emacs from scratch, I have also moved my .emacs so that it is not used and removed .emacs.d, to no avail. I have also tried the solution here How to return emacs to qwerty keyboard layout? This just changes U into U+1 in the status bar (I do not know what that means) but has no effect on the layout.
Any help would be greatly appreciated.
"I have tried toggling input method" is very vague,since there are many different levels where this can be done.
I suspect the issue is that your X server is using the French layout for some reason and that it does not correctly react to changes in Mac OS X's own layout choice. You might like to check the config of your X server.

Resources