Hot answers tagged

5

So: have there been changes to eieio (specifically, cl-defmethod) in Emacs 27 that break previous code? It's not a change in eieio or cl-defmethod directly; what's changed is the handling of the &key symbol in cl-def* macros. (cl-defmethod initialize-instance :after ((sc simple-class) &key)) In Emacs 26 and earlier this produces a function which ...


3

And not to forget the hint in the Tramp manual: Emacs computes the ‘dired’ options based on the local host but if the remote host cannot understand the same ls command, then set them with a hook as follows: (add-hook 'dired-before-readin-hook (lambda () (when (file-remote-p default-directory) (setq dired-actual-switches "-al"))))


3

You need to use a font with support for that. This is what I do: (if (>= emacs-major-version 27) (set-fontset-font t '(#x1f000 . #x1faff) (font-spec :family "Noto Color Emoji")))


3

Step 1 is to make sure that you have Cairo and Harfbuzz enabled. You can run this elisp and check the results to test this: (featurep 'cairo) ; should evaluate to t (frame-parameter (selected-frame) 'font-backend) ; should be a list starting with ftcrhb I'm not sure about Windows or MacOS support. I think for Windows, you possibly need harfbuzz as the font ...


3

Same problem for me after updating org-ref. It is linked to the fix related to the issue mentioned by @Philopolis: https://github.com/jkitchin/org-ref/commit/a7d24f48fe6416162cb1f32d9b87934b9e6c563d If you want to avoid this warning message at startup, a (temporary) solution is to set (setq warning-minimum-level :emergency)


3

See *** =align= STARTUP value no longer narrow table columns and *** Dynamically narrow table columns. Alignment and shrinking are now independent of each other. If you will allow me an editorial comment, I was as upset as you were when I encountered the change, but I no longer miss the old behavior at all. So give it a try, use #+STARTUP: align shrink (or ...


2

A solution kindly given by a member of org-mode mailing list: simply add (push '("\\.pdf\\'" . emacs) org-file-apps) in the .emacs file. This works for me.


2

In version 9.3 org-bibtex has been renamed ol-bibtex with all the link-related libraries, see this commit in the source code repository. You have to make the same change in your .emacs, if you want to support different org versions you have to check the value of the variable org-version.


2

As @rpluim comments: apt build-dep emacs should get you quite a way there. It will probably be missing some things which are both desirable and new for 27.1 however, such as libjansson-dev. I'm not sure about Ubuntu 20.04 but on my 18.04 machine my manual prerequisite list of packages for building Emacs is: autoconf automake g++ gcc gnu-standards libdbus-...


2

Set tramp-verbose to 6, and rerun the test. There will be a Tramp debug buffer. Look for messages tagged with (6), they contain sent commands, and the responses. Perhaps you'll see what's going on.


2

I've settled with these home-made remakes of the obsoleted hooks: ;; Set up hooks to be run on focus in and focus out ;; Mutter sends spurious focus events, including sending focus out ;; events when Emacs never really was unfocused. ;; The timer filters out these false focus out events, while ;; checking the ‘last-focus-state’ allows ignoring repeated ...


2

Set explicit-shell-file-name to "/bin/bash".


1

It appears that the MesloLGS NF font does not include emojis after all. It is more tricky than meets the eye to find a program which shows you which characters appear in a font and which don't. Using an emoji font like Noto Color Emoji solves the primary issue.


1

Something like this works for me: (defconst tramp-connection-local-default-dired-switches '((dired-listing-switches . "-al") (dired-actual-switches . "-al")) "Default connection-local dired switches.") (connection-local-set-profile-variables 'tramp-connection-local-default-dired-switches tramp-connection-local-default-...


1

I think you misunderstand what's been included in Emacs 27. Emacs 27 includes a new font backend based on the HarfBuzz library. The front end bits still need to be worked on according to Eli Zaretskii in this reddit post I'm wondering if anyone is working on native support It's already supported in Emacs 27, but someone should code the Lisp part of that: ...


1

The problem has been reported as #99 and already fixed in master of mmm-mode, but since there is no new release, you have to install the newest mmm-mode manually, or add the missing setting to mmm-save-local-variables -- for example with use-package: (use-package vue-mode :mode "\\.vue$" :config (add-to-list 'mmm-save-local-variables '(syntax-ppss-...


Only top voted, non community-wiki answers of a minimum length are eligible