All Questions

0
votes
1answer
7 views

calc and evaluation of rational fractions

I am new to using calc. Is it possible that the evaluation of ((x-1)/(x+1))+((x+1)/(x-1))=> returns ((x-1)/(x+1))+((x+1)/(x-1))=>(2 x^2 + 2) / (x^2 - 1)
0
votes
0answers
6 views

How to export trees to HTML table

is there a built-in function/feature to export org headlines (not just properties drawers) and associated content into a HTML table? Can this be done with a custom css and if so, what might the ...
7
votes
2answers
1k views

Emacs Blue color too dark

Emacs blue (on dark background) is too dark. classA is readable with difficulty in the example below: How to fix the dark blue colour?
2
votes
0answers
15 views

Is there a common way of exporting Org mode tasks to sqlite?

I would like to export tasks from Org file to a middle file in order to convert it later to other back-ends. Should I use CSV format, database format or is there a common parser for this type of tasks?...
0
votes
0answers
13 views

How to make find-file-other-window reuse existing window

Is it possible to make find-file-other-window open the file in a pre-existing window instead of creating a new one? Currently: |A---|B---| |A-|C-|B---| |----|----| -> ...
2
votes
1answer
18 views

Org Mode - HTML Export Table Of Contents Without H2

Looking for way to export a document with table of contents anchor links only (without the H2 that says "Table of Contents"). Basically would like to change from this: Table of Contents Heading ...
0
votes
1answer
19 views

Org-agenda doesn't find any items with a property search

I'd like to use org-mode to work with JIRA tickets. There's a package for this, org-jira. When I run it, I get a file like this: FOO is my Jira project, and org-jira creates a file ~/.org-jira/FOO.org:...
1
vote
2answers
28 views

Insert multiple blank line in table editor

I'm using the built-in table editor of org-mode. As described in the documentation, I can use M-S-Down to insert a row above my current row. Using the universal argument, I can create my new line ...
-1
votes
0answers
52 views

emacs fails to run git

Emacs fails to run git while booting up to install via Emacs straight.el. error "Failed to run \"git\"; Is there a way to upgrade git or run the command explicitly.
3
votes
1answer
121 views

What is “override advice”?

When I execute describe-mode from within a .texi file, I see: Texinfo/P mode defined in `texinfo.el' (`texinfo-mode'): :override advice: ‘TeX-texinfo-mode’ What happens is that AUCTeX takes over the ...
0
votes
0answers
12 views

Web-beautify JS code on Windows (js-beautify for unminimifying)

I'm trying to un-minimify JS code on Windows. I've installed web-beautify from MELPA. I also installed Node.js for Windows, which is a dependency of this package. I then ran npm -g install js-beautify ...
1
vote
1answer
26 views

abbrevs not expanding

I have wrote the following abbrev definition file, and saved it as my_abbrev.el: (define-abbrev-table 'global-abbrev-table '( ("else__" "else begin end") )) ;; turn on abbrev mode globally (...
0
votes
0answers
15 views

Debugger entered--Lisp error: (wrong-type-argument wholenump -47) when press 'enter' in orgorg

Every time, I press 'Enter' in org docs it prompts Debugger entered--Lisp error: (wrong-type-argument wholenump -47) make-list(-47 nil) lisp-indent-initial-state() indent-sexp() paredit-...
3
votes
3answers
225 views

How to bind keys to a function which can be defined per-mode?

Currently I have variables defined with setq-local, this is useful for modes, so I can define variables only for a particular mode. How can this be done for functions? I'd like to have a function, ...
1
vote
1answer
33 views

Abbrevs with interstitial capital letters

Whenever I type YouTrack, abbrev erroneously corrects it to Youtrack. I noticed that in my abbrevs file it has ("youtrack" "youtrack" nil :count 7). Why is that there, and how can I get abbrev to ...
0
votes
0answers
10 views

company is not showing popup complete in c/c++

This is my company config The problem is that with python or lisp when I start to type the popup is shown immediately, but in C/C++ this don't occur. However if I type C-n or C-p the completition is ...
0
votes
1answer
28 views

Export to HTML presentation using reveal

I'm completely new to Emacs (just saw a presentation made with that using export to HTML presentation via reveal). I'm not able to find a way how to setup Emacs to show the option Export to HTML ...
0
votes
0answers
15 views

org reveal.js, long TOC not page break, tableofcontents.js is not working

I'm using Emacs-Org Mode and Reveal.js for exporting a long PPT/Slides. I am meeting with the problem of long Table-of-Contents(TOC) problem, the TOC is too long but can not auto page break (the TOC ...
1
vote
0answers
39 views

Showing org headings in uppercase

I found coloured headings disturbing so I (setq org-level-color-stars-only t). But now the headings are too similar to regular text, and their face is default so they can't be formatted by changing a ...
1
vote
3answers
569 views

How to get notifications from Erc in macOS?

I just started using erc in emacs and I've built emacs with --with-dbus compile option. I enabled notifications (so that I can get a notifications when my erc nickname gets mentioned) module in Erc ...
0
votes
1answer
106 views

Newlines swallowed by org-capture

I irregularly see that org-capture has led to the disappearance of a newline, leaving me with lines like these * meeting w/ ch. <2017-12-01 Fri 11:00>* reading group <2017-10-09 Mon 16:15 +...
2
votes
1answer
27 views

Can flymake or flycheck mark in dired (or in buffer lists) files with errors?

It would be nice if, in addition to flymake/flycheck marking errors in particular files, they could somehow mark files with errors in dired (or maybe just in the open-buffers list). The goal would be ...
2
votes
1answer
86 views

How do I interconvert Calc's HMS forms and seconds?

Is there a built-in way to convert/toggle between GNU Emacs Calc's HMS forms and seconds? I'd also like to easily be able to add numbers as seconds and/or minutes to an existing HMS form.
1
vote
0answers
19 views

How to indent inline elements only once?

In this case the basic offset is 4 and tabs mode is enabled. For example I am getting: if (! (true // Problem when the value starts inline. && false)) {} // I get two tabs, one per '(...
0
votes
1answer
49 views

Setq org-agenda-files in Windows

I'm just looking to add files to my org-agenda-variable. I added a single file successfully but am unable to use multiple. With the code below in my .emacs.el file, the agenda buffer shows 0 TODO's ...
3
votes
2answers
1k views

How to open Spacemacs/emacsclient from Mac Spotlight

This is more of a Mac question, than emacs. I think, this is relevant to this site. I have emacs (Spacemacs) installed via brew, and I can invoke it from a terminal. However, I wish to invoke emacs -...
5
votes
2answers
183 views

How to expand abbrevs without hitting another extra key?

How can I expand oe to ö immediately after hitting the e without hitting any extra key like space for expansion? Why? For better ergonomics I've remapped some keys like ö, ü and thus must write them ...
3
votes
3answers
87 views

User command to reload file-local variables

How can I easily reload file-local variables, after I have changes their values in the file buffer? I know a work around Save and close the file and re-open. But this is pretty cumbersome.
0
votes
1answer
38 views

Emacs vs subversion with passtype gpg-agent

I'm currently setting up a new Ubuntu box for myself at work. I generally have my work related stuff under subversion. The default method for subversion to store passwords in Ubuntu seems to be ...
2
votes
1answer
49 views

How can I debug a hang when debug-on-quit doesn't work?

I have a problem with haskell-mode where Emacs will hang every time I open up a Haskell file. Mashing Ctrl-g a few times will get the file opened. So I would imagine setting debug-on-quit would allow ...
1
vote
1answer
25 views

How prevent `display-buffer` from opening a specific buffer in a new window if and only if it is shown in another frame

I want the *compilation* buffer to not pop up in my main frame when I have it in another frame already open. However if the buffer is not shown anywhere, I do want it to pop up in a new window of the ...
0
votes
1answer
40 views

How to find out if a file is visible for my shell script?

I want to implement a script that I can call from my file explorer to be able to open a new frame with the chosen file (emacsclient -nc $1), but only if the file does not already exist then I simply ...
0
votes
0answers
28 views

Autocomplete signatures from new C Headers

I use Emacs(work environment is Linux. and at home i use Windows 7) for most of my Python coding and documentation. I'm mostly working for visual effects pipeline products. Off late I'm learning bits ...
0
votes
0answers
16 views

Error initiating treemac

initiating treemac is giving this error. I just don't understand all the errors that emacs throws up. I just have (require 'treemacs) in init file. version-to-list: Invalid version syntax: ‘'"'...
0
votes
1answer
120 views

How to clang-format the current buffer on save?

Whats the best way to clang-format a C/C++/GLSL a buffer on save, that does nothing in the case there is no clang-format file found for a project?
1
vote
0answers
17 views

How to navigate SPC commands with Vim cursor?

I am very used to Vim keys BUT I love to use Emacs. That's why Spacemacs in Evil mode is perfect for me. There is one thing I still cannot figure out how to do. I don't know how to use h,j,k,l for ...
2
votes
1answer
53 views

Disabling automatic add after resolving git conflict

After updating emacs (to 25.2.2 as shipping in ubuntu 18.04) I notice a change that completely breaks my conflict resolution flow in git. Once I resolve a conflict using emacs and save the file, emacs ...
1
vote
0answers
19 views

Evil substitue with a counter

I was wondering if it is possible to run a substitue command in evil with a counter? For example, with query-replace-regexp you can use replace-count: (format "word-%d" (1+ replace-count)).
1
vote
1answer
114 views

Equivalent to `ido-find-file` functionality for ivy/counsel?

I really like how ido-find-file, if it can’t find a file matching your string (and you’ve let it idle for like a second), will search your whole home directory for files matching that string, and then ...
1
vote
0answers
35 views

opening org link in dired

[[D:/dev::line][code]] stores the link to my code directory. How can i used dired to open it in emacs. Currently with this code explorer opens the directory. I'm using Windows 7.
0
votes
0answers
10 views

Display the ipython result in one line

Uponing working on Ipython In [27]: movies.head(n=2) Out[27]: star_rating title content_rating genre duration actors_list 0 9....
0
votes
1answer
18 views

"error in process sentinel: not enough arguments for format string” with simple R code

Flymake started giving this warning today: Error in process sentinel not enough arguments for format string The mode line shows Flymake:Wait [0 0]. I narrowed down the code throwing the error to a ...
2
votes
1answer
46 views

Jumping from a source block to the tangled file

Is there an inverse of org-babel-tangle-jump-to-org allowing one to jump from a source block to the corresponding place in the tangled file?
1
vote
1answer
215 views

use-package won't load helm for projectile

I'm trying to use use-package to load projectile. Projectile uses helm for completion, which I'm also loading with use-package. Since projectile and helm have :bind sections I believe they're both ...
0
votes
0answers
7 views

When I click on a file on the spacemacs start screen, it automatically enters a newline

This only happens when I open a file with a mouseclick on the spacemacs start-screen. Very odd, it does not even work when I press enter instead or when I open the file in another way. The reason ...
1
vote
1answer
35 views

Possible to supress the: “Blocking call to accept-process-output with quit inhibited!!” message?

When running a process from a timer, this message is printed a lot. Is there a way to suppress the message entirely? For reference see: https://emacs.stackexchange.com/a/50681/2418
1
vote
0answers
16 views

Configuring web-mode for Vue.js (.vue) files

It seems that web-mode is ready for Vue.js (extension .vue) files by simply throwing in (add-to-list 'auto-mode-alist '("\\.vue\\'" . web-mode)) in one's .emacs file. But web-mode does not like the ...
1
vote
1answer
275 views

mu4e - Changing existing headers

I'm using contexts within mu4e, and I know how to add custom headers via the `mu4e-header-info-custom' list. What I'd like to do, however, is to alter existing headers when replying or composing ...
0
votes
1answer
33 views

Ditaa source code evaluated with no result

The code below evaluated successfully but ~/Downloads/foo.png is empty. A look at the downloads folder shows that no file has been generated. What went wrong? #+begin_src ditaa :file ~/Downloads/foo....
2
votes
2answers
51 views

How can I set command-line parameters through `.emacs` file?

Is it possible to set Emacs start-up command-line flags such as -nw and -q in an init file? If it is, how can I do that?

15 30 50 per page