Hot answers tagged

13

Emacs 26.1 comes with a much more recent version of org-mode than 25.1. ob-sh was renamed to ob-shell in org-mode 8.2, so you'll need to adjust whichever configuration in .emacs refers to ob-sh, as described in ob-sh removal: ** Incompatible changes *** ob-sh.el renamed to ob-shell This may require two changes in user config. In org-babel-do-...


13

Have a look at brew emacs recipe options with brew info emacs. It has this option: --devel Install development version 26.0.90 To replace your current emacs, run: brew unlink emacs brew uninstall emacs brew install emacs --devel --with-modules --with-cocoa --with-gnutls \ --with-librsvg --with-mailutils --with-imagemagick@6 brew linkapps The ...


8

Yes, hunspell is THE spell-checker to use with emacs 26.1, as there's no windows binary of aspell 0.6 for the time being, and no one can foretell when there will be one. I tried hunspell this morning with emacs 26.1 on Windows 10 and it ran perfectly well. You will find some very useful tips on how to configure your .emacs file for hunspell here. Have a ...


6

You can install aspell or hunspell with https://www.msys2.org/. MSYS2 has native binaries for aspell available which are compatible with Emacs 26.1. Note you can also install emacs using MSYS2 as well. After installing, MSYS2 MinGW 64-bit should be in your start menu. Launch that, which brings up a terminal, and search for packages using pacman -Ss aspell. ...


6

Unfortunately brew linkapps is now deprecated. You can use brew cask install emacs but it doesn't allow you to download emacs 26 as of 4/1/2018. EDIT: As Guilherme Salomé pointed out, now brew cask install emacs will install version 26.1. You can though download the build you want from https://emacsformacosx.com/builds.


5

Do this, instead, starting with Emacs 26: (gethash "EURO SIGN" (ucs-names)) In other words, use something like this: (if (> emacs-major-version 25) (gethash "EURO SIGN" (ucs-names)) (cdr (assoc-string "EURO SIGN" (ucs-names) t))) Unfortunately, for people trying to provide backward-compatibility, they made an incompatible change in ucs-names, ...


4

Emacs 26 by default switches on double buffering for X servers when it finds the Xdbe header on the build machine. (See Emacs 26 release notes at the GitHub mirror.) Some X servers don’t support this. Therfore switching off double buffering by adding '(inhibit-double-buffering . t) to your frame parameters might fix this. Safest way is to add it to default-...


3

The keybinding for org-move-subtree-up is M-up. I don't remember what it was before and a cursory look through git history and the ORG-NEWS file did not uncover any change, but I might have missed it. Edit: I tried 8.2.10 and confirmed the behavior you described. I then did a git bisect and found the change: commit ...


2

What you're trying to do won't work with format-time-string. Here's a time string formatter using calendar-* functions which you can use in place of format-time-string. I haven't thought about how the offsetting is done with calendar-week-start-day so for now you have to start the name array with "Sonntag". (defun calendar-format-time-string (format-string ...


2

add-function is designed to work with variables holding functions. You probably want advice-add instead. See Advising Functions


1

I ended with: (defun my--get-char (name) "Get character by Unicode `name'." (cond ((>= 26 emacs-major-version) (gethash name (ucs-names))) ((>= 23 emacs-major-version) (cdr (assoc-string name (ucs-names)))) (t (error "Emacs version is too old and lacks Unicode support...")))) (when (>= emacs-major-version 23) (define-key ...


1

There is something happening between when you press C-<SPC> and when that signal is sent to Emacs. The path from key press to action on the screen is surprisingly complex. To troubleshoot it, first make sure that any obvious stuff is turned off. Disable any application like AutoHotKey. From there, things are trickier to handle. However, it ...


1

I don't know if the foldable elements are documented elsewhere, but the "folding" is done in the functions org-hide-block-toggle-maybe and org-hide-block-toggle (the former just calls the latter and ignores errors). The list is as follows: (center-block comment-block dynamic-block example-block export-block quote-block special-block ...


1

Emacs has changed on its way from 24 to 26 its mind on what the forced size "18" means in your initial-frame-alist. In your examination the size is 18 in both cases, and the 26 screenshot looks a bit more like it would be 18 pixels. I use (add-to-list 'default-frame-alist '(font . "Anonymous Pro-12")) to setup my emacsframe and I guess if you use "...


1

This is sort of embarassing. At the same time of the emacs upgrade to 26, I also installed an alternate desktop notification engine (dunst, which I need because at work I use i3wm). On receiveing a notification, dunst pops up a transient window and the default config binding for dismissing it is: C-SPC. I also happen to have a fair number of (nagios, ...


1

I avoid installing MSYS on Windows 10 because one can download Ubuntu from the MS store and use ispell and emacs inside the Ubuntu application (sudo apt-get install ispell). You have still access to the Windows files under the mount point /mnt/c.


1

A current (at time of this comment) way to install the GUI version of Emacs (26.2 at this time) on macOS Mojave is with brew cask install emacs This will install Emacs.app package in to /Applications and setup links. You can launch Emacs via Spotlight or from terminal as expected.


1

This only installs the terminal version of Emacs 26.1. If you (like me) prefer to use the GUI version of Emacs then you can't install it with brew install emacs This is because the people who maintain brew have found it cumbersome to maintain and test all the versions and custom options of multiple formulas. They have since then dropped support for custom ...


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