Problem with Ctrl tab keybinding in Emacs in gnome-terminal

I want to be able to flip back and forwards between two buffers in Emacs in the same way I can flip between tabs in some other editors. The following Ctrl + TAB key binding works nicely in XEmacs: (defun buffer-shimmy () “Back to the previous buffer” (interactive) (let ((buff (car (buffer-list)))) (message “Previous buffer: … Read more

emacs for sys admins [closed]

Closed. This question is opinion-based. It is not currently accepting answers. Closed 7 years ago. Locked. This question and its answers are locked because the question is off-topic but has historical significance. It is not currently accepting new answers or interactions. Are you a sys admin that uses emacs? What tools/plugins do you find essential? … Read more

How to check if Emacs is in GUI mode (and execute `tool-bar-mode` only then)?

I have this line in my .emacs file: (tool-bar-mode 0) because I hate the toolbars in my GUI emacs (/Applications/Emacs.app/Contents/MacOS/Emacs). But when I start up my other, text-based emacs in the terminal (/opt/local/bin/emacs) it complains about that command: Symbol’s function definition is void: tool-bar-mode How can I add an if condition so that it executes … Read more

change .emacs in linux

I’m trying to change my .emacs file, which I think is placed in my Home directory as .emacs.d, however, I don’t know how to add my directory to this file. I tried with vim, but it didn’t work and my emacs does not support my commands. (if anyone is familiar with hol 4, I wanna … Read more

Emacs package “flycheck” missing after relaunch

Every time I exit and relaunch emacs, the flycheck package is missing and needs to be reinstalled manually with package-install. All other packages that I have installed are working fine. This issue appeared after I updated my packages today, which I hadn’t done in a few weeks. Right now I’m using flycheck version 0.25 (package: … Read more

GNU Emacs Gnus can’t connect to gmail IMAP

I’m in the process of configuring Gnus to retrieve emails from my gmail account via IMAP. I have done as recommended at https://www.emacswiki.org/emacs/GnusGmail, however I keep on getting errors from Gnus upon startup: Opening connection to imap.gmail.com via tls… nnimap (gmail) open error: ‘NO (ALERT) Please log in via your web browser: https://support.google.com/mail/accounts/answer/78754 (Failure)’. Continue? … Read more

Install org module on XEmacs

I’m running Ubuntu 16.04. I installed XEmacs 21.4 (patch 22) I want to use org module BUT fail to install/configure it. In my case I don’t use .emacs but rather I have ~/.xemacs/custom.el where I keep all my settings. org module did not exist originally hence I did this: git clone git://orgmode.org/org-mode.git This created org-mode … Read more

Bash – Emacs having trouble opening multiple windows

I’m not sure I’m using the term window correctly in relation to emacs, but I am trying to do a homework assignment using emacs in a bash shell. I want to open emacs and have it run in the background while I run java files in the terminal and record the results in my open … Read more