Questions tagged [emacs26]

8 questions
4
votes
0 answers

Emacs 26.1 hangs when tramp is trying to save a file over ssh

I’m using Emacs version 26.1 installed via homebrew on macOS. It often hangs while I’m editing a file over ssh using tramp (say, every 20 minutes). When I hit Ctrl-x-s to save file (or automatic backup is triggered), tramp starts saving file.…
Keisuke
  • 86
  • 4
1
vote
1 answer

Emacs semicolon presses indent to width of entire previous line, declaring private class variables. How to fix & stop? (c-electric-semi&comma?)

Everything is indented normally in my .cpp file until the moment I press the semicolon ; on the following lines --- at which point emacs indents all the way to the full length of the last line typed... This oddly doesn't happen if I remove the…
dad
  • 1,335
  • 9
  • 28
1
vote
1 answer

Centos 7.6 emacsclient can't find socket

I followed the instructions https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/7/html/system_administrators_guide/sect-managing_services_with_systemd-unit_files create a emacs.service under /etc/systemd/system/like…
Coco
  • 71
  • 1
  • 1
  • 8
1
vote
1 answer

How to get Contex reveal work in org mode

Having a hard time figuring out what C-c C-r does context reveal Manual says "With a prefix argument show, on each level, all sibling headings. With a double prefix argument, also show the entire subtree of the parent." When all the Headings are…
user10045873
0
votes
1 answer

invalid-function in emacs 26 but works in emacs 25

This works in emacs 25: (setq custom-keymap (copy-keymap global-map)) (defun custom-def (keys func &optional file &optional global-p) (define-key custom-keymap keys func) (if global-p (global-set-key keys func)) (if file (autoload func file…
tbc0
  • 1,563
  • 1
  • 17
  • 21
0
votes
0 answers

Emacs 26.3 scrollbar refuses to move up if not moved up immediately

On Fedora Release 31. Using Xming on Windows 7 as X server. EDIT: also Emacs 24.3 running on RHEL7 with MobaXterm 12.2 4204, whether in -Q mode or not The scrollbar I'm seeing is a medium-dark rectangle (the scrollbar "elevator") with rounded…
Swiss Frank
  • 1,985
  • 15
  • 33
0
votes
1 answer

Emacs 26.3 on Fedora 31; run on Xming; scrollbars on the left

Reading the Emacs manual on the GNU website, I found these two variables to set. I put them in the .emacs file. If I forget the quote on left, it fails to parse and I get an uncustomized emacs, so I'm sure the code is being evaluated. I'm very…
Swiss Frank
  • 1,985
  • 15
  • 33
0
votes
1 answer

PHP mode for GNU emacs not listed as a MELPA package

I want to install PHP mode for GNU emacs. The documentation says: With GNU Emacs 24 or later then you can use its package feature to install PHP Mode from MELPA. But when I press Alt-x list-packages I do not see this mode listed. Why?
Billal Begueradj
  • 20,717
  • 43
  • 112
  • 130