All Questions

0
votes
1answer
47 views

How do I set up all the fonts in my GUI Emacs

I have the following in my init.el: (add-to-list 'default-frame-alist '(font . "Monaco-10")) The above does the job, but Emacs uses some other fonts when displaying headlines in org ...
0
votes
0answers
14 views

How to pass noweb variables to latex blocks

I need to tangle a LaTeχ file from code blocks in an org file. How do I pass variables to the SRC block? In theory I should use :var var1=value, but is there any way to reference var1 in the LaTeχ ...
0
votes
0answers
11 views

Connecting to VMS VAX using FTP [on hold]

I have to connect to a VMS machine (legacy systems from 1960's) TELNET PORT23 at work. They are used in process control plants and are being upgraded to modern systems. We have to access these systems ...
0
votes
0answers
25 views

Ipython code only executes from org-edit-special, not from org source code block

I am trying to setup emacs on a windows 7 machine, and having trouble executing python/ipython code blocks. I am able to send these code blocks to org-edit-special (C-c '), start a python process (C-c ...
1
vote
0answers
18 views

How find org entries that are missing a certain property?

I have this long sub-tree, I want to find the entries that I haven't set a certain property on yet. * Big list ** foo :PROPERTIES: :QUUX: 1 :END: ** bar :PROPERTIES: :END: ** baz ...
0
votes
1answer
28 views

create new file helm-find-file with ffap

I have helm-find-files bound to C-x C-f. When I use it with a filename at point, and the file exists, it uses ffap to offer me that file, which is nice. But when the file does not exist, it just ...
0
votes
0answers
20 views

Magit Tramp not showing dif window

When using magit on a local file, I stage my changes and I then press c and c again to commit. I get a new window showing the diff and a window for the commit message. I write my commit message press ...
0
votes
0answers
11 views

org-src-fontify-natively breaks #'org-in-src-block-p

#+BEGIN_SRC latex we are now inside a source-code block; but, with org-src-fontify-natively set to nil, calling #'org-in-src-block-p here | doesn't evaluate to t! #+END_SRC Is this a bug? I wasn't ...
1
vote
2answers
31 views

Shortcut to put the selected region in an ordinary LaTeX environment (not with begin-end style) using auctex

In auctex if one has a selected region and then apply the command c-c c-e (LaTeX-environment) then by selecting an environment, the selected region will be folded between that environment. Is there a ...
0
votes
0answers
26 views

Evil-mode mixed tabs & spaces indentation

I'm having extreme issues at the moment with evil mode where I am working on Jade/Pug and Stylus files for Node.JS where it is white space sensitive. I installed pug-mode but when you indent via >> ...
0
votes
1answer
21 views

how to do command substitution in eshell generally (NOT just for loop)

How to do command substitution à la Bash in Eshell, and not just for loops? (Unfortunately, while this question asks my question, its answer only provides Eshell for-loop syntax. So please don't dupe ...
0
votes
1answer
22 views

Replacement for the sit-for function

Using currently the sit-for function, every time i hit any key and cause user input the sit-for will stop. Is there any possibility to have something like sit-for, while being able to move the cursor ...
0
votes
1answer
51 views

Emacs 26.2 can't load init file from Emacs 25 [closed]

The title already says the question, i had Emacs 25 and compiled Emacs 26.2. Although my ./emacs directory and everything in it exists Emacs 26.2. starts complaining about packages which do not exist, ...
0
votes
1answer
32 views

Adding a method to ‘make-instance’ fails every time I try

So, I’ve learned enough about generic functions, CLOS, and EIEIO to believe that this should work: (defclass foo () nil) (cl-defmethod make-instance ((x foo) &rest args) (with-temp-message "Is ...
2
votes
0answers
26 views

Why does setting the 'face property trigger fontification?

I'm trying to write a major mode for a programming language with JSX based syntax. Here's a minimal implementation. (defun example-forward-parse-jsx (start-pos limit) "Move point past the JSX ...
7
votes
3answers
69 views

Idiomatic way to count org-mode subtrees?

Is there an idiomatic way to count org-mode subtrees? I searched here on emacs.sx and other search engines, but I could not find an answer. I know one could easily count subtrees with a regex, but I ...
1
vote
1answer
21 views

How to convert a package to a layer in spacemacs

I am new to the world of Emacs, and like most ex-vimmers, I am starting with Spacemacs. I have been trying to find time to do some leetcode and would like to use the package leetcode-emacs. I have ...
1
vote
0answers
12 views

Sum effort estimates from today's scheduled tasks in org-mode

I want the agenda view to calculate the total amount of effort I have in tasks scheduled for today. For example, take these two tasks: * TODO Task 1 SCHEDULED: <2019-04-17 Wed> :PROPERTIES: :...
2
votes
0answers
35 views

Access Serial Port on Remote System

Is there a nifty emacs command to access the serial port on a remote system?;) I've seen socat, which creates a virtual serial port on the local system, but if emacs can do it directly, without that, ...
3
votes
1answer
62 views

Why did the proced of Emacs not show the process on my win10 system?

My Emacs version is 26.1. The system is Microsoft Windows 10. When I run M-x proced, the buffer does not list the proced used on the current system. What is this situation?
1
vote
0answers
35 views

Installing PDF-Tools Windows(non-geek tutorial)

I want to use pdf-tools to anotate pdf files using org-mode or viewing pdf outputs of my tex files which I hope it wil support syntex. I am following the official help to build for windows. I want to ...
6
votes
1answer
118 views

Shortening trees list with (setcdr (nthcdr 2 trees) nil)

I am starting to learn elisp and working through this tutorial https://www.gnu.org/software/emacs/manual/html_node/eintr/kill_002dnew-function.html and I do not understand this basic example: (setq ...
1
vote
1answer
21 views

Show current ispell dictionary in modeline

FlyCheck had dynamic modeline that shows real-time errors information: FlyC:0/21 How to have the similar ability for flyspell, to show the current dictionary used in the current buffer, the info ...
0
votes
0answers
34 views

SICP with Racket in org-mode

I'm following the suggestion here to set up racket as the default geiser/scheme. In Dr Racket I can set the first lines of code: #lang sicp (#%require sicp-pict) In order to match code presented in ...
1
vote
1answer
42 views

Naming the result of a source block

The following question has been asked (in slightly different form) in a comment of another answer: Is it possible to name the results of a source block with #+NAME: foobar (or equivalently but old-...
2
votes
1answer
31 views

No comment syntax defined

After calling org-babel-tangle on a certain file containing latex blocks, I see the prompt No comment syntax defined. Use: What is this about? This doesn't happen with another similar file I have....
0
votes
0answers
17 views

Org html export keeps presenting deleted links [closed]

reated a file "PTF.org". Within that file I have a link to a .jpg. I changed the file structure, and therefore changed the link accordingly and it works in emacs org mode as it should. However when I ...
5
votes
1answer
24 views

Indentation of description lists

org-mode automatically indents description lists, but it uses two different schemes. For short labels, the second line of the description is aligned with the first character of the description. For ...
0
votes
1answer
10 views

How to run sql-postgres without password?

My PostgreSQL authenticates using Unix Domain Sockets (Trust Authentication). When I run psql I do not need a password to connect to the database. But when I run sql-postgres, I am always asked for a ...
4
votes
1answer
21 views

Clocking into separate file

Is it possible to set up an agenda file in org-mode, so that the clocking information is saved at a different location? At work we have a team-global and version-controlled file with a section ...
2
votes
1answer
124 views

Changing the prefix of many chords

It just occurred to me that the org-babel prefix C-c C-v must be what it is because of the proximity of c and v in qwerty, and that it would be better for me to use C-c C-f. Is there a simple way to ...
0
votes
3answers
47 views

The elisp function to run the shell command in specific file path

Personally I need run many shell command in emacs, I find it is not convenient to run a shell engine (eshell) or using it separately (bash), so is there a elisp function (local provide by emacs or any ...
2
votes
0answers
28 views

Marking sexp diary entries as done in org agenda

I often use sexp diary entries for events in ORG-AGENDA. Is there a way of marking them as "DONE" in agenda-view? E.g. %%(diary-float t 2 3) Send John info for Bulletin E.g. %%(diary-block 12 15 ...
0
votes
0answers
19 views

Spacemacs - python mode

I have some problems with my spacemacs configuration. For instance, it's supposed to be globally set up with emacs editing mode and the line numbers as well dotspacemacs-editing-style 'emacs ...
3
votes
1answer
82 views

Emacs Mac OSX after upgrade to 26.2 launches only in `-nw` mode

I upgraded to Emacs 26.2 on my Mac OSX Sierra instance via "brew". After the upgrade, the emacs command will not open a new "GUI window", i.e. it runs as if I passed the -nw args or ran it from an ...
0
votes
0answers
19 views

Problem with the behavior of org-fontify-done-headline

I want entries with the DONE status to be greyed out, so in my init file I have (setq org-fontify-done-headline t) and I have added '(org-headline-done ((((class color) (min-colors 16) (...
1
vote
0answers
18 views

org-caldav synchronization freezes when using tags

I've finally decided to solely work in emacs, including my caldav-calendars, which I keep synchronized via my personal Nextcloud. I'm new to org-mode and trying to set things up. So far I've managed ...
0
votes
1answer
40 views

Why can't Emacs find counsel and swiper, even though they (and Ivy) seem installed, and Ivy working?

Why can't Emacs find counsel and swiper, even though they (as well as ivy) seem installed, and moreover Ivy mode is enabled, and seems to be working? This is what I get when I try the following: (...
3
votes
1answer
128 views

How remove lines which are not equal in two buffers?

Consider the following buffers buffer_1: 11111111 22222222 33333333 44444444 buffer_2: 55555555 66666666 22222222 44444444 I need to remove all lines which are not equal in buffer_1 and buffer_2. ...
2
votes
1answer
56 views

How to revert a buffer using the “g” shortcut

I can refresh my dired buffer using M-x revert-buffer and I've seen multiple places that I can do this more easily using g but don't understand how that would be run. Does it mean M-x g or running g &...
0
votes
1answer
33 views

Changing font size of a region or single characters

Is it possible in Emacs to change the font size of a single character or region, without affecting the whole Emacs window?
7
votes
3answers
48 views

How to blockquote text in one go

With this text: Play with it a few times you will see my point. The command you need is: $ echo hello How do I make it into: > Play with it a few times you will see my point. The > command ...
0
votes
1answer
31 views

How to change cursor on defocus?

I am running emacs on a Linux machine to my Windows 10 desktop server (running VcXsrv 1.20.1.4). I'd like to get a hollow-square cursor when the emacs window doesn't have keyboard focus, and a filled-...
1
vote
1answer
60 views

Keep going mode for require-package

In my initialization file, I have got: (require-package 'clips-mode) The thing is that, lately, this package fails to be loaded sometimes (it's already downloaded but I guess it fails when it tries ...
2
votes
1answer
55 views

How to correctly write regular expression to match ASCII control chars

I would like to to create a regular expression in elisp (in the standard 'read' form) to match extended ASCII chars the same as PCRE does: ^[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*$ So, I'm ...
0
votes
0answers
37 views

end of file during parsing during org-mode export to latex

I have a weird thing going on with emacs on Fedora 29. Once in a blue moon, my Emacs will go HA! you cannot export to LaTeX with the "error": end of file during parsing during. However, if I move ...
0
votes
2answers
36 views

How to create a short name for tramp multihop path?

I connect to various locations, for example: /ssh:hostname|sudo:hostname:/ /ssh:hostname|sudo:hostname|docker:container:/ and want to have some kind of short aliases for these long paths. Something ...
0
votes
0answers
24 views

How to “manipulate” using R in Emacs

In Rstudio one can use library manipulate to interactively change the plot over some parameters(mu). When you use this in emacs ESS it gives error: function(mu){ plot(mu) } manipulate(myfunc(mu),mu = ...
0
votes
2answers
29 views

How to automatically enable a mode for only one specfic type of buffer?

I user dired to browse file, and I would like to use hl-line-mode which highlights the currents line, but I only want it to be enabled automatically when using dired
0
votes
1answer
19 views

What's the org-mode syntax that tells LaTeX to place a float /here/

My images are floating much more than I'd like. I'd like to force them to be where I tell them to be more like \begin{figure}[!htb] \centering \includegraphics[width=0.75\textwidth, ...

15 30 50 per page